[2026-09-08 00:00:26] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d216e10012d3964c006a95368000d00bc2b..."} 
[2026-09-08 00:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d216e10012d3964c006a95368000d00bc2b..."} 
[2026-09-08 00:00:26] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d216e10012d3964c006a95368000d00bc2b..."} 
[2026-09-08 00:00:26] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d21"} 
[2026-09-08 00:00:26] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d21"} 
[2026-09-08 00:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758736064,"raw_latitude":111760232,"longitude_deg":75.8736064,"latitude_deg":11.1760232,"altitude":13,"angle":188,"satellites":43,"speed":10,"hex_longitude":"2d3964c0","hex_latitude":"06a95368","is_valid_coordinates":true} 
[2026-09-08 00:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934267136001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134937805234974720,"note":"Value kept but may cause issues"} 
[2026-09-08 00:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402608963016720384,"note":"Value kept but may cause issues"} 
[2026-09-08 00:00:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 00:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788805738000,"timestamp_ms":1788805738000,"timestamp_seconds":1788805738,"priority":1,"record_length":96,"hex_timestamp":"000001a07d216e10"} 
[2026-09-08 00:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 00:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934267136001,"66":27365,"45":4134937805234974720,"81":23296,"24":10,"16":402608963016720384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 00:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934267136001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134937805234974720,"description":"Unknown IO ID 45"} 
[2026-09-08 00:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402608963016720384,"km_value":402608963016720.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:00:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457934267136001,"power":27365,"unknown_45":4134937805234974720,"unknown_81":23296,"ignition":10,"odometer":null}} 
[2026-09-08 00:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:00:26] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:00:26] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:00:42] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:42] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:42] local.INFO: IMEI packet received {"connection_id":174155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":174155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:00:43] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:43] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:43] local.INFO: IMEI packet received {"connection_id":174155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":174155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:00:49] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:49] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:00:49] local.INFO: IMEI packet received {"connection_id":174155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":174155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:00:50] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2171f8012d39644006a95258000d00cb2b..."} 
[2026-09-08 00:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2171f8012d39644006a95258000d00cb2b..."} 
[2026-09-08 00:00:50] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2171f8012d39644006a95258000d00cb2b..."} 
[2026-09-08 00:00:50] local.INFO: Packet analysis {"connection_id":174155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d21"} 
[2026-09-08 00:00:50] local.INFO: Extracted packet for processing {"connection_id":174155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d21"} 
[2026-09-08 00:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758735936,"raw_latitude":111759960,"longitude_deg":75.8735936,"latitude_deg":11.175996,"altitude":13,"angle":203,"satellites":43,"speed":9,"hex_longitude":"2d396440","hex_latitude":"06a95258","is_valid_coordinates":true} 
[2026-09-08 00:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934268928001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135641492676110336,"note":"Value kept but may cause issues"} 
[2026-09-08 00:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402608975901622272,"note":"Value kept but may cause issues"} 
[2026-09-08 00:00:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 00:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788805739000,"timestamp_ms":1788805739000,"timestamp_seconds":1788805739,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2171f8"} 
[2026-09-08 00:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 00:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934268928001,"66":27365,"45":4135641492676110336,"81":23296,"24":9,"16":402608975901622272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 00:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934268928001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135641492676110336,"description":"Unknown IO ID 45"} 
[2026-09-08 00:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402608975901622272,"km_value":402608975901622.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:00:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457934268928001,"power":27365,"unknown_45":4135641492676110336,"unknown_81":23296,"ignition":9,"odometer":null}} 
[2026-09-08 00:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":174155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:00:50] local.INFO: GPS data processed {"connection_id":174155,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:00:50] local.INFO: Acknowledgment sent {"connection_id":174155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:01:21] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d22a690012d38a48006a980b8000c011927..."} 
[2026-09-08 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d22a690012d38a48006a980b8000c011927..."} 
[2026-09-08 00:01:21] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d22a690012d38a48006a980b8000c011927..."} 
[2026-09-08 00:01:21] local.INFO: Packet analysis {"connection_id":174155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d22"} 
[2026-09-08 00:01:21] local.INFO: Extracted packet for processing {"connection_id":174155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d22"} 
[2026-09-08 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758686848,"raw_latitude":111771832,"longitude_deg":75.8686848,"latitude_deg":11.1771832,"altitude":12,"angle":281,"satellites":39,"speed":28,"hex_longitude":"2d38a480","hex_latitude":"06a980b8","is_valid_coordinates":true} 
[2026-09-08 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934285824001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402611415443046400,"note":"Value kept but may cause issues"} 
[2026-09-08 00:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4091379552590718976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788805818000,"timestamp_ms":1788805818000,"timestamp_seconds":1788805818,"priority":1,"record_length":96,"hex_timestamp":"000001a07d22a690"} 
[2026-09-08 00:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 00:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934285824001,"66":27397,"49":206,"81":23296,"24":28,"16":402611415443046400,"45":4091379552590718976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-08 00:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934285824001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:01:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 00:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402611415443046400,"km_value":402611415443046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4091379552590718976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934285824001,"power":27397,"unknown_49":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":4091379552590718976}} 
[2026-09-08 00:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":174155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:01:21] local.INFO: GPS data processed {"connection_id":174155,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:01:21] local.INFO: Acknowledgment sent {"connection_id":174155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:01:43] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:43] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:43] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:01:45] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:45] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:45] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:01:49] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:49] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:01:49] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:01:50] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d22d570012d3881c006a988a0000a011f28..."} 
[2026-09-08 00:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d22d570012d3881c006a988a0000a011f28..."} 
[2026-09-08 00:01:50] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d22d570012d3881c006a988a0000a011f28..."} 
[2026-09-08 00:01:50] local.INFO: Packet analysis {"connection_id":175257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d22"} 
[2026-09-08 00:01:50] local.INFO: Extracted packet for processing {"connection_id":175257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d22"} 
[2026-09-08 00:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758677952,"raw_latitude":111773856,"longitude_deg":75.8677952,"latitude_deg":11.1773856,"altitude":10,"angle":287,"satellites":40,"speed":32,"hex_longitude":"2d3881c0","hex_latitude":"06a988a0","is_valid_coordinates":true} 
[2026-09-08 00:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934289408001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402611849234743296,"note":"Value kept but may cause issues"} 
[2026-09-08 00:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4081527928406456320,"note":"Value kept but may cause issues"} 
[2026-09-08 00:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788805830000,"timestamp_ms":1788805830000,"timestamp_seconds":1788805830,"priority":1,"record_length":96,"hex_timestamp":"000001a07d22d570"} 
[2026-09-08 00:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 00:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934289408001,"66":27332,"49":206,"81":23296,"24":32,"16":402611849234743296,"45":4081527928406456320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-08 00:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934289408001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:01:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 00:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402611849234743296,"km_value":402611849234743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4081527928406456320,"description":"Unknown IO ID 45"} 
[2026-09-08 00:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934289408001,"power":27332,"unknown_49":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4081527928406456320}} 
[2026-09-08 00:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":175257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:01:50] local.INFO: GPS data processed {"connection_id":175257,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:01:50] local.INFO: Acknowledgment sent {"connection_id":175257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:02:21] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d230450012d385ec006a99178000d01192a..."} 
[2026-09-08 00:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d230450012d385ec006a99178000d01192a..."} 
[2026-09-08 00:02:21] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d230450012d385ec006a99178000d01192a..."} 
[2026-09-08 00:02:21] local.INFO: Packet analysis {"connection_id":175257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:02:21] local.INFO: Extracted packet for processing {"connection_id":175257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758668992,"raw_latitude":111776120,"longitude_deg":75.8668992,"latitude_deg":11.177612,"altitude":13,"angle":281,"satellites":42,"speed":21,"hex_longitude":"2d385ec0","hex_latitude":"06a99178","is_valid_coordinates":true} 
[2026-09-08 00:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934292480001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402612291616374784,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071746672966279168,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788805842000,"timestamp_ms":1788805842000,"timestamp_seconds":1788805842,"priority":1,"record_length":96,"hex_timestamp":"000001a07d230450"} 
[2026-09-08 00:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 00:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934292480001,"66":27343,"49":206,"81":23296,"24":21,"16":402612291616374784,"45":4071746672966279168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-08 00:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934292480001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:02:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 00:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402612291616374784,"km_value":402612291616374.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071746672966279168,"description":"Unknown IO ID 45"} 
[2026-09-08 00:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934292480001,"power":27343,"unknown_49":206,"unknown_81":23296,"ignition":21,"odometer":null,"unknown_45":4071746672966279168}} 
[2026-09-08 00:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":175257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:02:21] local.INFO: GPS data processed {"connection_id":175257,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:02:21] local.INFO: Acknowledgment sent {"connection_id":175257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:02:47] local.INFO: TCP Data received {"connection_id":176659,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:47] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:47] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:02:48] local.INFO: TCP Data received {"connection_id":176659,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:48] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:48] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:02:53] local.INFO: TCP Data received {"connection_id":176659,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:53] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:02:53] local.INFO: IMEI packet received {"connection_id":176659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":176659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:02:54] local.INFO: TCP Data received {"connection_id":176659,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d233b00012d383a0006a99630000d011428..."} 
[2026-09-08 00:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d233b00012d383a0006a99630000d011428..."} 
[2026-09-08 00:02:54] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d233b00012d383a0006a99630000d011428..."} 
[2026-09-08 00:02:54] local.INFO: Packet analysis {"connection_id":176659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:02:54] local.INFO: Extracted packet for processing {"connection_id":176659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758659584,"raw_latitude":111777328,"longitude_deg":75.8659584,"latitude_deg":11.1777328,"altitude":13,"angle":276,"satellites":40,"speed":31,"hex_longitude":"2d383a00","hex_latitude":"06a99630","is_valid_coordinates":true} 
[2026-09-08 00:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934295552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402612742587940864,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4061895048781985792,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788805856000,"timestamp_ms":1788805856000,"timestamp_seconds":1788805856,"priority":1,"record_length":96,"hex_timestamp":"000001a07d233b00"} 
[2026-09-08 00:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 00:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934295552001,"66":27300,"48":206,"81":23296,"24":31,"16":402612742587940864,"45":4061895048781985792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-08 00:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934295552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:02:54] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-08 00:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402612742587940864,"km_value":402612742587940.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4061895048781985792,"description":"Unknown IO ID 45"} 
[2026-09-08 00:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934295552001,"power":27300,"unknown_48":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":4061895048781985792}} 
[2026-09-08 00:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":176659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:02:54] local.INFO: GPS data processed {"connection_id":176659,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:02:54] local.INFO: Acknowledgment sent {"connection_id":176659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:02:59] local.INFO: TCP Data received {"connection_id":176659,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2365f8012d38164006a998d0000c011129..."} 
[2026-09-08 00:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2365f8012d38164006a998d0000c011129..."} 
[2026-09-08 00:02:59] local.INFO: Processing buffer {"connection_id":176659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2365f8012d38164006a998d0000c011129..."} 
[2026-09-08 00:02:59] local.INFO: Packet analysis {"connection_id":176659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:02:59] local.INFO: Extracted packet for processing {"connection_id":176659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758650432,"raw_latitude":111778000,"longitude_deg":75.8650432,"latitude_deg":11.1778,"altitude":12,"angle":273,"satellites":41,"speed":30,"hex_longitude":"2d381640","hex_latitude":"06a998d0","is_valid_coordinates":true} 
[2026-09-08 00:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934299136001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402613180674605056,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4051550843388178432,"note":"Value kept but may cause issues"} 
[2026-09-08 00:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788805867000,"timestamp_ms":1788805867000,"timestamp_seconds":1788805867,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2365f8"} 
[2026-09-08 00:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-08 00:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934299136001,"66":27365,"77":206,"81":23296,"24":30,"16":402613180674605056,"45":4051550843388178432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 00:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934299136001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:02:59] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 00:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402613180674605056,"km_value":402613180674605.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4051550843388178432,"description":"Unknown IO ID 45"} 
[2026-09-08 00:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934299136001,"power":27365,"unknown_77":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4051550843388178432}} 
[2026-09-08 00:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":176659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:02:59] local.INFO: GPS data processed {"connection_id":176659,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:02:59] local.INFO: Acknowledgment sent {"connection_id":176659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:03:20] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:03:20] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:03:20] local.INFO: IMEI packet received {"connection_id":173891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":173891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:03:43] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:43] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:43] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:03:45] local.INFO: TCP Data received {"connection_id":176660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:03:45] local.INFO: Processing buffer {"connection_id":176660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:03:45] local.INFO: IMEI packet received {"connection_id":176660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":176660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:03:47] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:47] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:47] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:03:48] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:48] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:03:48] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:03:49] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2394d8012d37f18006a997c0000e01072a..."} 
[2026-09-08 00:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2394d8012d37f18006a997c0000e01072a..."} 
[2026-09-08 00:03:49] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2394d8012d37f18006a997c0000e01072a..."} 
[2026-09-08 00:03:49] local.INFO: Packet analysis {"connection_id":175258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:03:49] local.INFO: Extracted packet for processing {"connection_id":175258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d23"} 
[2026-09-08 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758641024,"raw_latitude":111777728,"longitude_deg":75.8641024,"latitude_deg":11.1777728,"altitude":14,"angle":263,"satellites":42,"speed":33,"hex_longitude":"2d37f180","hex_latitude":"06a997c0","is_valid_coordinates":true} 
[2026-09-08 00:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934301952001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402613627351203840,"note":"Value kept but may cause issues"} 
[2026-09-08 00:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4041488112970944512,"note":"Value kept but may cause issues"} 
[2026-09-08 00:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788805879000,"timestamp_ms":1788805879000,"timestamp_seconds":1788805879,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2394d8"} 
[2026-09-08 00:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 00:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934301952001,"66":27376,"77":206,"81":23296,"24":33,"16":402613627351203840,"45":4041488112970944512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 00:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934301952001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:03:49] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 00:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402613627351203840,"km_value":402613627351203.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4041488112970944512,"description":"Unknown IO ID 45"} 
[2026-09-08 00:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934301952001,"power":27376,"unknown_77":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":4041488112970944512}} 
[2026-09-08 00:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":175258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:03:49] local.INFO: GPS data processed {"connection_id":175258,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:03:49] local.INFO: Acknowledgment sent {"connection_id":175258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:04:20] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d257d20012d36928006a9d2e8000b012229..."} 
[2026-09-08 00:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d257d20012d36928006a9d2e8000b012229..."} 
[2026-09-08 00:04:20] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d257d20012d36928006a9d2e8000b012229..."} 
[2026-09-08 00:04:20] local.INFO: Packet analysis {"connection_id":175258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:04:20] local.INFO: Extracted packet for processing {"connection_id":175258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758551168,"raw_latitude":111792872,"longitude_deg":75.8551168,"latitude_deg":11.1792872,"altitude":11,"angle":290,"satellites":41,"speed":41,"hex_longitude":"2d369280","hex_latitude":"06a9d2e8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934336256001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402618128476930048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3935512784242821120,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788806004000,"timestamp_ms":1788806004000,"timestamp_seconds":1788806004,"priority":1,"record_length":96,"hex_timestamp":"000001a07d257d20"} 
[2026-09-08 00:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 00:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934336256001,"66":27332,"96":206,"81":23296,"24":41,"16":402618128476930048,"45":3935512784242821120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934336256001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:04:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402618128476930048,"km_value":402618128476930.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3935512784242821120,"description":"Unknown IO ID 45"} 
[2026-09-08 00:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934336256001,"power":27332,"unknown_96":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3935512784242821120}} 
[2026-09-08 00:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":175258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:04:20] local.INFO: GPS data processed {"connection_id":175258,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:04:20] local.INFO: Acknowledgment sent {"connection_id":175258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:04:49] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:04:49] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:04:49] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:04:52] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:04:52] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:04:52] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:04:53] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d259c60012d36704006a9dc50000a011f2a..."} 
[2026-09-08 00:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d259c60012d36704006a9dc50000a011f2a..."} 
[2026-09-08 00:04:53] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d259c60012d36704006a9dc50000a011f2a..."} 
[2026-09-08 00:04:53] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:04:53] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758542400,"raw_latitude":111795280,"longitude_deg":75.85424,"latitude_deg":11.179528,"altitude":10,"angle":287,"satellites":42,"speed":48,"hex_longitude":"2d367040","hex_latitude":"06a9dc50","is_valid_coordinates":true} 
[2026-09-08 00:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934337024001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402618557973659648,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3932346190755194880,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788806012000,"timestamp_ms":1788806012000,"timestamp_seconds":1788806012,"priority":1,"record_length":96,"hex_timestamp":"000001a07d259c60"} 
[2026-09-08 00:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 00:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934337024001,"66":27376,"96":206,"81":23296,"24":48,"16":402618557973659648,"45":3932346190755194880},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934337024001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:04:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402618557973659648,"km_value":402618557973659.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3932346190755194880,"description":"Unknown IO ID 45"} 
[2026-09-08 00:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934337024001,"power":27376,"unknown_96":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3932346190755194880}} 
[2026-09-08 00:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:04:53] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:04:53] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:04:54] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d25bba0012d3649c006a9e778000a011d29..."} 
[2026-09-08 00:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d25bba0012d3649c006a9e778000a011d29..."} 
[2026-09-08 00:04:54] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d25bba0012d3649c006a9e778000a011d29..."} 
[2026-09-08 00:04:54] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:04:54] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758532544,"raw_latitude":111798136,"longitude_deg":75.8532544,"latitude_deg":11.1798136,"altitude":10,"angle":285,"satellites":41,"speed":52,"hex_longitude":"2d3649c0","hex_latitude":"06a9e778","is_valid_coordinates":true} 
[2026-09-08 00:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934339072001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402619047599931392,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3922705672803471360,"note":"Value kept but may cause issues"} 
[2026-09-08 00:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788806020000,"timestamp_ms":1788806020000,"timestamp_seconds":1788806020,"priority":1,"record_length":96,"hex_timestamp":"000001a07d25bba0"} 
[2026-09-08 00:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 00:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934339072001,"66":27300,"96":206,"81":23296,"24":52,"16":402619047599931392,"45":3922705672803471360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934339072001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:04:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402619047599931392,"km_value":402619047599931.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3922705672803471360,"description":"Unknown IO ID 45"} 
[2026-09-08 00:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934339072001,"power":27300,"unknown_96":206,"unknown_81":23296,"ignition":52,"odometer":null,"unknown_45":3922705672803471360}} 
[2026-09-08 00:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:04:54] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:04:54] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:05:25] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d25d6f8012d3627c006a9f1c80009012329..."} 
[2026-09-08 00:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d25d6f8012d3627c006a9f1c80009012329..."} 
[2026-09-08 00:05:25] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d25d6f8012d3627c006a9f1c80009012329..."} 
[2026-09-08 00:05:25] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:05:25] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758523840,"raw_latitude":111800776,"longitude_deg":75.852384,"latitude_deg":11.1800776,"altitude":9,"angle":291,"satellites":41,"speed":48,"hex_longitude":"2d3627c0","hex_latitude":"06a9f1c8","is_valid_coordinates":true} 
[2026-09-08 00:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934341120001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402619481391628288,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3911868886200842240,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788806027000,"timestamp_ms":1788806027000,"timestamp_seconds":1788806027,"priority":1,"record_length":96,"hex_timestamp":"000001a07d25d6f8"} 
[2026-09-08 00:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-08 00:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934341120001,"66":27365,"96":206,"81":23296,"24":48,"16":402619481391628288,"45":3911868886200842240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934341120001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:05:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402619481391628288,"km_value":402619481391628.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3911868886200842240,"description":"Unknown IO ID 45"} 
[2026-09-08 00:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934341120001,"power":27365,"unknown_96":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3911868886200842240}} 
[2026-09-08 00:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:05:25] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:05:25] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:05:43] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:05:43] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:05:43] local.INFO: IMEI packet received {"connection_id":175259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:05:48] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:05:48] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:05:48] local.INFO: IMEI packet received {"connection_id":175259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":175259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:05:49] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d25f638012d36070006a9ffb0000a01242c..."} 
[2026-09-08 00:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d25f638012d36070006a9ffb0000a01242c..."} 
[2026-09-08 00:05:49] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d25f638012d36070006a9ffb0000a01242c..."} 
[2026-09-08 00:05:49] local.INFO: Packet analysis {"connection_id":175259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:05:49] local.INFO: Extracted packet for processing {"connection_id":175259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d25"} 
[2026-09-08 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758515456,"raw_latitude":111804336,"longitude_deg":75.8515456,"latitude_deg":11.1804336,"altitude":10,"angle":292,"satellites":44,"speed":43,"hex_longitude":"2d360700","hex_latitude":"06a9ffb0","is_valid_coordinates":true} 
[2026-09-08 00:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934342912001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402619915183325184,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3902298736993355776,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788806035000,"timestamp_ms":1788806035000,"timestamp_seconds":1788806035,"priority":1,"record_length":96,"hex_timestamp":"000001a07d25f638"} 
[2026-09-08 00:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 00:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934342912001,"66":27267,"96":206,"81":23296,"24":43,"16":402619915183325184,"45":3902298736993355776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934342912001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:05:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402619915183325184,"km_value":402619915183325.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3902298736993355776,"description":"Unknown IO ID 45"} 
[2026-09-08 00:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934342912001,"power":27267,"unknown_96":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3902298736993355776}} 
[2026-09-08 00:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":175259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:05:49] local.INFO: GPS data processed {"connection_id":175259,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:05:49] local.INFO: Acknowledgment sent {"connection_id":175259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:05:52] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d261960012d35e50006aa0d60000901242b..."} 
[2026-09-08 00:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d261960012d35e50006aa0d60000901242b..."} 
[2026-09-08 00:05:52] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d261960012d35e50006aa0d60000901242b..."} 
[2026-09-08 00:05:52] local.INFO: Packet analysis {"connection_id":175259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d26"} 
[2026-09-08 00:05:52] local.INFO: Extracted packet for processing {"connection_id":175259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d26"} 
[2026-09-08 00:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758506752,"raw_latitude":111807840,"longitude_deg":75.8506752,"latitude_deg":11.180784,"altitude":9,"angle":292,"satellites":43,"speed":38,"hex_longitude":"2d35e500","hex_latitude":"06aa0d60","is_valid_coordinates":true} 
[2026-09-08 00:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934344960001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402620361859923968,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893080431506993152,"note":"Value kept but may cause issues"} 
[2026-09-08 00:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788806044000,"timestamp_ms":1788806044000,"timestamp_seconds":1788806044,"priority":1,"record_length":96,"hex_timestamp":"000001a07d261960"} 
[2026-09-08 00:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 00:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934344960001,"66":27376,"96":206,"81":23296,"24":38,"16":402620361859923968,"45":3893080431506993152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934344960001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:05:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402620361859923968,"km_value":402620361859923.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893080431506993152,"description":"Unknown IO ID 45"} 
[2026-09-08 00:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934344960001,"power":27376,"unknown_96":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3893080431506993152}} 
[2026-09-08 00:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":175259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:05:52] local.INFO: GPS data processed {"connection_id":175259,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:05:52] local.INFO: Acknowledgment sent {"connection_id":175259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:06:23] local.INFO: TCP Data received {"connection_id":175259,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d264070012d35c48006aa1af0000901242b..."} 
[2026-09-08 00:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d264070012d35c48006aa1af0000901242b..."} 
[2026-09-08 00:06:23] local.INFO: Processing buffer {"connection_id":175259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d264070012d35c48006aa1af0000901242b..."} 
[2026-09-08 00:06:23] local.INFO: Packet analysis {"connection_id":175259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d26"} 
[2026-09-08 00:06:23] local.INFO: Extracted packet for processing {"connection_id":175259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d26"} 
[2026-09-08 00:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758498432,"raw_latitude":111811312,"longitude_deg":75.8498432,"latitude_deg":11.1811312,"altitude":9,"angle":292,"satellites":43,"speed":34,"hex_longitude":"2d35c480","hex_latitude":"06aa1af0","is_valid_coordinates":true} 
[2026-09-08 00:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934347264001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402620791356653568,"note":"Value kept but may cause issues"} 
[2026-09-08 00:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883510282299727872,"note":"Value kept but may cause issues"} 
[2026-09-08 00:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788806054000,"timestamp_ms":1788806054000,"timestamp_seconds":1788806054,"priority":1,"record_length":96,"hex_timestamp":"000001a07d264070"} 
[2026-09-08 00:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 00:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934347264001,"66":27397,"96":206,"81":23296,"24":34,"16":402620791356653568,"45":3883510282299727872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-08 00:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934347264001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:06:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 00:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402620791356653568,"km_value":402620791356653.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883510282299727872,"description":"Unknown IO ID 45"} 
[2026-09-08 00:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934347264001,"power":27397,"unknown_96":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3883510282299727872}} 
[2026-09-08 00:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":175259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:06:23] local.INFO: GPS data processed {"connection_id":175259,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:06:23] local.INFO: Acknowledgment sent {"connection_id":175259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:06:41] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:41] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:41] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:06:43] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:43] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:43] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:06:48] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:48] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:06:48] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:06:50] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d27c328012d34c8c006aa56f8000900f529..."} 
[2026-09-08 00:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d27c328012d34c8c006aa56f8000900f529..."} 
[2026-09-08 00:06:50] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d27c328012d34c8c006aa56f8000900f529..."} 
[2026-09-08 00:06:50] local.INFO: Packet analysis {"connection_id":173895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:06:50] local.INFO: Extracted packet for processing {"connection_id":173895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111826680,"longitude_deg":75.8433984,"latitude_deg":11.182668,"altitude":9,"angle":245,"satellites":41,"speed":7,"hex_longitude":"2d34c8c0","hex_latitude":"06aa56f8","is_valid_coordinates":true} 
[2026-09-08 00:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934371584001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624077006635008,"note":"Value kept but may cause issues"} 
[2026-09-08 00:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812508219429746688,"note":"Value kept but may cause issues"} 
[2026-09-08 00:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806153000,"timestamp_ms":1788806153000,"timestamp_seconds":1788806153,"priority":1,"record_length":96,"hex_timestamp":"000001a07d27c328"} 
[2026-09-08 00:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 00:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934371584001,"66":27343,"97":206,"81":23296,"24":7,"16":402624077006635008,"45":3812508219429746688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934371584001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:06:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624077006635008,"km_value":402624077006635.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812508219429746688,"description":"Unknown IO ID 45"} 
[2026-09-08 00:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934371584001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3812508219429746688}} 
[2026-09-08 00:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":173895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:06:50] local.INFO: GPS data processed {"connection_id":173895,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:06:50] local.INFO: Acknowledgment sent {"connection_id":173895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:07:21] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d27de80012d34c58006aa5548000a00d52a..."} 
[2026-09-08 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d27de80012d34c58006aa5548000a00d52a..."} 
[2026-09-08 00:07:21] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d27de80012d34c58006aa5548000a00d52a..."} 
[2026-09-08 00:07:21] local.INFO: Packet analysis {"connection_id":173895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:07:21] local.INFO: Extracted packet for processing {"connection_id":173895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826248,"longitude_deg":75.8433152,"latitude_deg":11.1826248,"altitude":10,"angle":213,"satellites":42,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa5548","is_valid_coordinates":true} 
[2026-09-08 00:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934375168001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624119956307968,"note":"Value kept but may cause issues"} 
[2026-09-08 00:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020174546944,"note":"Value kept but may cause issues"} 
[2026-09-08 00:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788806160000,"timestamp_ms":1788806160000,"timestamp_seconds":1788806160,"priority":1,"record_length":96,"hex_timestamp":"000001a07d27de80"} 
[2026-09-08 00:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 00:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934375168001,"66":27234,"97":206,"81":23296,"24":6,"16":402624119956307968,"45":3803501020174546944},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934375168001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:07:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624119956307968,"km_value":402624119956307.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020174546944,"description":"Unknown IO ID 45"} 
[2026-09-08 00:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934375168001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3803501020174546944}} 
[2026-09-08 00:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":173895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:07:21] local.INFO: GPS data processed {"connection_id":173895,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:07:21] local.INFO: Acknowledgment sent {"connection_id":173895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:07:43] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:43] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:43] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:07:44] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:44] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:44] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:07:48] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:48] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:07:48] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:07:49] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d27e268012d34c54006aa54c0000a00c62a..."} 
[2026-09-08 00:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d27e268012d34c54006aa54c0000a00c62a..."} 
[2026-09-08 00:07:49] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d27e268012d34c54006aa54c0000a00c62a..."} 
[2026-09-08 00:07:49] local.INFO: Packet analysis {"connection_id":174156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:07:49] local.INFO: Extracted packet for processing {"connection_id":174156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111826112,"longitude_deg":75.8433088,"latitude_deg":11.1826112,"altitude":10,"angle":198,"satellites":42,"speed":6,"hex_longitude":"2d34c540","hex_latitude":"06aa54c0","is_valid_coordinates":true} 
[2026-09-08 00:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934376960001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624128546242560,"note":"Value kept but may cause issues"} 
[2026-09-08 00:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500126720,"note":"Value kept but may cause issues"} 
[2026-09-08 00:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788806161000,"timestamp_ms":1788806161000,"timestamp_seconds":1788806161,"priority":1,"record_length":96,"hex_timestamp":"000001a07d27e268"} 
[2026-09-08 00:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-08 00:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934376960001,"66":27234,"97":206,"81":23296,"24":6,"16":402624128546242560,"45":3802586226500126720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934376960001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624128546242560,"km_value":402624128546242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500126720,"description":"Unknown IO ID 45"} 
[2026-09-08 00:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934376960001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802586226500126720}} 
[2026-09-08 00:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":174156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:07:49] local.INFO: GPS data processed {"connection_id":174156,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:07:49] local.INFO: Acknowledgment sent {"connection_id":174156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:08:23] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d27ea38012d34c48006aa5368000a00b32a..."} 
[2026-09-08 00:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d27ea38012d34c48006aa5368000a00b32a..."} 
[2026-09-08 00:08:23] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d27ea38012d34c48006aa5368000a00b32a..."} 
[2026-09-08 00:08:23] local.INFO: Packet analysis {"connection_id":174156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:08:23] local.INFO: Extracted packet for processing {"connection_id":174156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d27"} 
[2026-09-08 00:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111825768,"longitude_deg":75.8432896,"latitude_deg":11.1825768,"altitude":10,"angle":179,"satellites":42,"speed":6,"hex_longitude":"2d34c480","hex_latitude":"06aa5368","is_valid_coordinates":true} 
[2026-09-08 00:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934377216001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624145726111744,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755914240,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788806163000,"timestamp_ms":1788806163000,"timestamp_seconds":1788806163,"priority":1,"record_length":96,"hex_timestamp":"000001a07d27ea38"} 
[2026-09-08 00:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-08 00:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934377216001,"66":27300,"97":206,"81":23296,"24":6,"16":402624145726111744,"45":3802515857755914240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934377216001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624145726111744,"km_value":402624145726111.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755914240,"description":"Unknown IO ID 45"} 
[2026-09-08 00:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934377216001,"power":27300,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802515857755914240}} 
[2026-09-08 00:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":174156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:08:23] local.INFO: GPS data processed {"connection_id":174156,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:08:23] local.INFO: Acknowledgment sent {"connection_id":174156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:08:27] local.INFO: TCP Data received {"connection_id":175261,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-08 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-08 00:08:27] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-08 00:08:27] local.INFO: Packet analysis {"connection_id":175261,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-08 00:08:27] local.INFO: Extracted packet for processing {"connection_id":175261,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-08 00:08:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 00:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-08 00:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:27] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-08 00:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-08 00:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-08 00:08:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175261,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-08 00:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175261,"device_imei":null,"avl_records_count":1} 
[2026-09-08 00:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175261,"device_imei":null,"avl_records_count":1} 
[2026-09-08 00:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":175261,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 00:08:27] local.INFO: GPS data processed {"connection_id":175261,"processed":0,"errors":0,"total":1} 
[2026-09-08 00:08:27] local.INFO: Acknowledgment sent {"connection_id":175261,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:08:43] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:43] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:43] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:08:45] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:45] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:45] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:08:49] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:49] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:08:49] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:08:52] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d292a88012d34c3c006aa41d0000d01152d..."} 
[2026-09-08 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d292a88012d34c3c006aa41d0000d01152d..."} 
[2026-09-08 00:08:52] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d292a88012d34c3c006aa41d0000d01152d..."} 
[2026-09-08 00:08:52] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d29"} 
[2026-09-08 00:08:52] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d29"} 
[2026-09-08 00:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821264,"longitude_deg":75.8432704,"latitude_deg":11.1821264,"altitude":13,"angle":277,"satellites":45,"speed":5,"hex_longitude":"2d34c3c0","hex_latitude":"06aa41d0","is_valid_coordinates":true} 
[2026-09-08 00:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934398464001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624394834214912,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777956352,"note":"Value kept but may cause issues"} 
[2026-09-08 00:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788806245000,"timestamp_ms":1788806245000,"timestamp_seconds":1788806245,"priority":1,"record_length":96,"hex_timestamp":"000001a07d292a88"} 
[2026-09-08 00:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 00:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934398464001,"66":27376,"97":206,"81":23296,"24":5,"16":402624394834214912,"45":3802234382777956352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934398464001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624394834214912,"km_value":402624394834214.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777956352,"description":"Unknown IO ID 45"} 
[2026-09-08 00:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934398464001,"power":27376,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802234382777956352}} 
[2026-09-08 00:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:08:52] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:08:52] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:09:10] local.INFO: TCP Data received {"connection_id":173898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:09:10] local.INFO: Processing buffer {"connection_id":173898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:09:10] local.INFO: IMEI packet received {"connection_id":173898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":173898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:09:24] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d297c90012d34c40006aa43c8000b011528..."} 
[2026-09-08 00:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d297c90012d34c40006aa43c8000b011528..."} 
[2026-09-08 00:09:24] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d297c90012d34c40006aa43c8000b011528..."} 
[2026-09-08 00:09:24] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d29"} 
[2026-09-08 00:09:24] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d29"} 
[2026-09-08 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821768,"longitude_deg":75.8432768,"latitude_deg":11.1821768,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa43c8","is_valid_coordinates":true} 
[2026-09-08 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934398720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624437783887872,"note":"Value kept but may cause issues"} 
[2026-09-08 00:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289607168,"note":"Value kept but may cause issues"} 
[2026-09-08 00:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788806266000,"timestamp_ms":1788806266000,"timestamp_seconds":1788806266,"priority":1,"record_length":96,"hex_timestamp":"000001a07d297c90"} 
[2026-09-08 00:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 00:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934398720001,"66":27343,"97":206,"81":23296,"24":0,"16":402624437783887872,"45":3802093645289607168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934398720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624437783887872,"km_value":402624437783887.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289607168,"description":"Unknown IO ID 45"} 
[2026-09-08 00:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934398720001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289607168}} 
[2026-09-08 00:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:09:25] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:09:25] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:09:43] local.INFO: TCP Data received {"connection_id":176662,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:09:43] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:09:43] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:09:49] local.INFO: TCP Data received {"connection_id":176662,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:09:49] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:09:49] local.INFO: IMEI packet received {"connection_id":176662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":176662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:09:50] local.INFO: TCP Data received {"connection_id":176662,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d29ce98012d34c18006aa4410000a01152c..."} 
[2026-09-08 00:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d29ce98012d34c18006aa4410000a01152c..."} 
[2026-09-08 00:09:50] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d29ce98012d34c18006aa4410000a01152c..."} 
[2026-09-08 00:09:50] local.INFO: Packet analysis {"connection_id":176662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d29"} 
[2026-09-08 00:09:50] local.INFO: Extracted packet for processing {"connection_id":176662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d29"} 
[2026-09-08 00:09:50] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821840,"longitude_deg":75.8432128,"latitude_deg":11.182184,"altitude":10,"angle":277,"satellites":44,"speed":3,"hex_longitude":"2d34c180","hex_latitude":"06aa4410","is_valid_coordinates":true} 
[2026-09-08 00:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934404096001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624519388266496,"note":"Value kept but may cause issues"} 
[2026-09-08 00:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033913856,"note":"Value kept but may cause issues"} 
[2026-09-08 00:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806287000,"timestamp_ms":1788806287000,"timestamp_seconds":1788806287,"priority":1,"record_length":96,"hex_timestamp":"000001a07d29ce98"} 
[2026-09-08 00:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 00:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934404096001,"66":27245,"97":206,"81":23296,"24":3,"16":402624519388266496,"45":3802164014033913856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934404096001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:09:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624519388266496,"km_value":402624519388266.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033913856,"description":"Unknown IO ID 45"} 
[2026-09-08 00:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934404096001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802164014033913856}} 
[2026-09-08 00:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":176662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:09:50] local.INFO: GPS data processed {"connection_id":176662,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:09:50] local.INFO: Acknowledgment sent {"connection_id":176662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:10:21] local.INFO: TCP Data received {"connection_id":176662,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2a20a0012d34c2c006aa43a0000901152c..."} 
[2026-09-08 00:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2a20a0012d34c2c006aa43a0000901152c..."} 
[2026-09-08 00:10:21] local.INFO: Processing buffer {"connection_id":176662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2a20a0012d34c2c006aa43a0000901152c..."} 
[2026-09-08 00:10:21] local.INFO: Packet analysis {"connection_id":176662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:10:21] local.INFO: Extracted packet for processing {"connection_id":176662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821728,"longitude_deg":75.8432448,"latitude_deg":11.1821728,"altitude":9,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa43a0","is_valid_coordinates":true} 
[2026-09-08 00:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934409472001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624536568135680,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592155648,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788806308000,"timestamp_ms":1788806308000,"timestamp_seconds":1788806308,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2a20a0"} 
[2026-09-08 00:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-08 00:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934409472001,"66":27463,"97":206,"81":23296,"24":0,"16":402624536568135680,"45":3801460326592155648},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934409472001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624536568135680,"km_value":402624536568135.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592155648,"description":"Unknown IO ID 45"} 
[2026-09-08 00:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934409472001,"power":27463,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592155648}} 
[2026-09-08 00:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":176662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:10:21] local.INFO: GPS data processed {"connection_id":176662,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:10:21] local.INFO: Acknowledgment sent {"connection_id":176662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:10:48] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:10:48] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:10:48] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:10:54] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:10:54] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:10:54] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:10:55] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2a72a8012d34c2c006aa43a0000901152a..."} 
[2026-09-08 00:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2a72a8012d34c2c006aa43a0000901152a..."} 
[2026-09-08 00:10:55] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2a72a8012d34c2c006aa43a0000901152a..."} 
[2026-09-08 00:10:55] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:10:55] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821728,"longitude_deg":75.8432448,"latitude_deg":11.1821728,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa43a0","is_valid_coordinates":true} 
[2026-09-08 00:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934414848001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624536568135680,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313015296,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788806329000,"timestamp_ms":1788806329000,"timestamp_seconds":1788806329,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2a72a8"} 
[2026-09-08 00:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 00:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934414848001,"66":27463,"97":206,"81":23296,"24":0,"16":402624536568135680,"45":3801812170313015296},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934414848001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:10:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:10:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624536568135680,"km_value":402624536568135.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313015296,"description":"Unknown IO ID 45"} 
[2026-09-08 00:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934414848001,"power":27463,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170313015296}} 
[2026-09-08 00:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:10:55] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:10:55] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:10:59] local.INFO: TCP Data received {"connection_id":175262,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2ac4b0012d34c48006aa4378000901152a..."} 
[2026-09-08 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2ac4b0012d34c48006aa4378000901152a..."} 
[2026-09-08 00:10:59] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2ac4b0012d34c48006aa4378000901152a..."} 
[2026-09-08 00:10:59] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:10:59] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111821688,"longitude_deg":75.8432896,"latitude_deg":11.1821688,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4378","is_valid_coordinates":true} 
[2026-09-08 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934420224001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624558042972160,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313015296,"note":"Value kept but may cause issues"} 
[2026-09-08 00:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788806350000,"timestamp_ms":1788806350000,"timestamp_seconds":1788806350,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2ac4b0"} 
[2026-09-08 00:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 00:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934420224001,"66":27767,"97":206,"81":23296,"24":0,"16":402624558042972160,"45":3801812170313015296},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934420224001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624558042972160,"km_value":402624558042972.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313015296,"description":"Unknown IO ID 45"} 
[2026-09-08 00:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934420224001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170313015296}} 
[2026-09-08 00:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:10:59] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:10:59] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:11:43] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:11:43] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:11:43] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:11:48] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:11:48] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:11:48] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:11:50] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:11:50] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:11:50] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:11:50] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:11:50] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:11:50] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:12:20] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:12:20] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:12:20] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:12:20] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:12:20] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:12:20] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:12:48] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:12:48] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:12:48] local.INFO: IMEI packet received {"connection_id":174157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":174157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:12:54] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:12:54] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:12:54] local.INFO: IMEI packet received {"connection_id":174157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":174157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:12:55] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:12:55] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:12:55] local.INFO: Packet analysis {"connection_id":174157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:12:55] local.INFO: Extracted packet for processing {"connection_id":174157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:12:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:12:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:12:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":174157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:12:55] local.INFO: GPS data processed {"connection_id":174157,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:12:55] local.INFO: Acknowledgment sent {"connection_id":174157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:13:27] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:27] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:27] local.INFO: Packet analysis {"connection_id":174157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:13:27] local.INFO: Extracted packet for processing {"connection_id":174157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:13:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:13:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:13:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":174157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:13:27] local.INFO: GPS data processed {"connection_id":174157,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:13:27] local.INFO: Acknowledgment sent {"connection_id":174157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:13:49] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:13:49] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:13:49] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:13:54] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:13:54] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:13:54] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:13:55] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:55] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:55] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:13:55] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:13:55] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:13:55] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:13:59] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:59] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:13:59] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:13:59] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:13:59] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:13:59] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:14:46] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:14:46] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:14:46] local.INFO: IMEI packet received {"connection_id":175263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":175263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:14:49] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:14:49] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:14:49] local.INFO: IMEI packet received {"connection_id":176668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":176668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:14:58] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:14:58] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:14:58] local.INFO: IMEI packet received {"connection_id":176668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":176668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:14:59] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:14:59] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:14:59] local.INFO: Packet analysis {"connection_id":176668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:14:59] local.INFO: Extracted packet for processing {"connection_id":176668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:14:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:14:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":176668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:14:59] local.INFO: GPS data processed {"connection_id":176668,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:14:59] local.INFO: Acknowledgment sent {"connection_id":176668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:15:00] local.INFO: TCP Data received {"connection_id":176668,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:15:00] local.INFO: Processing buffer {"connection_id":176668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2afb60012d34c58006aa4338000901152a..."} 
[2026-09-08 00:15:00] local.INFO: Packet analysis {"connection_id":176668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:15:00] local.INFO: Extracted packet for processing {"connection_id":176668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2a"} 
[2026-09-08 00:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821624,"longitude_deg":75.8433152,"latitude_deg":11.1821624,"altitude":9,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 00:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934425600001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522248704,"note":"Value kept but may cause issues"} 
[2026-09-08 00:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788806364000,"timestamp_ms":1788806364000,"timestamp_seconds":1788806364,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2afb60"} 
[2026-09-08 00:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 00:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 00:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934425600001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802304751522248704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934425600001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:15:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:15:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522248704,"description":"Unknown IO ID 45"} 
[2026-09-08 00:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934425600001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522248704}} 
[2026-09-08 00:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":176668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:15:00] local.INFO: GPS data processed {"connection_id":176668,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:15:00] local.INFO: Acknowledgment sent {"connection_id":176668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:15:58] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:15:58] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:15:58] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:15:58] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:15:58] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:15:58] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:15:59] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:15:59] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:15:59] local.INFO: Packet analysis {"connection_id":174158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:15:59] local.INFO: Extracted packet for processing {"connection_id":174158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:15:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:15:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":174158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:15:59] local.INFO: GPS data processed {"connection_id":174158,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:15:59] local.INFO: Acknowledgment sent {"connection_id":174158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:16:04] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:16:04] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:16:04] local.INFO: Packet analysis {"connection_id":174158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:16:04] local.INFO: Extracted packet for processing {"connection_id":174158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":174158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:16:04] local.INFO: GPS data processed {"connection_id":174158,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:16:04] local.INFO: Acknowledgment sent {"connection_id":174158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:16:43] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:16:43] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:16:43] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:16:49] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:16:49] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:16:49] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:16:50] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:16:50] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:16:50] local.INFO: Packet analysis {"connection_id":175264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:16:50] local.INFO: Extracted packet for processing {"connection_id":175264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:16:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":175264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:16:50] local.INFO: GPS data processed {"connection_id":175264,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:16:50] local.INFO: Acknowledgment sent {"connection_id":175264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:17:22] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:17:22] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:17:22] local.INFO: Packet analysis {"connection_id":175264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:17:22] local.INFO: Extracted packet for processing {"connection_id":175264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:17:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":175264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:17:22] local.INFO: GPS data processed {"connection_id":175264,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:17:22] local.INFO: Acknowledgment sent {"connection_id":175264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:17:43] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:17:43] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:17:43] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:17:48] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:17:48] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:17:48] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:17:49] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:17:49] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:17:49] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:17:49] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:17:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:17:49] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:17:49] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:18:21] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:18:21] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:18:21] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:18:21] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:18: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-09-08 00:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:18:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:18:21] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:18:21] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:18:43] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:18:43] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:18:43] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:18:48] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:18:48] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:18:48] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:18:50] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:18:50] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:18:50] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:18:50] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:18:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:18:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:18:50] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:18:50] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:19:22] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:22] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:22] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:19:22] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:19:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:19:22] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:19:22] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:19:48] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:19:48] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:19:48] local.INFO: IMEI packet received {"connection_id":174162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":174162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:19:53] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:19:53] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:19:53] local.INFO: IMEI packet received {"connection_id":174162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":174162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:19:54] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:54] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:54] local.INFO: Packet analysis {"connection_id":174162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:19:54] local.INFO: Extracted packet for processing {"connection_id":174162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:19:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":174162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:19:54] local.INFO: GPS data processed {"connection_id":174162,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:19:54] local.INFO: Acknowledgment sent {"connection_id":174162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:19:59] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:59] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2f9710012d34c58006aa42a80010011525..."} 
[2026-09-08 00:19:59] local.INFO: Packet analysis {"connection_id":174162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:19:59] local.INFO: Extracted packet for processing {"connection_id":174162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d2f"} 
[2026-09-08 00:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934429184001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498942976,"note":"Value kept but may cause issues"} 
[2026-09-08 00:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788806666000,"timestamp_ms":1788806666000,"timestamp_seconds":1788806666,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2f9710"} 
[2026-09-08 00:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 00:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934429184001,"66":26473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498942976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 00:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934429184001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:19:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 00:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498942976,"description":"Unknown IO ID 45"} 
[2026-09-08 00:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934429184001,"power":26473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498942976}} 
[2026-09-08 00:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":174162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:19:59] local.INFO: GPS data processed {"connection_id":174162,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:19:59] local.INFO: Acknowledgment sent {"connection_id":174162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:20:16] local.INFO: TCP Data received {"connection_id":174161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:20:16] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:20:16] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:20:43] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:20:43] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:20:43] local.INFO: IMEI packet received {"connection_id":174163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":174163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:20:45] local.INFO: TCP Data received {"connection_id":175265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:20:45] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:20:45] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:20:48] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:20:48] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:20:48] local.INFO: IMEI packet received {"connection_id":174163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":174163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:20:50] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:20:50] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:20:50] local.INFO: Packet analysis {"connection_id":174163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:20:50] local.INFO: Extracted packet for processing {"connection_id":174163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:20:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:20:50] local.INFO: GPS data processed {"connection_id":174163,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:20:50] local.INFO: Acknowledgment sent {"connection_id":174163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:21:21] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:21:21] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:21:21] local.INFO: Packet analysis {"connection_id":174163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:21:21] local.INFO: Extracted packet for processing {"connection_id":174163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:21:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:21:21] local.INFO: GPS data processed {"connection_id":174163,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:21:21] local.INFO: Acknowledgment sent {"connection_id":174163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:21:43] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:21:43] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:21:43] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:21:48] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:21:48] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:21:48] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:21:49] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:21:49] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:21:49] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:21:49] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:21:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:21:49] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:21:49] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:22:21] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:22:21] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:22:21] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:22:21] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:22:21] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:22:21] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:22:43] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:22:43] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:22:43] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:22:48] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:22:48] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:22:48] local.INFO: IMEI packet received {"connection_id":176670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":176670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:22:50] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:22:50] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:22:50] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:22:50] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:22:50] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:22:50] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:23:21] local.INFO: TCP Data received {"connection_id":176670,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:21] local.INFO: Processing buffer {"connection_id":176670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:21] local.INFO: Packet analysis {"connection_id":176670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:23:21] local.INFO: Extracted packet for processing {"connection_id":176670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":176670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:23:21] local.INFO: GPS data processed {"connection_id":176670,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:23:21] local.INFO: Acknowledgment sent {"connection_id":176670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:23:48] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:23:48] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:23:48] local.INFO: IMEI packet received {"connection_id":173905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:23:53] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:23:53] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:23:53] local.INFO: IMEI packet received {"connection_id":173905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":173905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:23:55] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:55] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:55] local.INFO: Packet analysis {"connection_id":173905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:23:55] local.INFO: Extracted packet for processing {"connection_id":173905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":173905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:23:55] local.INFO: GPS data processed {"connection_id":173905,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:23:55] local.INFO: Acknowledgment sent {"connection_id":173905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:23:59] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:59] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:23:59] local.INFO: Packet analysis {"connection_id":173905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:23:59] local.INFO: Extracted packet for processing {"connection_id":173905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:23:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":173905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:23:59] local.INFO: GPS data processed {"connection_id":173905,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:23:59] local.INFO: Acknowledgment sent {"connection_id":173905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:24:43] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:24:43] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:24:43] local.INFO: IMEI packet received {"connection_id":175268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":175268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:24:48] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:24:48] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:24:48] local.INFO: IMEI packet received {"connection_id":175268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":175268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:24:50] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:24:50] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d342ed8012d34c58006aa42a80010011523..."} 
[2026-09-08 00:24:50] local.INFO: Packet analysis {"connection_id":175268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:24:50] local.INFO: Extracted packet for processing {"connection_id":175268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d34"} 
[2026-09-08 00:24:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":16,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:24:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788806967000,"timestamp_ms":1788806967000,"timestamp_seconds":1788806967,"priority":1,"record_length":96,"hex_timestamp":"000001a07d342ed8"} 
[2026-09-08 00:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 00:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934506496001,"66":26234,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:24:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934506496001,"power":26234,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":175268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:24:50] local.INFO: GPS data processed {"connection_id":175268,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:24:50] local.INFO: Acknowledgment sent {"connection_id":175268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:25:21] local.INFO: TCP Data received {"connection_id":175268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:25:21] local.INFO: Processing buffer {"connection_id":175268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:25:21] local.INFO: Packet analysis {"connection_id":175268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:25:21] local.INFO: Extracted packet for processing {"connection_id":175268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:25:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:25: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-09-08 00:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":175268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:25:21] local.INFO: GPS data processed {"connection_id":175268,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:25:21] local.INFO: Acknowledgment sent {"connection_id":175268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:25:43] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:25:43] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:25:43] local.INFO: IMEI packet received {"connection_id":174165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":174165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:25:48] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:25:48] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:25:48] local.INFO: IMEI packet received {"connection_id":174165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":174165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:25:50] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:25:50] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:25:50] local.INFO: Packet analysis {"connection_id":174165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:25:50] local.INFO: Extracted packet for processing {"connection_id":174165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:25:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":174165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:25:50] local.INFO: GPS data processed {"connection_id":174165,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:25:50] local.INFO: Acknowledgment sent {"connection_id":174165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:26:01] local.INFO: TCP Data received {"connection_id":174166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:26:01] local.INFO: Processing buffer {"connection_id":174166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:26:01] local.INFO: IMEI packet received {"connection_id":174166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":174166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:26:21] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:26:21] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:26:21] local.INFO: Packet analysis {"connection_id":174165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:26:21] local.INFO: Extracted packet for processing {"connection_id":174165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:26:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":174165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:26:21] local.INFO: GPS data processed {"connection_id":174165,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:26:21] local.INFO: Acknowledgment sent {"connection_id":174165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:26:43] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:26:43] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:26:43] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:26:48] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:26:48] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:26:48] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:26:49] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:26:49] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:26:49] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:26:49] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:26:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:26:49] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:26:49] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:26:51] local.INFO: TCP Data received {"connection_id":176672,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:26:51] local.INFO: Processing buffer {"connection_id":176672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:26:51] local.INFO: IMEI packet received {"connection_id":176672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":176672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:27:21] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:21] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:21] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:27:21] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:27:21] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:27:21] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:27:48] local.INFO: TCP Data received {"connection_id":176674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:27:48] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:27:48] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:27:53] local.INFO: TCP Data received {"connection_id":176674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:27:53] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:27:53] local.INFO: IMEI packet received {"connection_id":176674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":176674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:27:54] local.INFO: TCP Data received {"connection_id":176674,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:54] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:54] local.INFO: Packet analysis {"connection_id":176674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:27:54] local.INFO: Extracted packet for processing {"connection_id":176674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":176674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:27:54] local.INFO: GPS data processed {"connection_id":176674,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:27:54] local.INFO: Acknowledgment sent {"connection_id":176674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:27:59] local.INFO: TCP Data received {"connection_id":176674,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:59] local.INFO: Processing buffer {"connection_id":176674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d38c6a0012d34c58006aa42a80007011528..."} 
[2026-09-08 00:27:59] local.INFO: Packet analysis {"connection_id":176674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:27:59] local.INFO: Extracted packet for processing {"connection_id":176674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d38"} 
[2026-09-08 00:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 00:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 00:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788807268000,"timestamp_ms":1788807268000,"timestamp_seconds":1788807268,"priority":1,"record_length":96,"hex_timestamp":"000001a07d38c6a0"} 
[2026-09-08 00:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-08 00:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934583552001,"66":26082,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 00:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934583552001,"power":26082,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":176674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:27:59] local.INFO: GPS data processed {"connection_id":176674,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:27:59] local.INFO: Acknowledgment sent {"connection_id":176674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:28:43] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:43] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:43] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:28:56] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:56] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:56] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:28:57] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:57] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:57] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:28:58] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:58] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:28:58] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:32:11] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:32:11] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:32:11] local.INFO: IMEI packet received {"connection_id":175271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":175271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:34:03] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:03] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:03] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:34:05] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d3d5e68012d34c58006aa42a8000b011529..."} 
[2026-09-08 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d3d5e68012d34c58006aa42a8000b011529..."} 
[2026-09-08 00:34:05] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d3d5e68012d34c58006aa42a8000b011529..."} 
[2026-09-08 00:34:05] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d3d"} 
[2026-09-08 00:34:05] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d3d"} 
[2026-09-08 00:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788807569000,"timestamp_ms":1788807569000,"timestamp_seconds":1788807569,"priority":1,"record_length":96,"hex_timestamp":"000001a07d3d5e68"} 
[2026-09-08 00:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 00:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934660608001,"66":26006,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:34:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934660608001,"power":26006,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:34:05] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:34:05] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:34:43] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:43] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:43] local.INFO: IMEI packet received {"connection_id":175274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":175274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:34:48] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:48] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:34:48] local.INFO: IMEI packet received {"connection_id":175274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":175274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:34:51] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d3d5e68012d34c58006aa42a8000b011529..."} 
[2026-09-08 00:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d3d5e68012d34c58006aa42a8000b011529..."} 
[2026-09-08 00:34:51] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d3d5e68012d34c58006aa42a8000b011529..."} 
[2026-09-08 00:34:51] local.INFO: Packet analysis {"connection_id":175274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d3d"} 
[2026-09-08 00:34:51] local.INFO: Extracted packet for processing {"connection_id":175274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d3d"} 
[2026-09-08 00:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788807569000,"timestamp_ms":1788807569000,"timestamp_seconds":1788807569,"priority":1,"record_length":96,"hex_timestamp":"000001a07d3d5e68"} 
[2026-09-08 00:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 00:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934660608001,"66":26006,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:34:51] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934660608001,"power":26006,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":175274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:34:51] local.INFO: GPS data processed {"connection_id":175274,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:34:51] local.INFO: Acknowledgment sent {"connection_id":175274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:35:22] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:35:22] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:35:22] local.INFO: Packet analysis {"connection_id":175274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:35:22] local.INFO: Extracted packet for processing {"connection_id":175274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:35: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-09-08 00:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:35:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":175274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:35:22] local.INFO: GPS data processed {"connection_id":175274,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:35:22] local.INFO: Acknowledgment sent {"connection_id":175274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:35:43] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:35:43] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:35:43] local.INFO: IMEI packet received {"connection_id":176676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:35:48] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:35:48] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:35:48] local.INFO: IMEI packet received {"connection_id":176676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":176676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:35:49] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:35:49] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:35:49] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:35:49] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:35:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:35: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-09-08 00:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:35:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:35:49] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:35:49] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:36:20] local.INFO: TCP Data received {"connection_id":176676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:36:20] local.INFO: Processing buffer {"connection_id":176676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:36:20] local.INFO: Packet analysis {"connection_id":176676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:36:20] local.INFO: Extracted packet for processing {"connection_id":176676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:36: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-09-08 00:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:36:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":176676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:36:20] local.INFO: GPS data processed {"connection_id":176676,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:36:20] local.INFO: Acknowledgment sent {"connection_id":176676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:36:43] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:36:43] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:36:43] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:36:49] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:36:49] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:36:49] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:36:51] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:36:51] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:36:51] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:36:51] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:36:51] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:36:51] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:36:51] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:37:22] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:37:22] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:37:22] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:37:22] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:37: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-09-08 00:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:37:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:37:22] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:37:22] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:37:43] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:37:43] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:37:43] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:37:46] local.INFO: TCP Data received {"connection_id":176677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:37:46] local.INFO: Processing buffer {"connection_id":176677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:37:46] local.INFO: IMEI packet received {"connection_id":176677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":176677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:37:48] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:37:48] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:37:48] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:37:49] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:37:49] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:37:49] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:37:49] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:37: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:37: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-09-08 00:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:37:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:37:49] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:37:49] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:38:20] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:38:20] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:38:20] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:38:20] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:38: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-09-08 00:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:38:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:38:20] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:38:20] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:38:48] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:38:48] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:38:48] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:38:53] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:38:53] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:38:53] local.INFO: IMEI packet received {"connection_id":176679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":176679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:38:54] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:38:54] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:38:54] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:38:54] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:38:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:38:54] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:38:54] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:39:25] local.INFO: TCP Data received {"connection_id":176679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:39:25] local.INFO: Processing buffer {"connection_id":176679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:39:25] local.INFO: Packet analysis {"connection_id":176679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:39:25] local.INFO: Extracted packet for processing {"connection_id":176679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:39:25] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":176679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:39:25] local.INFO: GPS data processed {"connection_id":176679,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:39:25] local.INFO: Acknowledgment sent {"connection_id":176679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:39:43] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:39:43] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:39:43] local.INFO: IMEI packet received {"connection_id":176680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":176680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:39:48] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:39:48] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:39:48] local.INFO: IMEI packet received {"connection_id":176680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":176680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:39:49] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:39:49] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d41f630012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:39:49] local.INFO: Packet analysis {"connection_id":176680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:39:49] local.INFO: Extracted packet for processing {"connection_id":176680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d41"} 
[2026-09-08 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934737664001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788807870000,"timestamp_ms":1788807870000,"timestamp_seconds":1788807870,"priority":1,"record_length":96,"hex_timestamp":"000001a07d41f630"} 
[2026-09-08 00:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 00:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:39: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-09-08 00:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934737664001,"66":25952,"142":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 00:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934737664001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:39:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 00:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934737664001,"power":25952,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":176680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:39:49] local.INFO: GPS data processed {"connection_id":176680,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:39:49] local.INFO: Acknowledgment sent {"connection_id":176680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:40:21] local.INFO: TCP Data received {"connection_id":176680,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:40:21] local.INFO: Processing buffer {"connection_id":176680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:40:21] local.INFO: Packet analysis {"connection_id":176680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:40:21] local.INFO: Extracted packet for processing {"connection_id":176680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:40: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-09-08 00:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:40:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":176680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:40:21] local.INFO: GPS data processed {"connection_id":176680,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:40:21] local.INFO: Acknowledgment sent {"connection_id":176680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:40:43] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:40:43] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:40:43] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:40:48] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:40:48] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:40:48] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:40:49] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:40:49] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:40:49] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:40:49] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:40: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-09-08 00:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:40:49] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:40:49] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:41:20] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:41:20] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:41:20] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:41:20] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:41: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-09-08 00:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:41:20] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:41:20] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:41:43] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:41:43] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:41:43] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:41:48] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:41:48] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:41:48] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:41:54] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:41:54] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:41:54] local.INFO: Packet analysis {"connection_id":173914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:41:54] local.INFO: Extracted packet for processing {"connection_id":173914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:41:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":173914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:41:54] local.INFO: GPS data processed {"connection_id":173914,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:41:54] local.INFO: Acknowledgment sent {"connection_id":173914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:42:25] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:42:25] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:42:25] local.INFO: Packet analysis {"connection_id":173914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:42:25] local.INFO: Extracted packet for processing {"connection_id":173914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":173914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:42:25] local.INFO: GPS data processed {"connection_id":173914,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:42:25] local.INFO: Acknowledgment sent {"connection_id":173914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:42:43] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:42:43] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:42:43] local.INFO: IMEI packet received {"connection_id":175276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:42:48] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:42:48] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:42:48] local.INFO: IMEI packet received {"connection_id":175276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:42:49] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:42:49] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:42:49] local.INFO: Packet analysis {"connection_id":175276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:42:49] local.INFO: Extracted packet for processing {"connection_id":175276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:42: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-09-08 00:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":175276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:42:49] local.INFO: GPS data processed {"connection_id":175276,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:42:49] local.INFO: Acknowledgment sent {"connection_id":175276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:43:16] local.INFO: TCP Data received {"connection_id":176681,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:43:16] local.INFO: Processing buffer {"connection_id":176681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:43:16] local.INFO: IMEI packet received {"connection_id":176681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":176681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:43:20] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:20] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:20] local.INFO: Packet analysis {"connection_id":175276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:43:20] local.INFO: Extracted packet for processing {"connection_id":175276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:43: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-09-08 00:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":175276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:43:20] local.INFO: GPS data processed {"connection_id":175276,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:43:20] local.INFO: Acknowledgment sent {"connection_id":175276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:43:45] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:43:45] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:43:45] local.INFO: IMEI packet received {"connection_id":174175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":174175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:43:48] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:43:48] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:43:48] local.INFO: IMEI packet received {"connection_id":174174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:43:53] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:43:53] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:43:53] local.INFO: IMEI packet received {"connection_id":174174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":174174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:43:54] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:54] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:54] local.INFO: Packet analysis {"connection_id":174174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:43:54] local.INFO: Extracted packet for processing {"connection_id":174174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":174174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:43:54] local.INFO: GPS data processed {"connection_id":174174,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:43:54] local.INFO: Acknowledgment sent {"connection_id":174174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:43:59] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:59] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:43:59] local.INFO: Packet analysis {"connection_id":174174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:43:59] local.INFO: Extracted packet for processing {"connection_id":174174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:43:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":174174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:43:59] local.INFO: GPS data processed {"connection_id":174174,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:43:59] local.INFO: Acknowledgment sent {"connection_id":174174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:44:43] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:44:43] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:44:43] local.INFO: IMEI packet received {"connection_id":176682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":176682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:44:48] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:44:48] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:44:48] local.INFO: IMEI packet received {"connection_id":176682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":176682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:44:49] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:44:49] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d468df8012d34c58006aa42a8000b011528..."} 
[2026-09-08 00:44:49] local.INFO: Packet analysis {"connection_id":176682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:44:49] local.INFO: Extracted packet for processing {"connection_id":176682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d46"} 
[2026-09-08 00:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934814720001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808171000,"timestamp_ms":1788808171000,"timestamp_seconds":1788808171,"priority":1,"record_length":96,"hex_timestamp":"000001a07d468df8"} 
[2026-09-08 00:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:44: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 00:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:44: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-09-08 00:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934814720001,"66":25875,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934814720001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934814720001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":176682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:44:49] local.INFO: GPS data processed {"connection_id":176682,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:44:49] local.INFO: Acknowledgment sent {"connection_id":176682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:45:20] local.INFO: TCP Data received {"connection_id":176682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:45:20] local.INFO: Processing buffer {"connection_id":176682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:45:20] local.INFO: Packet analysis {"connection_id":176682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:45:20] local.INFO: Extracted packet for processing {"connection_id":176682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:45: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-09-08 00:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":176682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:45:20] local.INFO: GPS data processed {"connection_id":176682,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:45:20] local.INFO: Acknowledgment sent {"connection_id":176682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:45:43] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:45:43] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:45:43] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:45:48] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:45:48] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:45:48] local.INFO: IMEI packet received {"connection_id":176683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":176683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:45:49] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:45:49] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:45:49] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:45:49] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:45: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-09-08 00:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:45:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:45:49] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:45:49] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:46:20] local.INFO: TCP Data received {"connection_id":176683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:46:20] local.INFO: Processing buffer {"connection_id":176683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:46:20] local.INFO: Packet analysis {"connection_id":176683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:46:20] local.INFO: Extracted packet for processing {"connection_id":176683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:46: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-09-08 00:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":176683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:46:20] local.INFO: GPS data processed {"connection_id":176683,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:46:20] local.INFO: Acknowledgment sent {"connection_id":176683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:46:43] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:46:43] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:46:43] local.INFO: IMEI packet received {"connection_id":175277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":175277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:46:48] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:46:48] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:46:48] local.INFO: IMEI packet received {"connection_id":175277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":175277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:46:49] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:46:49] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:46:49] local.INFO: Packet analysis {"connection_id":175277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:46:49] local.INFO: Extracted packet for processing {"connection_id":175277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:46: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-09-08 00:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":175277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:46:49] local.INFO: GPS data processed {"connection_id":175277,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:46:49] local.INFO: Acknowledgment sent {"connection_id":175277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:47:20] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:47:20] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:47:20] local.INFO: Packet analysis {"connection_id":175277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:47:20] local.INFO: Extracted packet for processing {"connection_id":175277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:47: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-09-08 00:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":175277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:47:20] local.INFO: GPS data processed {"connection_id":175277,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:47:20] local.INFO: Acknowledgment sent {"connection_id":175277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:47:43] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:47:43] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:47:43] local.INFO: IMEI packet received {"connection_id":173917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":173917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:47:48] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:47:48] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:47:48] local.INFO: IMEI packet received {"connection_id":173917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:47:49] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:47:49] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:47:49] local.INFO: Packet analysis {"connection_id":173917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:47:49] local.INFO: Extracted packet for processing {"connection_id":173917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:47: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-09-08 00:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":173917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:47:49] local.INFO: GPS data processed {"connection_id":173917,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:47:49] local.INFO: Acknowledgment sent {"connection_id":173917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:48:21] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:48:21] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:48:21] local.INFO: Packet analysis {"connection_id":173917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:48:21] local.INFO: Extracted packet for processing {"connection_id":173917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:48: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-09-08 00:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":173917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:48:21] local.INFO: GPS data processed {"connection_id":173917,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:48:21] local.INFO: Acknowledgment sent {"connection_id":173917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:48:43] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:48:43] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:48:43] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:48:48] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:48:48] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:48:48] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:48:49] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:48:49] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:48:49] local.INFO: Packet analysis {"connection_id":174177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:48:49] local.INFO: Extracted packet for processing {"connection_id":174177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:48: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-09-08 00:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":174177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:48:49] local.INFO: GPS data processed {"connection_id":174177,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:48:49] local.INFO: Acknowledgment sent {"connection_id":174177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:48:51] local.INFO: TCP Data received {"connection_id":176684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:48:51] local.INFO: Processing buffer {"connection_id":176684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:48:51] local.INFO: IMEI packet received {"connection_id":176684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":176684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:49:20] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:49:20] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:49:20] local.INFO: Packet analysis {"connection_id":174177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:49:20] local.INFO: Extracted packet for processing {"connection_id":174177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:49: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-09-08 00:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:49:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":174177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:49:20] local.INFO: GPS data processed {"connection_id":174177,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:49:20] local.INFO: Acknowledgment sent {"connection_id":174177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:49:43] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:49:43] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:49:43] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:49:48] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:49:48] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:49:48] local.INFO: IMEI packet received {"connection_id":176685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":176685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:49:49] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:49:49] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4b25c0012d34c58006aa42a8000c01151e..."} 
[2026-09-08 00:49:49] local.INFO: Packet analysis {"connection_id":176685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:49:49] local.INFO: Extracted packet for processing {"connection_id":176685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4b"} 
[2026-09-08 00:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934891776001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808472000,"timestamp_ms":1788808472000,"timestamp_seconds":1788808472,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4b25c0"} 
[2026-09-08 00:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 00:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:49: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-09-08 00:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934891776001,"66":25832,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934891776001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934891776001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":176685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:49:49] local.INFO: GPS data processed {"connection_id":176685,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:49:49] local.INFO: Acknowledgment sent {"connection_id":176685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:50:22] local.INFO: TCP Data received {"connection_id":176685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:50:22] local.INFO: Processing buffer {"connection_id":176685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:50:22] local.INFO: Packet analysis {"connection_id":176685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:50:22] local.INFO: Extracted packet for processing {"connection_id":176685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:50: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-09-08 00:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":176685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:50:22] local.INFO: GPS data processed {"connection_id":176685,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:50:22] local.INFO: Acknowledgment sent {"connection_id":176685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:50:43] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:50:43] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:50:43] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:50:48] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:50:48] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:50:48] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:50:49] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:50:49] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:50:49] local.INFO: Packet analysis {"connection_id":174178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:50:49] local.INFO: Extracted packet for processing {"connection_id":174178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:50: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-09-08 00:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":174178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:50:49] local.INFO: GPS data processed {"connection_id":174178,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:50:49] local.INFO: Acknowledgment sent {"connection_id":174178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:51:20] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:51:20] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:51:20] local.INFO: Packet analysis {"connection_id":174178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:51:20] local.INFO: Extracted packet for processing {"connection_id":174178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00: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-09-08 00:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:51: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-09-08 00:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":174178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:51:20] local.INFO: GPS data processed {"connection_id":174178,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:51:20] local.INFO: Acknowledgment sent {"connection_id":174178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:51:43] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:51:43] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:51:43] local.INFO: IMEI packet received {"connection_id":176687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":176687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:51:49] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:51:49] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:51:49] local.INFO: IMEI packet received {"connection_id":176687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":176687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:51:51] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:51:51] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:51:51] local.INFO: Packet analysis {"connection_id":176687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:51:51] local.INFO: Extracted packet for processing {"connection_id":176687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":176687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:51:51] local.INFO: GPS data processed {"connection_id":176687,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:51:51] local.INFO: Acknowledgment sent {"connection_id":176687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:52:21] local.INFO: TCP Data received {"connection_id":176687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:52:21] local.INFO: Processing buffer {"connection_id":176687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:52:21] local.INFO: Packet analysis {"connection_id":176687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:52:21] local.INFO: Extracted packet for processing {"connection_id":176687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:52: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-09-08 00:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:52:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":176687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:52:21] local.INFO: GPS data processed {"connection_id":176687,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:52:21] local.INFO: Acknowledgment sent {"connection_id":176687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:52:43] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:52:43] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:52:43] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:52:48] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:52:48] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:52:48] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:52:49] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:52:49] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:52:49] local.INFO: Packet analysis {"connection_id":174179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:52:49] local.INFO: Extracted packet for processing {"connection_id":174179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:52: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-09-08 00:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":174179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:52:49] local.INFO: GPS data processed {"connection_id":174179,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:52:49] local.INFO: Acknowledgment sent {"connection_id":174179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:53:20] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:53:20] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:53:20] local.INFO: Packet analysis {"connection_id":174179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:53:20] local.INFO: Extracted packet for processing {"connection_id":174179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00: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-09-08 00:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:53: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-09-08 00:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":174179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:53:20] local.INFO: GPS data processed {"connection_id":174179,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:53:20] local.INFO: Acknowledgment sent {"connection_id":174179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:53:43] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:53:43] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:53:43] local.INFO: IMEI packet received {"connection_id":174180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":174180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:53:48] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:53:48] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:53:48] local.INFO: IMEI packet received {"connection_id":174180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:53:49] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:53:49] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:53:49] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:53:49] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:53: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-09-08 00:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:53:49] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:53:49] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:54:20] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:54:20] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:54:20] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:54:20] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:54: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-09-08 00:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:54:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:54:20] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:54:20] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:54:26] local.INFO: TCP Data received {"connection_id":174181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:54:26] local.INFO: Processing buffer {"connection_id":174181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:54:26] local.INFO: IMEI packet received {"connection_id":174181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":174181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:54:43] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:54:43] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:54:43] local.INFO: IMEI packet received {"connection_id":175279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":175279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:54:48] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:54:48] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:54:48] local.INFO: IMEI packet received {"connection_id":175279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":175279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:54:50] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:54:50] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d4fbd88012d34c58006aa42a80012011526..."} 
[2026-09-08 00:54:50] local.INFO: Packet analysis {"connection_id":175279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:54:50] local.INFO: Extracted packet for processing {"connection_id":175279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d4f"} 
[2026-09-08 00:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934968832001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788808773000,"timestamp_ms":1788808773000,"timestamp_seconds":1788808773,"priority":1,"record_length":96,"hex_timestamp":"000001a07d4fbd88"} 
[2026-09-08 00:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 00:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934968832001,"66":25843,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934968832001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934968832001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":175279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:54:50] local.INFO: GPS data processed {"connection_id":175279,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:54:50] local.INFO: Acknowledgment sent {"connection_id":175279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:54:51] local.INFO: TCP Data received {"connection_id":175280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:54:51] local.INFO: Processing buffer {"connection_id":175280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 00:54:51] local.INFO: IMEI packet received {"connection_id":175280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 00:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":175280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:55:21] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:21] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:21] local.INFO: Packet analysis {"connection_id":175279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:55:21] local.INFO: Extracted packet for processing {"connection_id":175279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:55: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-09-08 00:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":175279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:55:21] local.INFO: GPS data processed {"connection_id":175279,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:55:21] local.INFO: Acknowledgment sent {"connection_id":175279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:55:48] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:55:48] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:55:48] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:55:53] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:55:53] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:55:53] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:55:54] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:54] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:54] local.INFO: Packet analysis {"connection_id":174182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:55:54] local.INFO: Extracted packet for processing {"connection_id":174182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":174182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:55:54] local.INFO: GPS data processed {"connection_id":174182,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:55:54] local.INFO: Acknowledgment sent {"connection_id":174182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:55:59] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:59] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:55:59] local.INFO: Packet analysis {"connection_id":174182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:55:59] local.INFO: Extracted packet for processing {"connection_id":174182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:55:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":174182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:55:59] local.INFO: GPS data processed {"connection_id":174182,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:55:59] local.INFO: Acknowledgment sent {"connection_id":174182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:56:43] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:56:43] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:56:43] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:56:48] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:56:48] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:56:48] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:56:49] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:56:49] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:56:49] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:56:49] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:56: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-09-08 00:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:56:49] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:56:49] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:57:20] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:57:20] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:57:20] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:57:20] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:57: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-09-08 00:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:57:20] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:57:20] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:57:43] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:57:43] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:57:43] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:57:49] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:57:49] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:57:49] local.INFO: IMEI packet received {"connection_id":176691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:57:51] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:57:51] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:57:51] local.INFO: Packet analysis {"connection_id":176691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:57:51] local.INFO: Extracted packet for processing {"connection_id":176691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 00:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":176691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:57:51] local.INFO: GPS data processed {"connection_id":176691,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:57:51] local.INFO: Acknowledgment sent {"connection_id":176691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:58:22] local.INFO: TCP Data received {"connection_id":176691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:58:22] local.INFO: Processing buffer {"connection_id":176691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:58:22] local.INFO: Packet analysis {"connection_id":176691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:58:22] local.INFO: Extracted packet for processing {"connection_id":176691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:58: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-09-08 00:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:58:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":176691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:58:22] local.INFO: GPS data processed {"connection_id":176691,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:58:22] local.INFO: Acknowledgment sent {"connection_id":176691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:58:43] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:58:43] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:58:43] local.INFO: IMEI packet received {"connection_id":174185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:58:48] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:58:48] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:58:48] local.INFO: IMEI packet received {"connection_id":174185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:58:49] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:58:49] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:58:49] local.INFO: Packet analysis {"connection_id":174185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:58:49] local.INFO: Extracted packet for processing {"connection_id":174185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:58: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-09-08 00:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:58:49] local.INFO: GPS data processed {"connection_id":174185,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:58:49] local.INFO: Acknowledgment sent {"connection_id":174185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:59:20] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:59:20] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:59:20] local.INFO: Packet analysis {"connection_id":174185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:59:20] local.INFO: Extracted packet for processing {"connection_id":174185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 00:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 00:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 00:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 00:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 00:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 00:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 00:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 00:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:59: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-09-08 00:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":174185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:59:20] local.INFO: GPS data processed {"connection_id":174185,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:59:20] local.INFO: Acknowledgment sent {"connection_id":174185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 00:59:44] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:59:44] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:59:44] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 00:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 00:59:48] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:59:48] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 00:59:48] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 00:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 00:59:49] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:59:49] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d545550012d34c58006aa42a80016011524..."} 
[2026-09-08 00:59:49] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:59:49] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d54"} 
[2026-09-08 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 00:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935045888001,"note":"Value kept but may cause issues"} 
[2026-09-08 00:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 00:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 00:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 00:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809074000,"timestamp_ms":1788809074000,"timestamp_seconds":1788809074,"priority":1,"record_length":96,"hex_timestamp":"000001a07d545550"} 
[2026-09-08 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-09-08 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 00:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 00:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 00:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 00:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 00:59: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-09-08 00:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 00:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 00:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935045888001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 00:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 00:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 00:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935045888001,"description":"Unknown IO ID 0"} 
[2026-09-08 00:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 00:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 00:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 00:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 00:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935045888001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 00:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 00:59:49] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-08 00:59:49] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:00:11] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:00:11] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:00:11] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:00:21] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:00:21] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:00:21] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:00:21] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:00: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-09-08 01:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:00:21] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:00:21] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:00:43] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:00:43] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:00:43] local.INFO: IMEI packet received {"connection_id":176692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":176692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:00:48] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:00:48] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:00:48] local.INFO: IMEI packet received {"connection_id":176692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":176692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:00:49] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:00:49] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:00:49] local.INFO: Packet analysis {"connection_id":176692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:00:49] local.INFO: Extracted packet for processing {"connection_id":176692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:00: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-09-08 01:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":176692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:00:49] local.INFO: GPS data processed {"connection_id":176692,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:00:49] local.INFO: Acknowledgment sent {"connection_id":176692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:01:20] local.INFO: TCP Data received {"connection_id":176692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:01:20] local.INFO: Processing buffer {"connection_id":176692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:01:20] local.INFO: Packet analysis {"connection_id":176692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:01:20] local.INFO: Extracted packet for processing {"connection_id":176692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:01: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-09-08 01:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":176692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:01:20] local.INFO: GPS data processed {"connection_id":176692,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:01:20] local.INFO: Acknowledgment sent {"connection_id":176692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:01:43] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:01:43] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:01:43] local.INFO: IMEI packet received {"connection_id":173922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":173922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:01:48] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:01:48] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:01:48] local.INFO: IMEI packet received {"connection_id":173922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:01:49] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:01:49] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:01:49] local.INFO: Packet analysis {"connection_id":173922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:01:49] local.INFO: Extracted packet for processing {"connection_id":173922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 01:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 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-09-08 01:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 01:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:01: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-09-08 01:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":173922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:01:49] local.INFO: GPS data processed {"connection_id":173922,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:01:49] local.INFO: Acknowledgment sent {"connection_id":173922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:02:21] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:21] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:21] local.INFO: Packet analysis {"connection_id":173922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:02:21] local.INFO: Extracted packet for processing {"connection_id":173922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:02: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-09-08 01:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:02:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":173922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:02:21] local.INFO: GPS data processed {"connection_id":173922,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:02:21] local.INFO: Acknowledgment sent {"connection_id":173922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:02:48] local.INFO: TCP Data received {"connection_id":175282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:02:48] local.INFO: Processing buffer {"connection_id":175282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:02:48] local.INFO: IMEI packet received {"connection_id":175282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:02:53] local.INFO: TCP Data received {"connection_id":175282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:02:53] local.INFO: Processing buffer {"connection_id":175282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:02:53] local.INFO: IMEI packet received {"connection_id":175282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":175282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:02:54] local.INFO: TCP Data received {"connection_id":175282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:54] local.INFO: Processing buffer {"connection_id":175282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:54] local.INFO: Packet analysis {"connection_id":175282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:02:54] local.INFO: Extracted packet for processing {"connection_id":175282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":175282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:02:54] local.INFO: GPS data processed {"connection_id":175282,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:02:54] local.INFO: Acknowledgment sent {"connection_id":175282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:02:59] local.INFO: TCP Data received {"connection_id":175282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:59] local.INFO: Processing buffer {"connection_id":175282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:02:59] local.INFO: Packet analysis {"connection_id":175282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:02:59] local.INFO: Extracted packet for processing {"connection_id":175282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":175282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:02:59] local.INFO: GPS data processed {"connection_id":175282,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:02:59] local.INFO: Acknowledgment sent {"connection_id":175282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:03:43] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:03:43] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:03:43] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:03:48] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:03:48] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:03:48] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:03:49] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:03:49] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:03:49] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:03:49] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:03: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-09-08 01:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:03:49] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:03:49] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:03:54] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:03:54] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:03:54] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:03:54] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:03:54] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:03:54] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:04:25] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:04:25] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:04:25] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:04:25] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:04:25] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:04:25] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:04:43] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:04:43] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:04:43] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:04:48] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:04:48] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:04:48] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:04:49] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:04:49] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d58ed18012d34c58006aa42a80016011524..."} 
[2026-09-08 01:04:49] local.INFO: Packet analysis {"connection_id":173924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:04:49] local.INFO: Extracted packet for processing {"connection_id":173924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d58"} 
[2026-09-08 01:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935122944001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809375000,"timestamp_ms":1788809375000,"timestamp_seconds":1788809375,"priority":1,"record_length":96,"hex_timestamp":"000001a07d58ed18"} 
[2026-09-08 01:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:04: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-09-08 01:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935122944001,"66":25778,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935122944001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935122944001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":173924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:04:49] local.INFO: GPS data processed {"connection_id":173924,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:04:49] local.INFO: Acknowledgment sent {"connection_id":173924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:05:20] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:05:20] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:05:20] local.INFO: Packet analysis {"connection_id":173924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:05:20] local.INFO: Extracted packet for processing {"connection_id":173924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:05: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-09-08 01:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":173924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:05:20] local.INFO: GPS data processed {"connection_id":173924,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:05:20] local.INFO: Acknowledgment sent {"connection_id":173924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:05:43] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:05:43] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:05:43] local.INFO: IMEI packet received {"connection_id":175284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:05:48] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:05:48] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:05:48] local.INFO: IMEI packet received {"connection_id":175284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":175284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:05:49] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:05:49] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:05:49] local.INFO: Packet analysis {"connection_id":175284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:05:49] local.INFO: Extracted packet for processing {"connection_id":175284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01: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-09-08 01:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":175284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:05:49] local.INFO: GPS data processed {"connection_id":175284,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:05:49] local.INFO: Acknowledgment sent {"connection_id":175284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:05:51] local.INFO: TCP Data received {"connection_id":176695,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:05:51] local.INFO: Processing buffer {"connection_id":176695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:05:51] local.INFO: IMEI packet received {"connection_id":176695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":176695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:06:21] local.INFO: TCP Data received {"connection_id":175284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:06:21] local.INFO: Processing buffer {"connection_id":175284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:06:21] local.INFO: Packet analysis {"connection_id":175284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:06:21] local.INFO: Extracted packet for processing {"connection_id":175284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:06: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-09-08 01:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":175284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:06:21] local.INFO: GPS data processed {"connection_id":175284,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:06:21] local.INFO: Acknowledgment sent {"connection_id":175284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:06:43] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:06:43] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:06:43] local.INFO: IMEI packet received {"connection_id":176696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":176696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:06:48] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:06:48] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:06:48] local.INFO: IMEI packet received {"connection_id":176696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:06:49] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:06:49] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:06:49] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:06:49] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:06: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-09-08 01:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:06:49] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:06:49] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:07:20] local.INFO: TCP Data received {"connection_id":176696,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:07:20] local.INFO: Processing buffer {"connection_id":176696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:07:20] local.INFO: Packet analysis {"connection_id":176696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:07:20] local.INFO: Extracted packet for processing {"connection_id":176696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:07: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-09-08 01:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":176696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:07:20] local.INFO: GPS data processed {"connection_id":176696,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:07:20] local.INFO: Acknowledgment sent {"connection_id":176696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:07:43] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:07:43] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:07:43] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:07:48] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:07:48] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:07:48] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:07:49] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:07:49] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:07:49] local.INFO: Packet analysis {"connection_id":173926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:07:49] local.INFO: Extracted packet for processing {"connection_id":173926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:07: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-09-08 01:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":173926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:07:49] local.INFO: GPS data processed {"connection_id":173926,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:07:49] local.INFO: Acknowledgment sent {"connection_id":173926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:08:20] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:08:20] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:08:20] local.INFO: Packet analysis {"connection_id":173926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:08:20] local.INFO: Extracted packet for processing {"connection_id":173926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:08: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-09-08 01:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":173926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:08:20] local.INFO: GPS data processed {"connection_id":173926,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:08:20] local.INFO: Acknowledgment sent {"connection_id":173926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:08:43] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:08:43] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:08:43] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:08:48] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:08:48] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:08:48] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:08:49] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:08:49] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:08:49] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:08:49] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:08: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-09-08 01:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:08:49] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:08:49] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:09:20] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:20] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:20] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:09:20] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:09: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-09-08 01:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:09:20] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:09:20] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:09:48] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:09:48] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:09:48] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:09:53] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:09:53] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:09:53] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:09:54] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:54] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:54] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:09:54] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:09:54] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:09:54] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:09:59] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:59] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d5d84e0012d34c58006aa42a80004011526..."} 
[2026-09-08 01:09:59] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:09:59] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d5d"} 
[2026-09-08 01:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935200000001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788809676000,"timestamp_ms":1788809676000,"timestamp_seconds":1788809676,"priority":1,"record_length":96,"hex_timestamp":"000001a07d5d84e0"} 
[2026-09-08 01:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 01:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935200000001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935200000001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:09:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935200000001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:09:59] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:09:59] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:10:43] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:10:43] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:10:43] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:10:48] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:10:48] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:10:48] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:10:49] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:10:49] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:10:49] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:10:49] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:10: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-09-08 01:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:10:49] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:10:49] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:11:20] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:11:20] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:11:20] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:11:20] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:11: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-09-08 01:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:11:20] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:11:20] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:11:21] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:11:21] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:11:21] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:11:43] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:11:43] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:11:43] local.INFO: IMEI packet received {"connection_id":175286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":175286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:11:46] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:11:46] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:11:46] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:11:48] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:11:48] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:11:48] local.INFO: IMEI packet received {"connection_id":175286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:11:49] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:11:49] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:11:49] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:11:49] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:11: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-09-08 01:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:11:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:11:49] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:11:49] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:12:21] local.INFO: TCP Data received {"connection_id":175286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:12:21] local.INFO: Processing buffer {"connection_id":175286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:12:21] local.INFO: Packet analysis {"connection_id":175286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:12:21] local.INFO: Extracted packet for processing {"connection_id":175286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:12: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-09-08 01:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:12:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":175286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:12:21] local.INFO: GPS data processed {"connection_id":175286,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:12:21] local.INFO: Acknowledgment sent {"connection_id":175286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:12:43] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:12:43] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:12:43] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:12:48] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:12:48] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:12:48] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:12:49] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:12:49] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:12:49] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:12:49] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:12: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-09-08 01:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:12:49] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:12:49] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:13:20] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:13:20] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:13:20] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:13:20] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:13: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-09-08 01:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:13:20] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:13:20] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:13:43] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:13:43] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:13:43] local.INFO: IMEI packet received {"connection_id":173932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":173932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:13:48] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:13:48] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:13:48] local.INFO: IMEI packet received {"connection_id":173932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:13:49] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:13:49] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:13:49] local.INFO: Packet analysis {"connection_id":173932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:13:49] local.INFO: Extracted packet for processing {"connection_id":173932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:13: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-09-08 01:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":173932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:13:49] local.INFO: GPS data processed {"connection_id":173932,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:13:49] local.INFO: Acknowledgment sent {"connection_id":173932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:14:21] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:14:21] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:14:21] local.INFO: Packet analysis {"connection_id":173932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:14:21] local.INFO: Extracted packet for processing {"connection_id":173932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:14: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-09-08 01:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":173932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:14:21] local.INFO: GPS data processed {"connection_id":173932,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:14:21] local.INFO: Acknowledgment sent {"connection_id":173932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:14:43] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:14:43] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:14:43] local.INFO: IMEI packet received {"connection_id":176698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":176698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:14:48] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:14:48] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:14:48] local.INFO: IMEI packet received {"connection_id":176698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":176698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:14:49] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:14:49] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d621ca8012d34c58006aa42a80004011526..."} 
[2026-09-08 01:14:49] local.INFO: Packet analysis {"connection_id":176698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:14:49] local.INFO: Extracted packet for processing {"connection_id":176698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d62"} 
[2026-09-08 01:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":4,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935277056001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788809977000,"timestamp_ms":1788809977000,"timestamp_seconds":1788809977,"priority":1,"record_length":96,"hex_timestamp":"000001a07d621ca8"} 
[2026-09-08 01:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:14: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-09-08 01:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935277056001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935277056001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935277056001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":176698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:14:49] local.INFO: GPS data processed {"connection_id":176698,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:14:49] local.INFO: Acknowledgment sent {"connection_id":176698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:15:20] local.INFO: TCP Data received {"connection_id":176698,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:15:20] local.INFO: Processing buffer {"connection_id":176698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:15:20] local.INFO: Packet analysis {"connection_id":176698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:15:20] local.INFO: Extracted packet for processing {"connection_id":176698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:15: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-09-08 01:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":176698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:15:20] local.INFO: GPS data processed {"connection_id":176698,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:15:20] local.INFO: Acknowledgment sent {"connection_id":176698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:15:43] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:15:43] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:15:43] local.INFO: IMEI packet received {"connection_id":175287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:15:48] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:15:48] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:15:48] local.INFO: IMEI packet received {"connection_id":175287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":175287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:15:50] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:15:50] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:15:50] local.INFO: Packet analysis {"connection_id":175287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:15:50] local.INFO: Extracted packet for processing {"connection_id":175287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:15:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":175287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:15:50] local.INFO: GPS data processed {"connection_id":175287,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:15:50] local.INFO: Acknowledgment sent {"connection_id":175287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:16:21] local.INFO: TCP Data received {"connection_id":175287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:21] local.INFO: Processing buffer {"connection_id":175287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:21] local.INFO: Packet analysis {"connection_id":175287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:16:21] local.INFO: Extracted packet for processing {"connection_id":175287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:16: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-09-08 01:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":175287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:16:21] local.INFO: GPS data processed {"connection_id":175287,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:16:21] local.INFO: Acknowledgment sent {"connection_id":175287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:16:48] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:16:48] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:16:48] local.INFO: IMEI packet received {"connection_id":175288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":175288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:16:53] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:16:53] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:16:53] local.INFO: IMEI packet received {"connection_id":175288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":175288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:16:54] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:54] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:54] local.INFO: Packet analysis {"connection_id":175288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:16:54] local.INFO: Extracted packet for processing {"connection_id":175288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:16:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:16:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":175288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:16:54] local.INFO: GPS data processed {"connection_id":175288,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:16:54] local.INFO: Acknowledgment sent {"connection_id":175288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:16:58] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:58] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:16:58] local.INFO: Packet analysis {"connection_id":175288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:16:58] local.INFO: Extracted packet for processing {"connection_id":175288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:16:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:16:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":175288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:16:58] local.INFO: GPS data processed {"connection_id":175288,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:16:58] local.INFO: Acknowledgment sent {"connection_id":175288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:17:16] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:17:16] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:17:16] local.INFO: IMEI packet received {"connection_id":175289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":175289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:17:43] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:17:43] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:17:43] local.INFO: IMEI packet received {"connection_id":175290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":175290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:17:45] local.INFO: TCP Data received {"connection_id":173935,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:17:45] local.INFO: Processing buffer {"connection_id":173935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:17:45] local.INFO: IMEI packet received {"connection_id":173935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:17:48] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:17:48] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:17:48] local.INFO: IMEI packet received {"connection_id":175290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":175290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:17:49] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:17:49] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:17:49] local.INFO: Packet analysis {"connection_id":175290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:17:49] local.INFO: Extracted packet for processing {"connection_id":175290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:17: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-09-08 01:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":175290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:17:49] local.INFO: GPS data processed {"connection_id":175290,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:17:49] local.INFO: Acknowledgment sent {"connection_id":175290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:18:21] local.INFO: TCP Data received {"connection_id":175290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:18:21] local.INFO: Processing buffer {"connection_id":175290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:18:21] local.INFO: Packet analysis {"connection_id":175290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:18:21] local.INFO: Extracted packet for processing {"connection_id":175290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:18: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-09-08 01:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:18:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":175290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:18:21] local.INFO: GPS data processed {"connection_id":175290,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:18:21] local.INFO: Acknowledgment sent {"connection_id":175290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:18:43] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:18:43] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:18:43] local.INFO: IMEI packet received {"connection_id":173936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":173936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:18:48] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:18:48] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:18:48] local.INFO: IMEI packet received {"connection_id":173936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:18:49] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:18:49] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:18:49] local.INFO: Packet analysis {"connection_id":173936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:18:49] local.INFO: Extracted packet for processing {"connection_id":173936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:18: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-09-08 01:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":173936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:18:49] local.INFO: GPS data processed {"connection_id":173936,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:18:49] local.INFO: Acknowledgment sent {"connection_id":173936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:19:20] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:19:20] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:19:20] local.INFO: Packet analysis {"connection_id":173936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:19:20] local.INFO: Extracted packet for processing {"connection_id":173936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 01:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:19: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-09-08 01:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":173936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:19:20] local.INFO: GPS data processed {"connection_id":173936,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:19:20] local.INFO: Acknowledgment sent {"connection_id":173936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:19:43] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:19:43] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:19:43] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:19:48] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:19:48] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:19:48] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:19:49] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:19:49] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d66b470012d34c58006aa42a80011011525..."} 
[2026-09-08 01:19:49] local.INFO: Packet analysis {"connection_id":174194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:19:49] local.INFO: Extracted packet for processing {"connection_id":174194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d66"} 
[2026-09-08 01:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 01:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935354112001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810278000,"timestamp_ms":1788810278000,"timestamp_seconds":1788810278,"priority":1,"record_length":96,"hex_timestamp":"000001a07d66b470"} 
[2026-09-08 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-09-08 01:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 01:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:19: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-09-08 01:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935354112001,"66":25756,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935354112001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935354112001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":174194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:19:49] local.INFO: GPS data processed {"connection_id":174194,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:19:49] local.INFO: Acknowledgment sent {"connection_id":174194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:20:20] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:20:20] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:20:20] local.INFO: Packet analysis {"connection_id":174194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:20:20] local.INFO: Extracted packet for processing {"connection_id":174194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:20: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-09-08 01:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:20:20] local.INFO: GPS data processed {"connection_id":174194,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:20:20] local.INFO: Acknowledgment sent {"connection_id":174194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:20:43] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:20:43] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:20:43] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:20:48] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:20:48] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:20:48] local.INFO: IMEI packet received {"connection_id":176699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":176699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:20:49] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:20:49] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:20:49] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:20:49] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:20: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-09-08 01:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:20:49] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:20:49] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:21:20] local.INFO: TCP Data received {"connection_id":176699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:21:20] local.INFO: Processing buffer {"connection_id":176699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:21:20] local.INFO: Packet analysis {"connection_id":176699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:21:20] local.INFO: Extracted packet for processing {"connection_id":176699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:21: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-09-08 01:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":176699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:21:20] local.INFO: GPS data processed {"connection_id":176699,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:21:20] local.INFO: Acknowledgment sent {"connection_id":176699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:21:43] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:21:43] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:21:43] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:21:48] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:21:48] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:21:48] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:21:49] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:21:49] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:21:49] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:21:49] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:21: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-09-08 01:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:21:49] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:21:49] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:22:20] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:20] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:20] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:22:20] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:22: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-09-08 01:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:22:20] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:22:20] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:22:48] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:22:48] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:22:48] local.INFO: IMEI packet received {"connection_id":176700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":176700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:22:51] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:22:51] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:22:51] local.INFO: IMEI packet received {"connection_id":175293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":175293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:22:53] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:22:53] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:22:53] local.INFO: IMEI packet received {"connection_id":176700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":176700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:22:54] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:54] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:54] local.INFO: Packet analysis {"connection_id":176700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:22:54] local.INFO: Extracted packet for processing {"connection_id":176700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:22:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":176700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:22:54] local.INFO: GPS data processed {"connection_id":176700,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:22:54] local.INFO: Acknowledgment sent {"connection_id":176700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:22:58] local.INFO: TCP Data received {"connection_id":176700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:58] local.INFO: Processing buffer {"connection_id":176700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:22:58] local.INFO: Packet analysis {"connection_id":176700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:22:58] local.INFO: Extracted packet for processing {"connection_id":176700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:22:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:22:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:22:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":176700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:22:58] local.INFO: GPS data processed {"connection_id":176700,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:22:58] local.INFO: Acknowledgment sent {"connection_id":176700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:23:43] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:23:43] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:23:43] local.INFO: IMEI packet received {"connection_id":173938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":173938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:23:48] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:23:48] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:23:48] local.INFO: IMEI packet received {"connection_id":173938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:23:49] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:23:49] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:23:49] local.INFO: Packet analysis {"connection_id":173938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:23:49] local.INFO: Extracted packet for processing {"connection_id":173938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:23: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-09-08 01:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":173938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:23:49] local.INFO: GPS data processed {"connection_id":173938,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:23:49] local.INFO: Acknowledgment sent {"connection_id":173938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:23:54] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:23:54] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:23:54] local.INFO: Packet analysis {"connection_id":173938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:23:54] local.INFO: Extracted packet for processing {"connection_id":173938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:23:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":173938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:23:54] local.INFO: GPS data processed {"connection_id":173938,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:23:54] local.INFO: Acknowledgment sent {"connection_id":173938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:24:25] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:24:25] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:24:25] local.INFO: Packet analysis {"connection_id":173938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:24:25] local.INFO: Extracted packet for processing {"connection_id":173938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":173938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:24:25] local.INFO: GPS data processed {"connection_id":173938,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:24:25] local.INFO: Acknowledgment sent {"connection_id":173938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:24:43] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:24:43] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:24:43] local.INFO: IMEI packet received {"connection_id":173940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":173940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:24:48] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:24:48] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:24:48] local.INFO: IMEI packet received {"connection_id":173940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":173940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:24:49] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:24:49] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6b4c38012d34c58006aa42a8001101151e..."} 
[2026-09-08 01:24:49] local.INFO: Packet analysis {"connection_id":173940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:24:49] local.INFO: Extracted packet for processing {"connection_id":173940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6b"} 
[2026-09-08 01:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":17,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935431168001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810579000,"timestamp_ms":1788810579000,"timestamp_seconds":1788810579,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6b4c38"} 
[2026-09-08 01:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 01:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:24: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-09-08 01:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935431168001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935431168001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935431168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":173940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:24:49] local.INFO: GPS data processed {"connection_id":173940,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:24:49] local.INFO: Acknowledgment sent {"connection_id":173940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:25:20] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:25:20] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:25:20] local.INFO: Packet analysis {"connection_id":173940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:25:20] local.INFO: Extracted packet for processing {"connection_id":173940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:25: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-09-08 01:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":173940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:25:20] local.INFO: GPS data processed {"connection_id":173940,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:25:20] local.INFO: Acknowledgment sent {"connection_id":173940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:25:43] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:25:43] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:25:43] local.INFO: IMEI packet received {"connection_id":175294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:25:48] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:25:48] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:25:48] local.INFO: IMEI packet received {"connection_id":175294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:25:49] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:25:49] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:25:49] local.INFO: Packet analysis {"connection_id":175294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:25:49] local.INFO: Extracted packet for processing {"connection_id":175294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:25: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-09-08 01:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":175294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:25:49] local.INFO: GPS data processed {"connection_id":175294,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:25:49] local.INFO: Acknowledgment sent {"connection_id":175294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:26:22] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:26:22] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:26:22] local.INFO: Packet analysis {"connection_id":175294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:26:22] local.INFO: Extracted packet for processing {"connection_id":175294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:26: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-09-08 01:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:26:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":175294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:26:22] local.INFO: GPS data processed {"connection_id":175294,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:26:22] local.INFO: Acknowledgment sent {"connection_id":175294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:26:43] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:26:43] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:26:43] local.INFO: IMEI packet received {"connection_id":173942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":173942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:26:48] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:26:48] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:26:48] local.INFO: IMEI packet received {"connection_id":173942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:26:49] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:26:49] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:26:49] local.INFO: Packet analysis {"connection_id":173942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:26:49] local.INFO: Extracted packet for processing {"connection_id":173942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:26: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-09-08 01:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":173942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:26:49] local.INFO: GPS data processed {"connection_id":173942,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:26:49] local.INFO: Acknowledgment sent {"connection_id":173942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:27:19] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:27:19] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:27:19] local.INFO: Packet analysis {"connection_id":173942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:27:19] local.INFO: Extracted packet for processing {"connection_id":173942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:27: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-09-08 01:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":173942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:27:19] local.INFO: GPS data processed {"connection_id":173942,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:27:19] local.INFO: Acknowledgment sent {"connection_id":173942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:27:43] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:27:43] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:27:43] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:27:48] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:27:48] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:27:48] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:27:49] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:27:49] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:27:49] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:27:49] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:27: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-09-08 01:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:27:49] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:27:49] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:28:21] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:28:21] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:28:21] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:28:21] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01: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-09-08 01:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:28:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:28:21] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:28:21] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:28:26] local.INFO: TCP Data received {"connection_id":174198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:28:26] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:28:26] local.INFO: IMEI packet received {"connection_id":174198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":174198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:28:43] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:28:43] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:28:43] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:28:45] local.INFO: TCP Data received {"connection_id":176701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:28:45] local.INFO: Processing buffer {"connection_id":176701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:28:45] local.INFO: IMEI packet received {"connection_id":176701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":176701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:28:48] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:28:48] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:28:48] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:28:49] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:28:49] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:28:49] local.INFO: Packet analysis {"connection_id":175295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:28:49] local.INFO: Extracted packet for processing {"connection_id":175295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 01:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 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-09-08 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 01:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:28: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-09-08 01:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":175295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:28:49] local.INFO: GPS data processed {"connection_id":175295,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:28:49] local.INFO: Acknowledgment sent {"connection_id":175295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:29:20] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:20] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:20] local.INFO: Packet analysis {"connection_id":175295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:29:20] local.INFO: Extracted packet for processing {"connection_id":175295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:29: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-09-08 01:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:29:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":175295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:29:20] local.INFO: GPS data processed {"connection_id":175295,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:29:20] local.INFO: Acknowledgment sent {"connection_id":175295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:29:48] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:29:48] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:29:48] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:29:53] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:29:53] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:29:53] local.INFO: IMEI packet received {"connection_id":176702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":176702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:29:54] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:54] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:54] local.INFO: Packet analysis {"connection_id":176702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:29:54] local.INFO: Extracted packet for processing {"connection_id":176702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":176702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:29:54] local.INFO: GPS data processed {"connection_id":176702,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:29:54] local.INFO: Acknowledgment sent {"connection_id":176702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:29:59] local.INFO: TCP Data received {"connection_id":176702,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:59] local.INFO: Processing buffer {"connection_id":176702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d6fe400012d34c58006aa42a80008011522..."} 
[2026-09-08 01:29:59] local.INFO: Packet analysis {"connection_id":176702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:29:59] local.INFO: Extracted packet for processing {"connection_id":176702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d6f"} 
[2026-09-08 01:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935508224001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788810880000,"timestamp_ms":1788810880000,"timestamp_seconds":1788810880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d6fe400"} 
[2026-09-08 01:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935508224001,"66":25745,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935508224001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935508224001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":176702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:29:59] local.INFO: GPS data processed {"connection_id":176702,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:29:59] local.INFO: Acknowledgment sent {"connection_id":176702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:30:43] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:30:43] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:30:43] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:30:48] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:30:48] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:30:48] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:30:49] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:30:49] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:30:49] local.INFO: Packet analysis {"connection_id":173945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:30:49] local.INFO: Extracted packet for processing {"connection_id":173945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:30: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-09-08 01:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:30:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":173945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:30:49] local.INFO: GPS data processed {"connection_id":173945,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:30:49] local.INFO: Acknowledgment sent {"connection_id":173945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:31:20] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:31:20] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:31:20] local.INFO: Packet analysis {"connection_id":173945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:31:20] local.INFO: Extracted packet for processing {"connection_id":173945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:31: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-09-08 01:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":173945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:31:20] local.INFO: GPS data processed {"connection_id":173945,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:31:20] local.INFO: Acknowledgment sent {"connection_id":173945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:31:43] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:31:43] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:31:43] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:31:48] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:31:48] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:31:48] local.INFO: IMEI packet received {"connection_id":176703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":176703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:31:49] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:31:49] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:31:49] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:31:49] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:31: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-09-08 01:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:31:49] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:31:49] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:32:21] local.INFO: TCP Data received {"connection_id":176703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:32:21] local.INFO: Processing buffer {"connection_id":176703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:32:21] local.INFO: Packet analysis {"connection_id":176703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:32:21] local.INFO: Extracted packet for processing {"connection_id":176703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:32: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-09-08 01:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:32:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":176703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:32:21] local.INFO: GPS data processed {"connection_id":176703,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:32:21] local.INFO: Acknowledgment sent {"connection_id":176703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:32:43] local.INFO: TCP Data received {"connection_id":173946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:32:43] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:32:43] local.INFO: IMEI packet received {"connection_id":173946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":173946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:32:48] local.INFO: TCP Data received {"connection_id":173946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:32:48] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:32:48] local.INFO: IMEI packet received {"connection_id":173946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:32:49] local.INFO: TCP Data received {"connection_id":173946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:32:49] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:32:49] local.INFO: Packet analysis {"connection_id":173946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:32:49] local.INFO: Extracted packet for processing {"connection_id":173946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:32: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-09-08 01:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":173946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:32:49] local.INFO: GPS data processed {"connection_id":173946,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:32:49] local.INFO: Acknowledgment sent {"connection_id":173946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:33:20] local.INFO: TCP Data received {"connection_id":173946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:33:20] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:33:20] local.INFO: Packet analysis {"connection_id":173946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:33:20] local.INFO: Extracted packet for processing {"connection_id":173946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:33: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-09-08 01:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":173946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:33:20] local.INFO: GPS data processed {"connection_id":173946,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:33:20] local.INFO: Acknowledgment sent {"connection_id":173946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:33:43] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:33:43] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:33:43] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:33:48] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:33:48] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:33:48] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:33:49] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:33:49] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:33:49] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:33:49] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:33: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-09-08 01:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:33:49] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:33:49] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:34:10] local.INFO: TCP Data received {"connection_id":176704,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:34:10] local.INFO: Processing buffer {"connection_id":176704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:34:10] local.INFO: IMEI packet received {"connection_id":176704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":176704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:34:20] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:34:20] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:34:20] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:34:20] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:34: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-09-08 01:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:34:20] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:34:20] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:34:43] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:34:43] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:34:43] local.INFO: IMEI packet received {"connection_id":175298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":175298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:34:48] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:34:48] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:34:48] local.INFO: IMEI packet received {"connection_id":175298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":175298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:34:49] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:34:49] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:34:49] local.INFO: Packet analysis {"connection_id":175298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:34:49] local.INFO: Extracted packet for processing {"connection_id":175298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:34: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-09-08 01:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":175298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:34:49] local.INFO: GPS data processed {"connection_id":175298,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:34:49] local.INFO: Acknowledgment sent {"connection_id":175298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:34:50] local.INFO: TCP Data received {"connection_id":175299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:34:50] local.INFO: Processing buffer {"connection_id":175299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:34:50] local.INFO: IMEI packet received {"connection_id":175299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":175299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:35:20] local.INFO: TCP Data received {"connection_id":175298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:35:20] local.INFO: Processing buffer {"connection_id":175298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d747bc8012d34c58006aa42a80008011523..."} 
[2026-09-08 01:35:20] local.INFO: Packet analysis {"connection_id":175298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:35:20] local.INFO: Extracted packet for processing {"connection_id":175298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d74"} 
[2026-09-08 01:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":8,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935585280001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811181000,"timestamp_ms":1788811181000,"timestamp_seconds":1788811181,"priority":1,"record_length":96,"hex_timestamp":"000001a07d747bc8"} 
[2026-09-08 01:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 01:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01: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-09-08 01:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935585280001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935585280001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935585280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":175298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:35:20] local.INFO: GPS data processed {"connection_id":175298,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:35:20] local.INFO: Acknowledgment sent {"connection_id":175298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:35:48] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:35:48] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:35:48] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:35:53] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:35:53] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:35:53] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:35:54] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:35:54] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:35:54] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:35:54] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:35:54] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:35:54] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:36:25] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:36:25] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:36:25] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:36:25] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:36: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:36:25] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:36:25] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:36:43] local.INFO: TCP Data received {"connection_id":174203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:36:43] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:36:43] local.INFO: IMEI packet received {"connection_id":174203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":174203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:36:48] local.INFO: TCP Data received {"connection_id":174203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:36:48] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:36:48] local.INFO: IMEI packet received {"connection_id":174203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":174203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:36:49] local.INFO: TCP Data received {"connection_id":174203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:36:49] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:36:49] local.INFO: Packet analysis {"connection_id":174203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:36:49] local.INFO: Extracted packet for processing {"connection_id":174203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:36: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-09-08 01:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":174203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:36:49] local.INFO: GPS data processed {"connection_id":174203,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:36:49] local.INFO: Acknowledgment sent {"connection_id":174203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:37:20] local.INFO: TCP Data received {"connection_id":174203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:37:20] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:37:20] local.INFO: Packet analysis {"connection_id":174203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:37:20] local.INFO: Extracted packet for processing {"connection_id":174203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:37: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-09-08 01:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":174203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:37:20] local.INFO: GPS data processed {"connection_id":174203,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:37:20] local.INFO: Acknowledgment sent {"connection_id":174203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:37:43] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:37:43] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:37:43] local.INFO: IMEI packet received {"connection_id":173947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":173947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:37:48] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:37:48] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:37:48] local.INFO: IMEI packet received {"connection_id":173947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:37:49] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:37:49] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:37:49] local.INFO: Packet analysis {"connection_id":173947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:37:49] local.INFO: Extracted packet for processing {"connection_id":173947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:37: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-09-08 01:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":173947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:37:49] local.INFO: GPS data processed {"connection_id":173947,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:37:49] local.INFO: Acknowledgment sent {"connection_id":173947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:38:20] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:38:20] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:38:20] local.INFO: Packet analysis {"connection_id":173947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:38:20] local.INFO: Extracted packet for processing {"connection_id":173947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:38: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-09-08 01:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":173947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:38:20] local.INFO: GPS data processed {"connection_id":173947,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:38:20] local.INFO: Acknowledgment sent {"connection_id":173947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:38:43] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:38:43] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:38:43] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:38:48] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:38:48] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:38:48] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:38:49] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:38:49] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:38:49] local.INFO: Packet analysis {"connection_id":175301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:38:49] local.INFO: Extracted packet for processing {"connection_id":175301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:38: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-09-08 01:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":175301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:38:49] local.INFO: GPS data processed {"connection_id":175301,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:38:49] local.INFO: Acknowledgment sent {"connection_id":175301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:39:20] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:39:20] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:39:20] local.INFO: Packet analysis {"connection_id":175301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:39:20] local.INFO: Extracted packet for processing {"connection_id":175301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:39: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-09-08 01:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:39:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":175301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:39:20] local.INFO: GPS data processed {"connection_id":175301,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:39:20] local.INFO: Acknowledgment sent {"connection_id":175301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:39:43] local.INFO: TCP Data received {"connection_id":175303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:39:43] local.INFO: Processing buffer {"connection_id":175303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:39:43] local.INFO: IMEI packet received {"connection_id":175303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":175303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:39:48] local.INFO: TCP Data received {"connection_id":175303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:39:48] local.INFO: Processing buffer {"connection_id":175303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:39:48] local.INFO: IMEI packet received {"connection_id":175303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":175303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:39:49] local.INFO: TCP Data received {"connection_id":175303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:39:49] local.INFO: Processing buffer {"connection_id":175303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:39:49] local.INFO: Packet analysis {"connection_id":175303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:39:49] local.INFO: Extracted packet for processing {"connection_id":175303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:39: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-09-08 01:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":175303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:39:49] local.INFO: GPS data processed {"connection_id":175303,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:39:49] local.INFO: Acknowledgment sent {"connection_id":175303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:40:16] local.INFO: TCP Data received {"connection_id":176706,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:40:16] local.INFO: Processing buffer {"connection_id":176706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:40:16] local.INFO: IMEI packet received {"connection_id":176706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":176706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:40:20] local.INFO: TCP Data received {"connection_id":175303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:40:20] local.INFO: Processing buffer {"connection_id":175303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d791390012d34c58006aa42a8000f01151e..."} 
[2026-09-08 01:40:20] local.INFO: Packet analysis {"connection_id":175303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:40:20] local.INFO: Extracted packet for processing {"connection_id":175303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d79"} 
[2026-09-08 01:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935662336001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811482000,"timestamp_ms":1788811482000,"timestamp_seconds":1788811482,"priority":1,"record_length":96,"hex_timestamp":"000001a07d791390"} 
[2026-09-08 01:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:40: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-09-08 01:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935662336001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935662336001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935662336001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":175303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:40:20] local.INFO: GPS data processed {"connection_id":175303,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:40:20] local.INFO: Acknowledgment sent {"connection_id":175303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:40:45] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:40:45] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:40:45] local.INFO: IMEI packet received {"connection_id":173948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:40:48] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:40:48] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:40:48] local.INFO: IMEI packet received {"connection_id":173949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:40:53] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:40:53] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:40:53] local.INFO: IMEI packet received {"connection_id":173949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":173949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:40:54] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:40:54] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:40:54] local.INFO: Packet analysis {"connection_id":173949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:40:54] local.INFO: Extracted packet for processing {"connection_id":173949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:40:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":173949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:40:54] local.INFO: GPS data processed {"connection_id":173949,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:40:54] local.INFO: Acknowledgment sent {"connection_id":173949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:40:59] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:40:59] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:40:59] local.INFO: Packet analysis {"connection_id":173949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:40:59] local.INFO: Extracted packet for processing {"connection_id":173949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":173949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:40:59] local.INFO: GPS data processed {"connection_id":173949,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:40:59] local.INFO: Acknowledgment sent {"connection_id":173949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:41:43] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:41:43] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:41:43] local.INFO: IMEI packet received {"connection_id":175304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:41:48] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:41:48] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:41:48] local.INFO: IMEI packet received {"connection_id":175304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:41:49] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:41:49] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:41:49] local.INFO: Packet analysis {"connection_id":175304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:41:49] local.INFO: Extracted packet for processing {"connection_id":175304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:41: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-09-08 01:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:41:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":175304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:41:49] local.INFO: GPS data processed {"connection_id":175304,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:41:49] local.INFO: Acknowledgment sent {"connection_id":175304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:42:20] local.INFO: TCP Data received {"connection_id":175304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:42:20] local.INFO: Processing buffer {"connection_id":175304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:42:20] local.INFO: Packet analysis {"connection_id":175304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:42:20] local.INFO: Extracted packet for processing {"connection_id":175304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:42: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-09-08 01:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":175304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:42:20] local.INFO: GPS data processed {"connection_id":175304,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:42:20] local.INFO: Acknowledgment sent {"connection_id":175304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:42:43] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:42:43] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:42:43] local.INFO: IMEI packet received {"connection_id":173950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":173950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:42:48] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:42:48] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:42:48] local.INFO: IMEI packet received {"connection_id":173950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:42:49] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:42:49] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:42:49] local.INFO: Packet analysis {"connection_id":173950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:42:49] local.INFO: Extracted packet for processing {"connection_id":173950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:42: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-09-08 01:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":173950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:42:49] local.INFO: GPS data processed {"connection_id":173950,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:42:49] local.INFO: Acknowledgment sent {"connection_id":173950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:43:20] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:43:20] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:43:20] local.INFO: Packet analysis {"connection_id":173950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:43:20] local.INFO: Extracted packet for processing {"connection_id":173950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:43: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-09-08 01:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":173950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:43:20] local.INFO: GPS data processed {"connection_id":173950,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:43:20] local.INFO: Acknowledgment sent {"connection_id":173950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:43:43] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:43:43] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:43:43] local.INFO: IMEI packet received {"connection_id":174206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":174206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:43:48] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:43:48] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:43:48] local.INFO: IMEI packet received {"connection_id":174206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:43:49] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:43:49] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:43:49] local.INFO: Packet analysis {"connection_id":174206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:43:49] local.INFO: Extracted packet for processing {"connection_id":174206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:43: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-09-08 01:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":174206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:43:49] local.INFO: GPS data processed {"connection_id":174206,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:43:49] local.INFO: Acknowledgment sent {"connection_id":174206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:44:20] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:44:20] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:44:20] local.INFO: Packet analysis {"connection_id":174206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:44:20] local.INFO: Extracted packet for processing {"connection_id":174206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:44: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-09-08 01:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:44:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":174206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:44:20] local.INFO: GPS data processed {"connection_id":174206,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:44:20] local.INFO: Acknowledgment sent {"connection_id":174206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:44:43] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:44:43] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:44:43] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:44:48] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:44:48] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:44:48] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:44:49] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:44:49] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:44:49] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:44:49] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:44: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-09-08 01:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:44:49] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:44:49] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:45:20] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:45:20] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d7dab58012d34c58006aa42a8000f011524..."} 
[2026-09-08 01:45:20] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:45:20] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d7d"} 
[2026-09-08 01:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935739392001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788811783000,"timestamp_ms":1788811783000,"timestamp_seconds":1788811783,"priority":1,"record_length":96,"hex_timestamp":"000001a07d7dab58"} 
[2026-09-08 01:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 01:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:45: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-09-08 01:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935739392001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935739392001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935739392001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:45:20] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:45:20] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:45:43] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:45:43] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:45:43] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:45:48] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:45:48] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:45:48] local.INFO: IMEI packet received {"connection_id":176707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":176707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:45:49] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:45:49] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:45:49] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:45:49] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:45: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-09-08 01:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:45:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:45:49] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:45:49] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:45:50] local.INFO: TCP Data received {"connection_id":176708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:45:50] local.INFO: Processing buffer {"connection_id":176708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:45:50] local.INFO: IMEI packet received {"connection_id":176708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":176708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:46:20] local.INFO: TCP Data received {"connection_id":176707,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:46:20] local.INFO: Processing buffer {"connection_id":176707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:46:20] local.INFO: Packet analysis {"connection_id":176707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:46:20] local.INFO: Extracted packet for processing {"connection_id":176707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:46: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-09-08 01:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":176707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:46:20] local.INFO: GPS data processed {"connection_id":176707,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:46:20] local.INFO: Acknowledgment sent {"connection_id":176707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:46:43] local.INFO: TCP Data received {"connection_id":174208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:46:43] local.INFO: Processing buffer {"connection_id":174208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:46:43] local.INFO: IMEI packet received {"connection_id":174208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":174208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:46:48] local.INFO: TCP Data received {"connection_id":174208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:46:48] local.INFO: Processing buffer {"connection_id":174208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:46:48] local.INFO: IMEI packet received {"connection_id":174208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":174208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:46:49] local.INFO: TCP Data received {"connection_id":174208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:46:49] local.INFO: Processing buffer {"connection_id":174208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:46:49] local.INFO: Packet analysis {"connection_id":174208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:46:49] local.INFO: Extracted packet for processing {"connection_id":174208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:46: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-09-08 01:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":174208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:46:49] local.INFO: GPS data processed {"connection_id":174208,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:46:49] local.INFO: Acknowledgment sent {"connection_id":174208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:47:20] local.INFO: TCP Data received {"connection_id":174208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:47:20] local.INFO: Processing buffer {"connection_id":174208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:47:20] local.INFO: Packet analysis {"connection_id":174208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:47:20] local.INFO: Extracted packet for processing {"connection_id":174208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:47: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-09-08 01:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":174208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:47:20] local.INFO: GPS data processed {"connection_id":174208,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:47:20] local.INFO: Acknowledgment sent {"connection_id":174208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:47:43] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:47:43] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:47:43] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:47:48] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:47:48] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:47:48] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:47:49] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:47:49] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:47:49] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:47:49] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:47: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-09-08 01:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:47:49] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:47:49] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:48:20] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:20] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:20] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:48:20] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01: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-09-08 01:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:48:20] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:48:20] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:48:48] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:48:48] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:48:48] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:48:53] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:48:53] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:48:53] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:48:54] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:54] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:54] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:48:54] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:48:54] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:48:54] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:48:58] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:58] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:48:58] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:48:58] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:48:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:48:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:48:58] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:48:58] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:49:43] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:49:43] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:49:43] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:49:48] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:49:48] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:49:48] local.INFO: IMEI packet received {"connection_id":176709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":176709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:49:49] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:49:49] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:49:49] local.INFO: Packet analysis {"connection_id":176709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:49:49] local.INFO: Extracted packet for processing {"connection_id":176709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:49: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-09-08 01:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":176709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:49:49] local.INFO: GPS data processed {"connection_id":176709,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:49:49] local.INFO: Acknowledgment sent {"connection_id":176709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:50:20] local.INFO: TCP Data received {"connection_id":176709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:50:20] local.INFO: Processing buffer {"connection_id":176709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d824320012d34c58006aa42a8000f011525..."} 
[2026-09-08 01:50:20] local.INFO: Packet analysis {"connection_id":176709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:50:20] local.INFO: Extracted packet for processing {"connection_id":176709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d82"} 
[2026-09-08 01:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935816448001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812084000,"timestamp_ms":1788812084000,"timestamp_seconds":1788812084,"priority":1,"record_length":96,"hex_timestamp":"000001a07d824320"} 
[2026-09-08 01:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:50: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-09-08 01:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935816448001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935816448001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935816448001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":176709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:50:20] local.INFO: GPS data processed {"connection_id":176709,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:50:20] local.INFO: Acknowledgment sent {"connection_id":176709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:50:43] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:50:43] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:50:43] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:50:48] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:50:48] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:50:48] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:50:49] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:50:49] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:50:49] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:50:49] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:50: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-09-08 01:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:50:49] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:50:49] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:51:20] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:51:20] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:51:20] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:51:20] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:51: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-09-08 01:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:51:20] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:51:20] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:51:26] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:51:26] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:51:26] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:51:43] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:51:43] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:51:43] local.INFO: IMEI packet received {"connection_id":176711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":176711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:51:45] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:51:45] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:51:45] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:51:48] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:51:48] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:51:48] local.INFO: IMEI packet received {"connection_id":176711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":176711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:51:49] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:51:49] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:51:49] local.INFO: Packet analysis {"connection_id":176711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:51:49] local.INFO: Extracted packet for processing {"connection_id":176711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:51: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-09-08 01:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":176711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:51:49] local.INFO: GPS data processed {"connection_id":176711,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:51:49] local.INFO: Acknowledgment sent {"connection_id":176711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:52:20] local.INFO: TCP Data received {"connection_id":176711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:52:20] local.INFO: Processing buffer {"connection_id":176711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:52:20] local.INFO: Packet analysis {"connection_id":176711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:52:20] local.INFO: Extracted packet for processing {"connection_id":176711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01: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-09-08 01:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":176711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:52:20] local.INFO: GPS data processed {"connection_id":176711,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:52:20] local.INFO: Acknowledgment sent {"connection_id":176711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:52:43] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:52:43] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:52:43] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:52:48] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:52:48] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:52:48] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:52:49] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:52:49] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:52:49] local.INFO: Packet analysis {"connection_id":173958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:52:49] local.INFO: Extracted packet for processing {"connection_id":173958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:52: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-09-08 01:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":173958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:52:49] local.INFO: GPS data processed {"connection_id":173958,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:52:49] local.INFO: Acknowledgment sent {"connection_id":173958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:53:20] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:53:20] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:53:20] local.INFO: Packet analysis {"connection_id":173958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:53:20] local.INFO: Extracted packet for processing {"connection_id":173958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:53: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-09-08 01:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":173958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:53:20] local.INFO: GPS data processed {"connection_id":173958,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:53:20] local.INFO: Acknowledgment sent {"connection_id":173958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:53:43] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:53:43] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:53:43] local.INFO: IMEI packet received {"connection_id":175307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":175307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:53:48] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:53:48] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:53:48] local.INFO: IMEI packet received {"connection_id":175307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:53:49] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:53:49] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:53:49] local.INFO: Packet analysis {"connection_id":175307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:53:49] local.INFO: Extracted packet for processing {"connection_id":175307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:53: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-09-08 01:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":175307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:53:49] local.INFO: GPS data processed {"connection_id":175307,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:53:49] local.INFO: Acknowledgment sent {"connection_id":175307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:54:20] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:20] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:20] local.INFO: Packet analysis {"connection_id":175307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:54:20] local.INFO: Extracted packet for processing {"connection_id":175307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:54: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-09-08 01:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:54:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":175307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:54:20] local.INFO: GPS data processed {"connection_id":175307,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:54:20] local.INFO: Acknowledgment sent {"connection_id":175307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:54:48] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:54:48] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:54:48] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:54:53] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:54:53] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:54:53] local.INFO: IMEI packet received {"connection_id":176712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":176712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:54:54] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:54] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:54] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:54:54] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:54:54] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:54:54] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:54:58] local.INFO: TCP Data received {"connection_id":176712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:58] local.INFO: Processing buffer {"connection_id":176712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d86dae8012d34c58006aa42a8000f011522..."} 
[2026-09-08 01:54:58] local.INFO: Packet analysis {"connection_id":176712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:54:58] local.INFO: Extracted packet for processing {"connection_id":176712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d86"} 
[2026-09-08 01:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935893504001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788812385000,"timestamp_ms":1788812385000,"timestamp_seconds":1788812385,"priority":1,"record_length":96,"hex_timestamp":"000001a07d86dae8"} 
[2026-09-08 01:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935893504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935893504001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:54:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:54:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935893504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":176712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:54:58] local.INFO: GPS data processed {"connection_id":176712,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:54:58] local.INFO: Acknowledgment sent {"connection_id":176712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:55:44] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:55:44] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:55:44] local.INFO: IMEI packet received {"connection_id":175308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":175308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:55:48] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:55:48] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:55:48] local.INFO: IMEI packet received {"connection_id":175308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":175308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:55:49] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:55:49] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:55:49] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:55:49] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:55: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-09-08 01:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:55:49] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:55:49] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:55:54] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:55:54] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:55:54] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:55:54] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:55:54] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:55:54] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:56:25] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:56:25] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:56:25] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:56:25] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 01:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:56:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:56:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:56:25] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:56:25] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:56:43] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:56:43] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:56:43] local.INFO: IMEI packet received {"connection_id":174213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":174213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:56:48] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:56:48] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:56:48] local.INFO: IMEI packet received {"connection_id":174213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:56:49] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:56:49] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:56:49] local.INFO: Packet analysis {"connection_id":174213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:56:49] local.INFO: Extracted packet for processing {"connection_id":174213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:56: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-09-08 01:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:56:49] local.INFO: GPS data processed {"connection_id":174213,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:56:49] local.INFO: Acknowledgment sent {"connection_id":174213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:57:11] local.INFO: TCP Data received {"connection_id":173961,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:57:11] local.INFO: Processing buffer {"connection_id":173961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:57:11] local.INFO: IMEI packet received {"connection_id":173961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":173961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:57:20] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:57:20] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:57:20] local.INFO: Packet analysis {"connection_id":174213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:57:20] local.INFO: Extracted packet for processing {"connection_id":174213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:57: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-09-08 01:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:57:20] local.INFO: GPS data processed {"connection_id":174213,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:57:20] local.INFO: Acknowledgment sent {"connection_id":174213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:57:43] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:57:43] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:57:43] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:57:48] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:57:48] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:57:48] local.INFO: IMEI packet received {"connection_id":176713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":176713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:57:49] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:57:49] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:57:49] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:57:49] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:57: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-09-08 01:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:57:49] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:57:49] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:57:51] local.INFO: TCP Data received {"connection_id":176714,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:57:51] local.INFO: Processing buffer {"connection_id":176714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 01:57:51] local.INFO: IMEI packet received {"connection_id":176714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 01:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":176714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:58:20] local.INFO: TCP Data received {"connection_id":176713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:58:20] local.INFO: Processing buffer {"connection_id":176713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:58:20] local.INFO: Packet analysis {"connection_id":176713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:58:20] local.INFO: Extracted packet for processing {"connection_id":176713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:58: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-09-08 01:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":176713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:58:20] local.INFO: GPS data processed {"connection_id":176713,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:58:20] local.INFO: Acknowledgment sent {"connection_id":176713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:58:43] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:58:43] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:58:43] local.INFO: IMEI packet received {"connection_id":174214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:58:48] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:58:48] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:58:48] local.INFO: IMEI packet received {"connection_id":174214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:58:49] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:58:49] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:58:49] local.INFO: Packet analysis {"connection_id":174214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:58:49] local.INFO: Extracted packet for processing {"connection_id":174214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01: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-09-08 01:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01: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-09-08 01:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:58: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-09-08 01:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:58:49] local.INFO: GPS data processed {"connection_id":174214,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:58:49] local.INFO: Acknowledgment sent {"connection_id":174214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:59:20] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:59:20] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:59:20] local.INFO: Packet analysis {"connection_id":174214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:59:20] local.INFO: Extracted packet for processing {"connection_id":174214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:59: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-09-08 01:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":174214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:59:20] local.INFO: GPS data processed {"connection_id":174214,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:59:20] local.INFO: Acknowledgment sent {"connection_id":174214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 01:59:43] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:59:43] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:59:43] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 01:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 01:59:48] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:59:48] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 01:59:48] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 01:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 01:59:49] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:59:49] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 01:59:49] local.INFO: Packet analysis {"connection_id":173962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:59:49] local.INFO: Extracted packet for processing {"connection_id":173962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 01:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 01:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 01:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 01:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 01:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 01:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 01:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 01:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 01:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 01:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 01:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 01:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 01:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 01:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 01:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 01:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 01:59: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-09-08 01:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 01:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 01:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 01:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 01:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 01:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 01:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 01:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 01:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 01:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 01:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 01:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":173962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 01:59:49] local.INFO: GPS data processed {"connection_id":173962,"processed":1,"errors":0,"total":1} 
[2026-09-08 01:59:49] local.INFO: Acknowledgment sent {"connection_id":173962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:00:20] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 02:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 02:00:20] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d8b72b0012d34c58006aa42a8000d011521..."} 
[2026-09-08 02:00:20] local.INFO: Packet analysis {"connection_id":173962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 02:00:20] local.INFO: Extracted packet for processing {"connection_id":173962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d8b"} 
[2026-09-08 02:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457935970560001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812686000,"timestamp_ms":1788812686000,"timestamp_seconds":1788812686,"priority":1,"record_length":96,"hex_timestamp":"000001a07d8b72b0"} 
[2026-09-08 02:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:00: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-09-08 02:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457935970560001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457935970560001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457935970560001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":173962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:00:20] local.INFO: GPS data processed {"connection_id":173962,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:00:20] local.INFO: Acknowledgment sent {"connection_id":173962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:00:43] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:00:43] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:00:43] local.INFO: IMEI packet received {"connection_id":175309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":175309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:00:48] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:00:48] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:00:48] local.INFO: IMEI packet received {"connection_id":175309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":175309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:00:49] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:00:49] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:00:49] local.INFO: Packet analysis {"connection_id":175309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:00:49] local.INFO: Extracted packet for processing {"connection_id":175309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:00: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-09-08 02:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":175309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:00:49] local.INFO: GPS data processed {"connection_id":175309,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:00:49] local.INFO: Acknowledgment sent {"connection_id":175309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:01:20] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:20] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:20] local.INFO: Packet analysis {"connection_id":175309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:01:20] local.INFO: Extracted packet for processing {"connection_id":175309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:01: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-09-08 02:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":175309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:01:20] local.INFO: GPS data processed {"connection_id":175309,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:01:20] local.INFO: Acknowledgment sent {"connection_id":175309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:01:48] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:01:48] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:01:48] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:01:53] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:01:53] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:01:53] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:01:54] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:54] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:54] local.INFO: Packet analysis {"connection_id":173964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:01:54] local.INFO: Extracted packet for processing {"connection_id":173964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":173964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:01:54] local.INFO: GPS data processed {"connection_id":173964,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:01:54] local.INFO: Acknowledgment sent {"connection_id":173964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:01:59] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:59] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:01:59] local.INFO: Packet analysis {"connection_id":173964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:01:59] local.INFO: Extracted packet for processing {"connection_id":173964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":173964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:01:59] local.INFO: GPS data processed {"connection_id":173964,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:01:59] local.INFO: Acknowledgment sent {"connection_id":173964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:02:43] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:02:43] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:02:43] local.INFO: IMEI packet received {"connection_id":176715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":176715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:02:48] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:02:48] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:02:48] local.INFO: IMEI packet received {"connection_id":176715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":176715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:02:49] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:02:49] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:02:49] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:02:49] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:02: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-09-08 02:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:02:49] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:02:49] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:03:10] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:03:10] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:03:10] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:03:20] local.INFO: TCP Data received {"connection_id":176715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:03:20] local.INFO: Processing buffer {"connection_id":176715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:03:20] local.INFO: Packet analysis {"connection_id":176715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:03:20] local.INFO: Extracted packet for processing {"connection_id":176715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:03: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-09-08 02:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":176715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:03:20] local.INFO: GPS data processed {"connection_id":176715,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:03:20] local.INFO: Acknowledgment sent {"connection_id":176715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:03:43] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:03:43] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:03:43] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:03:48] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:03:48] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:03:48] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:03:49] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:03:49] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:03:49] local.INFO: Packet analysis {"connection_id":173966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:03:49] local.INFO: Extracted packet for processing {"connection_id":173966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:03: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-09-08 02:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":173966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:03:49] local.INFO: GPS data processed {"connection_id":173966,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:03:49] local.INFO: Acknowledgment sent {"connection_id":173966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:04:20] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:04:20] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:04:20] local.INFO: Packet analysis {"connection_id":173966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:04:20] local.INFO: Extracted packet for processing {"connection_id":173966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:04: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-09-08 02:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":173966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:04:20] local.INFO: GPS data processed {"connection_id":173966,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:04:20] local.INFO: Acknowledgment sent {"connection_id":173966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:04:43] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:04:43] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:04:43] local.INFO: IMEI packet received {"connection_id":174217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":174217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:04:48] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:04:48] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:04:48] local.INFO: IMEI packet received {"connection_id":174217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:04:49] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:04:49] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:04:49] local.INFO: Packet analysis {"connection_id":174217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:04:49] local.INFO: Extracted packet for processing {"connection_id":174217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:04: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-09-08 02:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":174217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:04:49] local.INFO: GPS data processed {"connection_id":174217,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:04:49] local.INFO: Acknowledgment sent {"connection_id":174217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:05:20] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:05:20] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d900a78012d34c58006aa42a8000d011525..."} 
[2026-09-08 02:05:20] local.INFO: Packet analysis {"connection_id":174217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:05:20] local.INFO: Extracted packet for processing {"connection_id":174217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d90"} 
[2026-09-08 02:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936047616001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788812987000,"timestamp_ms":1788812987000,"timestamp_seconds":1788812987,"priority":1,"record_length":96,"hex_timestamp":"000001a07d900a78"} 
[2026-09-08 02:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:05: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-09-08 02:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936047616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936047616001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936047616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":174217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:05:20] local.INFO: GPS data processed {"connection_id":174217,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:05:20] local.INFO: Acknowledgment sent {"connection_id":174217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:05:43] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:05:43] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:05:43] local.INFO: IMEI packet received {"connection_id":173967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":173967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:05:48] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:05:48] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:05:48] local.INFO: IMEI packet received {"connection_id":173967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:05:49] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:05:49] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:05:49] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:05:49] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02: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-09-08 02:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:05:49] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:05:49] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:06:20] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:06:20] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:06:20] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:06:20] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:06: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-09-08 02:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:06:20] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:06:20] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:06:43] local.INFO: TCP Data received {"connection_id":176718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:06:43] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:06:43] local.INFO: IMEI packet received {"connection_id":176718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":176718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:06:48] local.INFO: TCP Data received {"connection_id":176718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:06:48] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:06:48] local.INFO: IMEI packet received {"connection_id":176718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:06:49] local.INFO: TCP Data received {"connection_id":176718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:06:49] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:06:49] local.INFO: Packet analysis {"connection_id":176718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:06:49] local.INFO: Extracted packet for processing {"connection_id":176718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:06: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-09-08 02:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":176718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:06:49] local.INFO: GPS data processed {"connection_id":176718,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:06:49] local.INFO: Acknowledgment sent {"connection_id":176718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:07:20] local.INFO: TCP Data received {"connection_id":176718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:07:20] local.INFO: Processing buffer {"connection_id":176718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:07:20] local.INFO: Packet analysis {"connection_id":176718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:07:20] local.INFO: Extracted packet for processing {"connection_id":176718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:07: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-09-08 02:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":176718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:07:20] local.INFO: GPS data processed {"connection_id":176718,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:07:20] local.INFO: Acknowledgment sent {"connection_id":176718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:07:43] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:07:43] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:07:43] local.INFO: IMEI packet received {"connection_id":174219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":174219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:07:48] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:07:48] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:07:48] local.INFO: IMEI packet received {"connection_id":174219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":174219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:07:49] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:07:49] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:07:49] local.INFO: Packet analysis {"connection_id":174219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:07:49] local.INFO: Extracted packet for processing {"connection_id":174219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:07: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-09-08 02:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":174219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:07:49] local.INFO: GPS data processed {"connection_id":174219,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:07:49] local.INFO: Acknowledgment sent {"connection_id":174219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:08:20] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:20] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:20] local.INFO: Packet analysis {"connection_id":174219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:08:20] local.INFO: Extracted packet for processing {"connection_id":174219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:08: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-09-08 02:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":174219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:08:20] local.INFO: GPS data processed {"connection_id":174219,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:08:20] local.INFO: Acknowledgment sent {"connection_id":174219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:08:47] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:08:47] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:08:47] local.INFO: IMEI packet received {"connection_id":175312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":175312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:08:48] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:08:48] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:08:48] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:08:53] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:08:53] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:08:53] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:08:54] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:54] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:54] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:08:54] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:08:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:08:54] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:08:54] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:08:58] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:58] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:08:58] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:08:58] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:08:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:08:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:08:58] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:08:58] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:09:44] local.INFO: TCP Data received {"connection_id":176720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:09:44] local.INFO: Processing buffer {"connection_id":176720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:09:44] local.INFO: IMEI packet received {"connection_id":176720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":176720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:09:48] local.INFO: TCP Data received {"connection_id":176720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:09:48] local.INFO: Processing buffer {"connection_id":176720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:09:48] local.INFO: IMEI packet received {"connection_id":176720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":176720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:09:49] local.INFO: TCP Data received {"connection_id":176720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:09:49] local.INFO: Processing buffer {"connection_id":176720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:09:49] local.INFO: Packet analysis {"connection_id":176720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:09:49] local.INFO: Extracted packet for processing {"connection_id":176720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:09: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-09-08 02:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":176720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:09:49] local.INFO: GPS data processed {"connection_id":176720,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:09:49] local.INFO: Acknowledgment sent {"connection_id":176720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:09:54] local.INFO: TCP Data received {"connection_id":176720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:09:54] local.INFO: Processing buffer {"connection_id":176720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:09:54] local.INFO: Packet analysis {"connection_id":176720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:09:54] local.INFO: Extracted packet for processing {"connection_id":176720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":176720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:09:54] local.INFO: GPS data processed {"connection_id":176720,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:09:54] local.INFO: Acknowledgment sent {"connection_id":176720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:10:25] local.INFO: TCP Data received {"connection_id":176720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:10:25] local.INFO: Processing buffer {"connection_id":176720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d94a240012d34c58006aa42a8000d011522..."} 
[2026-09-08 02:10:25] local.INFO: Packet analysis {"connection_id":176720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:10:25] local.INFO: Extracted packet for processing {"connection_id":176720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d94"} 
[2026-09-08 02:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":13,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936124672001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788813288000,"timestamp_ms":1788813288000,"timestamp_seconds":1788813288,"priority":1,"record_length":96,"hex_timestamp":"000001a07d94a240"} 
[2026-09-08 02:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936124672001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936124672001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936124672001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":176720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:10:25] local.INFO: GPS data processed {"connection_id":176720,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:10:25] local.INFO: Acknowledgment sent {"connection_id":176720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:10:44] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:10:44] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:10:44] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:10:48] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:10:48] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:10:48] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:10:49] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:10:49] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:10:49] local.INFO: Packet analysis {"connection_id":173970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:10:49] local.INFO: Extracted packet for processing {"connection_id":173970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:10: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-09-08 02:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":173970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:10:49] local.INFO: GPS data processed {"connection_id":173970,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:10:49] local.INFO: Acknowledgment sent {"connection_id":173970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:11:20] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:11:20] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:11:20] local.INFO: Packet analysis {"connection_id":173970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:11:20] local.INFO: Extracted packet for processing {"connection_id":173970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:11: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-09-08 02:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":173970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:11:20] local.INFO: GPS data processed {"connection_id":173970,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:11:20] local.INFO: Acknowledgment sent {"connection_id":173970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:11:43] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:11:43] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:11:43] local.INFO: IMEI packet received {"connection_id":175314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":175314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:11:48] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:11:48] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:11:48] local.INFO: IMEI packet received {"connection_id":175314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:11:49] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:11:49] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:11:49] local.INFO: Packet analysis {"connection_id":175314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:11:49] local.INFO: Extracted packet for processing {"connection_id":175314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:11: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-09-08 02:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:11:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":175314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:11:49] local.INFO: GPS data processed {"connection_id":175314,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:11:49] local.INFO: Acknowledgment sent {"connection_id":175314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:12:21] local.INFO: TCP Data received {"connection_id":175314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:12:21] local.INFO: Processing buffer {"connection_id":175314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:12:21] local.INFO: Packet analysis {"connection_id":175314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:12:21] local.INFO: Extracted packet for processing {"connection_id":175314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:12: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-09-08 02:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:12:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":175314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:12:21] local.INFO: GPS data processed {"connection_id":175314,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:12:21] local.INFO: Acknowledgment sent {"connection_id":175314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:12:43] local.INFO: TCP Data received {"connection_id":176722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:12:43] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:12:43] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:12:48] local.INFO: TCP Data received {"connection_id":176722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:12:48] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:12:48] local.INFO: IMEI packet received {"connection_id":176722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":176722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:12:49] local.INFO: TCP Data received {"connection_id":176722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:12:49] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:12:49] local.INFO: Packet analysis {"connection_id":176722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:12:49] local.INFO: Extracted packet for processing {"connection_id":176722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:12: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-09-08 02:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":176722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:12:49] local.INFO: GPS data processed {"connection_id":176722,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:12:49] local.INFO: Acknowledgment sent {"connection_id":176722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:13:20] local.INFO: TCP Data received {"connection_id":176722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:20] local.INFO: Processing buffer {"connection_id":176722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:20] local.INFO: Packet analysis {"connection_id":176722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:13:20] local.INFO: Extracted packet for processing {"connection_id":176722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:13: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-09-08 02:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":176722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:13:20] local.INFO: GPS data processed {"connection_id":176722,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:13:20] local.INFO: Acknowledgment sent {"connection_id":176722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:13:48] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:13:48] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:13:48] local.INFO: IMEI packet received {"connection_id":175316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:13:53] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:13:53] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:13:53] local.INFO: IMEI packet received {"connection_id":175316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":175316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:13:54] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:54] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:54] local.INFO: Packet analysis {"connection_id":175316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:13:54] local.INFO: Extracted packet for processing {"connection_id":175316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:13:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:13:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":175316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:13:54] local.INFO: GPS data processed {"connection_id":175316,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:13:54] local.INFO: Acknowledgment sent {"connection_id":175316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:13:59] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:59] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:13:59] local.INFO: Packet analysis {"connection_id":175316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:13:59] local.INFO: Extracted packet for processing {"connection_id":175316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":175316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:13:59] local.INFO: GPS data processed {"connection_id":175316,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:13:59] local.INFO: Acknowledgment sent {"connection_id":175316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:14:06] local.INFO: TCP Data received {"connection_id":174221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:14:06] local.INFO: Processing buffer {"connection_id":174221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:14:06] local.INFO: IMEI packet received {"connection_id":174221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":174221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:14:43] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:14:43] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:14:43] local.INFO: IMEI packet received {"connection_id":173971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":173971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:14:48] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:14:48] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:14:48] local.INFO: IMEI packet received {"connection_id":173971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":173971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:14:49] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:14:49] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:14:49] local.INFO: Packet analysis {"connection_id":173971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:14:49] local.INFO: Extracted packet for processing {"connection_id":173971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:14: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-09-08 02:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":173971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:14:49] local.INFO: GPS data processed {"connection_id":173971,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:14:49] local.INFO: Acknowledgment sent {"connection_id":173971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:15:20] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:15:20] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d993a08012d34c58006aa42a80013011527..."} 
[2026-09-08 02:15:20] local.INFO: Packet analysis {"connection_id":173971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:15:20] local.INFO: Extracted packet for processing {"connection_id":173971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d99"} 
[2026-09-08 02:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936201728001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813589000,"timestamp_ms":1788813589000,"timestamp_seconds":1788813589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d993a08"} 
[2026-09-08 02:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:15: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-09-08 02:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936201728001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936201728001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936201728001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":173971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:15:20] local.INFO: GPS data processed {"connection_id":173971,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:15:20] local.INFO: Acknowledgment sent {"connection_id":173971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:15:43] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:15:43] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:15:43] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:15:48] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:15:48] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:15:48] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:15:49] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:15:49] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:15:49] local.INFO: Packet analysis {"connection_id":173973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:15:49] local.INFO: Extracted packet for processing {"connection_id":173973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:15: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-09-08 02:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":173973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:15:49] local.INFO: GPS data processed {"connection_id":173973,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:15:49] local.INFO: Acknowledgment sent {"connection_id":173973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:16:21] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:16:21] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:16:21] local.INFO: Packet analysis {"connection_id":173973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:16:21] local.INFO: Extracted packet for processing {"connection_id":173973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:16: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-09-08 02:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":173973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:16:21] local.INFO: GPS data processed {"connection_id":173973,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:16:21] local.INFO: Acknowledgment sent {"connection_id":173973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:16:43] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:16:43] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:16:43] local.INFO: IMEI packet received {"connection_id":174223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":174223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:16:48] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:16:48] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:16:48] local.INFO: IMEI packet received {"connection_id":174223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":174223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:16:49] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:16:49] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:16:49] local.INFO: Packet analysis {"connection_id":174223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:16:49] local.INFO: Extracted packet for processing {"connection_id":174223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:16: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-09-08 02:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":174223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:16:49] local.INFO: GPS data processed {"connection_id":174223,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:16:49] local.INFO: Acknowledgment sent {"connection_id":174223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:17:20] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:17:20] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:17:20] local.INFO: Packet analysis {"connection_id":174223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:17:20] local.INFO: Extracted packet for processing {"connection_id":174223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:17: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-09-08 02:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":174223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:17:20] local.INFO: GPS data processed {"connection_id":174223,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:17:20] local.INFO: Acknowledgment sent {"connection_id":174223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:17:43] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:17:43] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:17:43] local.INFO: IMEI packet received {"connection_id":176723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":176723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:17:48] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:17:48] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:17:48] local.INFO: IMEI packet received {"connection_id":176723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":176723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:17:49] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:17:49] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:17:49] local.INFO: Packet analysis {"connection_id":176723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:17:49] local.INFO: Extracted packet for processing {"connection_id":176723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:17: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-09-08 02:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":176723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:17:49] local.INFO: GPS data processed {"connection_id":176723,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:17:49] local.INFO: Acknowledgment sent {"connection_id":176723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:18:21] local.INFO: TCP Data received {"connection_id":176723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:18:21] local.INFO: Processing buffer {"connection_id":176723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:18:21] local.INFO: Packet analysis {"connection_id":176723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:18:21] local.INFO: Extracted packet for processing {"connection_id":176723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:18: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-09-08 02:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:18:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":176723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:18:21] local.INFO: GPS data processed {"connection_id":176723,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:18:21] local.INFO: Acknowledgment sent {"connection_id":176723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:18:43] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:18:43] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:18:43] local.INFO: IMEI packet received {"connection_id":173974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":173974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:18:48] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:18:48] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:18:48] local.INFO: IMEI packet received {"connection_id":173974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:18:49] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:18:49] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:18:49] local.INFO: Packet analysis {"connection_id":173974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:18:49] local.INFO: Extracted packet for processing {"connection_id":173974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:18: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-09-08 02:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":173974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:18:49] local.INFO: GPS data processed {"connection_id":173974,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:18:49] local.INFO: Acknowledgment sent {"connection_id":173974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:19:20] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:19:20] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:19:20] local.INFO: Packet analysis {"connection_id":173974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:19:20] local.INFO: Extracted packet for processing {"connection_id":173974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:19: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-09-08 02:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":173974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:19:20] local.INFO: GPS data processed {"connection_id":173974,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:19:20] local.INFO: Acknowledgment sent {"connection_id":173974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:19:43] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:19:43] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:19:43] local.INFO: IMEI packet received {"connection_id":175319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":175319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:19:45] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:19:45] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:19:45] local.INFO: IMEI packet received {"connection_id":173975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:19:48] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:19:48] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:19:48] local.INFO: IMEI packet received {"connection_id":175319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:19:49] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:19:49] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:19:49] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:19:49] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:19: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-09-08 02:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:19:49] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:19:49] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:20:20] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:20:20] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d9dd1d0012d34c58006aa42a80014011524..."} 
[2026-09-08 02:20:20] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:20:20] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d9d"} 
[2026-09-08 02:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936278784001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788813890000,"timestamp_ms":1788813890000,"timestamp_seconds":1788813890,"priority":1,"record_length":96,"hex_timestamp":"000001a07d9dd1d0"} 
[2026-09-08 02:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:20: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-09-08 02:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936278784001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936278784001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936278784001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:20:20] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:20:20] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:20:48] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:20:48] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:20:48] local.INFO: IMEI packet received {"connection_id":174224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":174224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:20:53] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:20:53] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:20:53] local.INFO: IMEI packet received {"connection_id":174224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":174224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:20:54] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:20:54] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:20:54] local.INFO: Packet analysis {"connection_id":174224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:20:54] local.INFO: Extracted packet for processing {"connection_id":174224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":174224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:20:54] local.INFO: GPS data processed {"connection_id":174224,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:20:54] local.INFO: Acknowledgment sent {"connection_id":174224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:21:25] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:21:25] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:21:25] local.INFO: Packet analysis {"connection_id":174224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:21:25] local.INFO: Extracted packet for processing {"connection_id":174224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":174224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:21:25] local.INFO: GPS data processed {"connection_id":174224,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:21:25] local.INFO: Acknowledgment sent {"connection_id":174224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:21:44] local.INFO: TCP Data received {"connection_id":174226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:21:44] local.INFO: Processing buffer {"connection_id":174226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:21:44] local.INFO: IMEI packet received {"connection_id":174226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:21:48] local.INFO: TCP Data received {"connection_id":174226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:21:48] local.INFO: Processing buffer {"connection_id":174226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:21:48] local.INFO: IMEI packet received {"connection_id":174226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:21:49] local.INFO: TCP Data received {"connection_id":174226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:21:49] local.INFO: Processing buffer {"connection_id":174226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:21:49] local.INFO: Packet analysis {"connection_id":174226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:21:49] local.INFO: Extracted packet for processing {"connection_id":174226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:21: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-09-08 02:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":174226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:21:49] local.INFO: GPS data processed {"connection_id":174226,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:21:49] local.INFO: Acknowledgment sent {"connection_id":174226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:22:20] local.INFO: TCP Data received {"connection_id":174226,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:22:20] local.INFO: Processing buffer {"connection_id":174226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:22:20] local.INFO: Packet analysis {"connection_id":174226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:22:20] local.INFO: Extracted packet for processing {"connection_id":174226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:22: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-09-08 02:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":174226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:22:20] local.INFO: GPS data processed {"connection_id":174226,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:22:20] local.INFO: Acknowledgment sent {"connection_id":174226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:22:43] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:22:43] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:22:43] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:22:48] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:22:48] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:22:48] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:22:49] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:22:49] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:22:49] local.INFO: Packet analysis {"connection_id":174227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:22:49] local.INFO: Extracted packet for processing {"connection_id":174227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:22: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-09-08 02:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":174227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:22:49] local.INFO: GPS data processed {"connection_id":174227,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:22:49] local.INFO: Acknowledgment sent {"connection_id":174227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:23:20] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:23:20] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:23:20] local.INFO: Packet analysis {"connection_id":174227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:23:20] local.INFO: Extracted packet for processing {"connection_id":174227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02: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-09-08 02:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":174227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:23:20] local.INFO: GPS data processed {"connection_id":174227,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:23:20] local.INFO: Acknowledgment sent {"connection_id":174227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:23:43] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:23:43] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:23:43] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:23:48] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:23:48] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:23:48] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:23:49] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:23:49] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:23:49] local.INFO: Packet analysis {"connection_id":173976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:23:49] local.INFO: Extracted packet for processing {"connection_id":173976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:23: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-09-08 02:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":173976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:23:49] local.INFO: GPS data processed {"connection_id":173976,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:23:49] local.INFO: Acknowledgment sent {"connection_id":173976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:24:21] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:24:21] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:24:21] local.INFO: Packet analysis {"connection_id":173976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:24:21] local.INFO: Extracted packet for processing {"connection_id":173976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:24: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-09-08 02:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:24:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":173976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:24:21] local.INFO: GPS data processed {"connection_id":173976,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:24:21] local.INFO: Acknowledgment sent {"connection_id":173976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:25:18] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:18] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:18] local.INFO: IMEI packet received {"connection_id":176727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:25:23] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:23] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:23] local.INFO: IMEI packet received {"connection_id":176727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":176727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:25:24] local.INFO: TCP Data received {"connection_id":176727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:25:24] local.INFO: Processing buffer {"connection_id":176727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da26998012d34c58006aa42a80014011522..."} 
[2026-09-08 02:25:24] local.INFO: Packet analysis {"connection_id":176727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:25:24] local.INFO: Extracted packet for processing {"connection_id":176727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da2"} 
[2026-09-08 02:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":20,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936355840001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788814191000,"timestamp_ms":1788814191000,"timestamp_seconds":1788814191,"priority":1,"record_length":96,"hex_timestamp":"000001a07da26998"} 
[2026-09-08 02:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 02:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936355840001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936355840001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936355840001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:25:24] local.INFO: GPS data processed {"connection_id":176727,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:25:24] local.INFO: Acknowledgment sent {"connection_id":176727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:25:45] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:25:45] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:25:45] local.INFO: IMEI packet received {"connection_id":173978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:25:48] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:48] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:48] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:25:53] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:53] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:25:53] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:25:54] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:25:54] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:25:54] local.INFO: Packet analysis {"connection_id":173979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:25:54] local.INFO: Extracted packet for processing {"connection_id":173979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:25:54] local.INFO: GPS data processed {"connection_id":173979,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:25:54] local.INFO: Acknowledgment sent {"connection_id":173979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:26:25] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:26:25] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:26:25] local.INFO: Packet analysis {"connection_id":173979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:26:25] local.INFO: Extracted packet for processing {"connection_id":173979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":173979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:26:25] local.INFO: GPS data processed {"connection_id":173979,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:26:25] local.INFO: Acknowledgment sent {"connection_id":173979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:26:43] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:26:43] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:26:43] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:26:48] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:26:48] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:26:48] local.INFO: IMEI packet received {"connection_id":176728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":176728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:26:49] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:26:49] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:26:49] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:26:49] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:26: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-09-08 02:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:26:49] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:26:49] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:27:20] local.INFO: TCP Data received {"connection_id":176728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:20] local.INFO: Processing buffer {"connection_id":176728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:20] local.INFO: Packet analysis {"connection_id":176728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:27:20] local.INFO: Extracted packet for processing {"connection_id":176728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:27: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-09-08 02:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":176728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:27:20] local.INFO: GPS data processed {"connection_id":176728,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:27:20] local.INFO: Acknowledgment sent {"connection_id":176728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:27:48] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:27:48] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:27:48] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:27:53] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:27:53] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:27:53] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:27:54] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:54] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:54] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:27:54] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:27:54] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:27:54] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:27:59] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:59] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:27:59] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:27:59] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:27:59] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:27:59] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:28:43] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:28:43] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:28:43] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:28:48] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:28:48] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:28:48] local.INFO: IMEI packet received {"connection_id":176729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":176729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:28:49] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:28:49] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:28:49] local.INFO: Packet analysis {"connection_id":176729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:28:49] local.INFO: Extracted packet for processing {"connection_id":176729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:28: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-09-08 02:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:28:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":176729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:28:50] local.INFO: GPS data processed {"connection_id":176729,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:28:50] local.INFO: Acknowledgment sent {"connection_id":176729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:29:21] local.INFO: TCP Data received {"connection_id":176729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:29:21] local.INFO: Processing buffer {"connection_id":176729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:29:21] local.INFO: Packet analysis {"connection_id":176729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:29:21] local.INFO: Extracted packet for processing {"connection_id":176729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:29: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-09-08 02:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":176729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:29:21] local.INFO: GPS data processed {"connection_id":176729,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:29:21] local.INFO: Acknowledgment sent {"connection_id":176729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:29:43] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:29:43] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:29:43] local.INFO: IMEI packet received {"connection_id":175322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":175322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:29:48] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:29:48] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:29:48] local.INFO: IMEI packet received {"connection_id":175322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":175322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:29:49] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:29:49] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:29:49] local.INFO: Packet analysis {"connection_id":175322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:29:49] local.INFO: Extracted packet for processing {"connection_id":175322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:29: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-09-08 02:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":175322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:29:49] local.INFO: GPS data processed {"connection_id":175322,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:29:49] local.INFO: Acknowledgment sent {"connection_id":175322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:30:21] local.INFO: TCP Data received {"connection_id":175322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:30:21] local.INFO: Processing buffer {"connection_id":175322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07da70160012d34c58006aa42a80007011521..."} 
[2026-09-08 02:30:21] local.INFO: Packet analysis {"connection_id":175322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:30:21] local.INFO: Extracted packet for processing {"connection_id":175322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07da7"} 
[2026-09-08 02:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936432896001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788814492000,"timestamp_ms":1788814492000,"timestamp_seconds":1788814492,"priority":1,"record_length":96,"hex_timestamp":"000001a07da70160"} 
[2026-09-08 02:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:30: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-09-08 02:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936432896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936432896001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936432896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":175322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:30:21] local.INFO: GPS data processed {"connection_id":175322,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:30:21] local.INFO: Acknowledgment sent {"connection_id":175322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:30:43] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:30:43] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:30:43] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:30:48] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:30:48] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:30:48] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:30:49] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:30:49] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:30:49] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:30:49] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:30: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-09-08 02:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:30:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:30:49] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:30:49] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:31:11] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:31:11] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:31:11] local.INFO: IMEI packet received {"connection_id":173981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":173981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:31:20] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:31:20] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:31:20] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:31:20] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:31: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-09-08 02:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:31:20] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:31:20] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:31:48] local.INFO: TCP Data received {"connection_id":174231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:31:48] local.INFO: Processing buffer {"connection_id":174231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:31:48] local.INFO: IMEI packet received {"connection_id":174231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":174231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:31:50] local.INFO: TCP Data received {"connection_id":176730,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:31:50] local.INFO: Processing buffer {"connection_id":176730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:31:50] local.INFO: IMEI packet received {"connection_id":176730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":176730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:31:53] local.INFO: TCP Data received {"connection_id":174231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:31:53] local.INFO: Processing buffer {"connection_id":174231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:31:53] local.INFO: IMEI packet received {"connection_id":174231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":174231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:31:55] local.INFO: TCP Data received {"connection_id":174231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:31:55] local.INFO: Processing buffer {"connection_id":174231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:31:55] local.INFO: Packet analysis {"connection_id":174231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:31:55] local.INFO: Extracted packet for processing {"connection_id":174231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:31:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:31:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":174231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:31:55] local.INFO: GPS data processed {"connection_id":174231,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:31:55] local.INFO: Acknowledgment sent {"connection_id":174231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:32:26] local.INFO: TCP Data received {"connection_id":174231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:32:26] local.INFO: Processing buffer {"connection_id":174231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:32:26] local.INFO: Packet analysis {"connection_id":174231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:32:26] local.INFO: Extracted packet for processing {"connection_id":174231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:32: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-09-08 02:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:32:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":174231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:32:26] local.INFO: GPS data processed {"connection_id":174231,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:32:26] local.INFO: Acknowledgment sent {"connection_id":174231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:32:43] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:32:43] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:32:43] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:32:48] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:32:48] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:32:48] local.INFO: IMEI packet received {"connection_id":176731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":176731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:32:49] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:32:49] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:32:49] local.INFO: Packet analysis {"connection_id":176731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:32:49] local.INFO: Extracted packet for processing {"connection_id":176731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:32: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-09-08 02:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":176731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:32:49] local.INFO: GPS data processed {"connection_id":176731,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:32:49] local.INFO: Acknowledgment sent {"connection_id":176731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:33:20] local.INFO: TCP Data received {"connection_id":176731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:20] local.INFO: Processing buffer {"connection_id":176731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:20] local.INFO: Packet analysis {"connection_id":176731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:33:20] local.INFO: Extracted packet for processing {"connection_id":176731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:33: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-09-08 02:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":176731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:33:20] local.INFO: GPS data processed {"connection_id":176731,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:33:20] local.INFO: Acknowledgment sent {"connection_id":176731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:33:49] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:33:49] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:33:49] local.INFO: IMEI packet received {"connection_id":175325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":175325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:33:53] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:33:53] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:33:53] local.INFO: IMEI packet received {"connection_id":175325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":175325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:33:54] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:54] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:54] local.INFO: Packet analysis {"connection_id":175325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:33:54] local.INFO: Extracted packet for processing {"connection_id":175325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":175325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:33:54] local.INFO: GPS data processed {"connection_id":175325,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:33:54] local.INFO: Acknowledgment sent {"connection_id":175325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:33:59] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:59] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:33:59] local.INFO: Packet analysis {"connection_id":175325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:33:59] local.INFO: Extracted packet for processing {"connection_id":175325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:33:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:33:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":175325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:33:59] local.INFO: GPS data processed {"connection_id":175325,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:33:59] local.INFO: Acknowledgment sent {"connection_id":175325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:34:43] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:34:43] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:34:43] local.INFO: IMEI packet received {"connection_id":176732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":176732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:34:48] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:34:48] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:34:48] local.INFO: IMEI packet received {"connection_id":176732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":176732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:34:49] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:34:49] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:34:49] local.INFO: Packet analysis {"connection_id":176732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:34:49] local.INFO: Extracted packet for processing {"connection_id":176732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:34: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-09-08 02:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":176732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:34:49] local.INFO: GPS data processed {"connection_id":176732,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:34:49] local.INFO: Acknowledgment sent {"connection_id":176732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:35:20] local.INFO: TCP Data received {"connection_id":176732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:35:20] local.INFO: Processing buffer {"connection_id":176732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dab9928012d34c58006aa42a80007011524..."} 
[2026-09-08 02:35:20] local.INFO: Packet analysis {"connection_id":176732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:35:20] local.INFO: Extracted packet for processing {"connection_id":176732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dab"} 
[2026-09-08 02:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936509952001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788814793000,"timestamp_ms":1788814793000,"timestamp_seconds":1788814793,"priority":1,"record_length":96,"hex_timestamp":"000001a07dab9928"} 
[2026-09-08 02:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 02:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02: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-09-08 02:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936509952001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936509952001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936509952001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":176732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:35:20] local.INFO: GPS data processed {"connection_id":176732,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:35:20] local.INFO: Acknowledgment sent {"connection_id":176732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:35:43] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:35:43] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:35:43] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:35:49] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:35:49] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:35:49] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:35:50] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:35:50] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:35:50] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:35:50] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:35:50] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:35:50] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:36:21] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:36:21] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:36:21] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:36:21] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:36: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-09-08 02:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:36:21] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:36:21] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:36:43] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:36:43] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:36:43] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:36:48] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:36:48] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:36:48] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:36:49] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:36:49] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:36:49] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:36:49] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:36: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-09-08 02:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:36:49] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:36:49] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:37:20] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:37:20] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:37:20] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:37:20] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:37: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-09-08 02:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:37:20] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:37:20] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:37:43] local.INFO: TCP Data received {"connection_id":176734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:37:43] local.INFO: Processing buffer {"connection_id":176734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:37:43] local.INFO: IMEI packet received {"connection_id":176734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":176734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:37:45] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:37:45] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:37:45] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:37:48] local.INFO: TCP Data received {"connection_id":176734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:37:48] local.INFO: Processing buffer {"connection_id":176734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:37:48] local.INFO: IMEI packet received {"connection_id":176734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":176734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:37:49] local.INFO: TCP Data received {"connection_id":176734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:37:49] local.INFO: Processing buffer {"connection_id":176734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:37:49] local.INFO: Packet analysis {"connection_id":176734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:37:49] local.INFO: Extracted packet for processing {"connection_id":176734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:37: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-09-08 02:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":176734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:37:49] local.INFO: GPS data processed {"connection_id":176734,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:37:49] local.INFO: Acknowledgment sent {"connection_id":176734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:38:20] local.INFO: TCP Data received {"connection_id":176734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:38:20] local.INFO: Processing buffer {"connection_id":176734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:38:20] local.INFO: Packet analysis {"connection_id":176734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:38:20] local.INFO: Extracted packet for processing {"connection_id":176734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:38: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-09-08 02:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":176734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:38:20] local.INFO: GPS data processed {"connection_id":176734,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:38:20] local.INFO: Acknowledgment sent {"connection_id":176734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:38:43] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:38:43] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:38:43] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:38:48] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:38:48] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:38:48] local.INFO: IMEI packet received {"connection_id":176735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":176735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:38:49] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:38:49] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:38:49] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:38:49] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:38: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-09-08 02:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:38:49] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:38:49] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:39:20] local.INFO: TCP Data received {"connection_id":176735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:20] local.INFO: Processing buffer {"connection_id":176735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:20] local.INFO: Packet analysis {"connection_id":176735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:39:20] local.INFO: Extracted packet for processing {"connection_id":176735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:39: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-09-08 02:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:39:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":176735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:39:20] local.INFO: GPS data processed {"connection_id":176735,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:39:20] local.INFO: Acknowledgment sent {"connection_id":176735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:39:48] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:39:48] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:39:48] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:39:53] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:39:53] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:39:53] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:39:54] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:54] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:54] local.INFO: Packet analysis {"connection_id":175327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:39:54] local.INFO: Extracted packet for processing {"connection_id":175327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:39:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":175327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:39:54] local.INFO: GPS data processed {"connection_id":175327,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:39:54] local.INFO: Acknowledgment sent {"connection_id":175327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:39:58] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:58] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db030f0012d34c58006aa42a8000701151f..."} 
[2026-09-08 02:39:58] local.INFO: Packet analysis {"connection_id":175327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:39:58] local.INFO: Extracted packet for processing {"connection_id":175327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db0"} 
[2026-09-08 02:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":7,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788815094000,"timestamp_ms":1788815094000,"timestamp_seconds":1788815094,"priority":1,"record_length":96,"hex_timestamp":"000001a07db030f0"} 
[2026-09-08 02:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936587008001,"66":25680,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:39:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:39:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936587008001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":175327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:39:58] local.INFO: GPS data processed {"connection_id":175327,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:39:58] local.INFO: Acknowledgment sent {"connection_id":175327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:40:43] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:40:43] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:40:43] local.INFO: IMEI packet received {"connection_id":173987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":173987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:40:48] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:40:48] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:40:48] local.INFO: IMEI packet received {"connection_id":173987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:40:49] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:40:49] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:40:49] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:40:49] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:40: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-09-08 02:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:40:49] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:40:49] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:40:53] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:40:53] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:40:53] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:40:53] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:40:53] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:40:53] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:41:24] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:41:24] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:41:24] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:41:24] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:41: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-09-08 02:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:41:25] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:41:25] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:41:43] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:41:43] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:41:43] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:41:48] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:41:48] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:41:48] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:41:49] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:41:49] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:41:49] local.INFO: Packet analysis {"connection_id":174234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:41:49] local.INFO: Extracted packet for processing {"connection_id":174234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:41: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-09-08 02:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:41:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":174234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:41:49] local.INFO: GPS data processed {"connection_id":174234,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:41:49] local.INFO: Acknowledgment sent {"connection_id":174234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:42:20] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:42:20] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:42:20] local.INFO: Packet analysis {"connection_id":174234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:42:20] local.INFO: Extracted packet for processing {"connection_id":174234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:42: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-09-08 02:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":174234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:42:21] local.INFO: GPS data processed {"connection_id":174234,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:42:21] local.INFO: Acknowledgment sent {"connection_id":174234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:42:43] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:42:43] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:42:43] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:42:48] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:42:48] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:42:48] local.INFO: IMEI packet received {"connection_id":176736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":176736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:42:49] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:42:49] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:42:49] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:42:49] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:42: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-09-08 02:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:42:49] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:42:49] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:43:21] local.INFO: TCP Data received {"connection_id":176736,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:43:21] local.INFO: Processing buffer {"connection_id":176736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:43:21] local.INFO: Packet analysis {"connection_id":176736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:43:21] local.INFO: Extracted packet for processing {"connection_id":176736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:43: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-09-08 02:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:43:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":176736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:43:21] local.INFO: GPS data processed {"connection_id":176736,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:43:21] local.INFO: Acknowledgment sent {"connection_id":176736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:43:45] local.INFO: TCP Data received {"connection_id":174237,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:43:45] local.INFO: Processing buffer {"connection_id":174237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:43:45] local.INFO: IMEI packet received {"connection_id":174237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":174237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:44:13] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:13] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:13] local.INFO: IMEI packet received {"connection_id":173989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":173989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:44:18] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:18] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:18] local.INFO: IMEI packet received {"connection_id":173989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":173989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:44:19] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:44:19] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:44:19] local.INFO: Packet analysis {"connection_id":173989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:44:19] local.INFO: Extracted packet for processing {"connection_id":173989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:44: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-09-08 02:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":173989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:44:19] local.INFO: GPS data processed {"connection_id":173989,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:44:19] local.INFO: Acknowledgment sent {"connection_id":173989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:44:43] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:43] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:43] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:44:48] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:48] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:44:48] local.INFO: IMEI packet received {"connection_id":176737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":176737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:44:49] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:44:49] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:44:49] local.INFO: Packet analysis {"connection_id":176737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:44:49] local.INFO: Extracted packet for processing {"connection_id":176737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":176737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:44:49] local.INFO: GPS data processed {"connection_id":176737,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:44:49] local.INFO: Acknowledgment sent {"connection_id":176737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:45:20] local.INFO: TCP Data received {"connection_id":176737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:45:20] local.INFO: Processing buffer {"connection_id":176737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db4c8b8012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:45:20] local.INFO: Packet analysis {"connection_id":176737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:45:20] local.INFO: Extracted packet for processing {"connection_id":176737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db4"} 
[2026-09-08 02:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936664064001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815395000,"timestamp_ms":1788815395000,"timestamp_seconds":1788815395,"priority":1,"record_length":96,"hex_timestamp":"000001a07db4c8b8"} 
[2026-09-08 02:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 02:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936664064001,"66":25495,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936664064001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936664064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":176737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:45:20] local.INFO: GPS data processed {"connection_id":176737,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:45:20] local.INFO: Acknowledgment sent {"connection_id":176737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:45:43] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:45:43] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:45:43] local.INFO: IMEI packet received {"connection_id":175329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:45:48] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:45:48] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:45:48] local.INFO: IMEI packet received {"connection_id":175329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":175329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:45:50] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:45:50] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:45:50] local.INFO: Packet analysis {"connection_id":175329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:45:50] local.INFO: Extracted packet for processing {"connection_id":175329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:45:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:45:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:45:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":175329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:45:50] local.INFO: GPS data processed {"connection_id":175329,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:45:50] local.INFO: Acknowledgment sent {"connection_id":175329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:46:21] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:46:21] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:46:21] local.INFO: Packet analysis {"connection_id":175329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:46:21] local.INFO: Extracted packet for processing {"connection_id":175329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:46: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-09-08 02:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:46:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":175329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:46:21] local.INFO: GPS data processed {"connection_id":175329,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:46:21] local.INFO: Acknowledgment sent {"connection_id":175329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:46:43] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:46:43] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:46:43] local.INFO: IMEI packet received {"connection_id":173990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":173990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:46:48] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:46:48] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:46:48] local.INFO: IMEI packet received {"connection_id":173990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:46:49] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:46:49] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:46:49] local.INFO: Packet analysis {"connection_id":173990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:46:49] local.INFO: Extracted packet for processing {"connection_id":173990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":173990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:46:49] local.INFO: GPS data processed {"connection_id":173990,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:46:49] local.INFO: Acknowledgment sent {"connection_id":173990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:47:20] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:47:20] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:47:20] local.INFO: Packet analysis {"connection_id":173990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:47:20] local.INFO: Extracted packet for processing {"connection_id":173990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":173990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:47:20] local.INFO: GPS data processed {"connection_id":173990,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:47:20] local.INFO: Acknowledgment sent {"connection_id":173990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:47:44] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:47:44] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:47:44] local.INFO: IMEI packet received {"connection_id":174239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":174239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:47:48] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:47:48] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:47:48] local.INFO: IMEI packet received {"connection_id":174239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":174239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:47:49] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:47:49] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:47:49] local.INFO: Packet analysis {"connection_id":174239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:47:49] local.INFO: Extracted packet for processing {"connection_id":174239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:47: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-09-08 02:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":174239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:47:49] local.INFO: GPS data processed {"connection_id":174239,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:47:49] local.INFO: Acknowledgment sent {"connection_id":174239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:48:21] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:48:21] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:48:21] local.INFO: Packet analysis {"connection_id":174239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:48:21] local.INFO: Extracted packet for processing {"connection_id":174239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02: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-09-08 02:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":174239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:48:21] local.INFO: GPS data processed {"connection_id":174239,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:48:21] local.INFO: Acknowledgment sent {"connection_id":174239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:48:43] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:48:43] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:48:43] local.INFO: IMEI packet received {"connection_id":175330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:48:48] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:48:48] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:48:48] local.INFO: IMEI packet received {"connection_id":175330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":175330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:48:49] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:48:49] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:48:49] local.INFO: Packet analysis {"connection_id":175330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:48:49] local.INFO: Extracted packet for processing {"connection_id":175330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:48: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-09-08 02:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":175330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:48:49] local.INFO: GPS data processed {"connection_id":175330,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:48:49] local.INFO: Acknowledgment sent {"connection_id":175330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:49:11] local.INFO: TCP Data received {"connection_id":175331,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:49:11] local.INFO: Processing buffer {"connection_id":175331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:49:11] local.INFO: IMEI packet received {"connection_id":175331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":175331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:49:20] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:49:20] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:49:20] local.INFO: Packet analysis {"connection_id":175330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:49:20] local.INFO: Extracted packet for processing {"connection_id":175330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:49: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-09-08 02:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:49:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":175330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:49:20] local.INFO: GPS data processed {"connection_id":175330,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:49:20] local.INFO: Acknowledgment sent {"connection_id":175330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:49:43] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:49:43] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:49:43] local.INFO: IMEI packet received {"connection_id":174241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":174241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:49:48] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:49:48] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:49:48] local.INFO: IMEI packet received {"connection_id":174241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":174241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:49:49] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:49:49] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:49:49] local.INFO: Packet analysis {"connection_id":174241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:49:49] local.INFO: Extracted packet for processing {"connection_id":174241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":174241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:49:49] local.INFO: GPS data processed {"connection_id":174241,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:49:49] local.INFO: Acknowledgment sent {"connection_id":174241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:50:20] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:50:20] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07db96080012d34c58006aa42a8000a011523..."} 
[2026-09-08 02:50:20] local.INFO: Packet analysis {"connection_id":174241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:50:20] local.INFO: Extracted packet for processing {"connection_id":174241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07db9"} 
[2026-09-08 02:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936741120001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815696000,"timestamp_ms":1788815696000,"timestamp_seconds":1788815696,"priority":1,"record_length":96,"hex_timestamp":"000001a07db96080"} 
[2026-09-08 02:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 02:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936741120001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936741120001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936741120001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":174241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:50:20] local.INFO: GPS data processed {"connection_id":174241,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:50:20] local.INFO: Acknowledgment sent {"connection_id":174241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:50:43] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:50:43] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:50:43] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:50:48] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:50:48] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:50:48] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:50:49] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:50:49] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:50:49] local.INFO: Packet analysis {"connection_id":174242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:50:49] local.INFO: Extracted packet for processing {"connection_id":174242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":174242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:50:49] local.INFO: GPS data processed {"connection_id":174242,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:50:49] local.INFO: Acknowledgment sent {"connection_id":174242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:51:20] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:51:20] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:51:20] local.INFO: Packet analysis {"connection_id":174242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:51:20] local.INFO: Extracted packet for processing {"connection_id":174242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":174242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:51:20] local.INFO: GPS data processed {"connection_id":174242,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:51:20] local.INFO: Acknowledgment sent {"connection_id":174242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:51:43] local.INFO: TCP Data received {"connection_id":176739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:51:43] local.INFO: Processing buffer {"connection_id":176739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:51:43] local.INFO: IMEI packet received {"connection_id":176739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":176739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:51:48] local.INFO: TCP Data received {"connection_id":176739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:51:48] local.INFO: Processing buffer {"connection_id":176739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:51:48] local.INFO: IMEI packet received {"connection_id":176739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":176739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:51:49] local.INFO: TCP Data received {"connection_id":176739,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:51:49] local.INFO: Processing buffer {"connection_id":176739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:51:49] local.INFO: Packet analysis {"connection_id":176739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:51:49] local.INFO: Extracted packet for processing {"connection_id":176739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":176739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:51:49] local.INFO: GPS data processed {"connection_id":176739,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:51:49] local.INFO: Acknowledgment sent {"connection_id":176739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:52:20] local.INFO: TCP Data received {"connection_id":176739,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:52:20] local.INFO: Processing buffer {"connection_id":176739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:52:20] local.INFO: Packet analysis {"connection_id":176739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:52:20] local.INFO: Extracted packet for processing {"connection_id":176739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":176739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:52:20] local.INFO: GPS data processed {"connection_id":176739,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:52:20] local.INFO: Acknowledgment sent {"connection_id":176739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:52:43] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:52:43] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:52:43] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:52:48] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:52:48] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:52:48] local.INFO: IMEI packet received {"connection_id":176740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":176740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:52:49] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:52:49] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:52:49] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:52:49] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:52: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-09-08 02:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:52:49] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:52:49] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:53:20] local.INFO: TCP Data received {"connection_id":176740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:53:20] local.INFO: Processing buffer {"connection_id":176740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:53:20] local.INFO: Packet analysis {"connection_id":176740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:53:20] local.INFO: Extracted packet for processing {"connection_id":176740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:53: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-09-08 02:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":176740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:53:20] local.INFO: GPS data processed {"connection_id":176740,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:53:20] local.INFO: Acknowledgment sent {"connection_id":176740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:53:43] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:53:43] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:53:43] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:53:48] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:53:48] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:53:48] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:53:49] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:53:49] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:53:49] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:53:49] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:53: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-09-08 02:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:53:49] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:53:49] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:54:22] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:54:22] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:54:22] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:54:22] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:54: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-09-08 02:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:54:22] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:54:22] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:54:43] local.INFO: TCP Data received {"connection_id":175337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:54:43] local.INFO: Processing buffer {"connection_id":175337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:54:43] local.INFO: IMEI packet received {"connection_id":175337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":175337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:54:45] local.INFO: TCP Data received {"connection_id":176741,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:54:45] local.INFO: Processing buffer {"connection_id":176741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 02:54:45] local.INFO: IMEI packet received {"connection_id":176741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 02:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":176741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:54:48] local.INFO: TCP Data received {"connection_id":175337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:54:48] local.INFO: Processing buffer {"connection_id":175337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:54:48] local.INFO: IMEI packet received {"connection_id":175337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":175337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:54:49] local.INFO: TCP Data received {"connection_id":175337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:54:49] local.INFO: Processing buffer {"connection_id":175337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:54:49] local.INFO: Packet analysis {"connection_id":175337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:54:49] local.INFO: Extracted packet for processing {"connection_id":175337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:54: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-09-08 02:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":175337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:54:49] local.INFO: GPS data processed {"connection_id":175337,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:54:49] local.INFO: Acknowledgment sent {"connection_id":175337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:55:20] local.INFO: TCP Data received {"connection_id":175337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:55:20] local.INFO: Processing buffer {"connection_id":175337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dbdf848012d34c58006aa42a8000a011521..."} 
[2026-09-08 02:55:20] local.INFO: Packet analysis {"connection_id":175337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:55:20] local.INFO: Extracted packet for processing {"connection_id":175337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dbd"} 
[2026-09-08 02:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936818176001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788815997000,"timestamp_ms":1788815997000,"timestamp_seconds":1788815997,"priority":1,"record_length":96,"hex_timestamp":"000001a07dbdf848"} 
[2026-09-08 02:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:55: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-09-08 02:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936818176001,"66":25702,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936818176001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936818176001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":175337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:55:20] local.INFO: GPS data processed {"connection_id":175337,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:55:20] local.INFO: Acknowledgment sent {"connection_id":175337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:55:48] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:55:48] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:55:48] local.INFO: IMEI packet received {"connection_id":175338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":175338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:55:53] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:55:53] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:55:53] local.INFO: IMEI packet received {"connection_id":175338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":175338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:55:54] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:55:54] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:55:54] local.INFO: Packet analysis {"connection_id":175338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:55:54] local.INFO: Extracted packet for processing {"connection_id":175338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":175338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:55:54] local.INFO: GPS data processed {"connection_id":175338,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:55:54] local.INFO: Acknowledgment sent {"connection_id":175338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:55:58] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:55:58] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:55:58] local.INFO: Packet analysis {"connection_id":175338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:55:58] local.INFO: Extracted packet for processing {"connection_id":175338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 02:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:55:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:55:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":175338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:55:59] local.INFO: GPS data processed {"connection_id":175338,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:55:59] local.INFO: Acknowledgment sent {"connection_id":175338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:56:43] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:56:43] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:56:43] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:56:48] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:56:48] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:56:48] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:56:49] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:56:49] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:56:49] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:56:49] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:56: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-09-08 02:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:56:49] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:56:49] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:57:20] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:57:20] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:57:20] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:57:20] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:57: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-09-08 02:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:57:20] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:57:20] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:57:44] local.INFO: TCP Data received {"connection_id":175340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:57:44] local.INFO: Processing buffer {"connection_id":175340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:57:44] local.INFO: IMEI packet received {"connection_id":175340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":175340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:57:48] local.INFO: TCP Data received {"connection_id":175340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:57:48] local.INFO: Processing buffer {"connection_id":175340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:57:48] local.INFO: IMEI packet received {"connection_id":175340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":175340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:57:49] local.INFO: TCP Data received {"connection_id":175340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:57:49] local.INFO: Processing buffer {"connection_id":175340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:57:49] local.INFO: Packet analysis {"connection_id":175340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:57:49] local.INFO: Extracted packet for processing {"connection_id":175340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:57: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-09-08 02:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":175340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:57:49] local.INFO: GPS data processed {"connection_id":175340,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:57:49] local.INFO: Acknowledgment sent {"connection_id":175340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:58:20] local.INFO: TCP Data received {"connection_id":175340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:58:20] local.INFO: Processing buffer {"connection_id":175340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:58:20] local.INFO: Packet analysis {"connection_id":175340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:58:20] local.INFO: Extracted packet for processing {"connection_id":175340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:58: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-09-08 02:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":175340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:58:20] local.INFO: GPS data processed {"connection_id":175340,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:58:20] local.INFO: Acknowledgment sent {"connection_id":175340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:58:43] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:58:43] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:58:43] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:58:48] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:58:48] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:58:48] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:58:49] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:58:49] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:58:49] local.INFO: Packet analysis {"connection_id":173995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:58:49] local.INFO: Extracted packet for processing {"connection_id":173995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02: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-09-08 02:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02: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-09-08 02:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:58: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-09-08 02:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":173995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:58:49] local.INFO: GPS data processed {"connection_id":173995,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:58:49] local.INFO: Acknowledgment sent {"connection_id":173995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:59:20] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:59:20] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:59:20] local.INFO: Packet analysis {"connection_id":173995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:59:20] local.INFO: Extracted packet for processing {"connection_id":173995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:59: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-09-08 02:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":173995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:59:20] local.INFO: GPS data processed {"connection_id":173995,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:59:20] local.INFO: Acknowledgment sent {"connection_id":173995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 02:59:43] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:59:43] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:59:43] local.INFO: IMEI packet received {"connection_id":175341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 02:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":175341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 02:59:48] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:59:48] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 02:59:48] local.INFO: IMEI packet received {"connection_id":175341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 02:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":175341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 02:59:49] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:59:49] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 02:59:49] local.INFO: Packet analysis {"connection_id":175341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:59:49] local.INFO: Extracted packet for processing {"connection_id":175341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 02:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 02:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 02:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 02:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 02:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 02:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 02:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 02:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 02:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 02:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 02:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 02:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 02:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 02:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 02:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 02:59: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-09-08 02:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 02:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 02:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 02:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 02:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 02:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 02:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 02:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 02:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 02:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 02:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 02:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":175341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 02:59:49] local.INFO: GPS data processed {"connection_id":175341,"processed":1,"errors":0,"total":1} 
[2026-09-08 02:59:49] local.INFO: Acknowledgment sent {"connection_id":175341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:00:15] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:00:15] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:00:15] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:00:20] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:00:20] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc29010012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:00:20] local.INFO: Packet analysis {"connection_id":175341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 03:00:20] local.INFO: Extracted packet for processing {"connection_id":175341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc2"} 
[2026-09-08 03:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936895232001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816298000,"timestamp_ms":1788816298000,"timestamp_seconds":1788816298,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc29010"} 
[2026-09-08 03:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 03:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:00: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-09-08 03:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936895232001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936895232001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936895232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":175341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:00:20] local.INFO: GPS data processed {"connection_id":175341,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:00:20] local.INFO: Acknowledgment sent {"connection_id":175341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:00:43] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:00:43] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:00:43] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:00:46] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:00:46] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:00:46] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:00:48] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:00:48] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:00:48] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:00:49] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:00:49] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:00:49] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:00:49] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:00: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-09-08 03:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:00:49] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:00:49] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:01:20] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:01:20] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:01:20] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:01:20] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:01: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-09-08 03:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:01:20] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:01:20] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:01:43] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:01:43] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:01:43] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:01:48] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:01:48] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:01:48] local.INFO: IMEI packet received {"connection_id":176743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":176743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:01:49] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:01:49] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:01:49] local.INFO: Packet analysis {"connection_id":176743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:01:49] local.INFO: Extracted packet for processing {"connection_id":176743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:01: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-09-08 03:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":176743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:01:49] local.INFO: GPS data processed {"connection_id":176743,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:01:49] local.INFO: Acknowledgment sent {"connection_id":176743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:02:20] local.INFO: TCP Data received {"connection_id":176743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:02:20] local.INFO: Processing buffer {"connection_id":176743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:02:20] local.INFO: Packet analysis {"connection_id":176743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:02:20] local.INFO: Extracted packet for processing {"connection_id":176743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:02: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-09-08 03:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":176743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:02:20] local.INFO: GPS data processed {"connection_id":176743,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:02:20] local.INFO: Acknowledgment sent {"connection_id":176743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:02:43] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:02:43] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:02:43] local.INFO: IMEI packet received {"connection_id":175342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":175342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:02:48] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:02:48] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:02:48] local.INFO: IMEI packet received {"connection_id":175342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:02:49] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:02:49] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:02:49] local.INFO: Packet analysis {"connection_id":175342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:02:49] local.INFO: Extracted packet for processing {"connection_id":175342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:02: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-09-08 03:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":175342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:02:49] local.INFO: GPS data processed {"connection_id":175342,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:02:49] local.INFO: Acknowledgment sent {"connection_id":175342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:03:21] local.INFO: TCP Data received {"connection_id":175342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:03:21] local.INFO: Processing buffer {"connection_id":175342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:03:21] local.INFO: Packet analysis {"connection_id":175342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:03:21] local.INFO: Extracted packet for processing {"connection_id":175342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:03: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-09-08 03:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:03:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":175342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:03:21] local.INFO: GPS data processed {"connection_id":175342,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:03:21] local.INFO: Acknowledgment sent {"connection_id":175342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:03:43] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:03:43] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:03:43] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:03:48] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:03:48] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:03:48] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:03:50] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:03:50] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:03:50] local.INFO: Packet analysis {"connection_id":175343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:03:50] local.INFO: Extracted packet for processing {"connection_id":175343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":175343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:03:50] local.INFO: GPS data processed {"connection_id":175343,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:03:50] local.INFO: Acknowledgment sent {"connection_id":175343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:04:21] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:04:21] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:04:21] local.INFO: Packet analysis {"connection_id":175343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:04:21] local.INFO: Extracted packet for processing {"connection_id":175343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:04: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-09-08 03:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:04:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":175343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:04:21] local.INFO: GPS data processed {"connection_id":175343,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:04:21] local.INFO: Acknowledgment sent {"connection_id":175343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:04:43] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:04:43] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:04:43] local.INFO: IMEI packet received {"connection_id":174246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":174246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:04:48] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:04:48] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:04:48] local.INFO: IMEI packet received {"connection_id":174246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:04:49] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:04:49] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:04:49] local.INFO: Packet analysis {"connection_id":174246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:04:49] local.INFO: Extracted packet for processing {"connection_id":174246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:04: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-09-08 03:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":174246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:04:49] local.INFO: GPS data processed {"connection_id":174246,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:04:49] local.INFO: Acknowledgment sent {"connection_id":174246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:05:20] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:05:20] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dc727d8012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:05:20] local.INFO: Packet analysis {"connection_id":174246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:05:20] local.INFO: Extracted packet for processing {"connection_id":174246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dc7"} 
[2026-09-08 03:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457936972288001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816599000,"timestamp_ms":1788816599000,"timestamp_seconds":1788816599,"priority":1,"record_length":96,"hex_timestamp":"000001a07dc727d8"} 
[2026-09-08 03:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:05: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-09-08 03:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457936972288001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457936972288001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457936972288001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":174246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:05:20] local.INFO: GPS data processed {"connection_id":174246,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:05:20] local.INFO: Acknowledgment sent {"connection_id":174246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:05:43] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:05:43] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:05:43] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:05:48] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:05:48] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:05:48] local.INFO: IMEI packet received {"connection_id":176747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":176747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:05:49] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:05:49] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:05:49] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:05:49] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:05:49] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:05:49] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:05:50] local.INFO: TCP Data received {"connection_id":176748,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:05:50] local.INFO: Processing buffer {"connection_id":176748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:05:50] local.INFO: IMEI packet received {"connection_id":176748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":176748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:06:20] local.INFO: TCP Data received {"connection_id":176747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:20] local.INFO: Processing buffer {"connection_id":176747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:20] local.INFO: Packet analysis {"connection_id":176747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:06:20] local.INFO: Extracted packet for processing {"connection_id":176747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:06: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-09-08 03:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":176747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:06:20] local.INFO: GPS data processed {"connection_id":176747,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:06:20] local.INFO: Acknowledgment sent {"connection_id":176747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:06:48] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:06:48] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:06:48] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:06:53] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:06:53] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:06:53] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:06:54] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:54] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:54] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:06:54] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:06:54] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:06:54] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:06:58] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:58] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:06:58] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:06:58] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:06:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:06:58] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:06:58] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:07:43] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:07:43] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:07:43] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:07:48] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:07:48] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:07:48] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:07:49] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:07:49] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:07:49] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:07:49] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:07: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-09-08 03:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:07:49] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:07:49] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:07:53] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:07:53] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:07:53] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:07:53] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:07:53] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:07:53] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:08:24] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:08:24] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:08:24] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:08:24] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:08: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-09-08 03:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:08:24] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:08:24] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:08:43] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:08:43] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:08:43] local.INFO: IMEI packet received {"connection_id":175347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:08:48] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:08:48] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:08:48] local.INFO: IMEI packet received {"connection_id":175347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:08:50] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:08:50] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:08:50] local.INFO: Packet analysis {"connection_id":175347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:08:50] local.INFO: Extracted packet for processing {"connection_id":175347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:08:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:08:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:08:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":175347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:08:50] local.INFO: GPS data processed {"connection_id":175347,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:08:50] local.INFO: Acknowledgment sent {"connection_id":175347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:09:21] local.INFO: TCP Data received {"connection_id":175347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:09:21] local.INFO: Processing buffer {"connection_id":175347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:09:21] local.INFO: Packet analysis {"connection_id":175347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:09:21] local.INFO: Extracted packet for processing {"connection_id":175347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:09: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-09-08 03:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":175347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:09:21] local.INFO: GPS data processed {"connection_id":175347,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:09:21] local.INFO: Acknowledgment sent {"connection_id":175347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:09:43] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:09:43] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:09:43] local.INFO: IMEI packet received {"connection_id":173997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":173997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:09:48] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:09:48] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:09:48] local.INFO: IMEI packet received {"connection_id":173997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:09:49] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:09:49] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:09:49] local.INFO: Packet analysis {"connection_id":173997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:09:49] local.INFO: Extracted packet for processing {"connection_id":173997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:09: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-09-08 03:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":173997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:09:49] local.INFO: GPS data processed {"connection_id":173997,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:09:49] local.INFO: Acknowledgment sent {"connection_id":173997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:10:20] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:10:20] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dcbbfa0012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:10:20] local.INFO: Packet analysis {"connection_id":173997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:10:20] local.INFO: Extracted packet for processing {"connection_id":173997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dcb"} 
[2026-09-08 03:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937049344001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788816900000,"timestamp_ms":1788816900000,"timestamp_seconds":1788816900,"priority":1,"record_length":96,"hex_timestamp":"000001a07dcbbfa0"} 
[2026-09-08 03:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:10: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-09-08 03:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937049344001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937049344001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937049344001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":173997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:10:20] local.INFO: GPS data processed {"connection_id":173997,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:10:20] local.INFO: Acknowledgment sent {"connection_id":173997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:10:43] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:10:43] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:10:43] local.INFO: IMEI packet received {"connection_id":175348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":175348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:10:48] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:10:48] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:10:48] local.INFO: IMEI packet received {"connection_id":175348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":175348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:10:49] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:10:49] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:10:49] local.INFO: Packet analysis {"connection_id":175348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:10:49] local.INFO: Extracted packet for processing {"connection_id":175348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:10: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-09-08 03:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":175348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:10:49] local.INFO: GPS data processed {"connection_id":175348,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:10:49] local.INFO: Acknowledgment sent {"connection_id":175348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:11:20] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:11:20] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:11:20] local.INFO: Packet analysis {"connection_id":175348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:11:20] local.INFO: Extracted packet for processing {"connection_id":175348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:11: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-09-08 03:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":175348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:11:20] local.INFO: GPS data processed {"connection_id":175348,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:11:20] local.INFO: Acknowledgment sent {"connection_id":175348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:11:25] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:11:25] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:11:25] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:11:43] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:11:43] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:11:43] local.INFO: IMEI packet received {"connection_id":173998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":173998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:11:45] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:11:45] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:11:45] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:11:48] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:11:48] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:11:48] local.INFO: IMEI packet received {"connection_id":173998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:11:50] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:11:50] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:11:50] local.INFO: Packet analysis {"connection_id":173998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:11:50] local.INFO: Extracted packet for processing {"connection_id":173998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":173998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:11:50] local.INFO: GPS data processed {"connection_id":173998,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:11:50] local.INFO: Acknowledgment sent {"connection_id":173998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:12:21] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:12:21] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:12:21] local.INFO: Packet analysis {"connection_id":173998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:12:21] local.INFO: Extracted packet for processing {"connection_id":173998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:12: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-09-08 03:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":173998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:12:21] local.INFO: GPS data processed {"connection_id":173998,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:12:21] local.INFO: Acknowledgment sent {"connection_id":173998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:12:43] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:12:43] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:12:43] local.INFO: IMEI packet received {"connection_id":174000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":174000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:12:48] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:12:48] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:12:48] local.INFO: IMEI packet received {"connection_id":174000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":174000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:12:49] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:12:49] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:12:49] local.INFO: Packet analysis {"connection_id":174000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:12:49] local.INFO: Extracted packet for processing {"connection_id":174000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:12: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-09-08 03:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":174000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:12:49] local.INFO: GPS data processed {"connection_id":174000,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:12:49] local.INFO: Acknowledgment sent {"connection_id":174000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:13:20] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:20] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:20] local.INFO: Packet analysis {"connection_id":174000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:13:20] local.INFO: Extracted packet for processing {"connection_id":174000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:13: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-09-08 03:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":174000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:13:20] local.INFO: GPS data processed {"connection_id":174000,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:13:20] local.INFO: Acknowledgment sent {"connection_id":174000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:13:48] local.INFO: TCP Data received {"connection_id":175350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:13:48] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:13:48] local.INFO: IMEI packet received {"connection_id":175350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:13:53] local.INFO: TCP Data received {"connection_id":175350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:13:53] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:13:53] local.INFO: IMEI packet received {"connection_id":175350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":175350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:13:54] local.INFO: TCP Data received {"connection_id":175350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:54] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:54] local.INFO: Packet analysis {"connection_id":175350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:13:54] local.INFO: Extracted packet for processing {"connection_id":175350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:13:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:13:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":175350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:13:54] local.INFO: GPS data processed {"connection_id":175350,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:13:54] local.INFO: Acknowledgment sent {"connection_id":175350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:13:59] local.INFO: TCP Data received {"connection_id":175350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:59] local.INFO: Processing buffer {"connection_id":175350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:13:59] local.INFO: Packet analysis {"connection_id":175350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:13:59] local.INFO: Extracted packet for processing {"connection_id":175350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":175350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:13:59] local.INFO: GPS data processed {"connection_id":175350,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:13:59] local.INFO: Acknowledgment sent {"connection_id":175350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:14:43] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:14:43] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:14:43] local.INFO: IMEI packet received {"connection_id":174002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":174002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:14:48] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:14:48] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:14:48] local.INFO: IMEI packet received {"connection_id":174002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":174002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:14:49] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:14:49] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:14:49] local.INFO: Packet analysis {"connection_id":174002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:14:49] local.INFO: Extracted packet for processing {"connection_id":174002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:14: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-09-08 03:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":174002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:14:49] local.INFO: GPS data processed {"connection_id":174002,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:14:49] local.INFO: Acknowledgment sent {"connection_id":174002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:15:20] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:15:20] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd05768012d34c58006aa42a8000a01151f..."} 
[2026-09-08 03:15:20] local.INFO: Packet analysis {"connection_id":174002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:15:20] local.INFO: Extracted packet for processing {"connection_id":174002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd0"} 
[2026-09-08 03:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937126400001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817201000,"timestamp_ms":1788817201000,"timestamp_seconds":1788817201,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd05768"} 
[2026-09-08 03:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:15: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-09-08 03:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937126400001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937126400001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937126400001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":174002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:15:20] local.INFO: GPS data processed {"connection_id":174002,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:15:20] local.INFO: Acknowledgment sent {"connection_id":174002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:15:40] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:40] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:40] local.INFO: IMEI packet received {"connection_id":174250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":174250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:15:43] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:43] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:43] local.INFO: IMEI packet received {"connection_id":174250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":174250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:15:48] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:48] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:15:48] local.INFO: IMEI packet received {"connection_id":174250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":174250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:15:49] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:15:49] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:15:49] local.INFO: Packet analysis {"connection_id":174250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:15:49] local.INFO: Extracted packet for processing {"connection_id":174250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:15: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-09-08 03:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":174250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:15:49] local.INFO: GPS data processed {"connection_id":174250,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:15:49] local.INFO: Acknowledgment sent {"connection_id":174250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:16:20] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:16:20] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:16:20] local.INFO: Packet analysis {"connection_id":174250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:16:20] local.INFO: Extracted packet for processing {"connection_id":174250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:16: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-09-08 03:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":174250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:16:20] local.INFO: GPS data processed {"connection_id":174250,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:16:20] local.INFO: Acknowledgment sent {"connection_id":174250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:16:43] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:16:43] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:16:43] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:16:48] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:16:48] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:16:48] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:16:49] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:16:49] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:16:49] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:16:49] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:16: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-09-08 03:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:16:49] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:16:49] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:17:20] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:17:21] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:17:21] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:17:21] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:17: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-09-08 03:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:17:21] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:17:21] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:17:43] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:17:43] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:17:43] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:17:48] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:17:48] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:17:48] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:17:49] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:17:49] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:17:49] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:17:49] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:17: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-09-08 03:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:17:49] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:17:49] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:17:50] local.INFO: TCP Data received {"connection_id":175352,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:17:50] local.INFO: Processing buffer {"connection_id":175352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:17:50] local.INFO: IMEI packet received {"connection_id":175352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":175352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:18:20] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:18:20] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:18:20] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:18:20] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:18: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-09-08 03:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:18:20] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:18:20] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:18:43] local.INFO: TCP Data received {"connection_id":176753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:18:43] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:18:43] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:18:48] local.INFO: TCP Data received {"connection_id":176753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:18:48] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:18:48] local.INFO: IMEI packet received {"connection_id":176753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":176753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:18:49] local.INFO: TCP Data received {"connection_id":176753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:18:49] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:18:49] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:18:49] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:18: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-09-08 03:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:18:49] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:18:49] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:19:21] local.INFO: TCP Data received {"connection_id":176753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:19:21] local.INFO: Processing buffer {"connection_id":176753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:19:21] local.INFO: Packet analysis {"connection_id":176753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:19:21] local.INFO: Extracted packet for processing {"connection_id":176753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:19: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-09-08 03:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:19:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":176753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:19:21] local.INFO: GPS data processed {"connection_id":176753,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:19:21] local.INFO: Acknowledgment sent {"connection_id":176753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:19:43] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:19:43] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:19:43] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:19:48] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:19:48] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:19:48] local.INFO: IMEI packet received {"connection_id":176755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":176755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:19:49] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:19:49] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:19:49] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:19:49] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:19: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-09-08 03:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:19:49] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:19:49] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:20:21] local.INFO: TCP Data received {"connection_id":176755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:20:21] local.INFO: Processing buffer {"connection_id":176755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd4ef30012d34c58006aa42a8000a011521..."} 
[2026-09-08 03:20:21] local.INFO: Packet analysis {"connection_id":176755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:20:21] local.INFO: Extracted packet for processing {"connection_id":176755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd4"} 
[2026-09-08 03:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937203456001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788817502000,"timestamp_ms":1788817502000,"timestamp_seconds":1788817502,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd4ef30"} 
[2026-09-08 03:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937203456001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937203456001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937203456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":176755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:20:21] local.INFO: GPS data processed {"connection_id":176755,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:20:21] local.INFO: Acknowledgment sent {"connection_id":176755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:20:43] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:20:43] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:20:43] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:20:48] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:20:48] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:20:48] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:20:50] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:20:50] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:20:50] local.INFO: Packet analysis {"connection_id":174005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:20:50] local.INFO: Extracted packet for processing {"connection_id":174005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:20:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:20:50] local.INFO: GPS data processed {"connection_id":174005,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:20:50] local.INFO: Acknowledgment sent {"connection_id":174005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:21:21] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:21:21] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:21:21] local.INFO: Packet analysis {"connection_id":174005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:21:21] local.INFO: Extracted packet for processing {"connection_id":174005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:21: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-09-08 03:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:21:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:21:21] local.INFO: GPS data processed {"connection_id":174005,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:21:21] local.INFO: Acknowledgment sent {"connection_id":174005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:21:43] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:21:43] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:21:43] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:21:48] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:21:48] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:21:48] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:21:49] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:21:49] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:21:49] local.INFO: Packet analysis {"connection_id":174251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:21:49] local.INFO: Extracted packet for processing {"connection_id":174251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:21: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-09-08 03:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":174251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:21:49] local.INFO: GPS data processed {"connection_id":174251,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:21:49] local.INFO: Acknowledgment sent {"connection_id":174251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:22:20] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:22:20] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:22:20] local.INFO: Packet analysis {"connection_id":174251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:22:20] local.INFO: Extracted packet for processing {"connection_id":174251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:22: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-09-08 03:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":174251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:22:20] local.INFO: GPS data processed {"connection_id":174251,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:22:20] local.INFO: Acknowledgment sent {"connection_id":174251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:22:43] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:22:43] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:22:43] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:22:48] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:22:48] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:22:48] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:22:49] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:22:49] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:22:49] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:22:49] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:22: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-09-08 03:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:22:49] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:22:49] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:23:20] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:23:20] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:23:20] local.INFO: IMEI packet received {"connection_id":175353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":175353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:23:20] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:23:20] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:23:20] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:23:20] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:23:20] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:23:20] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:23:43] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:23:43] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:23:43] local.INFO: IMEI packet received {"connection_id":176757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:23:45] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:23:45] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:23:45] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:23:48] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:23:48] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:23:48] local.INFO: IMEI packet received {"connection_id":176757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":176757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:23:49] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:23:49] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:23:49] local.INFO: Packet analysis {"connection_id":176757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:23:49] local.INFO: Extracted packet for processing {"connection_id":176757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:23: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-09-08 03:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":176757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:23:49] local.INFO: GPS data processed {"connection_id":176757,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:23:49] local.INFO: Acknowledgment sent {"connection_id":176757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:24:20] local.INFO: TCP Data received {"connection_id":176757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:24:20] local.INFO: Processing buffer {"connection_id":176757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:24:20] local.INFO: Packet analysis {"connection_id":176757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:24:20] local.INFO: Extracted packet for processing {"connection_id":176757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":176757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:24:20] local.INFO: GPS data processed {"connection_id":176757,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:24:20] local.INFO: Acknowledgment sent {"connection_id":176757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:24:43] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:24:43] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:24:43] local.INFO: IMEI packet received {"connection_id":174254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":174254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:24:48] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:24:48] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:24:48] local.INFO: IMEI packet received {"connection_id":174254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":174254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:24:49] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:24:49] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:24:49] local.INFO: Packet analysis {"connection_id":174254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:24:49] local.INFO: Extracted packet for processing {"connection_id":174254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:24: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-09-08 03:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":174254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:24:49] local.INFO: GPS data processed {"connection_id":174254,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:24:49] local.INFO: Acknowledgment sent {"connection_id":174254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:25:20] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:25:20] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dd986f8012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:25:20] local.INFO: Packet analysis {"connection_id":174254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:25:20] local.INFO: Extracted packet for processing {"connection_id":174254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dd9"} 
[2026-09-08 03:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937280512001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788817803000,"timestamp_ms":1788817803000,"timestamp_seconds":1788817803,"priority":1,"record_length":96,"hex_timestamp":"000001a07dd986f8"} 
[2026-09-08 03:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:25: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-09-08 03:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937280512001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937280512001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937280512001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":174254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:25:20] local.INFO: GPS data processed {"connection_id":174254,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:25:20] local.INFO: Acknowledgment sent {"connection_id":174254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:25:43] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:25:43] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:25:43] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:25:48] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:25:48] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:25:48] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:25:49] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:25:49] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:25:49] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:25:49] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:25: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-09-08 03:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:25:49] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:25:49] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:26:21] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:26:21] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:26:21] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:26:21] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:26: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-09-08 03:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:26:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:26:21] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:26:21] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:26:43] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:26:43] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:26:43] local.INFO: IMEI packet received {"connection_id":174255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":174255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:26:48] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:26:48] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:26:48] local.INFO: IMEI packet received {"connection_id":174255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":174255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:26:49] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:26:49] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:26:49] local.INFO: Packet analysis {"connection_id":174255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:26:49] local.INFO: Extracted packet for processing {"connection_id":174255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:26: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-09-08 03:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":174255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:26:49] local.INFO: GPS data processed {"connection_id":174255,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:26:49] local.INFO: Acknowledgment sent {"connection_id":174255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:27:20] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:27:20] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:27:20] local.INFO: Packet analysis {"connection_id":174255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:27:20] local.INFO: Extracted packet for processing {"connection_id":174255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:27: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-09-08 03:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":174255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:27:20] local.INFO: GPS data processed {"connection_id":174255,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:27:20] local.INFO: Acknowledgment sent {"connection_id":174255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:27:43] local.INFO: TCP Data received {"connection_id":175356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:27:43] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:27:43] local.INFO: IMEI packet received {"connection_id":175356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:27:48] local.INFO: TCP Data received {"connection_id":175356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:27:48] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:27:48] local.INFO: IMEI packet received {"connection_id":175356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":175356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:27:49] local.INFO: TCP Data received {"connection_id":175356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:27:49] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:27:49] local.INFO: Packet analysis {"connection_id":175356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:27:49] local.INFO: Extracted packet for processing {"connection_id":175356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:27: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-09-08 03:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":175356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:27:49] local.INFO: GPS data processed {"connection_id":175356,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:27:49] local.INFO: Acknowledgment sent {"connection_id":175356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:28:20] local.INFO: TCP Data received {"connection_id":175356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:28:20] local.INFO: Processing buffer {"connection_id":175356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:28:20] local.INFO: Packet analysis {"connection_id":175356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:28:20] local.INFO: Extracted packet for processing {"connection_id":175356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":175356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:28:20] local.INFO: GPS data processed {"connection_id":175356,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:28:20] local.INFO: Acknowledgment sent {"connection_id":175356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:28:43] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:28:43] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:28:43] local.INFO: IMEI packet received {"connection_id":174256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":174256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:28:48] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:28:48] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:28:48] local.INFO: IMEI packet received {"connection_id":174256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":174256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:28:50] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:28:50] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:28:50] local.INFO: Packet analysis {"connection_id":174256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:28:50] local.INFO: Extracted packet for processing {"connection_id":174256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:28:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:28:50] local.INFO: GPS data processed {"connection_id":174256,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:28:50] local.INFO: Acknowledgment sent {"connection_id":174256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:29:05] local.INFO: TCP Data received {"connection_id":176758,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:29:05] local.INFO: Processing buffer {"connection_id":176758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:29:05] local.INFO: IMEI packet received {"connection_id":176758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":176758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:29:21] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:29:21] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:29:21] local.INFO: Packet analysis {"connection_id":174256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:29:21] local.INFO: Extracted packet for processing {"connection_id":174256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:29: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-09-08 03:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:29:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":174256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:29:21] local.INFO: GPS data processed {"connection_id":174256,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:29:21] local.INFO: Acknowledgment sent {"connection_id":174256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:29:43] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:29:43] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:29:43] local.INFO: IMEI packet received {"connection_id":176759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:29:48] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:29:48] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:29:48] local.INFO: IMEI packet received {"connection_id":176759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":176759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:29:49] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:29:49] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:29:49] local.INFO: Packet analysis {"connection_id":176759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:29:49] local.INFO: Extracted packet for processing {"connection_id":176759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:29: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-09-08 03:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":176759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:29:49] local.INFO: GPS data processed {"connection_id":176759,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:29:49] local.INFO: Acknowledgment sent {"connection_id":176759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:30:21] local.INFO: TCP Data received {"connection_id":176759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:30:21] local.INFO: Processing buffer {"connection_id":176759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dde1ec0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:30:21] local.INFO: Packet analysis {"connection_id":176759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:30:21] local.INFO: Extracted packet for processing {"connection_id":176759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dde"} 
[2026-09-08 03:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937357568001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788818104000,"timestamp_ms":1788818104000,"timestamp_seconds":1788818104,"priority":1,"record_length":96,"hex_timestamp":"000001a07dde1ec0"} 
[2026-09-08 03:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:30: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-09-08 03:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937357568001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937357568001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937357568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":176759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:30:21] local.INFO: GPS data processed {"connection_id":176759,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:30:21] local.INFO: Acknowledgment sent {"connection_id":176759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:30:43] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:43] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:43] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:30:43] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:43] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:43] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:30:48] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:48] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:30:48] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:30:49] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:30:49] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:30:49] local.INFO: Packet analysis {"connection_id":174257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:30:49] local.INFO: Extracted packet for processing {"connection_id":174257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:30: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-09-08 03:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:30: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-09-08 03:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:30:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":174257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:30:49] local.INFO: GPS data processed {"connection_id":174257,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:30:49] local.INFO: Acknowledgment sent {"connection_id":174257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:31:20] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:20] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:20] local.INFO: Packet analysis {"connection_id":174257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:31:20] local.INFO: Extracted packet for processing {"connection_id":174257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:31: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:31: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-09-08 03:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":174257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:31:20] local.INFO: GPS data processed {"connection_id":174257,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:31:20] local.INFO: Acknowledgment sent {"connection_id":174257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:31:48] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:31:48] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:31:48] local.INFO: IMEI packet received {"connection_id":176760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":176760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:31:53] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:31:53] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:31:53] local.INFO: IMEI packet received {"connection_id":176760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":176760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:31:54] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:54] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:54] local.INFO: Packet analysis {"connection_id":176760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:31:54] local.INFO: Extracted packet for processing {"connection_id":176760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":176760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:31:54] local.INFO: GPS data processed {"connection_id":176760,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:31:54] local.INFO: Acknowledgment sent {"connection_id":176760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:31:58] local.INFO: TCP Data received {"connection_id":176760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:58] local.INFO: Processing buffer {"connection_id":176760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:31:58] local.INFO: Packet analysis {"connection_id":176760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:31:58] local.INFO: Extracted packet for processing {"connection_id":176760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:31:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":176760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:31:58] local.INFO: GPS data processed {"connection_id":176760,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:31:58] local.INFO: Acknowledgment sent {"connection_id":176760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:32:43] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:32:43] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:32:43] local.INFO: IMEI packet received {"connection_id":174012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":174012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:32:48] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:32:48] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:32:48] local.INFO: IMEI packet received {"connection_id":174012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":174012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:32:49] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:32:49] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:32:49] local.INFO: Packet analysis {"connection_id":174012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:32:49] local.INFO: Extracted packet for processing {"connection_id":174012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:32: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:32: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-09-08 03:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":174012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:32:49] local.INFO: GPS data processed {"connection_id":174012,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:32:49] local.INFO: Acknowledgment sent {"connection_id":174012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:33:22] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:33:22] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:33:22] local.INFO: Packet analysis {"connection_id":174012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:33:22] local.INFO: Extracted packet for processing {"connection_id":174012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:33:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:33: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:33: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-09-08 03:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:33:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":174012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:33:22] local.INFO: GPS data processed {"connection_id":174012,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:33:22] local.INFO: Acknowledgment sent {"connection_id":174012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:33:43] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:33:43] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:33:43] local.INFO: IMEI packet received {"connection_id":174013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":174013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:33:48] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:33:48] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:33:48] local.INFO: IMEI packet received {"connection_id":174013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":174013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:33:49] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:33:49] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:33:49] local.INFO: Packet analysis {"connection_id":174013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:33:49] local.INFO: Extracted packet for processing {"connection_id":174013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:33: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-09-08 03:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:33: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-09-08 03:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:33:49] local.INFO: GPS data processed {"connection_id":174013,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:33:49] local.INFO: Acknowledgment sent {"connection_id":174013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:34:20] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:34:20] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:34:20] local.INFO: Packet analysis {"connection_id":174013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:34:20] local.INFO: Extracted packet for processing {"connection_id":174013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:34: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:34: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-09-08 03:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:34:20] local.INFO: GPS data processed {"connection_id":174013,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:34:20] local.INFO: Acknowledgment sent {"connection_id":174013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:34:43] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:34:43] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:34:43] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:34:45] local.INFO: TCP Data received {"connection_id":174260,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:34:45] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:34:45] local.INFO: IMEI packet received {"connection_id":174260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:34:48] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:34:48] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:34:48] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:34:48] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:34:48] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:34:48] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:34:48] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:34: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-09-08 03:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:34: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-09-08 03:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:34:48] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:34:48] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:35:20] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:35:20] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de2b688012d34c58006aa42a8000a011523..."} 
[2026-09-08 03:35:20] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:35:20] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de2"} 
[2026-09-08 03:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937434624001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818405000,"timestamp_ms":1788818405000,"timestamp_seconds":1788818405,"priority":1,"record_length":96,"hex_timestamp":"000001a07de2b688"} 
[2026-09-08 03:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:35: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937434624001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937434624001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937434624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:35:20] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:35:20] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:35:43] local.INFO: TCP Data received {"connection_id":176763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:43] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:43] local.INFO: IMEI packet received {"connection_id":176763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:35:44] local.INFO: TCP Data received {"connection_id":176763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:44] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:44] local.INFO: IMEI packet received {"connection_id":176763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":176763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:35:48] local.INFO: TCP Data received {"connection_id":176763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:48] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:35:48] local.INFO: IMEI packet received {"connection_id":176763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":176763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:35:49] local.INFO: TCP Data received {"connection_id":176763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:35:49] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:35:49] local.INFO: Packet analysis {"connection_id":176763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:35:49] local.INFO: Extracted packet for processing {"connection_id":176763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:35:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:35: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-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:35: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-09-08 03:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:35:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":176763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:35:49] local.INFO: GPS data processed {"connection_id":176763,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:35:49] local.INFO: Acknowledgment sent {"connection_id":176763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:36:20] local.INFO: TCP Data received {"connection_id":176763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:36:20] local.INFO: Processing buffer {"connection_id":176763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:36:20] local.INFO: Packet analysis {"connection_id":176763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:36:20] local.INFO: Extracted packet for processing {"connection_id":176763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:36: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-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:36: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-09-08 03:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":176763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:36:20] local.INFO: GPS data processed {"connection_id":176763,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:36:20] local.INFO: Acknowledgment sent {"connection_id":176763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:36:43] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:36:43] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:36:43] local.INFO: IMEI packet received {"connection_id":174261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":174261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:36:48] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:36:48] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:36:48] local.INFO: IMEI packet received {"connection_id":174261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":174261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:36:49] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:36:49] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:36:49] local.INFO: Packet analysis {"connection_id":174261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:36:49] local.INFO: Extracted packet for processing {"connection_id":174261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:36: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-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:36: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-09-08 03:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":174261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:36:49] local.INFO: GPS data processed {"connection_id":174261,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:36:49] local.INFO: Acknowledgment sent {"connection_id":174261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:37:20] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:37:20] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:37:20] local.INFO: Packet analysis {"connection_id":174261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:37:20] local.INFO: Extracted packet for processing {"connection_id":174261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:37: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-09-08 03:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:37: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-09-08 03:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":174261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:37:20] local.INFO: GPS data processed {"connection_id":174261,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:37:20] local.INFO: Acknowledgment sent {"connection_id":174261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:37:43] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:37:43] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:37:43] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:37:48] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:37:48] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:37:48] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:37:48] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:37:48] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:37:48] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:37:48] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:37: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-09-08 03:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:37: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-09-08 03:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:37:48] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:37:48] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:38:19] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:19] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:19] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:38:19] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:38: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-09-08 03:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:38:19] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:38:19] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:38:48] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:38:48] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:38:48] local.INFO: IMEI packet received {"connection_id":174017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:38:53] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:38:53] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:38:53] local.INFO: IMEI packet received {"connection_id":174017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":174017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:38:53] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:53] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:53] local.INFO: Packet analysis {"connection_id":174017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:38:53] local.INFO: Extracted packet for processing {"connection_id":174017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":174017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:38:53] local.INFO: GPS data processed {"connection_id":174017,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:38:53] local.INFO: Acknowledgment sent {"connection_id":174017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:38:58] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:58] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:38:58] local.INFO: Packet analysis {"connection_id":174017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:38:58] local.INFO: Extracted packet for processing {"connection_id":174017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:38:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:38:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":174017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:38:58] local.INFO: GPS data processed {"connection_id":174017,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:38:58] local.INFO: Acknowledgment sent {"connection_id":174017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:39:43] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:39:43] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:39:43] local.INFO: IMEI packet received {"connection_id":174262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":174262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:39:48] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:39:48] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:39:48] local.INFO: IMEI packet received {"connection_id":174262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":174262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:39:49] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:39:49] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:39:49] local.INFO: Packet analysis {"connection_id":174262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:39:49] local.INFO: Extracted packet for processing {"connection_id":174262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:39: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-09-08 03:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:39: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-09-08 03:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:39:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":174262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:39:49] local.INFO: GPS data processed {"connection_id":174262,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:39:49] local.INFO: Acknowledgment sent {"connection_id":174262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:40:20] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:40:20] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07de74e50012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:40:20] local.INFO: Packet analysis {"connection_id":174262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:40:20] local.INFO: Extracted packet for processing {"connection_id":174262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07de7"} 
[2026-09-08 03:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937511680001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788818706000,"timestamp_ms":1788818706000,"timestamp_seconds":1788818706,"priority":1,"record_length":96,"hex_timestamp":"000001a07de74e50"} 
[2026-09-08 03:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:40: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-09-08 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 03:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:40: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-09-08 03:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937511680001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937511680001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937511680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":174262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:40:20] local.INFO: GPS data processed {"connection_id":174262,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:40:20] local.INFO: Acknowledgment sent {"connection_id":174262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:40:43] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:40:43] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:40:43] local.INFO: IMEI packet received {"connection_id":174020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":174020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:40:45] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:40:45] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:40:45] local.INFO: IMEI packet received {"connection_id":174020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":174020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:40:45] local.INFO: TCP Data received {"connection_id":175359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:40:45] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:40:45] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:40:45] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:40:45] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:40:45] local.INFO: Packet analysis {"connection_id":174020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:40:45] local.INFO: Extracted packet for processing {"connection_id":174020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:40: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-09-08 03:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:40: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-09-08 03:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":174020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:40:45] local.INFO: GPS data processed {"connection_id":174020,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:40:45] local.INFO: Acknowledgment sent {"connection_id":174020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:41:17] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:41:17] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:41:17] local.INFO: Packet analysis {"connection_id":174020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:41:17] local.INFO: Extracted packet for processing {"connection_id":174020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:41: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-09-08 03:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:41: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-09-08 03:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":174020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:41:17] local.INFO: GPS data processed {"connection_id":174020,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:41:17] local.INFO: Acknowledgment sent {"connection_id":174020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:41:43] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:41:43] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:41:43] local.INFO: IMEI packet received {"connection_id":174021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":174021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:41:48] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:41:48] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:41:48] local.INFO: IMEI packet received {"connection_id":174021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:41:49] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:41:49] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:41:49] local.INFO: Packet analysis {"connection_id":174021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:41:49] local.INFO: Extracted packet for processing {"connection_id":174021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:41: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-09-08 03:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:41: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-09-08 03:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:41:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":174021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:41:49] local.INFO: GPS data processed {"connection_id":174021,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:41:49] local.INFO: Acknowledgment sent {"connection_id":174021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:42:20] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:42:20] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:42:20] local.INFO: Packet analysis {"connection_id":174021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:42:20] local.INFO: Extracted packet for processing {"connection_id":174021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:42: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-09-08 03:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:42: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-09-08 03:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":174021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:42:20] local.INFO: GPS data processed {"connection_id":174021,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:42:20] local.INFO: Acknowledgment sent {"connection_id":174021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:42:43] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:42:43] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:42:43] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:42:48] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:42:48] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:42:48] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:42:49] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:42:49] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:42:49] local.INFO: Packet analysis {"connection_id":175360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:42:49] local.INFO: Extracted packet for processing {"connection_id":175360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:42: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-09-08 03:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:42: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-09-08 03:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":175360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:42:49] local.INFO: GPS data processed {"connection_id":175360,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:42:49] local.INFO: Acknowledgment sent {"connection_id":175360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:43:21] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:21] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:21] local.INFO: Packet analysis {"connection_id":175360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:43:21] local.INFO: Extracted packet for processing {"connection_id":175360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:43: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-09-08 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:43: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-09-08 03:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:43:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":175360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:43:21] local.INFO: GPS data processed {"connection_id":175360,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:43:21] local.INFO: Acknowledgment sent {"connection_id":175360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:43:48] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:43:48] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:43:48] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:43:53] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:43:53] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:43:53] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:43:54] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:54] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:54] local.INFO: Packet analysis {"connection_id":174263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:43:54] local.INFO: Extracted packet for processing {"connection_id":174263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":174263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:43:54] local.INFO: GPS data processed {"connection_id":174263,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:43:54] local.INFO: Acknowledgment sent {"connection_id":174263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:43:58] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:58] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:43:58] local.INFO: Packet analysis {"connection_id":174263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:43:58] local.INFO: Extracted packet for processing {"connection_id":174263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:43:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:43:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":174263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:43:59] local.INFO: GPS data processed {"connection_id":174263,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:43:59] local.INFO: Acknowledgment sent {"connection_id":174263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:44:43] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:44:43] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:44:43] local.INFO: IMEI packet received {"connection_id":175361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":175361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:44:48] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:44:48] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:44:48] local.INFO: IMEI packet received {"connection_id":175361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":175361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:44:48] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:44:48] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:44:48] local.INFO: Packet analysis {"connection_id":175361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:44:48] local.INFO: Extracted packet for processing {"connection_id":175361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:44: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-09-08 03:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:44: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-09-08 03:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":175361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:44:48] local.INFO: GPS data processed {"connection_id":175361,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:44:48] local.INFO: Acknowledgment sent {"connection_id":175361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:45:20] local.INFO: TCP Data received {"connection_id":175361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:45:20] local.INFO: Processing buffer {"connection_id":175361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07debe618012d34c58006aa42a8000a011522..."} 
[2026-09-08 03:45:20] local.INFO: Packet analysis {"connection_id":175361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:45:20] local.INFO: Extracted packet for processing {"connection_id":175361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07deb"} 
[2026-09-08 03:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937588736001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819007000,"timestamp_ms":1788819007000,"timestamp_seconds":1788819007,"priority":1,"record_length":96,"hex_timestamp":"000001a07debe618"} 
[2026-09-08 03:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:45: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-09-08 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 03:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:45: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-09-08 03:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937588736001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937588736001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937588736001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":175361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:45:20] local.INFO: GPS data processed {"connection_id":175361,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:45:20] local.INFO: Acknowledgment sent {"connection_id":175361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:45:43] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:45:43] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:45:43] local.INFO: IMEI packet received {"connection_id":174022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":174022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:45:46] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:45:46] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:45:46] local.INFO: IMEI packet received {"connection_id":174022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:45:48] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:45:48] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:45:48] local.INFO: Packet analysis {"connection_id":174022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:45:48] local.INFO: Extracted packet for processing {"connection_id":174022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:45: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:45: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-09-08 03:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":174022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:45:48] local.INFO: GPS data processed {"connection_id":174022,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:45:48] local.INFO: Acknowledgment sent {"connection_id":174022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:46:10] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:46:10] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:46:10] local.INFO: IMEI packet received {"connection_id":174265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":174265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:46:19] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:46:19] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:46:19] local.INFO: Packet analysis {"connection_id":174022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:46:19] local.INFO: Extracted packet for processing {"connection_id":174022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:46: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-09-08 03:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":174022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:46:19] local.INFO: GPS data processed {"connection_id":174022,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:46:19] local.INFO: Acknowledgment sent {"connection_id":174022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:46:43] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:46:43] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:46:43] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:46:48] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:46:48] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:46:48] local.INFO: IMEI packet received {"connection_id":176768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":176768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:46:48] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:46:48] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:46:48] local.INFO: Packet analysis {"connection_id":176768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:46:48] local.INFO: Extracted packet for processing {"connection_id":176768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:46: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-09-08 03:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:46: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-09-08 03:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":176768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:46:48] local.INFO: GPS data processed {"connection_id":176768,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:46:48] local.INFO: Acknowledgment sent {"connection_id":176768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:47:20] local.INFO: TCP Data received {"connection_id":176768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:47:20] local.INFO: Processing buffer {"connection_id":176768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:47:20] local.INFO: Packet analysis {"connection_id":176768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:47:20] local.INFO: Extracted packet for processing {"connection_id":176768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:47: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:47: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-09-08 03:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":176768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:47:20] local.INFO: GPS data processed {"connection_id":176768,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:47:20] local.INFO: Acknowledgment sent {"connection_id":176768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:47:43] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:47:43] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:47:43] local.INFO: IMEI packet received {"connection_id":174025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":174025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:47:48] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:47:48] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:47:48] local.INFO: IMEI packet received {"connection_id":174025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":174025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:47:49] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:47:49] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:47:49] local.INFO: Packet analysis {"connection_id":174025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:47:49] local.INFO: Extracted packet for processing {"connection_id":174025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:47: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:47: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-09-08 03:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":174025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:47:49] local.INFO: GPS data processed {"connection_id":174025,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:47:49] local.INFO: Acknowledgment sent {"connection_id":174025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:48:20] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:48:20] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:48:20] local.INFO: Packet analysis {"connection_id":174025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:48:20] local.INFO: Extracted packet for processing {"connection_id":174025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:48: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":174025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:48:20] local.INFO: GPS data processed {"connection_id":174025,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:48:20] local.INFO: Acknowledgment sent {"connection_id":174025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:48:43] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:48:43] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:48:43] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:48:48] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:48:48] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:48:48] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:48:48] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:48:48] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:48:48] local.INFO: Packet analysis {"connection_id":175362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:48:48] local.INFO: Extracted packet for processing {"connection_id":175362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 03:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 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-09-08 03:48: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-09-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 03:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:48: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-09-08 03:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":175362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:48:48] local.INFO: GPS data processed {"connection_id":175362,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:48:48] local.INFO: Acknowledgment sent {"connection_id":175362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:49:19] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:49:19] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:49:19] local.INFO: Packet analysis {"connection_id":175362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:49:19] local.INFO: Extracted packet for processing {"connection_id":175362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:49: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-09-08 03:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":175362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:49:19] local.INFO: GPS data processed {"connection_id":175362,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:49:19] local.INFO: Acknowledgment sent {"connection_id":175362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:49:48] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:49:48] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:49:48] local.INFO: IMEI packet received {"connection_id":176771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":176771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:49:53] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:49:53] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:49:53] local.INFO: IMEI packet received {"connection_id":176771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":176771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:49:54] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:49:54] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:49:54] local.INFO: Packet analysis {"connection_id":176771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:49:54] local.INFO: Extracted packet for processing {"connection_id":176771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":176771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:49:54] local.INFO: GPS data processed {"connection_id":176771,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:49:54] local.INFO: Acknowledgment sent {"connection_id":176771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:50:26] local.INFO: TCP Data received {"connection_id":176771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:50:26] local.INFO: Processing buffer {"connection_id":176771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df07de0012d34c58006aa42a8000a011526..."} 
[2026-09-08 03:50:26] local.INFO: Packet analysis {"connection_id":176771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:50:26] local.INFO: Extracted packet for processing {"connection_id":176771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df0"} 
[2026-09-08 03:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937665792001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788819308000,"timestamp_ms":1788819308000,"timestamp_seconds":1788819308,"priority":1,"record_length":96,"hex_timestamp":"000001a07df07de0"} 
[2026-09-08 03:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:50: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-09-08 03:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937665792001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937665792001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:50:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937665792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":176771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:50:26] local.INFO: GPS data processed {"connection_id":176771,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:50:26] local.INFO: Acknowledgment sent {"connection_id":176771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:50:43] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:50:43] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:50:43] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:50:47] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:50:47] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:50:47] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:50:48] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:50:48] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:50:48] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:50:48] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:50: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-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:50: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-09-08 03:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:50:48] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:50:48] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:51:19] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:51:19] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:51:19] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:51:19] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:51: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-09-08 03:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:51:19] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:51:19] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:51:43] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:51:43] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:51:43] local.INFO: IMEI packet received {"connection_id":174026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":174026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:51:48] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:51:48] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:51:48] local.INFO: IMEI packet received {"connection_id":174026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":174026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:51:49] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:51:49] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:51:49] local.INFO: Packet analysis {"connection_id":174026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:51:49] local.INFO: Extracted packet for processing {"connection_id":174026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:51: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-09-08 03:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:51: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-09-08 03:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":174026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:51:49] local.INFO: GPS data processed {"connection_id":174026,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:51:49] local.INFO: Acknowledgment sent {"connection_id":174026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:51:50] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:51:50] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:51:50] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:52:20] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:52:20] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:52:20] local.INFO: Packet analysis {"connection_id":174026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:52:20] local.INFO: Extracted packet for processing {"connection_id":174026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:52: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-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03: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-09-08 03:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":174026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:52:20] local.INFO: GPS data processed {"connection_id":174026,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:52:20] local.INFO: Acknowledgment sent {"connection_id":174026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:52:43] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:52:43] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:52:43] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:52:48] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:52:48] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:52:48] local.INFO: IMEI packet received {"connection_id":176772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":176772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:52:49] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:52:49] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:52:49] local.INFO: Packet analysis {"connection_id":176772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:52:49] local.INFO: Extracted packet for processing {"connection_id":176772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:52: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-09-08 03:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:52: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-09-08 03:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":176772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:52:49] local.INFO: GPS data processed {"connection_id":176772,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:52:49] local.INFO: Acknowledgment sent {"connection_id":176772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:53:20] local.INFO: TCP Data received {"connection_id":176772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:53:20] local.INFO: Processing buffer {"connection_id":176772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:53:20] local.INFO: Packet analysis {"connection_id":176772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:53:20] local.INFO: Extracted packet for processing {"connection_id":176772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:53: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-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:53: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-09-08 03:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":176772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:53:20] local.INFO: GPS data processed {"connection_id":176772,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:53:20] local.INFO: Acknowledgment sent {"connection_id":176772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:53:43] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:53:43] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:53:43] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:53:48] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:53:48] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:53:48] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:53:49] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:53:49] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:53:49] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:53:49] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:53: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-09-08 03:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:53: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-09-08 03:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:53:49] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:53:49] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:54:20] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:54:20] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:54:20] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:54:20] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:54: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-09-08 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:54: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-09-08 03:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:54:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:54:20] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:54:20] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:54:43] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:54:43] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:54:43] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:54:48] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:54:48] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:54:48] local.INFO: IMEI packet received {"connection_id":176773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":176773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:54:49] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:54:49] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:54:49] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:54:49] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:54: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-09-08 03:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:54: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-09-08 03:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:54:49] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:54:49] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:55:20] local.INFO: TCP Data received {"connection_id":176773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:55:20] local.INFO: Processing buffer {"connection_id":176773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df515a8012d34c58006aa42a8000a011528..."} 
[2026-09-08 03:55:20] local.INFO: Packet analysis {"connection_id":176773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:55:20] local.INFO: Extracted packet for processing {"connection_id":176773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df5"} 
[2026-09-08 03:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937742848001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819609000,"timestamp_ms":1788819609000,"timestamp_seconds":1788819609,"priority":1,"record_length":96,"hex_timestamp":"000001a07df515a8"} 
[2026-09-08 03:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:55: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-09-08 03:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 03:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:55: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-09-08 03:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937742848001,"66":25647,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937742848001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937742848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":176773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:55:20] local.INFO: GPS data processed {"connection_id":176773,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:55:20] local.INFO: Acknowledgment sent {"connection_id":176773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:55:48] local.INFO: TCP Data received {"connection_id":176774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:48] local.INFO: Processing buffer {"connection_id":176774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:48] local.INFO: IMEI packet received {"connection_id":176774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":176774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:55:48] local.INFO: TCP Data received {"connection_id":176774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:48] local.INFO: Processing buffer {"connection_id":176774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:48] local.INFO: IMEI packet received {"connection_id":176774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":176774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:55:53] local.INFO: TCP Data received {"connection_id":176774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:53] local.INFO: Processing buffer {"connection_id":176774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:55:53] local.INFO: IMEI packet received {"connection_id":176774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":176774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:55:56] local.INFO: TCP Data received {"connection_id":176774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:55:56] local.INFO: Processing buffer {"connection_id":176774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:55:56] local.INFO: Packet analysis {"connection_id":176774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:55:56] local.INFO: Extracted packet for processing {"connection_id":176774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:55:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:55:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:55:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":176774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:55:56] local.INFO: GPS data processed {"connection_id":176774,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:55:56] local.INFO: Acknowledgment sent {"connection_id":176774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:55:58] local.INFO: TCP Data received {"connection_id":176774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:55:58] local.INFO: Processing buffer {"connection_id":176774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:55:58] local.INFO: Packet analysis {"connection_id":176774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:55:58] local.INFO: Extracted packet for processing {"connection_id":176774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 03:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 03:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:55:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:55:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":176774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:55:58] local.INFO: GPS data processed {"connection_id":176774,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:55:58] local.INFO: Acknowledgment sent {"connection_id":176774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:56:43] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:56:43] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:56:43] local.INFO: IMEI packet received {"connection_id":174028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":174028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:56:48] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:56:48] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:56:48] local.INFO: IMEI packet received {"connection_id":174028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:56:49] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:56:49] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:56:49] local.INFO: Packet analysis {"connection_id":174028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:56:49] local.INFO: Extracted packet for processing {"connection_id":174028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:56: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-09-08 03:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:56: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-09-08 03:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:56:49] local.INFO: GPS data processed {"connection_id":174028,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:56:49] local.INFO: Acknowledgment sent {"connection_id":174028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:57:20] local.INFO: TCP Data received {"connection_id":176775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:57:20] local.INFO: Processing buffer {"connection_id":176775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:57:20] local.INFO: IMEI packet received {"connection_id":176775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":176775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:57:20] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:57:20] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:57:20] local.INFO: Packet analysis {"connection_id":174028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:57:20] local.INFO: Extracted packet for processing {"connection_id":174028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:57: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-09-08 03:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:57: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-09-08 03:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:57:20] local.INFO: GPS data processed {"connection_id":174028,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:57:20] local.INFO: Acknowledgment sent {"connection_id":174028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:57:43] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:57:43] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:57:43] local.INFO: IMEI packet received {"connection_id":174270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":174270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:57:45] local.INFO: TCP Data received {"connection_id":176776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:57:45] local.INFO: Processing buffer {"connection_id":176776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 03:57:45] local.INFO: IMEI packet received {"connection_id":176776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 03:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:57:48] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:57:48] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:57:48] local.INFO: IMEI packet received {"connection_id":174270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:57:49] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:57:49] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:57:49] local.INFO: Packet analysis {"connection_id":174270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:57:49] local.INFO: Extracted packet for processing {"connection_id":174270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:57: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-09-08 03:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:57: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-09-08 03:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":174270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:57:49] local.INFO: GPS data processed {"connection_id":174270,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:57:49] local.INFO: Acknowledgment sent {"connection_id":174270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:58:20] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:58:20] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:58:20] local.INFO: Packet analysis {"connection_id":174270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:58:20] local.INFO: Extracted packet for processing {"connection_id":174270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03: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-09-08 03:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:58: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03: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-09-08 03:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:58: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-09-08 03:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":174270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:58:20] local.INFO: GPS data processed {"connection_id":174270,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:58:20] local.INFO: Acknowledgment sent {"connection_id":174270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:58:43] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:58:43] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:58:43] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:58:48] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:58:48] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:58:48] local.INFO: IMEI packet received {"connection_id":176777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":176777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:58:48] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:58:48] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:58:48] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:58:48] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:58: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-09-08 03:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:58: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-09-08 03:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:58:48] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:58:48] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:59:22] local.INFO: TCP Data received {"connection_id":176777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:59:22] local.INFO: Processing buffer {"connection_id":176777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:59:22] local.INFO: Packet analysis {"connection_id":176777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:59:22] local.INFO: Extracted packet for processing {"connection_id":176777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:59: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-09-08 03:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:59: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-09-08 03:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":176777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:59:22] local.INFO: GPS data processed {"connection_id":176777,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:59:22] local.INFO: Acknowledgment sent {"connection_id":176777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 03:59:43] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:59:43] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:59:43] local.INFO: IMEI packet received {"connection_id":174272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 03:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":174272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 03:59:48] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:59:48] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 03:59:48] local.INFO: IMEI packet received {"connection_id":174272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 03:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":174272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 03:59:49] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:59:49] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 03:59:49] local.INFO: Packet analysis {"connection_id":174272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:59:49] local.INFO: Extracted packet for processing {"connection_id":174272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 03:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 03:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 03:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 03:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 03:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 03:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 03:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 03:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 03:59: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-09-08 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 03:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 03:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 03:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 03:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 03:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 03:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 03:59: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-09-08 03:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 03:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 03:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 03:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 03:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 03:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 03:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 03:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 03:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 03:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 03:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 03:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":174272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 03:59:49] local.INFO: GPS data processed {"connection_id":174272,"processed":1,"errors":0,"total":1} 
[2026-09-08 03:59:49] local.INFO: Acknowledgment sent {"connection_id":174272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:00:20] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 04:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 04:00:20] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 04:00:20] local.INFO: Packet analysis {"connection_id":174272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 04:00:20] local.INFO: Extracted packet for processing {"connection_id":174272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 04:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 04:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:00: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-09-08 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 04:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:00: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-09-08 04:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:00:20] local.INFO: GPS data processed {"connection_id":174272,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:00:20] local.INFO: Acknowledgment sent {"connection_id":174272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:00:43] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:00:43] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:00:43] local.INFO: IMEI packet received {"connection_id":175366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":175366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:00:48] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:00:48] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:00:48] local.INFO: IMEI packet received {"connection_id":175366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":175366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:00:49] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 04:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 04:00:49] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07df9ad70012d34c58006aa42a80016011528..."} 
[2026-09-08 04:00:49] local.INFO: Packet analysis {"connection_id":175366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 04:00:49] local.INFO: Extracted packet for processing {"connection_id":175366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07df9"} 
[2026-09-08 04:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937819904001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788819910000,"timestamp_ms":1788819910000,"timestamp_seconds":1788819910,"priority":1,"record_length":96,"hex_timestamp":"000001a07df9ad70"} 
[2026-09-08 04:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:00: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-09-08 04:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 04:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:00: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-09-08 04:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937819904001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937819904001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937819904001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":175366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:00:49] local.INFO: GPS data processed {"connection_id":175366,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:00:49] local.INFO: Acknowledgment sent {"connection_id":175366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:01:20] local.INFO: TCP Data received {"connection_id":175366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:01:20] local.INFO: Processing buffer {"connection_id":175366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:01:20] local.INFO: Packet analysis {"connection_id":175366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:01:20] local.INFO: Extracted packet for processing {"connection_id":175366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:01: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-09-08 04:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:01: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-09-08 04:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":175366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:01:20] local.INFO: GPS data processed {"connection_id":175366,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:01:20] local.INFO: Acknowledgment sent {"connection_id":175366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:01:43] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:01:43] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:01:43] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:01:48] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:01:48] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:01:48] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:01:49] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:01:49] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:01:49] local.INFO: Packet analysis {"connection_id":174274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:01:49] local.INFO: Extracted packet for processing {"connection_id":174274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:01: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:01: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-09-08 04:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":174274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:01:49] local.INFO: GPS data processed {"connection_id":174274,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:01:49] local.INFO: Acknowledgment sent {"connection_id":174274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:02:20] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:02:20] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:02:20] local.INFO: Packet analysis {"connection_id":174274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:02:20] local.INFO: Extracted packet for processing {"connection_id":174274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:02: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:02: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-09-08 04:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":174274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:02:20] local.INFO: GPS data processed {"connection_id":174274,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:02:20] local.INFO: Acknowledgment sent {"connection_id":174274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:02:43] local.INFO: TCP Data received {"connection_id":175368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:02:43] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:02:43] local.INFO: IMEI packet received {"connection_id":175368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":175368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:02:48] local.INFO: TCP Data received {"connection_id":175368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:02:48] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:02:48] local.INFO: IMEI packet received {"connection_id":175368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:02:48] local.INFO: TCP Data received {"connection_id":175368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:02:48] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:02:48] local.INFO: Packet analysis {"connection_id":175368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:02:48] local.INFO: Extracted packet for processing {"connection_id":175368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:02: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-09-08 04:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:02: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-09-08 04:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":175368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:02:48] local.INFO: GPS data processed {"connection_id":175368,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:02:48] local.INFO: Acknowledgment sent {"connection_id":175368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:03:20] local.INFO: TCP Data received {"connection_id":175368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:03:20] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:03:20] local.INFO: Packet analysis {"connection_id":175368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:03:20] local.INFO: Extracted packet for processing {"connection_id":175368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:03: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:03: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-09-08 04:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":175368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:03:20] local.INFO: GPS data processed {"connection_id":175368,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:03:20] local.INFO: Acknowledgment sent {"connection_id":175368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:03:25] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:03:25] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:03:25] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:03:43] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:03:43] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:03:43] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:03:45] local.INFO: TCP Data received {"connection_id":176779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:03:45] local.INFO: Processing buffer {"connection_id":176779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:03:45] local.INFO: IMEI packet received {"connection_id":176779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":176779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:03:48] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:03:48] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:03:48] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:03:49] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:03:49] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:03:49] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:03:49] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:03: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-09-08 04:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:03: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-09-08 04:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:03:49] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:03:49] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:04:20] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:04:20] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:04:20] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:04:20] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:04: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:04: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-09-08 04:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:04:20] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:04:20] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:04:43] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:04:43] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:04:43] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:04:48] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:04:48] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:04:48] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:04:48] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:04:48] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:04:48] local.INFO: Packet analysis {"connection_id":174029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:04:48] local.INFO: Extracted packet for processing {"connection_id":174029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:04: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-09-08 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:04: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-09-08 04:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":174029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:04:48] local.INFO: GPS data processed {"connection_id":174029,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:04:48] local.INFO: Acknowledgment sent {"connection_id":174029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:05:19] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:05:19] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:05:19] local.INFO: Packet analysis {"connection_id":174029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:05:19] local.INFO: Extracted packet for processing {"connection_id":174029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:05: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-09-08 04:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":174029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:05:19] local.INFO: GPS data processed {"connection_id":174029,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:05:19] local.INFO: Acknowledgment sent {"connection_id":174029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:05:43] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:05:43] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:05:43] local.INFO: IMEI packet received {"connection_id":174278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":174278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:05:48] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:05:48] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:05:48] local.INFO: IMEI packet received {"connection_id":174278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":174278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:05:49] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:05:49] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07dfe4538012d34c58006aa42a80016011525..."} 
[2026-09-08 04:05:49] local.INFO: Packet analysis {"connection_id":174278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:05:49] local.INFO: Extracted packet for processing {"connection_id":174278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07dfe"} 
[2026-09-08 04:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937896960001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820211000,"timestamp_ms":1788820211000,"timestamp_seconds":1788820211,"priority":1,"record_length":96,"hex_timestamp":"000001a07dfe4538"} 
[2026-09-08 04:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:05: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-09-08 04:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937896960001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937896960001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937896960001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:05:49] local.INFO: GPS data processed {"connection_id":174278,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:05:49] local.INFO: Acknowledgment sent {"connection_id":174278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:06:20] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:06:20] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:06:20] local.INFO: Packet analysis {"connection_id":174278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:06:20] local.INFO: Extracted packet for processing {"connection_id":174278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04: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-09-08 04: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:06: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-09-08 04:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":174278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:06:20] local.INFO: GPS data processed {"connection_id":174278,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:06:20] local.INFO: Acknowledgment sent {"connection_id":174278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:06:48] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:06:48] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:06:48] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:06:53] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:06:53] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:06:53] local.INFO: IMEI packet received {"connection_id":176780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":176780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:06:54] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:06:54] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:06:54] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:06:54] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:06:54] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:06:54] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:07:25] local.INFO: TCP Data received {"connection_id":176780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:07:25] local.INFO: Processing buffer {"connection_id":176780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:07:25] local.INFO: Packet analysis {"connection_id":176780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:07:25] local.INFO: Extracted packet for processing {"connection_id":176780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":176780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:07:25] local.INFO: GPS data processed {"connection_id":176780,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:07:25] local.INFO: Acknowledgment sent {"connection_id":176780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:07:43] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:07:43] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:07:43] local.INFO: IMEI packet received {"connection_id":174279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":174279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:07:48] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:07:48] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:07:48] local.INFO: IMEI packet received {"connection_id":174279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":174279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:07:49] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:07:49] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:07:49] local.INFO: Packet analysis {"connection_id":174279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:07:49] local.INFO: Extracted packet for processing {"connection_id":174279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:07: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-09-08 04:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:07: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-09-08 04:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":174279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:07:49] local.INFO: GPS data processed {"connection_id":174279,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:07:49] local.INFO: Acknowledgment sent {"connection_id":174279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:08:20] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:08:20] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:08:20] local.INFO: Packet analysis {"connection_id":174279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:08:20] local.INFO: Extracted packet for processing {"connection_id":174279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:08: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-09-08 04: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:08: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-09-08 04:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":174279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:08:20] local.INFO: GPS data processed {"connection_id":174279,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:08:20] local.INFO: Acknowledgment sent {"connection_id":174279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:08:43] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:08:43] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:08:43] local.INFO: IMEI packet received {"connection_id":175373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:08:48] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:08:48] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:08:48] local.INFO: IMEI packet received {"connection_id":175373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:08:49] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:08:49] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:08:49] local.INFO: Packet analysis {"connection_id":175373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:08:49] local.INFO: Extracted packet for processing {"connection_id":175373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:08: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-09-08 04:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:08: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-09-08 04:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":175373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:08:49] local.INFO: GPS data processed {"connection_id":175373,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:08:49] local.INFO: Acknowledgment sent {"connection_id":175373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:09:05] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:09:05] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:09:05] local.INFO: IMEI packet received {"connection_id":174030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":174030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:09:20] local.INFO: TCP Data received {"connection_id":175373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:09:20] local.INFO: Processing buffer {"connection_id":175373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:09:20] local.INFO: Packet analysis {"connection_id":175373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:09:20] local.INFO: Extracted packet for processing {"connection_id":175373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:09: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-09-08 04:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:09: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-09-08 04:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":175373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:09:20] local.INFO: GPS data processed {"connection_id":175373,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:09:20] local.INFO: Acknowledgment sent {"connection_id":175373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:09:43] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:09:43] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:09:43] local.INFO: IMEI packet received {"connection_id":174280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":174280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:09:48] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:09:48] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:09:48] local.INFO: IMEI packet received {"connection_id":174280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:09:49] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:09:49] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:09:49] local.INFO: Packet analysis {"connection_id":174280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:09:49] local.INFO: Extracted packet for processing {"connection_id":174280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:09: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-09-08 04:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:09: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-09-08 04:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":174280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:09:49] local.INFO: GPS data processed {"connection_id":174280,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:09:49] local.INFO: Acknowledgment sent {"connection_id":174280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:10:20] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:10:20] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:10:20] local.INFO: Packet analysis {"connection_id":174280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:10:20] local.INFO: Extracted packet for processing {"connection_id":174280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:10: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-09-08 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:10: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-09-08 04:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":174280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:10:20] local.INFO: GPS data processed {"connection_id":174280,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:10:20] local.INFO: Acknowledgment sent {"connection_id":174280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:10:43] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:10:43] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:10:43] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:10:48] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:10:48] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:10:48] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:10:49] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:10:49] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e02dd00012d34c58006aa42a8000b01152a..."} 
[2026-09-08 04:10:49] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:10:49] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e02"} 
[2026-09-08 04:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457937974016001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820512000,"timestamp_ms":1788820512000,"timestamp_seconds":1788820512,"priority":1,"record_length":96,"hex_timestamp":"000001a07e02dd00"} 
[2026-09-08 04:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:10: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-09-08 04:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:10: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-09-08 04:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457937974016001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457937974016001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457937974016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:10:49] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:10:49] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:11:20] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:20] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:20] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:11:20] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:11: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-09-08 04:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:11: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-09-08 04:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:11:20] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:11:20] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:11:48] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:11:48] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:11:48] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:11:53] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:11:53] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:11:53] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:11:54] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:54] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:54] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:11:54] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:11:54] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:11:54] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:11:58] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:58] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:11:58] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:11:58] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:11:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:11:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:11:58] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:11:58] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:12:03] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:12:03] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:12:03] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:12:03] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:12:03] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:12:03] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:12:43] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:12:43] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:12:43] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:12:48] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:12:48] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:12:48] local.INFO: IMEI packet received {"connection_id":176782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":176782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:12:49] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:12:49] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:12:49] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:12:49] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:12: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-09-08 04:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:12: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-09-08 04:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:12:49] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:12:49] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:13:20] local.INFO: TCP Data received {"connection_id":176782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:13:20] local.INFO: Processing buffer {"connection_id":176782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:13:20] local.INFO: Packet analysis {"connection_id":176782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:13:20] local.INFO: Extracted packet for processing {"connection_id":176782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:13: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:13: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-09-08 04:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":176782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:13:20] local.INFO: GPS data processed {"connection_id":176782,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:13:20] local.INFO: Acknowledgment sent {"connection_id":176782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:13:43] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:13:43] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:13:43] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:13:48] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:13:48] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:13:48] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:13:49] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:13:49] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:13:49] local.INFO: Packet analysis {"connection_id":174283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:13:49] local.INFO: Extracted packet for processing {"connection_id":174283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:13: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-09-08 04:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:13: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-09-08 04:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":174283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:13:49] local.INFO: GPS data processed {"connection_id":174283,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:13:49] local.INFO: Acknowledgment sent {"connection_id":174283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:14:20] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:14:20] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:14:20] local.INFO: Packet analysis {"connection_id":174283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:14:20] local.INFO: Extracted packet for processing {"connection_id":174283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:14: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:14: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-09-08 04:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":174283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:14:20] local.INFO: GPS data processed {"connection_id":174283,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:14:20] local.INFO: Acknowledgment sent {"connection_id":174283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:14:42] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:14:42] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:14:42] local.INFO: IMEI packet received {"connection_id":176784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":176784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:14:45] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:14:45] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:14:45] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:14:47] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:14:47] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:14:47] local.INFO: IMEI packet received {"connection_id":176784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":176784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:14:48] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:14:48] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:14:48] local.INFO: Packet analysis {"connection_id":176784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:14:48] local.INFO: Extracted packet for processing {"connection_id":176784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:14: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:14: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-09-08 04:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":176784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:14:48] local.INFO: GPS data processed {"connection_id":176784,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:14:48] local.INFO: Acknowledgment sent {"connection_id":176784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:15:19] local.INFO: TCP Data received {"connection_id":176784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:15:19] local.INFO: Processing buffer {"connection_id":176784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:15:19] local.INFO: Packet analysis {"connection_id":176784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:15:19] local.INFO: Extracted packet for processing {"connection_id":176784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:15: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-09-08 04:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:15:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":176784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:15:19] local.INFO: GPS data processed {"connection_id":176784,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:15:19] local.INFO: Acknowledgment sent {"connection_id":176784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:15:43] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:15:43] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:15:43] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:15:48] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:15:48] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:15:48] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:15:49] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:15:49] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0774c8012d34c58006aa42a8000b011527..."} 
[2026-09-08 04:15:49] local.INFO: Packet analysis {"connection_id":175375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:15:49] local.INFO: Extracted packet for processing {"connection_id":175375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e07"} 
[2026-09-08 04:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938051072001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788820813000,"timestamp_ms":1788820813000,"timestamp_seconds":1788820813,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0774c8"} 
[2026-09-08 04:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:15: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:15: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-09-08 04:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938051072001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938051072001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938051072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":175375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:15:49] local.INFO: GPS data processed {"connection_id":175375,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:15:49] local.INFO: Acknowledgment sent {"connection_id":175375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:16:21] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:16:21] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:16:21] local.INFO: Packet analysis {"connection_id":175375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:16:21] local.INFO: Extracted packet for processing {"connection_id":175375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 04:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 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-09-08 04:16: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-09-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 04:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:16: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-09-08 04:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":175375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:16:21] local.INFO: GPS data processed {"connection_id":175375,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:16:21] local.INFO: Acknowledgment sent {"connection_id":175375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:16:43] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:16:43] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:16:43] local.INFO: IMEI packet received {"connection_id":174034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":174034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:16:48] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:16:48] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:16:48] local.INFO: IMEI packet received {"connection_id":174034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":174034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:16:50] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:16:50] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:16:50] local.INFO: Packet analysis {"connection_id":174034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:16:50] local.INFO: Extracted packet for processing {"connection_id":174034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":174034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:16:50] local.INFO: GPS data processed {"connection_id":174034,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:16:50] local.INFO: Acknowledgment sent {"connection_id":174034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:17:21] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:17:21] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:17:21] local.INFO: Packet analysis {"connection_id":174034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:17:21] local.INFO: Extracted packet for processing {"connection_id":174034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:17: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-09-08 04:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:17: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-09-08 04:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:17:21] local.INFO: GPS data processed {"connection_id":174034,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:17:21] local.INFO: Acknowledgment sent {"connection_id":174034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:17:43] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:17:43] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:17:43] local.INFO: IMEI packet received {"connection_id":175377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":175377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:17:48] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:17:48] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:17:48] local.INFO: IMEI packet received {"connection_id":175377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":175377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:17:49] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:17:49] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:17:49] local.INFO: Packet analysis {"connection_id":175377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:17:49] local.INFO: Extracted packet for processing {"connection_id":175377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:17: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-09-08 04:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:17: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-09-08 04:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":175377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:17:49] local.INFO: GPS data processed {"connection_id":175377,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:17:49] local.INFO: Acknowledgment sent {"connection_id":175377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:18:20] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:18:20] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:18:20] local.INFO: Packet analysis {"connection_id":175377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:18:20] local.INFO: Extracted packet for processing {"connection_id":175377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:18: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:18: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-09-08 04:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":175377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:18:20] local.INFO: GPS data processed {"connection_id":175377,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:18:20] local.INFO: Acknowledgment sent {"connection_id":175377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:18:42] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:18:42] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:18:42] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:18:48] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:18:48] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:18:48] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:18:49] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:18:49] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:18:49] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:18:49] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:18: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-09-08 04:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:18: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-09-08 04:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:18:49] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:18:49] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:19:20] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:20] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:20] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:19:20] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:19: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-09-08 04:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:19: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-09-08 04:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:19:20] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:19:20] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:19:48] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:19:48] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:19:48] local.INFO: IMEI packet received {"connection_id":175378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:19:53] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:19:53] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:19:53] local.INFO: IMEI packet received {"connection_id":175378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:19:54] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:54] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:54] local.INFO: Packet analysis {"connection_id":175378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:19:54] local.INFO: Extracted packet for processing {"connection_id":175378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:19:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":175378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:19:54] local.INFO: GPS data processed {"connection_id":175378,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:19:54] local.INFO: Acknowledgment sent {"connection_id":175378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:19:59] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:59] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:19:59] local.INFO: Packet analysis {"connection_id":175378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:19:59] local.INFO: Extracted packet for processing {"connection_id":175378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":175378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:19:59] local.INFO: GPS data processed {"connection_id":175378,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:19:59] local.INFO: Acknowledgment sent {"connection_id":175378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:20:15] local.INFO: TCP Data received {"connection_id":174285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:20:15] local.INFO: Processing buffer {"connection_id":174285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:20:15] local.INFO: IMEI packet received {"connection_id":174285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":174285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:20:43] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:20:43] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:20:43] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:20:45] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:20:45] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:20:45] local.INFO: IMEI packet received {"connection_id":174286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":174286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:20:48] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:20:48] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:20:48] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:20:48] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:20:48] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e0c0c90012d34c58006aa42a8000b011526..."} 
[2026-09-08 04:20:48] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:20:48] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e0c"} 
[2026-09-08 04:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938128128001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788821114000,"timestamp_ms":1788821114000,"timestamp_seconds":1788821114,"priority":1,"record_length":96,"hex_timestamp":"000001a07e0c0c90"} 
[2026-09-08 04:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938128128001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938128128001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938128128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:20:48] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:20:48] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:21:19] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:21:19] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:21:19] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:21:19] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:21: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-09-08 04:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:21:20] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:21:20] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:21:42] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:21:42] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:21:42] local.INFO: IMEI packet received {"connection_id":176786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":176786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:21:48] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:21:48] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:21:48] local.INFO: IMEI packet received {"connection_id":176786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":176786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:21:49] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:21:49] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:21:49] local.INFO: Packet analysis {"connection_id":176786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:21:49] local.INFO: Extracted packet for processing {"connection_id":176786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:21: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:21: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-09-08 04:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":176786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:21:49] local.INFO: GPS data processed {"connection_id":176786,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:21:49] local.INFO: Acknowledgment sent {"connection_id":176786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:22:21] local.INFO: TCP Data received {"connection_id":176786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:22:21] local.INFO: Processing buffer {"connection_id":176786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:22:21] local.INFO: Packet analysis {"connection_id":176786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:22:21] local.INFO: Extracted packet for processing {"connection_id":176786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:22: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-09-08 04:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":176786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:22:21] local.INFO: GPS data processed {"connection_id":176786,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:22:21] local.INFO: Acknowledgment sent {"connection_id":176786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:22:42] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:22:42] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:22:42] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:22:48] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:22:48] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:22:48] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:22:48] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:22:48] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:22:48] local.INFO: Packet analysis {"connection_id":174038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:22:48] local.INFO: Extracted packet for processing {"connection_id":174038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:22: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-09-08 04:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:22: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-09-08 04:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":174038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:22:48] local.INFO: GPS data processed {"connection_id":174038,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:22:48] local.INFO: Acknowledgment sent {"connection_id":174038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:23:20] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:23:20] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:23:20] local.INFO: Packet analysis {"connection_id":174038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:23:20] local.INFO: Extracted packet for processing {"connection_id":174038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:23: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":174038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:23:20] local.INFO: GPS data processed {"connection_id":174038,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:23:20] local.INFO: Acknowledgment sent {"connection_id":174038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:23:42] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:23:42] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:23:42] local.INFO: IMEI packet received {"connection_id":174288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":174288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:23:48] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:23:48] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:23:48] local.INFO: IMEI packet received {"connection_id":174288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":174288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:23:49] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:23:49] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:23:49] local.INFO: Packet analysis {"connection_id":174288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:23:49] local.INFO: Extracted packet for processing {"connection_id":174288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:23: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-09-08 04:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:23: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-09-08 04:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:23:49] local.INFO: GPS data processed {"connection_id":174288,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:23:49] local.INFO: Acknowledgment sent {"connection_id":174288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:24:20] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:24:20] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:24:20] local.INFO: Packet analysis {"connection_id":174288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:24:20] local.INFO: Extracted packet for processing {"connection_id":174288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:24: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:24:20] local.INFO: GPS data processed {"connection_id":174288,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:24:20] local.INFO: Acknowledgment sent {"connection_id":174288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:24:48] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:24:48] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:24:48] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:24:53] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:24:53] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:24:53] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:24:54] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:24:54] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:24:54] local.INFO: Packet analysis {"connection_id":174040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:24:54] local.INFO: Extracted packet for processing {"connection_id":174040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":174040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:24:54] local.INFO: GPS data processed {"connection_id":174040,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:24:54] local.INFO: Acknowledgment sent {"connection_id":174040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:25:25] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:25:25] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:25:25] local.INFO: Packet analysis {"connection_id":174040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:25:25] local.INFO: Extracted packet for processing {"connection_id":174040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:25: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":174040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:25:25] local.INFO: GPS data processed {"connection_id":174040,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:25:25] local.INFO: Acknowledgment sent {"connection_id":174040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:25:43] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:25:43] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:25:43] local.INFO: IMEI packet received {"connection_id":175380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":175380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:25:48] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:25:48] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:25:48] local.INFO: IMEI packet received {"connection_id":175380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:25:49] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:25:49] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e10a458012d34c58006aa42a80016011524..."} 
[2026-09-08 04:25:49] local.INFO: Packet analysis {"connection_id":175380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:25:49] local.INFO: Extracted packet for processing {"connection_id":175380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e10"} 
[2026-09-08 04:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938205184001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821415000,"timestamp_ms":1788821415000,"timestamp_seconds":1788821415,"priority":1,"record_length":96,"hex_timestamp":"000001a07e10a458"} 
[2026-09-08 04:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:25: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-09-08 04:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:25: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-09-08 04:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938205184001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938205184001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938205184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":175380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:25:49] local.INFO: GPS data processed {"connection_id":175380,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:25:49] local.INFO: Acknowledgment sent {"connection_id":175380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:25:50] local.INFO: TCP Data received {"connection_id":176788,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:25:50] local.INFO: Processing buffer {"connection_id":176788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:25:50] local.INFO: IMEI packet received {"connection_id":176788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":176788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:26:20] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:26:20] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:26:20] local.INFO: Packet analysis {"connection_id":175380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:26:20] local.INFO: Extracted packet for processing {"connection_id":175380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:26: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-09-08 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:26: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-09-08 04:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:26:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":175380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:26:20] local.INFO: GPS data processed {"connection_id":175380,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:26:20] local.INFO: Acknowledgment sent {"connection_id":175380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:26:43] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:26:43] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:26:43] local.INFO: IMEI packet received {"connection_id":174041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":174041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:26:48] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:26:48] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:26:48] local.INFO: IMEI packet received {"connection_id":174041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":174041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:26:49] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:26:49] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:26:49] local.INFO: Packet analysis {"connection_id":174041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:26:49] local.INFO: Extracted packet for processing {"connection_id":174041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:26: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-09-08 04:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:26: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-09-08 04:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":174041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:26:49] local.INFO: GPS data processed {"connection_id":174041,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:26:49] local.INFO: Acknowledgment sent {"connection_id":174041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:27:20] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:27:20] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:27:20] local.INFO: Packet analysis {"connection_id":174041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:27:20] local.INFO: Extracted packet for processing {"connection_id":174041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:27: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-09-08 04:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:27: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-09-08 04:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":174041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:27:20] local.INFO: GPS data processed {"connection_id":174041,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:27:20] local.INFO: Acknowledgment sent {"connection_id":174041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:27:43] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:27:43] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:27:43] local.INFO: IMEI packet received {"connection_id":175381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:27:48] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:27:48] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:27:48] local.INFO: IMEI packet received {"connection_id":175381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":175381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:27:49] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:27:49] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:27:49] local.INFO: Packet analysis {"connection_id":175381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:27:49] local.INFO: Extracted packet for processing {"connection_id":175381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:27: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-09-08 04:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:27: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-09-08 04:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":175381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:27:49] local.INFO: GPS data processed {"connection_id":175381,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:27:49] local.INFO: Acknowledgment sent {"connection_id":175381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:28:20] local.INFO: TCP Data received {"connection_id":175381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:28:20] local.INFO: Processing buffer {"connection_id":175381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:28:20] local.INFO: Packet analysis {"connection_id":175381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:28:20] local.INFO: Extracted packet for processing {"connection_id":175381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:28: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-09-08 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":175381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:28:20] local.INFO: GPS data processed {"connection_id":175381,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:28:20] local.INFO: Acknowledgment sent {"connection_id":175381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:28:47] local.INFO: TCP Data received {"connection_id":174292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:28:47] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:28:47] local.INFO: IMEI packet received {"connection_id":174292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:28:55] local.INFO: TCP Data received {"connection_id":174292,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:28:55] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:28:55] local.INFO: IMEI packet received {"connection_id":174292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":174292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:28:56] local.INFO: TCP Data received {"connection_id":174292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:28:56] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:28:56] local.INFO: Packet analysis {"connection_id":174292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:28:56] local.INFO: Extracted packet for processing {"connection_id":174292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:28:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":174292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:28:56] local.INFO: GPS data processed {"connection_id":174292,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:28:56] local.INFO: Acknowledgment sent {"connection_id":174292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:29:27] local.INFO: TCP Data received {"connection_id":174292,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:29:27] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:29:27] local.INFO: Packet analysis {"connection_id":174292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:29:27] local.INFO: Extracted packet for processing {"connection_id":174292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:29:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:29:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":174292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:29:27] local.INFO: GPS data processed {"connection_id":174292,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:29:27] local.INFO: Acknowledgment sent {"connection_id":174292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:29:43] local.INFO: TCP Data received {"connection_id":176789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:29:43] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:29:43] local.INFO: IMEI packet received {"connection_id":176789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":176789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:29:48] local.INFO: TCP Data received {"connection_id":176789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:29:48] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:29:48] local.INFO: IMEI packet received {"connection_id":176789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":176789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:29:49] local.INFO: TCP Data received {"connection_id":176789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:29:49] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:29:49] local.INFO: Packet analysis {"connection_id":176789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:29:49] local.INFO: Extracted packet for processing {"connection_id":176789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:29: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-09-08 04:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:29: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-09-08 04:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":176789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:29:49] local.INFO: GPS data processed {"connection_id":176789,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:29:49] local.INFO: Acknowledgment sent {"connection_id":176789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:30:20] local.INFO: TCP Data received {"connection_id":176789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:30:20] local.INFO: Processing buffer {"connection_id":176789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:30:20] local.INFO: Packet analysis {"connection_id":176789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:30:20] local.INFO: Extracted packet for processing {"connection_id":176789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:30: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-09-08 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":176789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:30:20] local.INFO: GPS data processed {"connection_id":176789,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:30:20] local.INFO: Acknowledgment sent {"connection_id":176789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:30:43] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:30:43] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:30:43] local.INFO: IMEI packet received {"connection_id":174293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":174293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:30:47] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:30:47] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:30:47] local.INFO: IMEI packet received {"connection_id":174293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:30:49] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:30:49] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e153c20012d34c58006aa42a80016011520..."} 
[2026-09-08 04:30:49] local.INFO: Packet analysis {"connection_id":174293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:30:49] local.INFO: Extracted packet for processing {"connection_id":174293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e15"} 
[2026-09-08 04:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938282240001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788821716000,"timestamp_ms":1788821716000,"timestamp_seconds":1788821716,"priority":1,"record_length":96,"hex_timestamp":"000001a07e153c20"} 
[2026-09-08 04:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:30: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-09-08 04:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 04:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:30: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-09-08 04:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938282240001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938282240001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:30:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938282240001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":174293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:30:49] local.INFO: GPS data processed {"connection_id":174293,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:30:49] local.INFO: Acknowledgment sent {"connection_id":174293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:31:20] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:31:20] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:31:20] local.INFO: Packet analysis {"connection_id":174293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:31:20] local.INFO: Extracted packet for processing {"connection_id":174293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:31: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:31: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-09-08 04:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":174293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:31:20] local.INFO: GPS data processed {"connection_id":174293,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:31:20] local.INFO: Acknowledgment sent {"connection_id":174293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:31:25] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:31:25] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:31:25] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:31:43] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:31:43] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:31:43] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:31:45] local.INFO: TCP Data received {"connection_id":176790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:31:45] local.INFO: Processing buffer {"connection_id":176790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:31:45] local.INFO: IMEI packet received {"connection_id":176790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":176790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:31:48] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:31:48] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:31:48] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:31:49] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:31:49] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:31:49] local.INFO: Packet analysis {"connection_id":175382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:31:49] local.INFO: Extracted packet for processing {"connection_id":175382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:31: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-09-08 04:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:31: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-09-08 04:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":175382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:31:49] local.INFO: GPS data processed {"connection_id":175382,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:31:49] local.INFO: Acknowledgment sent {"connection_id":175382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:32:20] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:20] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:20] local.INFO: Packet analysis {"connection_id":175382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:32:20] local.INFO: Extracted packet for processing {"connection_id":175382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:32: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:32: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-09-08 04:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":175382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:32:20] local.INFO: GPS data processed {"connection_id":175382,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:32:20] local.INFO: Acknowledgment sent {"connection_id":175382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:32:47] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:32:47] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:32:47] local.INFO: IMEI packet received {"connection_id":176791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":176791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:32:52] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:32:52] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:32:52] local.INFO: IMEI packet received {"connection_id":176791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":176791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:32:53] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:53] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:53] local.INFO: Packet analysis {"connection_id":176791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:32:53] local.INFO: Extracted packet for processing {"connection_id":176791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":176791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:32:53] local.INFO: GPS data processed {"connection_id":176791,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:32:53] local.INFO: Acknowledgment sent {"connection_id":176791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:32:58] local.INFO: TCP Data received {"connection_id":176791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:58] local.INFO: Processing buffer {"connection_id":176791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:32:58] local.INFO: Packet analysis {"connection_id":176791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:32:58] local.INFO: Extracted packet for processing {"connection_id":176791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:32:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:32:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":176791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:32:58] local.INFO: GPS data processed {"connection_id":176791,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:32:58] local.INFO: Acknowledgment sent {"connection_id":176791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:33:43] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:33:43] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:33:43] local.INFO: IMEI packet received {"connection_id":176792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":176792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:33:48] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:33:48] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:33:48] local.INFO: IMEI packet received {"connection_id":176792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":176792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:33:49] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:33:49] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:33:49] local.INFO: Packet analysis {"connection_id":176792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:33:49] local.INFO: Extracted packet for processing {"connection_id":176792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:33: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-09-08 04:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:33: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-09-08 04:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":176792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:33:49] local.INFO: GPS data processed {"connection_id":176792,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:33:49] local.INFO: Acknowledgment sent {"connection_id":176792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:34:20] local.INFO: TCP Data received {"connection_id":176792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:34:20] local.INFO: Processing buffer {"connection_id":176792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:34:20] local.INFO: Packet analysis {"connection_id":176792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:34:20] local.INFO: Extracted packet for processing {"connection_id":176792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:34: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:34: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-09-08 04:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":176792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:34:20] local.INFO: GPS data processed {"connection_id":176792,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:34:20] local.INFO: Acknowledgment sent {"connection_id":176792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:34:43] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:34:43] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:34:43] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:34:48] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:34:48] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:34:48] local.INFO: IMEI packet received {"connection_id":176793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":176793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:34:48] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:34:48] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:34:48] local.INFO: Packet analysis {"connection_id":176793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:34:48] local.INFO: Extracted packet for processing {"connection_id":176793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:34: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-09-08 04:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:34: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-09-08 04:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":176793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:34:48] local.INFO: GPS data processed {"connection_id":176793,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:34:48] local.INFO: Acknowledgment sent {"connection_id":176793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:35:20] local.INFO: TCP Data received {"connection_id":176793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:35:20] local.INFO: Processing buffer {"connection_id":176793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:35:20] local.INFO: Packet analysis {"connection_id":176793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:35:20] local.INFO: Extracted packet for processing {"connection_id":176793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:35: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":176793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:35:20] local.INFO: GPS data processed {"connection_id":176793,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:35:20] local.INFO: Acknowledgment sent {"connection_id":176793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:35:43] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:35:43] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:35:43] local.INFO: IMEI packet received {"connection_id":174297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":174297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:35:48] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:35:48] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:35:48] local.INFO: IMEI packet received {"connection_id":174297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:35:50] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:35:50] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e19d3e8012d34c58006aa42a80016011526..."} 
[2026-09-08 04:35:50] local.INFO: Packet analysis {"connection_id":174297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:35:50] local.INFO: Extracted packet for processing {"connection_id":174297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e19"} 
[2026-09-08 04:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":22,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938359296001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788822017000,"timestamp_ms":1788822017000,"timestamp_seconds":1788822017,"priority":1,"record_length":96,"hex_timestamp":"000001a07e19d3e8"} 
[2026-09-08 04:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938359296001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938359296001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:35:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938359296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":174297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:35:50] local.INFO: GPS data processed {"connection_id":174297,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:35:50] local.INFO: Acknowledgment sent {"connection_id":174297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:36:21] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:36:21] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:36:21] local.INFO: Packet analysis {"connection_id":174297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:36:21] local.INFO: Extracted packet for processing {"connection_id":174297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:36: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-09-08 04:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":174297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:36:21] local.INFO: GPS data processed {"connection_id":174297,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:36:21] local.INFO: Acknowledgment sent {"connection_id":174297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:36:43] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:36:43] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:36:43] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:36:48] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:36:48] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:36:48] local.INFO: IMEI packet received {"connection_id":175385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":175385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:36:49] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:36:49] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:36:49] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:36:49] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:36: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:36: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-09-08 04:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:36:49] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:36:49] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:37:20] local.INFO: TCP Data received {"connection_id":175385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:37:20] local.INFO: Processing buffer {"connection_id":175385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:37:20] local.INFO: Packet analysis {"connection_id":175385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:37:20] local.INFO: Extracted packet for processing {"connection_id":175385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:37: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-09-08 04:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:37: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-09-08 04:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:37:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":175385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:37:20] local.INFO: GPS data processed {"connection_id":175385,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:37:20] local.INFO: Acknowledgment sent {"connection_id":175385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:37:42] local.INFO: TCP Data received {"connection_id":174043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:37:42] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:37:42] local.INFO: IMEI packet received {"connection_id":174043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":174043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:37:45] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:37:45] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:37:45] local.INFO: IMEI packet received {"connection_id":174044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:37:48] local.INFO: TCP Data received {"connection_id":174043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:37:48] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:37:48] local.INFO: IMEI packet received {"connection_id":174043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:37:48] local.INFO: TCP Data received {"connection_id":174043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:37:48] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:37:48] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:37:48] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:37: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-09-08 04:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:37: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-09-08 04:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:37:48] local.INFO: GPS data processed {"connection_id":174043,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:37:48] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:38:20] local.INFO: TCP Data received {"connection_id":174043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:38:20] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:38:20] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:38:20] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:38: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:38: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-09-08 04:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:38:20] local.INFO: GPS data processed {"connection_id":174043,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:38:20] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:38:48] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:38:48] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:38:48] local.INFO: IMEI packet received {"connection_id":176796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":176796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:38:53] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:38:53] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:38:53] local.INFO: IMEI packet received {"connection_id":176796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":176796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:38:54] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:38:54] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:38:54] local.INFO: Packet analysis {"connection_id":176796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:38:54] local.INFO: Extracted packet for processing {"connection_id":176796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":176796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:38:54] local.INFO: GPS data processed {"connection_id":176796,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:38:54] local.INFO: Acknowledgment sent {"connection_id":176796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:39:27] local.INFO: TCP Data received {"connection_id":176796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:39:27] local.INFO: Processing buffer {"connection_id":176796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:39:27] local.INFO: Packet analysis {"connection_id":176796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:39:27] local.INFO: Extracted packet for processing {"connection_id":176796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:39: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-09-08 04:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:39:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:39:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":176796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:39:27] local.INFO: GPS data processed {"connection_id":176796,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:39:27] local.INFO: Acknowledgment sent {"connection_id":176796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:39:42] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:39:42] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:39:42] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:39:48] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:39:48] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:39:48] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:39:48] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:39:48] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:39:48] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:39:48] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:39: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-09-08 04:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:39: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-09-08 04:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:39:48] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:39:48] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:40:19] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:40:19] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:40:19] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:40:19] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:40: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-09-08 04:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:40:19] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:40:19] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:40:43] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:40:43] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:40:43] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:40:47] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:40:47] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:40:47] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:40:48] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:40:48] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e1e6bb0012d34c58006aa42a80020011525..."} 
[2026-09-08 04:40:48] local.INFO: Packet analysis {"connection_id":175386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:40:48] local.INFO: Extracted packet for processing {"connection_id":175386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e1e"} 
[2026-09-08 04:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938436352001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822318000,"timestamp_ms":1788822318000,"timestamp_seconds":1788822318,"priority":1,"record_length":96,"hex_timestamp":"000001a07e1e6bb0"} 
[2026-09-08 04:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:40: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-09-08 04:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:40: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-09-08 04:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938436352001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938436352001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938436352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":175386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:40:49] local.INFO: GPS data processed {"connection_id":175386,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:40:49] local.INFO: Acknowledgment sent {"connection_id":175386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:41:20] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:41:20] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:41:20] local.INFO: Packet analysis {"connection_id":175386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:41:20] local.INFO: Extracted packet for processing {"connection_id":175386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:41: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:41: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-09-08 04:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":175386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:41:20] local.INFO: GPS data processed {"connection_id":175386,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:41:20] local.INFO: Acknowledgment sent {"connection_id":175386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:41:42] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:41:42] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:41:42] local.INFO: IMEI packet received {"connection_id":174300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":174300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:41:48] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:41:48] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:41:48] local.INFO: IMEI packet received {"connection_id":174300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:41:48] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:41:48] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:41:48] local.INFO: Packet analysis {"connection_id":174300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:41:48] local.INFO: Extracted packet for processing {"connection_id":174300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:41: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:41: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-09-08 04:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":174300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:41:48] local.INFO: GPS data processed {"connection_id":174300,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:41:48] local.INFO: Acknowledgment sent {"connection_id":174300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:42:20] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:42:20] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:42:20] local.INFO: Packet analysis {"connection_id":174300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:42:20] local.INFO: Extracted packet for processing {"connection_id":174300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:42: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-09-08 04:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:42: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-09-08 04:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":174300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:42:20] local.INFO: GPS data processed {"connection_id":174300,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:42:20] local.INFO: Acknowledgment sent {"connection_id":174300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:42:43] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:42:43] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:42:43] local.INFO: IMEI packet received {"connection_id":174301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":174301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:42:48] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:42:48] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:42:48] local.INFO: IMEI packet received {"connection_id":174301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":174301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:42:48] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:42:48] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:42:48] local.INFO: Packet analysis {"connection_id":174301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:42:48] local.INFO: Extracted packet for processing {"connection_id":174301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:42: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-09-08 04:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:42: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-09-08 04:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":174301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:42:48] local.INFO: GPS data processed {"connection_id":174301,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:42:48] local.INFO: Acknowledgment sent {"connection_id":174301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:43:05] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:43:05] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:43:05] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:43:20] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:43:20] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:43:20] local.INFO: Packet analysis {"connection_id":174301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:43:20] local.INFO: Extracted packet for processing {"connection_id":174301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:43: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:43: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-09-08 04:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":174301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:43:20] local.INFO: GPS data processed {"connection_id":174301,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:43:20] local.INFO: Acknowledgment sent {"connection_id":174301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:43:42] local.INFO: TCP Data received {"connection_id":176798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:43:42] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:43:42] local.INFO: IMEI packet received {"connection_id":176798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":176798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:43:47] local.INFO: TCP Data received {"connection_id":176798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:43:47] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:43:47] local.INFO: IMEI packet received {"connection_id":176798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":176798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:43:49] local.INFO: TCP Data received {"connection_id":176798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:43:49] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:43:49] local.INFO: Packet analysis {"connection_id":176798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:43:49] local.INFO: Extracted packet for processing {"connection_id":176798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:43: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-09-08 04:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:43: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-09-08 04:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":176798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:43:49] local.INFO: GPS data processed {"connection_id":176798,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:43:49] local.INFO: Acknowledgment sent {"connection_id":176798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:44:20] local.INFO: TCP Data received {"connection_id":176798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:44:20] local.INFO: Processing buffer {"connection_id":176798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:44:20] local.INFO: Packet analysis {"connection_id":176798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:44:20] local.INFO: Extracted packet for processing {"connection_id":176798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:44: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:44: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-09-08 04:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:44:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":176798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:44:20] local.INFO: GPS data processed {"connection_id":176798,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:44:20] local.INFO: Acknowledgment sent {"connection_id":176798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:44:42] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:44:42] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:44:42] local.INFO: IMEI packet received {"connection_id":174302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":174302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:44:48] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:44:48] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:44:48] local.INFO: IMEI packet received {"connection_id":174302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":174302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:44:48] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:44:48] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:44:48] local.INFO: Packet analysis {"connection_id":174302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:44:48] local.INFO: Extracted packet for processing {"connection_id":174302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:44: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-09-08 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:44: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-09-08 04:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":174302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:44:48] local.INFO: GPS data processed {"connection_id":174302,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:44:48] local.INFO: Acknowledgment sent {"connection_id":174302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:45:20] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:45:20] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:45:20] local.INFO: Packet analysis {"connection_id":174302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:45:20] local.INFO: Extracted packet for processing {"connection_id":174302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:45: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-09-08 04:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:45: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-09-08 04:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":174302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:45:20] local.INFO: GPS data processed {"connection_id":174302,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:45:20] local.INFO: Acknowledgment sent {"connection_id":174302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:45:42] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:45:42] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:45:42] local.INFO: IMEI packet received {"connection_id":174050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":174050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:45:47] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:45:47] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:45:47] local.INFO: IMEI packet received {"connection_id":174050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:45:48] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:45:48] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e230378012d34c58006aa42a80020011525..."} 
[2026-09-08 04:45:48] local.INFO: Packet analysis {"connection_id":174050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:45:48] local.INFO: Extracted packet for processing {"connection_id":174050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e23"} 
[2026-09-08 04:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":32,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938513408001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822619000,"timestamp_ms":1788822619000,"timestamp_seconds":1788822619,"priority":1,"record_length":96,"hex_timestamp":"000001a07e230378"} 
[2026-09-08 04:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:45: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-09-08 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 04:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:45: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-09-08 04:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938513408001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938513408001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938513408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":174050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:45:48] local.INFO: GPS data processed {"connection_id":174050,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:45:48] local.INFO: Acknowledgment sent {"connection_id":174050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:46:19] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:46:19] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:46:19] local.INFO: Packet analysis {"connection_id":174050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:46:19] local.INFO: Extracted packet for processing {"connection_id":174050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:46: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-09-08 04:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":174050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:46:19] local.INFO: GPS data processed {"connection_id":174050,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:46:19] local.INFO: Acknowledgment sent {"connection_id":174050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:46:42] local.INFO: TCP Data received {"connection_id":176800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:46:42] local.INFO: Processing buffer {"connection_id":176800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:46:42] local.INFO: IMEI packet received {"connection_id":176800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":176800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:46:47] local.INFO: TCP Data received {"connection_id":176800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:46:47] local.INFO: Processing buffer {"connection_id":176800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:46:47] local.INFO: IMEI packet received {"connection_id":176800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":176800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:46:48] local.INFO: TCP Data received {"connection_id":176800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:46:48] local.INFO: Processing buffer {"connection_id":176800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:46:48] local.INFO: Packet analysis {"connection_id":176800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:46:48] local.INFO: Extracted packet for processing {"connection_id":176800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:46: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-09-08 04:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:46: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-09-08 04:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":176800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:46:48] local.INFO: GPS data processed {"connection_id":176800,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:46:48] local.INFO: Acknowledgment sent {"connection_id":176800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:47:19] local.INFO: TCP Data received {"connection_id":176800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:47:19] local.INFO: Processing buffer {"connection_id":176800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:47:19] local.INFO: Packet analysis {"connection_id":176800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:47:19] local.INFO: Extracted packet for processing {"connection_id":176800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:47: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-09-08 04:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":176800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:47:19] local.INFO: GPS data processed {"connection_id":176800,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:47:19] local.INFO: Acknowledgment sent {"connection_id":176800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:47:43] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:47:43] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:47:43] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:47:48] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:47:48] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:47:48] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:47:48] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:47:48] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:47:48] local.INFO: Packet analysis {"connection_id":175389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:47:48] local.INFO: Extracted packet for processing {"connection_id":175389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:47: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:47: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-09-08 04:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":175389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:47:48] local.INFO: GPS data processed {"connection_id":175389,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:47:48] local.INFO: Acknowledgment sent {"connection_id":175389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:48:19] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:48:19] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:48:19] local.INFO: Packet analysis {"connection_id":175389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:48:19] local.INFO: Extracted packet for processing {"connection_id":175389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:48: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-09-08 04:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":175389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:48:19] local.INFO: GPS data processed {"connection_id":175389,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:48:19] local.INFO: Acknowledgment sent {"connection_id":175389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:48:42] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:48:42] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:48:42] local.INFO: IMEI packet received {"connection_id":175390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":175390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:48:47] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:48:47] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:48:47] local.INFO: IMEI packet received {"connection_id":175390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":175390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:48:48] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:48:48] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:48:48] local.INFO: Packet analysis {"connection_id":175390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:48:48] local.INFO: Extracted packet for processing {"connection_id":175390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:48: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:48: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-09-08 04:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":175390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:48:48] local.INFO: GPS data processed {"connection_id":175390,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:48:48] local.INFO: Acknowledgment sent {"connection_id":175390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:48:50] local.INFO: TCP Data received {"connection_id":176801,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:48:50] local.INFO: Processing buffer {"connection_id":176801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:48:50] local.INFO: IMEI packet received {"connection_id":176801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":176801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:49:19] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:49:19] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:49:19] local.INFO: Packet analysis {"connection_id":175390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:49:19] local.INFO: Extracted packet for processing {"connection_id":175390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:49: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-09-08 04:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":175390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:49:19] local.INFO: GPS data processed {"connection_id":175390,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:49:19] local.INFO: Acknowledgment sent {"connection_id":175390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:49:42] local.INFO: TCP Data received {"connection_id":176802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:49:42] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:49:42] local.INFO: IMEI packet received {"connection_id":176802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":176802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:49:48] local.INFO: TCP Data received {"connection_id":176802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:49:48] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:49:48] local.INFO: IMEI packet received {"connection_id":176802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":176802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:49:49] local.INFO: TCP Data received {"connection_id":176802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:49:49] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:49:49] local.INFO: Packet analysis {"connection_id":176802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:49:49] local.INFO: Extracted packet for processing {"connection_id":176802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:49: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-09-08 04:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:49: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-09-08 04:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":176802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:49:49] local.INFO: GPS data processed {"connection_id":176802,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:49:49] local.INFO: Acknowledgment sent {"connection_id":176802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:50:20] local.INFO: TCP Data received {"connection_id":176802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:50:20] local.INFO: Processing buffer {"connection_id":176802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:50:20] local.INFO: Packet analysis {"connection_id":176802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:50:20] local.INFO: Extracted packet for processing {"connection_id":176802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:50: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:50: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-09-08 04:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":176802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:50:20] local.INFO: GPS data processed {"connection_id":176802,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:50:20] local.INFO: Acknowledgment sent {"connection_id":176802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:50:42] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:50:42] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:50:42] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:50:48] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:50:48] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:50:48] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:50:48] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:50:48] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e279b40012d34c58006aa42a80019011524..."} 
[2026-09-08 04:50:48] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:50:48] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e27"} 
[2026-09-08 04:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788822920000,"timestamp_ms":1788822920000,"timestamp_seconds":1788822920,"priority":1,"record_length":96,"hex_timestamp":"000001a07e279b40"} 
[2026-09-08 04:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:50: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-09-08 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 04:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:50: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-09-08 04:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938590464001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938590464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:50:48] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:50:48] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:51:19] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:51:19] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:51:19] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:51:19] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:51: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-09-08 04:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:51:19] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:51:19] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:51:42] local.INFO: TCP Data received {"connection_id":174053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:51:42] local.INFO: Processing buffer {"connection_id":174053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:51:42] local.INFO: IMEI packet received {"connection_id":174053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":174053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:51:48] local.INFO: TCP Data received {"connection_id":174053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:51:48] local.INFO: Processing buffer {"connection_id":174053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:51:48] local.INFO: IMEI packet received {"connection_id":174053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":174053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:51:49] local.INFO: TCP Data received {"connection_id":174053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:51:49] local.INFO: Processing buffer {"connection_id":174053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:51:49] local.INFO: Packet analysis {"connection_id":174053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:51:49] local.INFO: Extracted packet for processing {"connection_id":174053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:51: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-09-08 04:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:51: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-09-08 04:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":174053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:51:49] local.INFO: GPS data processed {"connection_id":174053,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:51:49] local.INFO: Acknowledgment sent {"connection_id":174053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:52:20] local.INFO: TCP Data received {"connection_id":174053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:52:20] local.INFO: Processing buffer {"connection_id":174053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:52:20] local.INFO: Packet analysis {"connection_id":174053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:52:20] local.INFO: Extracted packet for processing {"connection_id":174053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:52: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-09-08 04: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":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":174053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:52:20] local.INFO: GPS data processed {"connection_id":174053,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:52:20] local.INFO: Acknowledgment sent {"connection_id":174053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:52:42] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:52:42] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:52:42] local.INFO: IMEI packet received {"connection_id":176804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":176804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:52:51] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:52:51] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:52:51] local.INFO: IMEI packet received {"connection_id":176804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":176804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:52:52] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:52:52] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:52:52] local.INFO: Packet analysis {"connection_id":176804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:52:52] local.INFO: Extracted packet for processing {"connection_id":176804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:52: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-09-08 04:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":176804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:52:52] local.INFO: GPS data processed {"connection_id":176804,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:52:52] local.INFO: Acknowledgment sent {"connection_id":176804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:53:24] local.INFO: TCP Data received {"connection_id":176804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:24] local.INFO: Processing buffer {"connection_id":176804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:24] local.INFO: Packet analysis {"connection_id":176804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:53:24] local.INFO: Extracted packet for processing {"connection_id":176804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:53: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-09-08 04:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":176804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:53:24] local.INFO: GPS data processed {"connection_id":176804,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:53:24] local.INFO: Acknowledgment sent {"connection_id":176804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:53:48] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:53:48] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:53:48] local.INFO: IMEI packet received {"connection_id":174054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:53:53] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:53:53] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:53:53] local.INFO: IMEI packet received {"connection_id":174054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":174054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:53:54] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:54] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:54] local.INFO: Packet analysis {"connection_id":174054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:53:54] local.INFO: Extracted packet for processing {"connection_id":174054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":174054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:53:54] local.INFO: GPS data processed {"connection_id":174054,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:53:54] local.INFO: Acknowledgment sent {"connection_id":174054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:53:58] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:58] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:53:58] local.INFO: Packet analysis {"connection_id":174054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:53:58] local.INFO: Extracted packet for processing {"connection_id":174054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 04:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:53:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":174054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:53:58] local.INFO: GPS data processed {"connection_id":174054,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:53:58] local.INFO: Acknowledgment sent {"connection_id":174054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:54:15] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:54:15] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:54:15] local.INFO: IMEI packet received {"connection_id":175392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":175392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:54:42] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:54:42] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:54:42] local.INFO: IMEI packet received {"connection_id":176805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":176805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:54:45] local.INFO: TCP Data received {"connection_id":176806,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:54:45] local.INFO: Processing buffer {"connection_id":176806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:54:45] local.INFO: IMEI packet received {"connection_id":176806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":176806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:54:48] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:54:48] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:54:48] local.INFO: IMEI packet received {"connection_id":176805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":176805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:54:49] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:54:49] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:54:49] local.INFO: Packet analysis {"connection_id":176805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:54:49] local.INFO: Extracted packet for processing {"connection_id":176805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:54: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-09-08 04:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:54: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-09-08 04:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":176805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:54:49] local.INFO: GPS data processed {"connection_id":176805,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:54:49] local.INFO: Acknowledgment sent {"connection_id":176805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:55:20] local.INFO: TCP Data received {"connection_id":176805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:55:20] local.INFO: Processing buffer {"connection_id":176805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:55:20] local.INFO: Packet analysis {"connection_id":176805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:55:20] local.INFO: Extracted packet for processing {"connection_id":176805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:55: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-09-08 04:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:55: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-09-08 04:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":176805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:55:20] local.INFO: GPS data processed {"connection_id":176805,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:55:20] local.INFO: Acknowledgment sent {"connection_id":176805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:55:43] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:55:43] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:55:43] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:55:48] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:55:48] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:55:48] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:55:49] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:55:49] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e2c3308012d34c58006aa42a80019011528..."} 
[2026-09-08 04:55:49] local.INFO: Packet analysis {"connection_id":174305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:55:49] local.INFO: Extracted packet for processing {"connection_id":174305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e2c"} 
[2026-09-08 04:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":25,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938667520001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823221000,"timestamp_ms":1788823221000,"timestamp_seconds":1788823221,"priority":1,"record_length":96,"hex_timestamp":"000001a07e2c3308"} 
[2026-09-08 04:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:55: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-09-08 04:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 04:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:55: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-09-08 04:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938667520001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938667520001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938667520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":174305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:55:49] local.INFO: GPS data processed {"connection_id":174305,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:55:49] local.INFO: Acknowledgment sent {"connection_id":174305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:56:20] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:56:20] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:56:20] local.INFO: Packet analysis {"connection_id":174305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:56:20] local.INFO: Extracted packet for processing {"connection_id":174305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:56: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-09-08 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:56: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-09-08 04:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":174305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:56:20] local.INFO: GPS data processed {"connection_id":174305,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:56:20] local.INFO: Acknowledgment sent {"connection_id":174305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:56:43] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:56:43] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:56:43] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:56:47] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:56:47] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:56:47] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:56:48] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:56:48] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:56:48] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:56:48] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:56: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-09-08 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04: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-09-08 04:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:56:48] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:56:48] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:57:20] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:57:20] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:57:20] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:57:20] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:57: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-09-08 04:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:57: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-09-08 04:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:57:20] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:57:20] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:57:42] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:57:42] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:57:42] local.INFO: IMEI packet received {"connection_id":175394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":175394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:57:48] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:57:48] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:57:48] local.INFO: IMEI packet received {"connection_id":175394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":175394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:57:49] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:57:49] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:57:49] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:57:49] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:57: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-09-08 04:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:57: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-09-08 04:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:57:49] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:57:49] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:58:21] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:58:21] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:58:21] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:58:21] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:58: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-09-08 04:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:58:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:58:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:58:21] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:58:21] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:58:42] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:58:42] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:58:42] local.INFO: IMEI packet received {"connection_id":174056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":174056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:58:48] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:58:48] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:58:48] local.INFO: IMEI packet received {"connection_id":174056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:58:49] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:58:49] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:58:49] local.INFO: Packet analysis {"connection_id":174056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:58:49] local.INFO: Extracted packet for processing {"connection_id":174056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04: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-09-08 04:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:58: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-09-08 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04: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-09-08 04:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:58: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-09-08 04:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:58:49] local.INFO: GPS data processed {"connection_id":174056,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:58:49] local.INFO: Acknowledgment sent {"connection_id":174056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:59:20] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:59:20] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:59:20] local.INFO: Packet analysis {"connection_id":174056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:59:20] local.INFO: Extracted packet for processing {"connection_id":174056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04:59: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-09-08 04:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:59: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-09-08 04:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":174056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:59:20] local.INFO: GPS data processed {"connection_id":174056,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:59:20] local.INFO: Acknowledgment sent {"connection_id":174056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:59:42] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:59:42] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:59:42] local.INFO: IMEI packet received {"connection_id":176808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 04:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":176808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 04:59:48] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:59:48] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 04:59:48] local.INFO: IMEI packet received {"connection_id":176808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 04:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":176808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 04:59:49] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:59:49] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 04:59:49] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:59:49] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 04:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 04:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 04:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 04:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 04:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 04:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 04:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 04:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 04: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-09-08 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 04:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 04:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 04:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 04:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 04:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 04:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 04:59: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-09-08 04:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 04:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 04:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 04:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 04:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 04:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 04:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 04:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 04:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 04:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 04:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 04:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 04:59:49] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-08 04:59:49] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 04:59:50] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:59:50] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 04:59:50] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 04:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:00:21] local.INFO: TCP Data received {"connection_id":176808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:21] local.INFO: Processing buffer {"connection_id":176808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:21] local.INFO: Packet analysis {"connection_id":176808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 05:00:21] local.INFO: Extracted packet for processing {"connection_id":176808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 05:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:00: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-09-08 05:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":176808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:00:21] local.INFO: GPS data processed {"connection_id":176808,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:00:21] local.INFO: Acknowledgment sent {"connection_id":176808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:00:47] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:00:47] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:00:47] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:00:52] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:00:52] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:00:52] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:00:53] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:53] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:53] local.INFO: Packet analysis {"connection_id":174058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 05:00:53] local.INFO: Extracted packet for processing {"connection_id":174058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 05:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 05:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":174058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:00:53] local.INFO: GPS data processed {"connection_id":174058,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:00:53] local.INFO: Acknowledgment sent {"connection_id":174058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:00:58] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:58] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e30cad0012d34c58006aa42a80017011526..."} 
[2026-09-08 05:00:58] local.INFO: Packet analysis {"connection_id":174058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 05:00:58] local.INFO: Extracted packet for processing {"connection_id":174058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e30"} 
[2026-09-08 05:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788823522000,"timestamp_ms":1788823522000,"timestamp_seconds":1788823522,"priority":1,"record_length":96,"hex_timestamp":"000001a07e30cad0"} 
[2026-09-08 05:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938744576001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:00:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938744576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":174058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:00:58] local.INFO: GPS data processed {"connection_id":174058,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:00:58] local.INFO: Acknowledgment sent {"connection_id":174058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:01:44] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:01:44] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:01:44] local.INFO: IMEI packet received {"connection_id":174307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":174307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:01:48] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:01:48] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:01:48] local.INFO: IMEI packet received {"connection_id":174307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:01:49] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:01:49] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:01:49] local.INFO: Packet analysis {"connection_id":174307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:01:49] local.INFO: Extracted packet for processing {"connection_id":174307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:01: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-09-08 05:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":174307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:01:49] local.INFO: GPS data processed {"connection_id":174307,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:01:49] local.INFO: Acknowledgment sent {"connection_id":174307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:02:20] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:02:20] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:02:20] local.INFO: Packet analysis {"connection_id":174307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:02:20] local.INFO: Extracted packet for processing {"connection_id":174307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:02: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:02: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-09-08 05:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":174307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:02:20] local.INFO: GPS data processed {"connection_id":174307,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:02:20] local.INFO: Acknowledgment sent {"connection_id":174307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:02:42] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:02:42] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:02:42] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:02:48] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:02:48] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:02:48] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:02:49] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:02:49] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:02:49] local.INFO: Packet analysis {"connection_id":174308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:02:49] local.INFO: Extracted packet for processing {"connection_id":174308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:02: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-09-08 05:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:02: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-09-08 05:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":174308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:02:49] local.INFO: GPS data processed {"connection_id":174308,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:02:49] local.INFO: Acknowledgment sent {"connection_id":174308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:03:20] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:03:20] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:03:20] local.INFO: Packet analysis {"connection_id":174308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:03:20] local.INFO: Extracted packet for processing {"connection_id":174308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:03: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:03: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-09-08 05:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":174308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:03:20] local.INFO: GPS data processed {"connection_id":174308,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:03:20] local.INFO: Acknowledgment sent {"connection_id":174308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:03:43] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:03:43] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:03:43] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:03:48] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:03:48] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:03:48] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:03:49] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:03:49] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:03:49] local.INFO: Packet analysis {"connection_id":174061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:03:49] local.INFO: Extracted packet for processing {"connection_id":174061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:03: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-09-08 05:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:03: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-09-08 05:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":174061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:03:49] local.INFO: GPS data processed {"connection_id":174061,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:03:49] local.INFO: Acknowledgment sent {"connection_id":174061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:04:20] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:04:20] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:04:20] local.INFO: Packet analysis {"connection_id":174061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:04:20] local.INFO: Extracted packet for processing {"connection_id":174061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:04: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:04: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-09-08 05:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":174061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:04:20] local.INFO: GPS data processed {"connection_id":174061,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:04:20] local.INFO: Acknowledgment sent {"connection_id":174061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:04:42] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:04:42] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:04:42] local.INFO: IMEI packet received {"connection_id":175397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":175397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:04:49] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:04:49] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:04:49] local.INFO: IMEI packet received {"connection_id":175397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":175397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:04:50] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:04:50] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:04:50] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:04:50] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:04:50] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:04:50] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:05:25] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:05:25] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:05:25] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:05:30] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:05:30] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:05:30] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:05:30] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:05:30] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:05:30] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:05:42] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:05:42] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:05:42] local.INFO: IMEI packet received {"connection_id":174310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":174310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:05:45] local.INFO: TCP Data received {"connection_id":174311,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:05:45] local.INFO: Processing buffer {"connection_id":174311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:05:45] local.INFO: IMEI packet received {"connection_id":174311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:05:48] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:05:48] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:05:48] local.INFO: IMEI packet received {"connection_id":174310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":174310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:05:49] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:05:49] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e356298012d34c58006aa42a80017011526..."} 
[2026-09-08 05:05:49] local.INFO: Packet analysis {"connection_id":174310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:05:49] local.INFO: Extracted packet for processing {"connection_id":174310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e35"} 
[2026-09-08 05:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938821632001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788823823000,"timestamp_ms":1788823823000,"timestamp_seconds":1788823823,"priority":1,"record_length":96,"hex_timestamp":"000001a07e356298"} 
[2026-09-08 05:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:05: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-09-08 05:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938821632001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938821632001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938821632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:05:49] local.INFO: GPS data processed {"connection_id":174310,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:05:49] local.INFO: Acknowledgment sent {"connection_id":174310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:06:20] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:06:20] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:06:20] local.INFO: Packet analysis {"connection_id":174310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:06:20] local.INFO: Extracted packet for processing {"connection_id":174310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:06: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:06: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-09-08 05:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":174310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:06:20] local.INFO: GPS data processed {"connection_id":174310,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:06:20] local.INFO: Acknowledgment sent {"connection_id":174310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:06:48] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:06:48] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:06:48] local.INFO: IMEI packet received {"connection_id":174063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":174063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:06:52] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:06:52] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:06:52] local.INFO: IMEI packet received {"connection_id":174063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:06:53] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:06:53] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:06:53] local.INFO: Packet analysis {"connection_id":174063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:06:53] local.INFO: Extracted packet for processing {"connection_id":174063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":174063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:06:53] local.INFO: GPS data processed {"connection_id":174063,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:06:53] local.INFO: Acknowledgment sent {"connection_id":174063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:07:24] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:07:24] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:07:24] local.INFO: Packet analysis {"connection_id":174063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:07:24] local.INFO: Extracted packet for processing {"connection_id":174063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:07: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-09-08 05:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":174063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:07:24] local.INFO: GPS data processed {"connection_id":174063,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:07:24] local.INFO: Acknowledgment sent {"connection_id":174063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:07:43] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:07:43] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:07:43] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:07:48] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:07:48] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:07:48] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:07:49] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:07:49] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:07:49] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:07:49] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:07: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-09-08 05:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:07: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-09-08 05:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:07:49] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:07:49] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:08:21] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:08:21] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:08:21] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:08:21] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:08: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-09-08 05:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:08:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:08:21] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:08:21] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:08:43] local.INFO: TCP Data received {"connection_id":175399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:08:43] local.INFO: Processing buffer {"connection_id":175399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:08:43] local.INFO: IMEI packet received {"connection_id":175399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":175399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:08:48] local.INFO: TCP Data received {"connection_id":175399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:08:48] local.INFO: Processing buffer {"connection_id":175399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:08:48] local.INFO: IMEI packet received {"connection_id":175399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:08:49] local.INFO: TCP Data received {"connection_id":175399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:08:49] local.INFO: Processing buffer {"connection_id":175399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:08:49] local.INFO: Packet analysis {"connection_id":175399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:08:49] local.INFO: Extracted packet for processing {"connection_id":175399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:08: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-09-08 05:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:08: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-09-08 05:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":175399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:08:49] local.INFO: GPS data processed {"connection_id":175399,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:08:49] local.INFO: Acknowledgment sent {"connection_id":175399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:09:20] local.INFO: TCP Data received {"connection_id":175399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:09:20] local.INFO: Processing buffer {"connection_id":175399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:09:20] local.INFO: Packet analysis {"connection_id":175399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:09:20] local.INFO: Extracted packet for processing {"connection_id":175399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:09: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-09-08 05:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:09: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-09-08 05:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":175399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:09:20] local.INFO: GPS data processed {"connection_id":175399,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:09:20] local.INFO: Acknowledgment sent {"connection_id":175399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:09:43] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:09:43] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:09:43] local.INFO: IMEI packet received {"connection_id":174313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":174313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:09:48] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:09:48] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:09:48] local.INFO: IMEI packet received {"connection_id":174313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:09:49] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:09:49] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:09:49] local.INFO: Packet analysis {"connection_id":174313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:09:49] local.INFO: Extracted packet for processing {"connection_id":174313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:09: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-09-08 05:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:09: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-09-08 05:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":174313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:09:49] local.INFO: GPS data processed {"connection_id":174313,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:09:49] local.INFO: Acknowledgment sent {"connection_id":174313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:10:20] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:10:20] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:10:20] local.INFO: Packet analysis {"connection_id":174313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:10:20] local.INFO: Extracted packet for processing {"connection_id":174313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:10: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:10: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-09-08 05:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":174313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:10:20] local.INFO: GPS data processed {"connection_id":174313,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:10:20] local.INFO: Acknowledgment sent {"connection_id":174313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:10:47] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:10:47] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:10:47] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:10:52] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:10:52] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:10:52] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:10:53] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:10:53] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e39fa60012d34c58006aa42a80017011526..."} 
[2026-09-08 05:10:53] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:10:53] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e39"} 
[2026-09-08 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":23,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938898688001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788824124000,"timestamp_ms":1788824124000,"timestamp_seconds":1788824124,"priority":1,"record_length":96,"hex_timestamp":"000001a07e39fa60"} 
[2026-09-08 05:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938898688001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938898688001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938898688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:10:53] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:10:53] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:11:10] local.INFO: TCP Data received {"connection_id":176811,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:11:10] local.INFO: Processing buffer {"connection_id":176811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:11:10] local.INFO: IMEI packet received {"connection_id":176811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":176811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:11:25] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:11:25] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:11:25] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:11:25] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:11:25] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:11:25] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:11:43] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:11:43] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:11:43] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:11:48] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:11:48] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:11:48] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:11:49] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:11:49] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:11:49] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:11:49] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:11: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-09-08 05:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:11: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-09-08 05:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:11:49] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:11:49] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:12:20] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:12:20] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:12:20] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:12:20] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:12: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:12: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-09-08 05:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:12:20] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:12:20] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:12:42] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:12:42] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:12:42] local.INFO: IMEI packet received {"connection_id":176812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":176812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:12:47] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:12:47] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:12:47] local.INFO: IMEI packet received {"connection_id":176812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":176812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:12:48] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:12:48] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:12:48] local.INFO: Packet analysis {"connection_id":176812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:12:48] local.INFO: Extracted packet for processing {"connection_id":176812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:12: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":176812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:12:48] local.INFO: GPS data processed {"connection_id":176812,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:12:48] local.INFO: Acknowledgment sent {"connection_id":176812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:13:19] local.INFO: TCP Data received {"connection_id":176812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:13:19] local.INFO: Processing buffer {"connection_id":176812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:13:19] local.INFO: Packet analysis {"connection_id":176812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:13:19] local.INFO: Extracted packet for processing {"connection_id":176812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:13: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-09-08 05:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":176812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:13:19] local.INFO: GPS data processed {"connection_id":176812,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:13:19] local.INFO: Acknowledgment sent {"connection_id":176812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:13:43] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:13:43] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:13:43] local.INFO: IMEI packet received {"connection_id":174065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":174065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:13:48] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:13:48] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:13:48] local.INFO: IMEI packet received {"connection_id":174065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":174065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:13:49] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:13:49] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:13:49] local.INFO: Packet analysis {"connection_id":174065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:13:49] local.INFO: Extracted packet for processing {"connection_id":174065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:13: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-09-08 05:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:13: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-09-08 05:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":174065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:13:49] local.INFO: GPS data processed {"connection_id":174065,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:13:49] local.INFO: Acknowledgment sent {"connection_id":174065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:14:21] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:14:21] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:14:21] local.INFO: Packet analysis {"connection_id":174065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:14:21] local.INFO: Extracted packet for processing {"connection_id":174065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:14: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-09-08 05:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":174065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:14:21] local.INFO: GPS data processed {"connection_id":174065,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:14:21] local.INFO: Acknowledgment sent {"connection_id":174065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:14:42] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:14:42] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:14:42] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:14:47] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:14:47] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:14:47] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:14:48] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:14:48] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:14:48] local.INFO: Packet analysis {"connection_id":174067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:14:48] local.INFO: Extracted packet for processing {"connection_id":174067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:14: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:14: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-09-08 05:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":174067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:14:48] local.INFO: GPS data processed {"connection_id":174067,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:14:48] local.INFO: Acknowledgment sent {"connection_id":174067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:15:20] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:20] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:20] local.INFO: Packet analysis {"connection_id":174067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:15:20] local.INFO: Extracted packet for processing {"connection_id":174067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:15: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-09-08 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:15: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-09-08 05:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":174067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:15:20] local.INFO: GPS data processed {"connection_id":174067,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:15:20] local.INFO: Acknowledgment sent {"connection_id":174067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:15:48] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:15:48] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:15:48] local.INFO: IMEI packet received {"connection_id":175405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":175405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:15:53] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:15:53] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:15:53] local.INFO: IMEI packet received {"connection_id":175405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":175405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:15:56] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:56] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:56] local.INFO: Packet analysis {"connection_id":175405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:15:56] local.INFO: Extracted packet for processing {"connection_id":175405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:15:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:15:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":175405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:15:56] local.INFO: GPS data processed {"connection_id":175405,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:15:56] local.INFO: Acknowledgment sent {"connection_id":175405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:15:58] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:58] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:15:58] local.INFO: Packet analysis {"connection_id":175405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:15:58] local.INFO: Extracted packet for processing {"connection_id":175405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:15:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":175405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:15:58] local.INFO: GPS data processed {"connection_id":175405,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:15:58] local.INFO: Acknowledgment sent {"connection_id":175405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:16:03] local.INFO: TCP Data received {"connection_id":175405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:16:03] local.INFO: Processing buffer {"connection_id":175405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e3e9228012d34c58006aa42a80013011527..."} 
[2026-09-08 05:16:03] local.INFO: Packet analysis {"connection_id":175405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:16:03] local.INFO: Extracted packet for processing {"connection_id":175405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e3e"} 
[2026-09-08 05:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457938975744001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788824425000,"timestamp_ms":1788824425000,"timestamp_seconds":1788824425,"priority":1,"record_length":96,"hex_timestamp":"000001a07e3e9228"} 
[2026-09-08 05:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 05:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457938975744001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457938975744001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457938975744001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":175405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:16:03] local.INFO: GPS data processed {"connection_id":175405,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:16:03] local.INFO: Acknowledgment sent {"connection_id":175405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:16:42] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:16:42] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:16:42] local.INFO: IMEI packet received {"connection_id":176813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":176813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:16:45] local.INFO: TCP Data received {"connection_id":176814,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:16:45] local.INFO: Processing buffer {"connection_id":176814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:16:45] local.INFO: IMEI packet received {"connection_id":176814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:16:48] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:16:48] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:16:48] local.INFO: IMEI packet received {"connection_id":176813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":176813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:16:50] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:16:50] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:16:50] local.INFO: Packet analysis {"connection_id":176813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:16:50] local.INFO: Extracted packet for processing {"connection_id":176813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:16:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":176813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:16:50] local.INFO: GPS data processed {"connection_id":176813,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:16:50] local.INFO: Acknowledgment sent {"connection_id":176813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:17:21] local.INFO: TCP Data received {"connection_id":176813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:17:21] local.INFO: Processing buffer {"connection_id":176813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:17:21] local.INFO: Packet analysis {"connection_id":176813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:17:21] local.INFO: Extracted packet for processing {"connection_id":176813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:17: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-09-08 05:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":176813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:17:21] local.INFO: GPS data processed {"connection_id":176813,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:17:21] local.INFO: Acknowledgment sent {"connection_id":176813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:17:43] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:17:43] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:17:43] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:17:48] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:17:48] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:17:48] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:17:49] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:17:49] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:17:49] local.INFO: Packet analysis {"connection_id":174068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:17:49] local.INFO: Extracted packet for processing {"connection_id":174068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:17: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-09-08 05:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:17: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-09-08 05:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":174068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:17:49] local.INFO: GPS data processed {"connection_id":174068,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:17:49] local.INFO: Acknowledgment sent {"connection_id":174068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:18:20] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:18:20] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:18:20] local.INFO: Packet analysis {"connection_id":174068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:18:20] local.INFO: Extracted packet for processing {"connection_id":174068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:18: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:18: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-09-08 05:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":174068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:18:20] local.INFO: GPS data processed {"connection_id":174068,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:18:20] local.INFO: Acknowledgment sent {"connection_id":174068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:18:42] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:18:42] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:18:42] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:18:48] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:18:48] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:18:48] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:18:49] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:18:49] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:18:49] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:18:49] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:18: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-09-08 05:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:18: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-09-08 05:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:18:49] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:18:49] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:19:20] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:19:20] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:19:20] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:19:20] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:19: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-09-08 05:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:19: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-09-08 05:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:19:20] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:19:20] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:19:42] local.INFO: TCP Data received {"connection_id":174315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:19:42] local.INFO: Processing buffer {"connection_id":174315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:19:42] local.INFO: IMEI packet received {"connection_id":174315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:19:48] local.INFO: TCP Data received {"connection_id":174315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:19:48] local.INFO: Processing buffer {"connection_id":174315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:19:48] local.INFO: IMEI packet received {"connection_id":174315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":174315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:19:49] local.INFO: TCP Data received {"connection_id":174315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:19:49] local.INFO: Processing buffer {"connection_id":174315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:19:49] local.INFO: Packet analysis {"connection_id":174315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:19:49] local.INFO: Extracted packet for processing {"connection_id":174315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:19: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-09-08 05:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":174315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:19:49] local.INFO: GPS data processed {"connection_id":174315,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:19:49] local.INFO: Acknowledgment sent {"connection_id":174315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:20:21] local.INFO: TCP Data received {"connection_id":174315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:20:21] local.INFO: Processing buffer {"connection_id":174315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:20:21] local.INFO: Packet analysis {"connection_id":174315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:20:21] local.INFO: Extracted packet for processing {"connection_id":174315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:20:21] local.INFO: GPS data processed {"connection_id":174315,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:20:21] local.INFO: Acknowledgment sent {"connection_id":174315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:20:43] local.INFO: TCP Data received {"connection_id":174069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:20:43] local.INFO: Processing buffer {"connection_id":174069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:20:43] local.INFO: IMEI packet received {"connection_id":174069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":174069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:20:47] local.INFO: TCP Data received {"connection_id":174069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:20:47] local.INFO: Processing buffer {"connection_id":174069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:20:47] local.INFO: IMEI packet received {"connection_id":174069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:20:48] local.INFO: TCP Data received {"connection_id":174069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:20:48] local.INFO: Processing buffer {"connection_id":174069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4329f0012d34c58006aa42a80013011521..."} 
[2026-09-08 05:20:48] local.INFO: Packet analysis {"connection_id":174069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:20:48] local.INFO: Extracted packet for processing {"connection_id":174069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e43"} 
[2026-09-08 05:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939052800001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788824726000,"timestamp_ms":1788824726000,"timestamp_seconds":1788824726,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4329f0"} 
[2026-09-08 05:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:20: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-09-08 05: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939052800001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939052800001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939052800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":174069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:20:48] local.INFO: GPS data processed {"connection_id":174069,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:20:48] local.INFO: Acknowledgment sent {"connection_id":174069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:21:20] local.INFO: TCP Data received {"connection_id":174069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:20] local.INFO: Processing buffer {"connection_id":174069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:20] local.INFO: Packet analysis {"connection_id":174069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:21:20] local.INFO: Extracted packet for processing {"connection_id":174069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:21: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-09-08 05: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-09-08 05: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-09-08 05: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-09-08 05:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:21: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-09-08 05:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":174069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:21:20] local.INFO: GPS data processed {"connection_id":174069,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:21:20] local.INFO: Acknowledgment sent {"connection_id":174069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:21:43] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:21:43] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:21:43] local.INFO: IMEI packet received {"connection_id":175407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":175407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:21:48] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:21:48] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:21:48] local.INFO: IMEI packet received {"connection_id":175407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:21:48] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:48] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:48] local.INFO: Packet analysis {"connection_id":175407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:21:48] local.INFO: Extracted packet for processing {"connection_id":175407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:21: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-09-08 05:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:21: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-09-08 05:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:21: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-09-08 05:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":175407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:21:49] local.INFO: GPS data processed {"connection_id":175407,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:21:49] local.INFO: Acknowledgment sent {"connection_id":175407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:21:53] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:53] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:21:53] local.INFO: Packet analysis {"connection_id":175407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:21:53] local.INFO: Extracted packet for processing {"connection_id":175407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:21: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-09-08 05:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":175407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:21:53] local.INFO: GPS data processed {"connection_id":175407,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:21:53] local.INFO: Acknowledgment sent {"connection_id":175407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:22:10] local.INFO: TCP Data received {"connection_id":174317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:22:10] local.INFO: Processing buffer {"connection_id":174317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:22:10] local.INFO: IMEI packet received {"connection_id":174317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":174317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:22:24] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:22:24] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:22:24] local.INFO: Packet analysis {"connection_id":175407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:22:24] local.INFO: Extracted packet for processing {"connection_id":175407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:22: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-09-08 05:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:22: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-09-08 05:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":175407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:22:24] local.INFO: GPS data processed {"connection_id":175407,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:22:24] local.INFO: Acknowledgment sent {"connection_id":175407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:22:42] local.INFO: TCP Data received {"connection_id":176818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:22:42] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:22:42] local.INFO: IMEI packet received {"connection_id":176818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":176818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:22:47] local.INFO: TCP Data received {"connection_id":176818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:22:47] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:22:47] local.INFO: IMEI packet received {"connection_id":176818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":176818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:22:49] local.INFO: TCP Data received {"connection_id":176818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:22:49] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:22:49] local.INFO: Packet analysis {"connection_id":176818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:22:49] local.INFO: Extracted packet for processing {"connection_id":176818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:22: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-09-08 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:22: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-09-08 05:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:22: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-09-08 05:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":176818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:22:49] local.INFO: GPS data processed {"connection_id":176818,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:22:49] local.INFO: Acknowledgment sent {"connection_id":176818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:22:50] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:22:50] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:22:50] local.INFO: IMEI packet received {"connection_id":174318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":174318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:23:20] local.INFO: TCP Data received {"connection_id":176818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:23:20] local.INFO: Processing buffer {"connection_id":176818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:23:20] local.INFO: Packet analysis {"connection_id":176818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:23:20] local.INFO: Extracted packet for processing {"connection_id":176818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:23: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-09-08 05: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-09-08 05: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-09-08 05: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-09-08 05:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":176818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:23:20] local.INFO: GPS data processed {"connection_id":176818,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:23:20] local.INFO: Acknowledgment sent {"connection_id":176818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:23:43] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:23:43] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:23:43] local.INFO: IMEI packet received {"connection_id":174320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":174320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:23:48] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:23:48] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:23:48] local.INFO: IMEI packet received {"connection_id":174320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":174320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:23:49] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:23:49] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:23:49] local.INFO: Packet analysis {"connection_id":174320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:23:49] local.INFO: Extracted packet for processing {"connection_id":174320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:23: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-09-08 05:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:23: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-09-08 05:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:23: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-09-08 05:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:23:49] local.INFO: GPS data processed {"connection_id":174320,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:23:49] local.INFO: Acknowledgment sent {"connection_id":174320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:24:20] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:24:20] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:24:20] local.INFO: Packet analysis {"connection_id":174320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:24:20] local.INFO: Extracted packet for processing {"connection_id":174320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:24: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-09-08 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:24: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-09-08 05:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:24:20] local.INFO: GPS data processed {"connection_id":174320,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:24:20] local.INFO: Acknowledgment sent {"connection_id":174320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:24:42] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:24:42] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:24:42] local.INFO: IMEI packet received {"connection_id":176819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":176819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:24:47] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:24:47] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:24:47] local.INFO: IMEI packet received {"connection_id":176819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":176819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:24:48] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:24:48] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:24:48] local.INFO: Packet analysis {"connection_id":176819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:24:48] local.INFO: Extracted packet for processing {"connection_id":176819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:24: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-09-08 05:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:24: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-09-08 05:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:24: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-09-08 05:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":176819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:24:48] local.INFO: GPS data processed {"connection_id":176819,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:24:48] local.INFO: Acknowledgment sent {"connection_id":176819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:25:19] local.INFO: TCP Data received {"connection_id":176819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:19] local.INFO: Processing buffer {"connection_id":176819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:19] local.INFO: Packet analysis {"connection_id":176819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:25:19] local.INFO: Extracted packet for processing {"connection_id":176819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:25: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-09-08 05:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:25: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-09-08 05:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:25:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":176819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:25:19] local.INFO: GPS data processed {"connection_id":176819,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:25:19] local.INFO: Acknowledgment sent {"connection_id":176819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:25:48] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:25:48] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:25:48] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:25:53] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:25:53] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:25:53] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:25:53] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:53] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:53] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:25:53] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:25: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-09-08 05:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:25:54] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:25:54] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:25:58] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:58] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e47c1b8012d34c58006aa42a80013011526..."} 
[2026-09-08 05:25:58] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:25:58] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e47"} 
[2026-09-08 05:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":19,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939129856001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788825027000,"timestamp_ms":1788825027000,"timestamp_seconds":1788825027,"priority":1,"record_length":96,"hex_timestamp":"000001a07e47c1b8"} 
[2026-09-08 05:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 05:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939129856001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939129856001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:25:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:25:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939129856001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:25:58] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:25:58] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:26:42] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:26:42] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:26:42] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:26:47] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:26:47] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:26:47] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:26:48] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:26:48] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:26:48] local.INFO: Packet analysis {"connection_id":174070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:26:48] local.INFO: Extracted packet for processing {"connection_id":174070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:26: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":174070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:26:48] local.INFO: GPS data processed {"connection_id":174070,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:26:48] local.INFO: Acknowledgment sent {"connection_id":174070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:27:19] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:27:19] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:27:19] local.INFO: Packet analysis {"connection_id":174070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:27:19] local.INFO: Extracted packet for processing {"connection_id":174070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:27: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:27: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-09-08 05:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":174070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:27:19] local.INFO: GPS data processed {"connection_id":174070,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:27:19] local.INFO: Acknowledgment sent {"connection_id":174070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:27:43] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:27:43] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:27:43] local.INFO: IMEI packet received {"connection_id":174321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":174321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:27:48] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:27:48] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:27:48] local.INFO: IMEI packet received {"connection_id":174321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:27:49] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:27:49] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:27:49] local.INFO: Packet analysis {"connection_id":174321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:27:49] local.INFO: Extracted packet for processing {"connection_id":174321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:27: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-09-08 05:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":174321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:27:49] local.INFO: GPS data processed {"connection_id":174321,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:27:49] local.INFO: Acknowledgment sent {"connection_id":174321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:28:20] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:28:20] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:28:20] local.INFO: Packet analysis {"connection_id":174321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:28:20] local.INFO: Extracted packet for processing {"connection_id":174321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:28: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":174321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:28:20] local.INFO: GPS data processed {"connection_id":174321,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:28:20] local.INFO: Acknowledgment sent {"connection_id":174321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:28:20] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:28:20] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:28:20] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:28:42] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:28:42] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:28:42] local.INFO: IMEI packet received {"connection_id":174322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":174322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:28:45] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:28:45] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:28:45] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:28:47] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:28:47] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:28:47] local.INFO: IMEI packet received {"connection_id":174322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:28:48] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:28:48] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:28:48] local.INFO: Packet analysis {"connection_id":174322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:28:48] local.INFO: Extracted packet for processing {"connection_id":174322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:28: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-09-08 05:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:28: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-09-08 05:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":174322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:28:48] local.INFO: GPS data processed {"connection_id":174322,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:28:48] local.INFO: Acknowledgment sent {"connection_id":174322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:29:19] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:29:19] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:29:19] local.INFO: Packet analysis {"connection_id":174322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:29:19] local.INFO: Extracted packet for processing {"connection_id":174322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:29: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:29: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-09-08 05:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":174322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:29:19] local.INFO: GPS data processed {"connection_id":174322,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:29:19] local.INFO: Acknowledgment sent {"connection_id":174322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:29:42] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:29:42] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:29:42] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:29:48] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:29:48] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:29:48] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:29:49] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:29:49] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:29:49] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:29:49] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:29: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-09-08 05:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:29:49] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:29:49] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:30:19] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:19] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:19] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:30:19] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:30: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:30: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-09-08 05:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:30:19] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:30:19] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:30:47] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:30:47] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:30:47] local.INFO: IMEI packet received {"connection_id":176821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":176821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:30:52] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:30:52] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:30:52] local.INFO: IMEI packet received {"connection_id":176821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":176821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:30:53] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:53] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:53] local.INFO: Packet analysis {"connection_id":176821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:30:53] local.INFO: Extracted packet for processing {"connection_id":176821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":176821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:30:53] local.INFO: GPS data processed {"connection_id":176821,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:30:53] local.INFO: Acknowledgment sent {"connection_id":176821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:30:58] local.INFO: TCP Data received {"connection_id":176821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:58] local.INFO: Processing buffer {"connection_id":176821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e4c5980012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:30:58] local.INFO: Packet analysis {"connection_id":176821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:30:58] local.INFO: Extracted packet for processing {"connection_id":176821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e4c"} 
[2026-09-08 05:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788825328000,"timestamp_ms":1788825328000,"timestamp_seconds":1788825328,"priority":1,"record_length":96,"hex_timestamp":"000001a07e4c5980"} 
[2026-09-08 05:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939206912001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:30:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:30:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939206912001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":176821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:30:58] local.INFO: GPS data processed {"connection_id":176821,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:30:58] local.INFO: Acknowledgment sent {"connection_id":176821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:31:43] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:31:43] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:31:43] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:31:48] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:31:48] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:31:48] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:31:49] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:31:49] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:31:49] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:31:49] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:31: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-09-08 05:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:31: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-09-08 05:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:31:49] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:31:49] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:32:20] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:32:20] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:32:20] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:32:20] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:32: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:32: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-09-08 05:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:32:20] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:32:20] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:32:43] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:32:43] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:32:43] local.INFO: IMEI packet received {"connection_id":176823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":176823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:32:49] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:32:49] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:32:49] local.INFO: IMEI packet received {"connection_id":176823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":176823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:32:50] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:32:50] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:32:50] local.INFO: Packet analysis {"connection_id":176823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:32:50] local.INFO: Extracted packet for processing {"connection_id":176823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:32:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:32:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":176823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:32:50] local.INFO: GPS data processed {"connection_id":176823,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:32:50] local.INFO: Acknowledgment sent {"connection_id":176823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:33:21] local.INFO: TCP Data received {"connection_id":176823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:33:21] local.INFO: Processing buffer {"connection_id":176823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:33:21] local.INFO: Packet analysis {"connection_id":176823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:33:21] local.INFO: Extracted packet for processing {"connection_id":176823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:33: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-09-08 05:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:33:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":176823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:33:21] local.INFO: GPS data processed {"connection_id":176823,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:33:21] local.INFO: Acknowledgment sent {"connection_id":176823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:33:42] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:33:42] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:33:42] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:33:48] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:33:48] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:33:48] local.INFO: IMEI packet received {"connection_id":176824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":176824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:33:49] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:33:49] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:33:49] local.INFO: Packet analysis {"connection_id":176824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:33:49] local.INFO: Extracted packet for processing {"connection_id":176824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:33: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-09-08 05:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:33: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-09-08 05:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":176824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:33:49] local.INFO: GPS data processed {"connection_id":176824,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:33:49] local.INFO: Acknowledgment sent {"connection_id":176824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:34:20] local.INFO: TCP Data received {"connection_id":176824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:34:20] local.INFO: Processing buffer {"connection_id":176824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:34:20] local.INFO: Packet analysis {"connection_id":176824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:34:20] local.INFO: Extracted packet for processing {"connection_id":176824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:34: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-09-08 05: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:34: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-09-08 05:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":176824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:34:21] local.INFO: GPS data processed {"connection_id":176824,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:34:21] local.INFO: Acknowledgment sent {"connection_id":176824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:34:25] local.INFO: TCP Data received {"connection_id":176825,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:34:25] local.INFO: Processing buffer {"connection_id":176825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:34:25] local.INFO: IMEI packet received {"connection_id":176825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":176825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:34:42] local.INFO: TCP Data received {"connection_id":174073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:34:42] local.INFO: Processing buffer {"connection_id":174073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:34:42] local.INFO: IMEI packet received {"connection_id":174073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":174073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:34:45] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:34:45] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:34:45] local.INFO: IMEI packet received {"connection_id":174074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:34:47] local.INFO: TCP Data received {"connection_id":174073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:34:47] local.INFO: Processing buffer {"connection_id":174073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:34:47] local.INFO: IMEI packet received {"connection_id":174073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:34:49] local.INFO: TCP Data received {"connection_id":174073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:34:49] local.INFO: Processing buffer {"connection_id":174073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:34:49] local.INFO: Packet analysis {"connection_id":174073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:34:49] local.INFO: Extracted packet for processing {"connection_id":174073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:34: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-09-08 05:34: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:34: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-09-08 05:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:34:49] local.INFO: GPS data processed {"connection_id":174073,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:34:49] local.INFO: Acknowledgment sent {"connection_id":174073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:35:20] local.INFO: TCP Data received {"connection_id":174073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:35:20] local.INFO: Processing buffer {"connection_id":174073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:35:20] local.INFO: Packet analysis {"connection_id":174073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:35:20] local.INFO: Extracted packet for processing {"connection_id":174073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:35: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-09-08 05: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":174073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:35:20] local.INFO: GPS data processed {"connection_id":174073,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:35:20] local.INFO: Acknowledgment sent {"connection_id":174073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:35:42] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:35:42] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:35:42] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:35:48] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:35:48] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:35:48] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:35:49] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:35:49] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e50f148012d34c58006aa42a8000c011528..."} 
[2026-09-08 05:35:49] local.INFO: Packet analysis {"connection_id":174326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:35:49] local.INFO: Extracted packet for processing {"connection_id":174326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e50"} 
[2026-09-08 05:35:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939283968001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788825629000,"timestamp_ms":1788825629000,"timestamp_seconds":1788825629,"priority":1,"record_length":96,"hex_timestamp":"000001a07e50f148"} 
[2026-09-08 05:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:35: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:35: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-09-08 05:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939283968001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939283968001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:35:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939283968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":174326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:35:49] local.INFO: GPS data processed {"connection_id":174326,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:35:49] local.INFO: Acknowledgment sent {"connection_id":174326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:36:21] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:36:21] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:36:21] local.INFO: Packet analysis {"connection_id":174326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:36:21] local.INFO: Extracted packet for processing {"connection_id":174326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:36: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-09-08 05:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":174326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:36:21] local.INFO: GPS data processed {"connection_id":174326,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:36:21] local.INFO: Acknowledgment sent {"connection_id":174326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:36:47] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:36:47] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:36:47] local.INFO: IMEI packet received {"connection_id":176826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":176826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:36:52] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:36:52] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:36:52] local.INFO: IMEI packet received {"connection_id":176826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":176826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:36:53] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:36:53] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:36:53] local.INFO: Packet analysis {"connection_id":176826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:36:53] local.INFO: Extracted packet for processing {"connection_id":176826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":176826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:36:53] local.INFO: GPS data processed {"connection_id":176826,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:36:53] local.INFO: Acknowledgment sent {"connection_id":176826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:37:24] local.INFO: TCP Data received {"connection_id":176826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:37:24] local.INFO: Processing buffer {"connection_id":176826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:37:24] local.INFO: Packet analysis {"connection_id":176826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:37:24] local.INFO: Extracted packet for processing {"connection_id":176826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:37: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-09-08 05:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":176826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:37:24] local.INFO: GPS data processed {"connection_id":176826,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:37:24] local.INFO: Acknowledgment sent {"connection_id":176826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:37:42] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:37:42] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:37:42] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:37:47] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:37:47] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:37:47] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:37:48] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:37:48] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:37:48] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:37:48] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:37: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-09-08 05:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:37: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-09-08 05:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:37:48] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:37:48] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:38:20] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:38:20] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:38:20] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:38:20] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:38: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-09-08 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:38: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-09-08 05:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:38:20] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:38:20] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:38:42] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:38:42] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:38:42] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:38:47] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:38:47] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:38:47] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:38:48] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:38:48] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:38:48] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:38:48] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:38: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-09-08 05:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:38: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-09-08 05:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:38:48] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:38:48] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:39:20] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:39:20] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:39:20] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:39:20] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:39: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-09-08 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:39: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-09-08 05:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:39:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:39:20] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:39:20] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:39:42] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:39:42] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:39:42] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:39:47] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:39:47] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:39:47] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:39:48] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:39:48] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:39:48] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:39:48] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:39: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-09-08 05:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:39: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-09-08 05:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:39:48] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:39:48] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:40:15] local.INFO: TCP Data received {"connection_id":176828,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:40:15] local.INFO: Processing buffer {"connection_id":176828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:40:15] local.INFO: IMEI packet received {"connection_id":176828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":176828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:40:19] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:40:19] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:40:19] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:40:19] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:40: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-09-08 05:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:40:19] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:40:19] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:40:42] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:40:42] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:40:42] local.INFO: IMEI packet received {"connection_id":176829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":176829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:40:45] local.INFO: TCP Data received {"connection_id":176830,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:40:45] local.INFO: Processing buffer {"connection_id":176830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:40:45] local.INFO: IMEI packet received {"connection_id":176830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:40:47] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:40:47] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:40:47] local.INFO: IMEI packet received {"connection_id":176829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":176829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:40:48] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:40:48] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e558910012d34c58006aa42a8000c011527..."} 
[2026-09-08 05:40:48] local.INFO: Packet analysis {"connection_id":176829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:40:48] local.INFO: Extracted packet for processing {"connection_id":176829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e55"} 
[2026-09-08 05:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":12,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939361024001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788825930000,"timestamp_ms":1788825930000,"timestamp_seconds":1788825930,"priority":1,"record_length":96,"hex_timestamp":"000001a07e558910"} 
[2026-09-08 05:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:40: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-09-08 05:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 05:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:40: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-09-08 05:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939361024001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939361024001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939361024001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":176829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:40:48] local.INFO: GPS data processed {"connection_id":176829,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:40:48] local.INFO: Acknowledgment sent {"connection_id":176829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:41:19] local.INFO: TCP Data received {"connection_id":176829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:41:19] local.INFO: Processing buffer {"connection_id":176829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:41:19] local.INFO: Packet analysis {"connection_id":176829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:41:19] local.INFO: Extracted packet for processing {"connection_id":176829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:41: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-09-08 05:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":176829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:41:19] local.INFO: GPS data processed {"connection_id":176829,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:41:19] local.INFO: Acknowledgment sent {"connection_id":176829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:41:42] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:41:42] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:41:42] local.INFO: IMEI packet received {"connection_id":176831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":176831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:41:47] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:41:47] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:41:47] local.INFO: IMEI packet received {"connection_id":176831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":176831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:41:49] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:41:49] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:41:49] local.INFO: Packet analysis {"connection_id":176831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:41:49] local.INFO: Extracted packet for processing {"connection_id":176831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:41: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-09-08 05:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:41: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-09-08 05:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:41:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":176831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:41:49] local.INFO: GPS data processed {"connection_id":176831,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:41:49] local.INFO: Acknowledgment sent {"connection_id":176831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:42:20] local.INFO: TCP Data received {"connection_id":176831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:42:20] local.INFO: Processing buffer {"connection_id":176831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:42:20] local.INFO: Packet analysis {"connection_id":176831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:42:20] local.INFO: Extracted packet for processing {"connection_id":176831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:42: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-09-08 05:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:42: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-09-08 05:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":176831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:42:20] local.INFO: GPS data processed {"connection_id":176831,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:42:20] local.INFO: Acknowledgment sent {"connection_id":176831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:42:42] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:42:42] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:42:42] local.INFO: IMEI packet received {"connection_id":175418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":175418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:42:47] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:42:47] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:42:47] local.INFO: IMEI packet received {"connection_id":175418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":175418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:42:48] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:42:48] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:42:48] local.INFO: Packet analysis {"connection_id":175418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:42:48] local.INFO: Extracted packet for processing {"connection_id":175418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:42: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-09-08 05:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:42: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-09-08 05:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":175418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:42:48] local.INFO: GPS data processed {"connection_id":175418,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:42:48] local.INFO: Acknowledgment sent {"connection_id":175418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:43:20] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:43:20] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:43:20] local.INFO: Packet analysis {"connection_id":175418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:43:20] local.INFO: Extracted packet for processing {"connection_id":175418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:43: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:43: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-09-08 05:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":175418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:43:20] local.INFO: GPS data processed {"connection_id":175418,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:43:20] local.INFO: Acknowledgment sent {"connection_id":175418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:43:42] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:43:42] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:43:42] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:43:47] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:43:47] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:43:47] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:43:48] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:43:48] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:43:48] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:43:48] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:43: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:43: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-09-08 05:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:43:48] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:43:48] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:44:19] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:44:19] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:44:19] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:44:19] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:44: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-09-08 05:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:44:19] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:44:19] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:44:42] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:44:42] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:44:42] local.INFO: IMEI packet received {"connection_id":174329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":174329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:44:48] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:44:48] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:44:48] local.INFO: IMEI packet received {"connection_id":174329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":174329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:44:49] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:44:49] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:44:49] local.INFO: Packet analysis {"connection_id":174329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:44:49] local.INFO: Extracted packet for processing {"connection_id":174329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:44: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-09-08 05:44: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:44: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-09-08 05:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:44:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":174329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:44:49] local.INFO: GPS data processed {"connection_id":174329,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:44:49] local.INFO: Acknowledgment sent {"connection_id":174329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:45:20] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:45:20] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:45:20] local.INFO: Packet analysis {"connection_id":174329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:45:20] local.INFO: Extracted packet for processing {"connection_id":174329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:45: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-09-08 05:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:45: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-09-08 05:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":174329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:45:20] local.INFO: GPS data processed {"connection_id":174329,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:45:20] local.INFO: Acknowledgment sent {"connection_id":174329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:45:42] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:45:42] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:45:42] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:45:48] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:45:48] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:45:48] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:45:49] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:45:49] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5a20d8012d34c58006aa42a80012011528..."} 
[2026-09-08 05:45:49] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:45:49] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5a"} 
[2026-09-08 05:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939438080001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826231000,"timestamp_ms":1788826231000,"timestamp_seconds":1788826231,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5a20d8"} 
[2026-09-08 05:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:45: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-09-08 05:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:45: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-09-08 05:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939438080001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939438080001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:45:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939438080001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:45:49] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:45:49] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:45:50] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:45:50] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:45:50] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:46:20] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:20] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:20] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:46:20] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:46: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:46: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-09-08 05:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:46:20] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:46:20] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:46:48] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:46:48] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:46:48] local.INFO: IMEI packet received {"connection_id":175420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":175420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:46:52] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:46:52] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:46:52] local.INFO: IMEI packet received {"connection_id":175420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":175420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:46:54] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:54] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:54] local.INFO: Packet analysis {"connection_id":175420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:46:54] local.INFO: Extracted packet for processing {"connection_id":175420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":175420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:46:54] local.INFO: GPS data processed {"connection_id":175420,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:46:54] local.INFO: Acknowledgment sent {"connection_id":175420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:46:58] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:58] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:46:58] local.INFO: Packet analysis {"connection_id":175420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:46:58] local.INFO: Extracted packet for processing {"connection_id":175420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:46:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:46:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":175420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:46:58] local.INFO: GPS data processed {"connection_id":175420,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:46:58] local.INFO: Acknowledgment sent {"connection_id":175420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:47:03] local.INFO: TCP Data received {"connection_id":175420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:03] local.INFO: Processing buffer {"connection_id":175420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:03] local.INFO: Packet analysis {"connection_id":175420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:47:03] local.INFO: Extracted packet for processing {"connection_id":175420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":175420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:47:03] local.INFO: GPS data processed {"connection_id":175420,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:47:03] local.INFO: Acknowledgment sent {"connection_id":175420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:47:43] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:47:43] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:47:43] local.INFO: IMEI packet received {"connection_id":175421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:47:48] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:47:48] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:47:48] local.INFO: IMEI packet received {"connection_id":175421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":175421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:47:48] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:48] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:48] local.INFO: Packet analysis {"connection_id":175421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:47:48] local.INFO: Extracted packet for processing {"connection_id":175421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:47: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:47: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-09-08 05:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":175421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:47:48] local.INFO: GPS data processed {"connection_id":175421,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:47:48] local.INFO: Acknowledgment sent {"connection_id":175421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:47:53] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:53] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:47:53] local.INFO: Packet analysis {"connection_id":175421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:47:53] local.INFO: Extracted packet for processing {"connection_id":175421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":175421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:47:53] local.INFO: GPS data processed {"connection_id":175421,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:47:53] local.INFO: Acknowledgment sent {"connection_id":175421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:48:24] local.INFO: TCP Data received {"connection_id":175421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:48:24] local.INFO: Processing buffer {"connection_id":175421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:48:24] local.INFO: Packet analysis {"connection_id":175421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:48:24] local.INFO: Extracted packet for processing {"connection_id":175421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:48: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-09-08 05:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":175421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:48:24] local.INFO: GPS data processed {"connection_id":175421,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:48:24] local.INFO: Acknowledgment sent {"connection_id":175421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:48:42] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:48:42] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:48:42] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:48:47] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:48:47] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:48:47] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:48:49] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:48:49] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:48:49] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:48:49] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:48: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-09-08 05:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:48: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-09-08 05:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:48:49] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:48:49] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:49:20] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:49:20] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:49:20] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:49:20] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:49: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:49: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-09-08 05:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:49:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:49:20] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:49:20] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:49:43] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:49:43] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:49:43] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:49:48] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:49:48] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:49:48] local.INFO: IMEI packet received {"connection_id":176834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":176834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:49:49] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:49:49] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:49:49] local.INFO: Packet analysis {"connection_id":176834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:49:49] local.INFO: Extracted packet for processing {"connection_id":176834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:49: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-09-08 05:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:49: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-09-08 05:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":176834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:49:49] local.INFO: GPS data processed {"connection_id":176834,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:49:49] local.INFO: Acknowledgment sent {"connection_id":176834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:50:20] local.INFO: TCP Data received {"connection_id":176834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:50:20] local.INFO: Processing buffer {"connection_id":176834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:50:20] local.INFO: Packet analysis {"connection_id":176834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:50:20] local.INFO: Extracted packet for processing {"connection_id":176834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:50: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:50: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-09-08 05:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":176834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:50:20] local.INFO: GPS data processed {"connection_id":176834,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:50:20] local.INFO: Acknowledgment sent {"connection_id":176834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:50:42] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:50:42] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:50:42] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:50:47] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:50:47] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:50:47] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:50:48] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:50:48] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e5eb8a0012d34c58006aa42a8000501152a..."} 
[2026-09-08 05:50:48] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:50:48] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e5e"} 
[2026-09-08 05:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939515136001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788826532000,"timestamp_ms":1788826532000,"timestamp_seconds":1788826532,"priority":1,"record_length":96,"hex_timestamp":"000001a07e5eb8a0"} 
[2026-09-08 05:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:50: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:50: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-09-08 05:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939515136001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939515136001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939515136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:50:48] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:50:48] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:51:19] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:51:19] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:51:19] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:51:19] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:51: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-09-08 05:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:51:19] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:51:19] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:51:25] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:51:25] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:51:25] local.INFO: IMEI packet received {"connection_id":175423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":175423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:51:42] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:51:42] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:51:42] local.INFO: IMEI packet received {"connection_id":176835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":176835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:51:45] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:51:45] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:51:45] local.INFO: IMEI packet received {"connection_id":174333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":174333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:51:48] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:51:48] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:51:48] local.INFO: IMEI packet received {"connection_id":176835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":176835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:51:49] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:51:49] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:51:49] local.INFO: Packet analysis {"connection_id":176835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:51:49] local.INFO: Extracted packet for processing {"connection_id":176835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:51: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-09-08 05:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:51: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-09-08 05:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":176835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:51:49] local.INFO: GPS data processed {"connection_id":176835,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:51:49] local.INFO: Acknowledgment sent {"connection_id":176835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:52:20] local.INFO: TCP Data received {"connection_id":176835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:52:20] local.INFO: Processing buffer {"connection_id":176835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:52:20] local.INFO: Packet analysis {"connection_id":176835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:52:20] local.INFO: Extracted packet for processing {"connection_id":176835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:52: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":176835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:52:20] local.INFO: GPS data processed {"connection_id":176835,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:52:20] local.INFO: Acknowledgment sent {"connection_id":176835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:52:42] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:52:42] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:52:42] local.INFO: IMEI packet received {"connection_id":175424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":175424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:52:48] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:52:48] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:52:48] local.INFO: IMEI packet received {"connection_id":175424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":175424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:52:49] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:52:49] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:52:49] local.INFO: Packet analysis {"connection_id":175424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:52:49] local.INFO: Extracted packet for processing {"connection_id":175424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:52: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-09-08 05:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:52: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-09-08 05:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":175424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:52:49] local.INFO: GPS data processed {"connection_id":175424,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:52:49] local.INFO: Acknowledgment sent {"connection_id":175424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:53:20] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:20] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:20] local.INFO: Packet analysis {"connection_id":175424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:53:20] local.INFO: Extracted packet for processing {"connection_id":175424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:53: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:53: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-09-08 05:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":175424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:53:20] local.INFO: GPS data processed {"connection_id":175424,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:53:20] local.INFO: Acknowledgment sent {"connection_id":175424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:53:48] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:53:48] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:53:48] local.INFO: IMEI packet received {"connection_id":176837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":176837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:53:53] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:53:53] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:53:53] local.INFO: IMEI packet received {"connection_id":176837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":176837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:53:54] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:54] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:54] local.INFO: Packet analysis {"connection_id":176837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:53:54] local.INFO: Extracted packet for processing {"connection_id":176837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":176837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:53:54] local.INFO: GPS data processed {"connection_id":176837,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:53:54] local.INFO: Acknowledgment sent {"connection_id":176837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:53:58] local.INFO: TCP Data received {"connection_id":176837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:58] local.INFO: Processing buffer {"connection_id":176837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:53:58] local.INFO: Packet analysis {"connection_id":176837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:53:58] local.INFO: Extracted packet for processing {"connection_id":176837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:53:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":176837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:53:58] local.INFO: GPS data processed {"connection_id":176837,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:53:58] local.INFO: Acknowledgment sent {"connection_id":176837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:54:42] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:54:42] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:54:42] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:54:47] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:54:47] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:54:47] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:54:48] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:54:48] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:54:48] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:54:48] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:54: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-09-08 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:54: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-09-08 05:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:54:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:54:48] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:54:48] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:54:53] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:54:53] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:54:53] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:54:53] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:54:53] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:54:53] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:55:25] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:55:25] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:55:25] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:55:25] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 05:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 05:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:55:25] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:55:25] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:55:43] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:55:43] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:55:43] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:55:48] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:55:48] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:55:48] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:55:48] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:55:48] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e635068012d34c58006aa42a80005011520..."} 
[2026-09-08 05:55:48] local.INFO: Packet analysis {"connection_id":175426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:55:48] local.INFO: Extracted packet for processing {"connection_id":175426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e63"} 
[2026-09-08 05:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 05:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939592192001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788826833000,"timestamp_ms":1788826833000,"timestamp_seconds":1788826833,"priority":1,"record_length":96,"hex_timestamp":"000001a07e635068"} 
[2026-09-08 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-09-08 05:55: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-09-08 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 05:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 05:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:55: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-09-08 05:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939592192001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939592192001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939592192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":175426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:55:48] local.INFO: GPS data processed {"connection_id":175426,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:55:48] local.INFO: Acknowledgment sent {"connection_id":175426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:56:19] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:56:19] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:56:19] local.INFO: Packet analysis {"connection_id":175426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:56:19] local.INFO: Extracted packet for processing {"connection_id":175426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:56: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-09-08 05:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:56: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-09-08 05:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":175426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:56:19] local.INFO: GPS data processed {"connection_id":175426,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:56:19] local.INFO: Acknowledgment sent {"connection_id":175426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:56:42] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:56:42] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:56:42] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:56:47] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:56:47] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:56:47] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:56:49] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:56:49] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:56:49] local.INFO: Packet analysis {"connection_id":174081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:56:49] local.INFO: Extracted packet for processing {"connection_id":174081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:56: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-09-08 05:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:56:49] local.INFO: GPS data processed {"connection_id":174081,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:56:49] local.INFO: Acknowledgment sent {"connection_id":174081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:57:20] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:57:20] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:57:20] local.INFO: Packet analysis {"connection_id":174081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:57:20] local.INFO: Extracted packet for processing {"connection_id":174081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:57: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-09-08 05:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:57: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-09-08 05:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:57:20] local.INFO: GPS data processed {"connection_id":174081,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:57:20] local.INFO: Acknowledgment sent {"connection_id":174081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:57:42] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:57:42] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:57:42] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:57:45] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:57:45] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 05:57:45] local.INFO: IMEI packet received {"connection_id":174335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 05:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":174335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:57:48] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:57:48] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:57:48] local.INFO: IMEI packet received {"connection_id":176840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":176840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:57:49] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:57:49] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:57:49] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:57:49] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:57: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-09-08 05:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:57:49] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:57:49] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:58:20] local.INFO: TCP Data received {"connection_id":176840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:58:20] local.INFO: Processing buffer {"connection_id":176840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:58:20] local.INFO: Packet analysis {"connection_id":176840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:58:20] local.INFO: Extracted packet for processing {"connection_id":176840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05: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-09-08 05:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:58: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05: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-09-08 05:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:58: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-09-08 05:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":176840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:58:20] local.INFO: GPS data processed {"connection_id":176840,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:58:20] local.INFO: Acknowledgment sent {"connection_id":176840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:58:42] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:58:42] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:58:42] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:58:47] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:58:47] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:58:47] local.INFO: IMEI packet received {"connection_id":176841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":176841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:58:48] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:58:48] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:58:48] local.INFO: Packet analysis {"connection_id":176841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:58:48] local.INFO: Extracted packet for processing {"connection_id":176841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:58: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-09-08 05:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:58: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-09-08 05:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":176841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:58:48] local.INFO: GPS data processed {"connection_id":176841,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:58:48] local.INFO: Acknowledgment sent {"connection_id":176841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:59:19] local.INFO: TCP Data received {"connection_id":176841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:59:19] local.INFO: Processing buffer {"connection_id":176841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:59:19] local.INFO: Packet analysis {"connection_id":176841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:59:19] local.INFO: Extracted packet for processing {"connection_id":176841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:59: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-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05: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-09-08 05:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":176841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:59:19] local.INFO: GPS data processed {"connection_id":176841,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:59:19] local.INFO: Acknowledgment sent {"connection_id":176841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 05:59:42] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:59:42] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:59:42] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 05:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 05:59:48] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:59:48] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 05:59:48] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 05:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 05:59:49] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:59:49] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 05:59:49] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:59:49] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 05:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 05:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 05:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 05:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 05:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 05:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 05:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 05:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 05:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 05:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 05:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 05:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 05:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 05:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 05:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 05:59: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-09-08 05:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 05:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 05:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 05:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 05:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 05:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 05:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 05:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 05:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 05:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 05:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 05:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 05:59:49] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-08 05:59:49] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:00:20] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 06:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 06:00:20] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 06:00:20] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 06:00:20] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 06:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 06:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:00: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:00: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-09-08 06:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:00:20] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:00:20] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:00:42] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:00:42] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:00:42] local.INFO: IMEI packet received {"connection_id":175428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":175428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:00:47] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:00:47] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:00:47] local.INFO: IMEI packet received {"connection_id":175428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":175428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:00:48] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 06:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 06:00:48] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e67e830012d34c58006aa42a80005011525..."} 
[2026-09-08 06:00:48] local.INFO: Packet analysis {"connection_id":175428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 06:00:48] local.INFO: Extracted packet for processing {"connection_id":175428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e67"} 
[2026-09-08 06:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":5,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939669248001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788827134000,"timestamp_ms":1788827134000,"timestamp_seconds":1788827134,"priority":1,"record_length":96,"hex_timestamp":"000001a07e67e830"} 
[2026-09-08 06:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:00: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-09-08 06:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:00: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-09-08 06:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939669248001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939669248001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939669248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":175428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:00:48] local.INFO: GPS data processed {"connection_id":175428,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:00:48] local.INFO: Acknowledgment sent {"connection_id":175428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:01:19] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:01:19] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:01:19] local.INFO: Packet analysis {"connection_id":175428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:01:19] local.INFO: Extracted packet for processing {"connection_id":175428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:01: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:01: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-09-08 06:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":175428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:01:19] local.INFO: GPS data processed {"connection_id":175428,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:01:19] local.INFO: Acknowledgment sent {"connection_id":175428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:01:48] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:01:48] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:01:48] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:01:53] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:01:53] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:01:53] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:01:54] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:01:54] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:01:54] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:01:54] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:01:54] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:01:54] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:02:25] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:02:25] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:02:25] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:02:25] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:02:25] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:02:25] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:02:42] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:02:42] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:02:42] local.INFO: IMEI packet received {"connection_id":174083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":174083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:02:47] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:02:47] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:02:47] local.INFO: IMEI packet received {"connection_id":174083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:02:48] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:02:48] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:02:48] local.INFO: Packet analysis {"connection_id":174083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:02:48] local.INFO: Extracted packet for processing {"connection_id":174083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:02: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-09-08 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:02: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-09-08 06:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":174083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:02:48] local.INFO: GPS data processed {"connection_id":174083,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:02:48] local.INFO: Acknowledgment sent {"connection_id":174083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:03:19] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:03:19] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:03:19] local.INFO: Packet analysis {"connection_id":174083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:03:19] local.INFO: Extracted packet for processing {"connection_id":174083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:03: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-09-08 06:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:03: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-09-08 06:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":174083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:03:19] local.INFO: GPS data processed {"connection_id":174083,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:03:19] local.INFO: Acknowledgment sent {"connection_id":174083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:03:42] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:03:42] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:03:42] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:03:45] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:03:45] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:03:45] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:03:48] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:03:48] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:03:48] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:03:49] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:03:49] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:03:49] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:03:49] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:03:49] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:03:49] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:04:20] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:04:20] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:04:20] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:04:20] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:04: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:04: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-09-08 06:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:04:20] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:04:20] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:04:42] local.INFO: TCP Data received {"connection_id":176843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:04:42] local.INFO: Processing buffer {"connection_id":176843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:04:42] local.INFO: IMEI packet received {"connection_id":176843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":176843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:04:48] local.INFO: TCP Data received {"connection_id":176843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:04:48] local.INFO: Processing buffer {"connection_id":176843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:04:48] local.INFO: IMEI packet received {"connection_id":176843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":176843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:04:48] local.INFO: TCP Data received {"connection_id":176843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:04:48] local.INFO: Processing buffer {"connection_id":176843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:04:48] local.INFO: Packet analysis {"connection_id":176843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:04:48] local.INFO: Extracted packet for processing {"connection_id":176843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:04: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-09-08 06:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":176843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:04:48] local.INFO: GPS data processed {"connection_id":176843,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:04:48] local.INFO: Acknowledgment sent {"connection_id":176843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:05:20] local.INFO: TCP Data received {"connection_id":176843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:20] local.INFO: Processing buffer {"connection_id":176843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:20] local.INFO: Packet analysis {"connection_id":176843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:05:20] local.INFO: Extracted packet for processing {"connection_id":176843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:05: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-09-08 06: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:05: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-09-08 06:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":176843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:05:20] local.INFO: GPS data processed {"connection_id":176843,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:05:20] local.INFO: Acknowledgment sent {"connection_id":176843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:05:48] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:05:48] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:05:48] local.INFO: IMEI packet received {"connection_id":175429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":175429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:05:53] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:05:53] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:05:53] local.INFO: IMEI packet received {"connection_id":175429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":175429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:05:53] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:53] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:53] local.INFO: Packet analysis {"connection_id":175429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:05:53] local.INFO: Extracted packet for processing {"connection_id":175429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":175429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:05:53] local.INFO: GPS data processed {"connection_id":175429,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:05:53] local.INFO: Acknowledgment sent {"connection_id":175429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:05:58] local.INFO: TCP Data received {"connection_id":175429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:58] local.INFO: Processing buffer {"connection_id":175429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e6c7ff8012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:05:58] local.INFO: Packet analysis {"connection_id":175429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:05:58] local.INFO: Extracted packet for processing {"connection_id":175429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e6c"} 
[2026-09-08 06:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788827435000,"timestamp_ms":1788827435000,"timestamp_seconds":1788827435,"priority":1,"record_length":96,"hex_timestamp":"000001a07e6c7ff8"} 
[2026-09-08 06:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939746304001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:05:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:05:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939746304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":175429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:05:58] local.INFO: GPS data processed {"connection_id":175429,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:05:58] local.INFO: Acknowledgment sent {"connection_id":175429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:06:43] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:06:43] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:06:43] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:06:48] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:06:48] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:06:48] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:06:48] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:06:48] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:06:48] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:06:48] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:06: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-09-08 06:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:06:48] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:06:48] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:07:20] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:07:20] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:07:20] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:07:20] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:07: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:07: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-09-08 06:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:07:20] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:07:20] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:07:44] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:07:44] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:07:44] local.INFO: IMEI packet received {"connection_id":176844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":176844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:07:48] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:07:48] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:07:48] local.INFO: IMEI packet received {"connection_id":176844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":176844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:07:49] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:07:49] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:07:49] local.INFO: Packet analysis {"connection_id":176844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:07:49] local.INFO: Extracted packet for processing {"connection_id":176844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":176844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:07:49] local.INFO: GPS data processed {"connection_id":176844,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:07:49] local.INFO: Acknowledgment sent {"connection_id":176844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:08:20] local.INFO: TCP Data received {"connection_id":176844,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:08:20] local.INFO: Processing buffer {"connection_id":176844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:08:20] local.INFO: Packet analysis {"connection_id":176844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:08:20] local.INFO: Extracted packet for processing {"connection_id":176844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:08: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":176844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:08:20] local.INFO: GPS data processed {"connection_id":176844,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:08:20] local.INFO: Acknowledgment sent {"connection_id":176844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:08:42] local.INFO: TCP Data received {"connection_id":176846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:08:42] local.INFO: Processing buffer {"connection_id":176846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:08:42] local.INFO: IMEI packet received {"connection_id":176846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":176846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:08:48] local.INFO: TCP Data received {"connection_id":176846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:08:48] local.INFO: Processing buffer {"connection_id":176846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:08:48] local.INFO: IMEI packet received {"connection_id":176846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":176846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:08:49] local.INFO: TCP Data received {"connection_id":176846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:08:49] local.INFO: Processing buffer {"connection_id":176846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:08:49] local.INFO: Packet analysis {"connection_id":176846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:08:49] local.INFO: Extracted packet for processing {"connection_id":176846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":176846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:08:49] local.INFO: GPS data processed {"connection_id":176846,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:08:49] local.INFO: Acknowledgment sent {"connection_id":176846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:09:10] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:09:10] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:09:10] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:09:20] local.INFO: TCP Data received {"connection_id":176846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:09:20] local.INFO: Processing buffer {"connection_id":176846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:09:20] local.INFO: Packet analysis {"connection_id":176846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:09:20] local.INFO: Extracted packet for processing {"connection_id":176846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:09: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-09-08 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:09: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-09-08 06:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":176846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:09:20] local.INFO: GPS data processed {"connection_id":176846,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:09:20] local.INFO: Acknowledgment sent {"connection_id":176846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:09:42] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:09:42] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:09:42] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:09:48] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:09:48] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:09:48] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:09:49] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:09:49] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:09:49] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:09:49] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:09:49] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:09:49] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:10:20] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:10:20] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:10:20] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:10:20] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:10: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:10: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-09-08 06:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:10:20] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:10:20] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:10:42] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:10:42] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:10:42] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:10:48] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:10:48] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:10:48] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:10:49] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:10:49] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7117c0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:10:49] local.INFO: Packet analysis {"connection_id":174344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:10:49] local.INFO: Extracted packet for processing {"connection_id":174344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e71"} 
[2026-09-08 06:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939823360001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788827736000,"timestamp_ms":1788827736000,"timestamp_seconds":1788827736,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7117c0"} 
[2026-09-08 06:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939823360001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939823360001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939823360001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":174344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:10:49] local.INFO: GPS data processed {"connection_id":174344,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:10:49] local.INFO: Acknowledgment sent {"connection_id":174344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:11:20] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:11:20] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:11:20] local.INFO: Packet analysis {"connection_id":174344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:11:20] local.INFO: Extracted packet for processing {"connection_id":174344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:11: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-09-08 06:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:11: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-09-08 06:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":174344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:11:20] local.INFO: GPS data processed {"connection_id":174344,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:11:20] local.INFO: Acknowledgment sent {"connection_id":174344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:11:47] local.INFO: TCP Data received {"connection_id":176849,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:11:47] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:11:47] local.INFO: IMEI packet received {"connection_id":176849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":176849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:11:53] local.INFO: TCP Data received {"connection_id":176849,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:11:53] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:11:53] local.INFO: IMEI packet received {"connection_id":176849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":176849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:11:53] local.INFO: TCP Data received {"connection_id":176849,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:11:53] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:11:53] local.INFO: Packet analysis {"connection_id":176849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:11:53] local.INFO: Extracted packet for processing {"connection_id":176849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":176849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:11:54] local.INFO: GPS data processed {"connection_id":176849,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:11:54] local.INFO: Acknowledgment sent {"connection_id":176849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:12:25] local.INFO: TCP Data received {"connection_id":176849,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:25] local.INFO: Processing buffer {"connection_id":176849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:25] local.INFO: Packet analysis {"connection_id":176849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:12:25] local.INFO: Extracted packet for processing {"connection_id":176849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":176849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:12:25] local.INFO: GPS data processed {"connection_id":176849,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:12:25] local.INFO: Acknowledgment sent {"connection_id":176849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:12:43] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:12:43] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:12:43] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:12:47] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:12:47] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:12:47] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:12:48] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:48] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:48] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:12:48] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:12: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:12:48] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:12:48] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:12:54] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:54] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:12:54] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:12:54] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:12:54] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:12:54] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:13:25] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:13:25] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:13:25] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:13:25] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:13: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-09-08 06:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:13:25] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:13:25] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:13:44] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:13:44] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:13:44] local.INFO: IMEI packet received {"connection_id":174346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":174346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:13:47] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:13:47] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:13:47] local.INFO: IMEI packet received {"connection_id":174346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:13:48] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:13:48] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:13:48] local.INFO: Packet analysis {"connection_id":174346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:13:48] local.INFO: Extracted packet for processing {"connection_id":174346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:13: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-09-08 06:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":174346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:13:48] local.INFO: GPS data processed {"connection_id":174346,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:13:48] local.INFO: Acknowledgment sent {"connection_id":174346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:14:19] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:14:19] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:14:19] local.INFO: Packet analysis {"connection_id":174346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:14:19] local.INFO: Extracted packet for processing {"connection_id":174346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:14: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:14: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-09-08 06:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":174346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:14:19] local.INFO: GPS data processed {"connection_id":174346,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:14:19] local.INFO: Acknowledgment sent {"connection_id":174346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:14:42] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:14:42] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:14:42] local.INFO: IMEI packet received {"connection_id":176851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":176851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:14:46] local.INFO: TCP Data received {"connection_id":176852,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:14:46] local.INFO: Processing buffer {"connection_id":176852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:14:46] local.INFO: IMEI packet received {"connection_id":176852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":176852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:14:48] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:14:48] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:14:48] local.INFO: IMEI packet received {"connection_id":176851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":176851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:14:49] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:14:49] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:14:49] local.INFO: Packet analysis {"connection_id":176851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:14:49] local.INFO: Extracted packet for processing {"connection_id":176851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":176851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:14:49] local.INFO: GPS data processed {"connection_id":176851,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:14:49] local.INFO: Acknowledgment sent {"connection_id":176851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:15:20] local.INFO: TCP Data received {"connection_id":176851,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:15:20] local.INFO: Processing buffer {"connection_id":176851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:15:20] local.INFO: Packet analysis {"connection_id":176851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:15:20] local.INFO: Extracted packet for processing {"connection_id":176851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:15: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:15: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-09-08 06:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":176851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:15:20] local.INFO: GPS data processed {"connection_id":176851,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:15:20] local.INFO: Acknowledgment sent {"connection_id":176851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:15:42] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:15:42] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:15:42] local.INFO: IMEI packet received {"connection_id":174088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":174088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:15:48] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:15:48] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:15:48] local.INFO: IMEI packet received {"connection_id":174088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":174088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:15:49] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:15:49] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e75af88012d34c58006aa42a8000b01152b..."} 
[2026-09-08 06:15:49] local.INFO: Packet analysis {"connection_id":174088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:15:49] local.INFO: Extracted packet for processing {"connection_id":174088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e75"} 
[2026-09-08 06:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939900416001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828037000,"timestamp_ms":1788828037000,"timestamp_seconds":1788828037,"priority":1,"record_length":96,"hex_timestamp":"000001a07e75af88"} 
[2026-09-08 06:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939900416001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939900416001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939900416001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":174088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:15:49] local.INFO: GPS data processed {"connection_id":174088,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:15:49] local.INFO: Acknowledgment sent {"connection_id":174088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:16:20] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:20] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:20] local.INFO: Packet analysis {"connection_id":174088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:16:20] local.INFO: Extracted packet for processing {"connection_id":174088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:16: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:16: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-09-08 06:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":174088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:16:20] local.INFO: GPS data processed {"connection_id":174088,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:16:20] local.INFO: Acknowledgment sent {"connection_id":174088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:16:48] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:16:48] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:16:48] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:16:53] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:16:53] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:16:53] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:16:53] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:53] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:53] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:16:53] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:16:54] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:16:54] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:16:58] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:58] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:16:58] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:16:58] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:16:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:16:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:16:58] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:16:58] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:17:43] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:17:43] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:17:43] local.INFO: IMEI packet received {"connection_id":174089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":174089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:17:48] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:17:48] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:17:48] local.INFO: IMEI packet received {"connection_id":174089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":174089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:17:48] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:17:48] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:17:48] local.INFO: Packet analysis {"connection_id":174089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:17:48] local.INFO: Extracted packet for processing {"connection_id":174089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:17: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-09-08 06:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":174089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:17:49] local.INFO: GPS data processed {"connection_id":174089,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:17:49] local.INFO: Acknowledgment sent {"connection_id":174089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:18:20] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:18:20] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:18:20] local.INFO: Packet analysis {"connection_id":174089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:18:20] local.INFO: Extracted packet for processing {"connection_id":174089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:18: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:18: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-09-08 06:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":174089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:18:20] local.INFO: GPS data processed {"connection_id":174089,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:18:20] local.INFO: Acknowledgment sent {"connection_id":174089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:18:43] local.INFO: TCP Data received {"connection_id":176853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:18:43] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:18:43] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:18:48] local.INFO: TCP Data received {"connection_id":176853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:18:48] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:18:48] local.INFO: IMEI packet received {"connection_id":176853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":176853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:18:48] local.INFO: TCP Data received {"connection_id":176853,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:18:48] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:18:48] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:18:48] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:18: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-09-08 06:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:18:48] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:18:48] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:19:20] local.INFO: TCP Data received {"connection_id":176853,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:19:20] local.INFO: Processing buffer {"connection_id":176853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:19:20] local.INFO: Packet analysis {"connection_id":176853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:19:20] local.INFO: Extracted packet for processing {"connection_id":176853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:19: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-09-08 06:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":176853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:19:20] local.INFO: GPS data processed {"connection_id":176853,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:19:20] local.INFO: Acknowledgment sent {"connection_id":176853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:19:43] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:19:43] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:19:43] local.INFO: IMEI packet received {"connection_id":176854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":176854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:19:48] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:19:48] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:19:48] local.INFO: IMEI packet received {"connection_id":176854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":176854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:19:48] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:19:48] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:19:48] local.INFO: Packet analysis {"connection_id":176854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:19:48] local.INFO: Extracted packet for processing {"connection_id":176854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:19: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-09-08 06:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":176854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:19:48] local.INFO: GPS data processed {"connection_id":176854,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:19:48] local.INFO: Acknowledgment sent {"connection_id":176854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:20:05] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:20:05] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:20:05] local.INFO: IMEI packet received {"connection_id":174090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":174090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:20:20] local.INFO: TCP Data received {"connection_id":176854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:20:20] local.INFO: Processing buffer {"connection_id":176854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:20:20] local.INFO: Packet analysis {"connection_id":176854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:20:20] local.INFO: Extracted packet for processing {"connection_id":176854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:20: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:20: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-09-08 06:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":176854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:20:20] local.INFO: GPS data processed {"connection_id":176854,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:20:20] local.INFO: Acknowledgment sent {"connection_id":176854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:20:42] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:20:42] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:20:42] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:20:48] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:20:48] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:20:48] local.INFO: IMEI packet received {"connection_id":176855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":176855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:20:48] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:20:48] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7a4750012d34c58006aa42a8000b011528..."} 
[2026-09-08 06:20:48] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:20:48] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7a"} 
[2026-09-08 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457939977472001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828338000,"timestamp_ms":1788828338000,"timestamp_seconds":1788828338,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7a4750"} 
[2026-09-08 06:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:20: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-09-08 06: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":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457939977472001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457939977472001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457939977472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:20:48] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:20:48] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:21:20] local.INFO: TCP Data received {"connection_id":176855,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:21:20] local.INFO: Processing buffer {"connection_id":176855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:21:20] local.INFO: Packet analysis {"connection_id":176855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:21:20] local.INFO: Extracted packet for processing {"connection_id":176855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:21: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06: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-09-08 06:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":176855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:21:20] local.INFO: GPS data processed {"connection_id":176855,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:21:20] local.INFO: Acknowledgment sent {"connection_id":176855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:21:48] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:21:48] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:21:48] local.INFO: IMEI packet received {"connection_id":174091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:21:53] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:21:53] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:21:53] local.INFO: IMEI packet received {"connection_id":174091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":174091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:21:53] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:21:53] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:21:53] local.INFO: Packet analysis {"connection_id":174091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:21:53] local.INFO: Extracted packet for processing {"connection_id":174091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":174091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:21:53] local.INFO: GPS data processed {"connection_id":174091,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:21:53] local.INFO: Acknowledgment sent {"connection_id":174091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:22:25] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:22:25] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:22:25] local.INFO: Packet analysis {"connection_id":174091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:22:25] local.INFO: Extracted packet for processing {"connection_id":174091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:22: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-09-08 06:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:22:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":174091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:22:25] local.INFO: GPS data processed {"connection_id":174091,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:22:25] local.INFO: Acknowledgment sent {"connection_id":174091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:22:42] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:22:42] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:22:42] local.INFO: IMEI packet received {"connection_id":175437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":175437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:22:48] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:22:48] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:22:48] local.INFO: IMEI packet received {"connection_id":175437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":175437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:22:49] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:22:49] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:22:49] local.INFO: Packet analysis {"connection_id":175437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:22:49] local.INFO: Extracted packet for processing {"connection_id":175437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":175437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:22:49] local.INFO: GPS data processed {"connection_id":175437,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:22:49] local.INFO: Acknowledgment sent {"connection_id":175437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:23:20] local.INFO: TCP Data received {"connection_id":175437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:23:20] local.INFO: Processing buffer {"connection_id":175437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:23:20] local.INFO: Packet analysis {"connection_id":175437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:23:20] local.INFO: Extracted packet for processing {"connection_id":175437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:23: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:23: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-09-08 06:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":175437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:23:20] local.INFO: GPS data processed {"connection_id":175437,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:23:20] local.INFO: Acknowledgment sent {"connection_id":175437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:23:42] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:23:42] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:23:42] local.INFO: IMEI packet received {"connection_id":174092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":174092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:23:48] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:23:48] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:23:48] local.INFO: IMEI packet received {"connection_id":174092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":174092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:23:49] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:23:49] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:23:49] local.INFO: Packet analysis {"connection_id":174092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:23:49] local.INFO: Extracted packet for processing {"connection_id":174092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:23:49] local.INFO: GPS data processed {"connection_id":174092,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:23:49] local.INFO: Acknowledgment sent {"connection_id":174092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:24:20] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:24:20] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:24:20] local.INFO: Packet analysis {"connection_id":174092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:24:20] local.INFO: Extracted packet for processing {"connection_id":174092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:24: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:24: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-09-08 06:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:24:20] local.INFO: GPS data processed {"connection_id":174092,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:24:20] local.INFO: Acknowledgment sent {"connection_id":174092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:24:42] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:24:42] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:24:42] local.INFO: IMEI packet received {"connection_id":174349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":174349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:24:48] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:24:48] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:24:48] local.INFO: IMEI packet received {"connection_id":174349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":174349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:24:49] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:24:49] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:24:49] local.INFO: Packet analysis {"connection_id":174349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:24:49] local.INFO: Extracted packet for processing {"connection_id":174349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:24:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":174349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:24:49] local.INFO: GPS data processed {"connection_id":174349,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:24:49] local.INFO: Acknowledgment sent {"connection_id":174349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:25:21] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:25:21] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:25:21] local.INFO: Packet analysis {"connection_id":174349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:25:21] local.INFO: Extracted packet for processing {"connection_id":174349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:25: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-09-08 06:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:25:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":174349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:25:21] local.INFO: GPS data processed {"connection_id":174349,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:25:21] local.INFO: Acknowledgment sent {"connection_id":174349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:25:42] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:25:42] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:25:42] local.INFO: IMEI packet received {"connection_id":175438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":175438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:25:45] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:25:45] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:25:45] local.INFO: IMEI packet received {"connection_id":175439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:25:48] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:25:48] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:25:48] local.INFO: IMEI packet received {"connection_id":175438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:25:48] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:25:48] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e7edf18012d34c58006aa42a8000b011527..."} 
[2026-09-08 06:25:48] local.INFO: Packet analysis {"connection_id":175438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:25:48] local.INFO: Extracted packet for processing {"connection_id":175438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e7e"} 
[2026-09-08 06:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940054528001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828639000,"timestamp_ms":1788828639000,"timestamp_seconds":1788828639,"priority":1,"record_length":96,"hex_timestamp":"000001a07e7edf18"} 
[2026-09-08 06:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:25: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-09-08 06:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940054528001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940054528001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940054528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":175438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:25:48] local.INFO: GPS data processed {"connection_id":175438,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:25:48] local.INFO: Acknowledgment sent {"connection_id":175438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:26:20] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:26:20] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:26:20] local.INFO: Packet analysis {"connection_id":175438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:26:20] local.INFO: Extracted packet for processing {"connection_id":175438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:26: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:26:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":175438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:26:20] local.INFO: GPS data processed {"connection_id":175438,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:26:20] local.INFO: Acknowledgment sent {"connection_id":175438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:26:48] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:26:48] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:26:48] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:26:53] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:26:53] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:26:53] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:26:53] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:26:53] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:26:53] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:26:53] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:26:53] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:26:53] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:27:25] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:27:25] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:27:25] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:27:25] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:27: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-09-08 06:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:27:25] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:27:25] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:27:43] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:27:43] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:27:43] local.INFO: IMEI packet received {"connection_id":176857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":176857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:27:48] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:27:48] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:27:48] local.INFO: IMEI packet received {"connection_id":176857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":176857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:27:49] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:27:49] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:27:49] local.INFO: Packet analysis {"connection_id":176857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:27:49] local.INFO: Extracted packet for processing {"connection_id":176857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":176857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:27:49] local.INFO: GPS data processed {"connection_id":176857,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:27:49] local.INFO: Acknowledgment sent {"connection_id":176857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:28:20] local.INFO: TCP Data received {"connection_id":176857,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:28:20] local.INFO: Processing buffer {"connection_id":176857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:28:20] local.INFO: Packet analysis {"connection_id":176857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:28:20] local.INFO: Extracted packet for processing {"connection_id":176857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:28: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:28: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-09-08 06:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":176857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:28:20] local.INFO: GPS data processed {"connection_id":176857,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:28:20] local.INFO: Acknowledgment sent {"connection_id":176857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:28:43] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:28:43] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:28:43] local.INFO: IMEI packet received {"connection_id":175442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":175442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:28:48] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:28:48] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:28:48] local.INFO: IMEI packet received {"connection_id":175442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:28:48] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:28:48] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:28:48] local.INFO: Packet analysis {"connection_id":175442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:28:48] local.INFO: Extracted packet for processing {"connection_id":175442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:28: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-09-08 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":175442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:28:48] local.INFO: GPS data processed {"connection_id":175442,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:28:48] local.INFO: Acknowledgment sent {"connection_id":175442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:29:20] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:29:20] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:29:20] local.INFO: Packet analysis {"connection_id":175442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:29:20] local.INFO: Extracted packet for processing {"connection_id":175442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:29: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-09-08 06:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:29:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":175442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:29:20] local.INFO: GPS data processed {"connection_id":175442,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:29:20] local.INFO: Acknowledgment sent {"connection_id":175442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:29:42] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:29:42] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:29:42] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:29:48] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:29:48] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:29:48] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:29:49] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:29:49] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:29:49] local.INFO: Packet analysis {"connection_id":174351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:29:49] local.INFO: Extracted packet for processing {"connection_id":174351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":174351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:29:49] local.INFO: GPS data processed {"connection_id":174351,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:29:49] local.INFO: Acknowledgment sent {"connection_id":174351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:30:20] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:30:20] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:30:20] local.INFO: Packet analysis {"connection_id":174351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:30:20] local.INFO: Extracted packet for processing {"connection_id":174351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:30: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:30:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:30:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":174351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:30:20] local.INFO: GPS data processed {"connection_id":174351,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:30:20] local.INFO: Acknowledgment sent {"connection_id":174351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:30:42] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:30:42] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:30:42] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:30:48] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:30:48] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:30:48] local.INFO: IMEI packet received {"connection_id":176859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":176859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:30:49] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:30:49] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8372f8012d34c58006aa42a8000b01152a..."} 
[2026-09-08 06:30:49] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:30:49] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e83"} 
[2026-09-08 06:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940131584001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788828939000,"timestamp_ms":1788828939000,"timestamp_seconds":1788828939,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8372f8"} 
[2026-09-08 06:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940131584001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940131584001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:30:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940131584001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:30:49] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:30:49] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:31:15] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:31:15] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:31:15] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:31:21] local.INFO: TCP Data received {"connection_id":176859,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:31:21] local.INFO: Processing buffer {"connection_id":176859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:31:21] local.INFO: Packet analysis {"connection_id":176859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:31:21] local.INFO: Extracted packet for processing {"connection_id":176859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:31: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:31: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-09-08 06:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:31:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":176859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:31:21] local.INFO: GPS data processed {"connection_id":176859,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:31:21] local.INFO: Acknowledgment sent {"connection_id":176859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:31:45] local.INFO: TCP Data received {"connection_id":174353,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:31:45] local.INFO: Processing buffer {"connection_id":174353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:31:45] local.INFO: IMEI packet received {"connection_id":174353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":174353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:31:48] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:31:48] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:31:48] local.INFO: IMEI packet received {"connection_id":174095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":174095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:31:53] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:31:53] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:31:53] local.INFO: IMEI packet received {"connection_id":174095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":174095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:31:54] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:31:54] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:31:54] local.INFO: Packet analysis {"connection_id":174095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:31:54] local.INFO: Extracted packet for processing {"connection_id":174095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":174095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:31:54] local.INFO: GPS data processed {"connection_id":174095,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:31:54] local.INFO: Acknowledgment sent {"connection_id":174095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:32:26] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:32:26] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:32:26] local.INFO: Packet analysis {"connection_id":174095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:32:26] local.INFO: Extracted packet for processing {"connection_id":174095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:32: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:32:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":174095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:32:26] local.INFO: GPS data processed {"connection_id":174095,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:32:26] local.INFO: Acknowledgment sent {"connection_id":174095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:32:43] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:32:43] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:32:43] local.INFO: IMEI packet received {"connection_id":175444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":175444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:32:48] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:32:48] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:32:48] local.INFO: IMEI packet received {"connection_id":175444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":175444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:32:48] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:32:48] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:32:48] local.INFO: Packet analysis {"connection_id":175444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:32:48] local.INFO: Extracted packet for processing {"connection_id":175444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:32: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-09-08 06:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":175444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:32:48] local.INFO: GPS data processed {"connection_id":175444,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:32:48] local.INFO: Acknowledgment sent {"connection_id":175444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:33:20] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:33:20] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:33:20] local.INFO: Packet analysis {"connection_id":175444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:33:20] local.INFO: Extracted packet for processing {"connection_id":175444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:33: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:33: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-09-08 06:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":175444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:33:20] local.INFO: GPS data processed {"connection_id":175444,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:33:20] local.INFO: Acknowledgment sent {"connection_id":175444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:33:43] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:33:43] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:33:43] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:33:48] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:33:48] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:33:48] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:33:48] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:33:48] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:33:48] local.INFO: Packet analysis {"connection_id":174097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:33:48] local.INFO: Extracted packet for processing {"connection_id":174097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:33: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-09-08 06:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":174097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:33:48] local.INFO: GPS data processed {"connection_id":174097,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:33:48] local.INFO: Acknowledgment sent {"connection_id":174097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:34:21] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:34:21] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:34:21] local.INFO: Packet analysis {"connection_id":174097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:34:21] local.INFO: Extracted packet for processing {"connection_id":174097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:34: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-09-08 06:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:34: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-09-08 06:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:34:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":174097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:34:21] local.INFO: GPS data processed {"connection_id":174097,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:34:21] local.INFO: Acknowledgment sent {"connection_id":174097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:34:43] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:34:43] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:34:43] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:34:48] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:34:48] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:34:48] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:34:49] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:34:49] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:34:49] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:34:49] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:34:49] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:34:49] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:35:21] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:35:21] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:35:21] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:35:21] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:35: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:35: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-09-08 06:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:35:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:35:21] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:35:21] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:35:42] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:35:42] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:35:42] local.INFO: IMEI packet received {"connection_id":174355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":174355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:35:48] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:35:48] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:35:48] local.INFO: IMEI packet received {"connection_id":174355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:35:48] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:35:48] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:35:48] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:35:48] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:35: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-09-08 06:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:35:48] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:35:48] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:36:20] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:36:20] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e880ac0012d34c58006aa42a8000b011526..."} 
[2026-09-08 06:36:20] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:36:20] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e88"} 
[2026-09-08 06:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829240000,"timestamp_ms":1788829240000,"timestamp_seconds":1788829240,"priority":1,"record_length":96,"hex_timestamp":"000001a07e880ac0"} 
[2026-09-08 06:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:36: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-09-08 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 06:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:36: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-09-08 06:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940208384001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940208384001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:36:20] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:36:20] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:36:48] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:36:48] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:36:48] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:36:50] local.INFO: TCP Data received {"connection_id":174098,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:36:50] local.INFO: Processing buffer {"connection_id":174098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:36:50] local.INFO: IMEI packet received {"connection_id":174098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:36:53] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:36:53] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:36:53] local.INFO: IMEI packet received {"connection_id":176862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":176862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:36:54] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:36:54] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:36:54] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:36:54] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:36:54] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:36:54] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:37:25] local.INFO: TCP Data received {"connection_id":176862,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:37:25] local.INFO: Processing buffer {"connection_id":176862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:37:25] local.INFO: Packet analysis {"connection_id":176862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:37:25] local.INFO: Extracted packet for processing {"connection_id":176862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:37:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":176862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:37:25] local.INFO: GPS data processed {"connection_id":176862,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:37:25] local.INFO: Acknowledgment sent {"connection_id":176862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:37:43] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:37:43] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:37:43] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:37:48] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:37:48] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:37:48] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:37:48] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:37:48] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:37:48] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:37:48] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:37: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-09-08 06:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:37:48] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:37:48] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:38:20] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:38:20] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:38:20] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:38:20] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:38: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:38: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-09-08 06:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:38:20] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:38:20] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:38:42] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:38:42] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:38:42] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:38:48] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:38:48] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:38:48] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:38:48] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:38:48] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:38:48] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:38:48] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:38: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-09-08 06:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:38: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-09-08 06:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:38:48] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:38:48] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:39:21] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:39:21] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:39:21] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:39:21] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:39: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-09-08 06:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:39:21] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:39:21] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:39:42] local.INFO: TCP Data received {"connection_id":176863,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:39:42] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:39:42] local.INFO: IMEI packet received {"connection_id":176863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":176863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:39:48] local.INFO: TCP Data received {"connection_id":176863,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:39:48] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:39:48] local.INFO: IMEI packet received {"connection_id":176863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":176863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:39:48] local.INFO: TCP Data received {"connection_id":176863,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:39:48] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:39:48] local.INFO: Packet analysis {"connection_id":176863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:39:48] local.INFO: Extracted packet for processing {"connection_id":176863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:39: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-09-08 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":176863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:39:49] local.INFO: GPS data processed {"connection_id":176863,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:39:49] local.INFO: Acknowledgment sent {"connection_id":176863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:40:20] local.INFO: TCP Data received {"connection_id":176863,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:40:20] local.INFO: Processing buffer {"connection_id":176863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:40:20] local.INFO: Packet analysis {"connection_id":176863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:40:20] local.INFO: Extracted packet for processing {"connection_id":176863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:40: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":176863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:40:20] local.INFO: GPS data processed {"connection_id":176863,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:40:20] local.INFO: Acknowledgment sent {"connection_id":176863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:40:42] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:40:42] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:40:42] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:40:48] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:40:48] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:40:48] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:40:49] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:40:49] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:40:49] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:40:49] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:40: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-09-08 06:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:40:49] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:40:49] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:41:20] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:41:20] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e8ca288012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:41:20] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:41:20] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e8c"} 
[2026-09-08 06:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940285440001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829541000,"timestamp_ms":1788829541000,"timestamp_seconds":1788829541,"priority":1,"record_length":96,"hex_timestamp":"000001a07e8ca288"} 
[2026-09-08 06:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:41: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-09-08 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 06:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:41: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-09-08 06:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940285440001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940285440001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940285440001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:41:20] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:41:20] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:41:48] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:41:48] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:41:48] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:41:53] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:41:53] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:41:53] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:41:53] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:41:53] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:41:53] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:41:53] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:41:53] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:41:53] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:42:25] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:42:25] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:42:25] local.INFO: IMEI packet received {"connection_id":174359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":174359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:42:25] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:42:25] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:42:25] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:42:25] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:42:25] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:42:25] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:42:43] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:42:43] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:42:43] local.INFO: IMEI packet received {"connection_id":175447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":175447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:42:45] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:42:45] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:42:45] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:42:48] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:42:48] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:42:48] local.INFO: IMEI packet received {"connection_id":175447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:42:49] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:42:49] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:42:49] local.INFO: Packet analysis {"connection_id":175447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:42:49] local.INFO: Extracted packet for processing {"connection_id":175447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":175447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:42:49] local.INFO: GPS data processed {"connection_id":175447,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:42:49] local.INFO: Acknowledgment sent {"connection_id":175447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:43:20] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:43:20] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:43:20] local.INFO: Packet analysis {"connection_id":175447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:43:20] local.INFO: Extracted packet for processing {"connection_id":175447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:43: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":175447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:43:20] local.INFO: GPS data processed {"connection_id":175447,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:43:20] local.INFO: Acknowledgment sent {"connection_id":175447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:43:43] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:43:43] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:43:43] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:43:48] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:43:48] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:43:48] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:43:48] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:43:48] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:43:48] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:43:48] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:43:48] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:43:48] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:44:17] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:17] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:17] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:44:23] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:23] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:23] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:44:23] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:44:23] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:44:23] local.INFO: Packet analysis {"connection_id":174360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:44:23] local.INFO: Extracted packet for processing {"connection_id":174360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:44: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-09-08 06:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:44: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-09-08 06:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":174360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:44:23] local.INFO: GPS data processed {"connection_id":174360,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:44:23] local.INFO: Acknowledgment sent {"connection_id":174360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:44:48] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:48] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:48] local.INFO: IMEI packet received {"connection_id":176865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":176865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:44:53] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:53] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:44:53] local.INFO: IMEI packet received {"connection_id":176865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":176865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:44:54] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:44:54] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:44:54] local.INFO: Packet analysis {"connection_id":176865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:44:54] local.INFO: Extracted packet for processing {"connection_id":176865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:44: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-09-08 06:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":176865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:44:54] local.INFO: GPS data processed {"connection_id":176865,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:44:54] local.INFO: Acknowledgment sent {"connection_id":176865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:45:25] local.INFO: TCP Data received {"connection_id":176865,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:45:25] local.INFO: Processing buffer {"connection_id":176865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:45:25] local.INFO: Packet analysis {"connection_id":176865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:45:25] local.INFO: Extracted packet for processing {"connection_id":176865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:45:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":176865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:45:25] local.INFO: GPS data processed {"connection_id":176865,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:45:25] local.INFO: Acknowledgment sent {"connection_id":176865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:45:42] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:45:42] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:45:42] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:45:48] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:45:48] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:45:48] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:45:48] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:45:48] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:45:48] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:45:48] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 06:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 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-09-08 06:45: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-09-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 06:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:45:48] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:45:48] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:46:20] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:46:20] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e913a50012d34c58006aa42a8000b011522..."} 
[2026-09-08 06:46:20] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:46:20] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e91"} 
[2026-09-08 06:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940362496001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788829842000,"timestamp_ms":1788829842000,"timestamp_seconds":1788829842,"priority":1,"record_length":96,"hex_timestamp":"000001a07e913a50"} 
[2026-09-08 06:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:46: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:46: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-09-08 06:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940362496001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940362496001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940362496001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:46:20] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:46:20] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:46:48] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:46:48] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:46:48] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:46:53] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:46:53] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:46:53] local.INFO: IMEI packet received {"connection_id":175449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":175449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:46:54] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:46:54] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:46:54] local.INFO: Packet analysis {"connection_id":175449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:46:54] local.INFO: Extracted packet for processing {"connection_id":175449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:46: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-09-08 06:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":175449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:46:54] local.INFO: GPS data processed {"connection_id":175449,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:46:54] local.INFO: Acknowledgment sent {"connection_id":175449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:47:14] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:14] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:14] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:47:15] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:15] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:15] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:47:18] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:18] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:47:18] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:47:19] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 06:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 06:47:19] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 06:47:19] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 06:47:19] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 06:47:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 06:47:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 06:47:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 06:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 06:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 06:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 06:47:19] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 06:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 06:47:19] local.ERROR: GPS data processing failed {"connection_id":174106,"error":"No valid data to process"} 
[2026-09-08 06:47:19] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 06:47:23] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9750e8012d7e360005d34df00000000006..."} 
[2026-09-08 06:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9750e8012d7e360005d34df00000000006..."} 
[2026-09-08 06:47:23] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9750e8012d7e360005d34df00000000006..."} 
[2026-09-08 06:47:23] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e97"} 
[2026-09-08 06:47:23] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e97"} 
[2026-09-08 06:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734128,"longitude_deg":76.324608,"latitude_deg":9.7734128,"altitude":0,"angle":0,"satellites":6,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34df0","is_valid_coordinates":true} 
[2026-09-08 06:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 06:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788830241000,"timestamp_ms":1788830241000,"timestamp_seconds":1788830241,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9750e8"} 
[2026-09-08 06:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 06:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13830,"109":206,"85":15104,"24":0,"16":129684390019072000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-08 06:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 06:47:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:47:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13830,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-08 06:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:47:23] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:47:23] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:47:26] local.INFO: TCP Data received {"connection_id":175449,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:47:26] local.INFO: Processing buffer {"connection_id":175449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:47:26] local.INFO: Packet analysis {"connection_id":175449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:47:26] local.INFO: Extracted packet for processing {"connection_id":175449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:47: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-09-08 06:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:47:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:47:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":175449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:47:26] local.INFO: GPS data processed {"connection_id":175449,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:47:26] local.INFO: Acknowledgment sent {"connection_id":175449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:47:43] local.INFO: TCP Data received {"connection_id":174107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:47:43] local.INFO: Processing buffer {"connection_id":174107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:47:43] local.INFO: IMEI packet received {"connection_id":174107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":174107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:47:48] local.INFO: TCP Data received {"connection_id":174107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:47:48] local.INFO: Processing buffer {"connection_id":174107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:47:48] local.INFO: IMEI packet received {"connection_id":174107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":174107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:47:49] local.INFO: TCP Data received {"connection_id":174107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:47:49] local.INFO: Processing buffer {"connection_id":174107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:47:49] local.INFO: Packet analysis {"connection_id":174107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:47:49] local.INFO: Extracted packet for processing {"connection_id":174107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 06:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 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-09-08 06:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 06:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:47: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-09-08 06:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":174107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:47:49] local.INFO: GPS data processed {"connection_id":174107,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:47:49] local.INFO: Acknowledgment sent {"connection_id":174107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:47:54] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e977fc8012d7e34c005d34ec00011000009..."} 
[2026-09-08 06:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e977fc8012d7e34c005d34ec00011000009..."} 
[2026-09-08 06:47:54] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e977fc8012d7e34c005d34ec00011000009..."} 
[2026-09-08 06:47:54] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e97"} 
[2026-09-08 06:47:54] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e97"} 
[2026-09-08 06:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734336,"longitude_deg":76.324576,"latitude_deg":9.7734336,"altitude":17,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34ec0","is_valid_coordinates":true} 
[2026-09-08 06:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940541696001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684407198941184,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541232128,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788830253000,"timestamp_ms":1788830253000,"timestamp_seconds":1788830253,"priority":1,"record_length":96,"hex_timestamp":"000001a07e977fc8"} 
[2026-09-08 06:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288064,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3141795840,"corrected_to":0} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545149440,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":3,"raw_value":7494321275049870803,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.WARNING: Large IO value detected {"io_id":78,"raw_value":1729387755645632512,"note":"Value kept but may cause issues"} 
[2026-09-08 06:47:54] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,109,85,24,241,157,16,187,183,10,66,27,1,240,174,4,113,205,239,2,46,204,160,5,3,78],"length":528,"final_offset":658,"validated_count":26,"validation_warnings":[{"io_id":204,"original":3141795840,"validated":0}]} 
[2026-09-08 06:47:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":25769803845,"timestamp_seconds":25769803.845,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 06:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940541696001,"66":13917,"109":206,"85":15104,"24":0,"16":129684407198941184,"45":9094456522541232128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940541696001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:47:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684407198941184,"km_value":129684407198941.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541232128,"description":"Unknown IO ID 45"} 
[2026-09-08 06:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940541696001,"power":13917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541232128}} 
[2026-09-08 06:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:47:54] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:47:54] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:48:15] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:48:15] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:48:15] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:48:20] local.INFO: TCP Data received {"connection_id":174107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:48:20] local.INFO: Processing buffer {"connection_id":174107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:48:20] local.INFO: Packet analysis {"connection_id":174107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:48:20] local.INFO: Extracted packet for processing {"connection_id":174107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:48: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:48: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-09-08 06:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":174107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:48:20] local.INFO: GPS data processed {"connection_id":174107,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:48:20] local.INFO: Acknowledgment sent {"connection_id":174107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:48:25] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e97d1d0012d7e348005d34e98000d00000b..."} 
[2026-09-08 06:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e97d1d0012d7e348005d34e98000d00000b..."} 
[2026-09-08 06:48:25] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e97d1d0012d7e348005d34e98000d00000b..."} 
[2026-09-08 06:48:25] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e97"} 
[2026-09-08 06:48:25] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e97"} 
[2026-09-08 06:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":97734296,"longitude_deg":76.3245696,"latitude_deg":9.7734296,"altitude":13,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d7e3480","hex_latitude":"05d34e98","is_valid_coordinates":true} 
[2026-09-08 06:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940544768001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684420083843072,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820397056,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48: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-09-08 06:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788830274000,"timestamp_ms":1788830274000,"timestamp_seconds":1788830274,"priority":1,"record_length":96,"hex_timestamp":"000001a07e97d1d0"} 
[2026-09-08 06:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:48:25] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 06:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940544768001,"66":14004,"109":206,"85":15104,"24":0,"16":129684420083843072,"45":9094104678820397056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940544768001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:48:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684420083843072,"km_value":129684420083843.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820397056,"description":"Unknown IO ID 45"} 
[2026-09-08 06:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940544768001,"power":14004,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820397056}} 
[2026-09-08 06:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:48:25] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:48:25] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:48:43] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:48:43] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:48:43] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:48:45] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:48:45] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:48:45] local.INFO: IMEI packet received {"connection_id":174362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":174362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:48:48] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:48:48] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:48:48] local.INFO: IMEI packet received {"connection_id":176866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":176866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:48:51] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:48:51] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:48:51] local.INFO: Packet analysis {"connection_id":176866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:48:51] local.INFO: Extracted packet for processing {"connection_id":176866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:48: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-09-08 06:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":176866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:48:51] local.INFO: GPS data processed {"connection_id":176866,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:48:51] local.INFO: Acknowledgment sent {"connection_id":176866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:48:56] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9823d8012d7e344005d34e78000800000c..."} 
[2026-09-08 06:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9823d8012d7e344005d34e78000800000c..."} 
[2026-09-08 06:48:56] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9823d8012d7e344005d34e78000800000c..."} 
[2026-09-08 06:48:56] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e98"} 
[2026-09-08 06:48:56] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e98"} 
[2026-09-08 06:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763245632,"raw_latitude":97734264,"longitude_deg":76.3245632,"latitude_deg":9.7734264,"altitude":8,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7e3440","hex_latitude":"05d34e78","is_valid_coordinates":true} 
[2026-09-08 06:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940550144001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684424378810368,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310076209152,"note":"Value kept but may cause issues"} 
[2026-09-08 06:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788830295000,"timestamp_ms":1788830295000,"timestamp_seconds":1788830295,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9823d8"} 
[2026-09-08 06:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 06:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940550144001,"66":13906,"109":206,"85":15104,"24":0,"16":129684424378810368,"45":9094034310076209152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940550144001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:48:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684424378810368,"km_value":129684424378810.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310076209152,"description":"Unknown IO ID 45"} 
[2026-09-08 06:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940550144001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094034310076209152}} 
[2026-09-08 06:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:48:56] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:48:56] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:49:22] local.INFO: TCP Data received {"connection_id":176866,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:49:22] local.INFO: Processing buffer {"connection_id":176866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:49:22] local.INFO: Packet analysis {"connection_id":176866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:49:22] local.INFO: Extracted packet for processing {"connection_id":176866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:49: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06: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-09-08 06:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:49:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":176866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:49:22] local.INFO: GPS data processed {"connection_id":176866,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:49:22] local.INFO: Acknowledgment sent {"connection_id":176866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:49:27] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e991220012d7e304005d358980008003d0f..."} 
[2026-09-08 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e991220012d7e304005d358980008003d0f..."} 
[2026-09-08 06:49:27] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e991220012d7e304005d358980008003d0f..."} 
[2026-09-08 06:49:27] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e99"} 
[2026-09-08 06:49:27] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e99"} 
[2026-09-08 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97736856,"longitude_deg":76.3244608,"latitude_deg":9.7736856,"altitude":8,"angle":61,"satellites":15,"speed":7,"hex_longitude":"2d7e3040","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-09-08 06:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940570624001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684604767436800,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566449068032,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788830356000,"timestamp_ms":1788830356000,"timestamp_seconds":1788830356,"priority":1,"record_length":96,"hex_timestamp":"000001a07e991220"} 
[2026-09-08 06:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 06:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940570624001,"66":13961,"109":206,"85":15104,"24":7,"16":129684604767436800,"45":9092556566449068032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940570624001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:49:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684604767436800,"km_value":129684604767436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566449068032,"description":"Unknown IO ID 45"} 
[2026-09-08 06:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940570624001,"power":13961,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092556566449068032}} 
[2026-09-08 06:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:49:27] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:49:27] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:49:42] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:49:42] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:49:42] local.INFO: IMEI packet received {"connection_id":174109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":174109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:49:48] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:49:48] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:49:48] local.INFO: IMEI packet received {"connection_id":174109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":174109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:49:48] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:49:48] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:49:48] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:49:48] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:49: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-09-08 06:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:49:48] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:49:48] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:49:58] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9919f0012d7e328005d35920000900500f..."} 
[2026-09-08 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9919f0012d7e328005d35920000900500f..."} 
[2026-09-08 06:49:58] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9919f0012d7e328005d35920000900500f..."} 
[2026-09-08 06:49:58] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e99"} 
[2026-09-08 06:49:58] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e99"} 
[2026-09-08 06:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763245184,"raw_latitude":97736992,"longitude_deg":76.3245184,"latitude_deg":9.7736992,"altitude":9,"angle":80,"satellites":15,"speed":12,"hex_longitude":"2d7e3280","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-09-08 06:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940571136001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684630537240576,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425844224,"note":"Value kept but may cause issues"} 
[2026-09-08 06:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788830358000,"timestamp_ms":1788830358000,"timestamp_seconds":1788830358,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9919f0"} 
[2026-09-08 06:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 06:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940571136001,"66":13961,"109":206,"85":15104,"24":12,"16":129684630537240576,"45":9092838041425844224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940571136001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:49:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684630537240576,"km_value":129684630537240.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425844224,"description":"Unknown IO ID 45"} 
[2026-09-08 06:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940571136001,"power":13961,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9092838041425844224}} 
[2026-09-08 06:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:49:58] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:49:58] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:50:20] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:50:20] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:50:20] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:50:20] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:50: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:50: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-09-08 06:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:50:20] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:50:20] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:50:29] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a0c20012d7e664005d305380009008011..."} 
[2026-09-08 06:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a0c20012d7e664005d305380009008011..."} 
[2026-09-08 06:50:29] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a0c20012d7e664005d305380009008011..."} 
[2026-09-08 06:50:29] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:50:29] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763258432,"raw_latitude":97715512,"longitude_deg":76.3258432,"latitude_deg":9.7715512,"altitude":9,"angle":128,"satellites":17,"speed":8,"hex_longitude":"2d7e6640","hex_latitude":"05d30538","is_valid_coordinates":true} 
[2026-09-08 06:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940587264001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129686150955663360,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107967321418608640,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788830420000,"timestamp_ms":1788830420000,"timestamp_seconds":1788830420,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a0c20"} 
[2026-09-08 06:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 06:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940587264001,"66":13319,"109":206,"85":15104,"24":8,"16":129686150955663360,"45":9107967321418608640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940587264001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:50:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129686150955663360,"km_value":129686150955663.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107967321418608640,"description":"Unknown IO ID 45"} 
[2026-09-08 06:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940587264001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9107967321418608640}} 
[2026-09-08 06:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:50:29] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:50:29] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:50:42] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:50:42] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:50:42] local.INFO: IMEI packet received {"connection_id":176868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":176868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:50:48] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:50:48] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:50:48] local.INFO: IMEI packet received {"connection_id":176868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":176868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:50:49] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:50:49] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:50:49] local.INFO: Packet analysis {"connection_id":176868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:50:49] local.INFO: Extracted packet for processing {"connection_id":176868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:50: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-09-08 06:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":176868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:50:49] local.INFO: GPS data processed {"connection_id":176868,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:50:49] local.INFO: Acknowledgment sent {"connection_id":176868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:51:00] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a1008012d7e674005d304e80008006311..."} 
[2026-09-08 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a1008012d7e674005d304e80008006311..."} 
[2026-09-08 06:51:00] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a1008012d7e674005d304e80008006311..."} 
[2026-09-08 06:51:00] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:00] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763258688,"raw_latitude":97715432,"longitude_deg":76.3258688,"latitude_deg":9.7715432,"altitude":8,"angle":99,"satellites":17,"speed":6,"hex_longitude":"2d7e6740","hex_latitude":"05d304e8","is_valid_coordinates":true} 
[2026-09-08 06:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940587520001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129686163840565248,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037690162755584,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788830421000,"timestamp_ms":1788830421000,"timestamp_seconds":1788830421,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a1008"} 
[2026-09-08 06:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545243648,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2580133889,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6019060957823962880,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221607243,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402061,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3155230720,"corrected_to":0} 
[2026-09-08 06:51:00] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57787500785980731,"corrected_to":0} 
[2026-09-08 06:51:00] local.WARNING: Large IO value detected {"io_id":153,"raw_value":-8414974608836673531,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,188,160,8,45,5,9,17,10,66,4,192,6,1,240,82,227,126,211,113,205,32,154,95,152,15,239,54,2,204,13,23,246,153],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":204,"original":3155230720,"validated":0},{"io_id":246,"original":57787500785980731,"validated":0}]} 
[2026-09-08 06:51:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648659156844675072,"timestamp_seconds":648659156844675.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 06:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940587520001,"66":13319,"109":206,"85":15104,"24":6,"16":129686163840565248,"45":9108037690162755584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940587520001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:51:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129686163840565248,"km_value":129686163840565.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037690162755584,"description":"Unknown IO ID 45"} 
[2026-09-08 06:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940587520001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9108037690162755584}} 
[2026-09-08 06:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:51:00] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:51:00] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:51:20] local.INFO: TCP Data received {"connection_id":176868,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:51:20] local.INFO: Processing buffer {"connection_id":176868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e95d218012d34c58006aa42a8000b011525..."} 
[2026-09-08 06:51:20] local.INFO: Packet analysis {"connection_id":176868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:51:20] local.INFO: Extracted packet for processing {"connection_id":176868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e95"} 
[2026-09-08 06:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940439552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830143000,"timestamp_ms":1788830143000,"timestamp_seconds":1788830143,"priority":1,"record_length":96,"hex_timestamp":"000001a07e95d218"} 
[2026-09-08 06:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:51: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-09-08 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 06:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:51: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-09-08 06:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940439552001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940439552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940439552001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":176868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:51:20] local.INFO: GPS data processed {"connection_id":176868,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:51:20] local.INFO: Acknowledgment sent {"connection_id":176868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:51:33] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a13f0012d7e67c005d305100008004b11..."} 
[2026-09-08 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a13f0012d7e67c005d305100008004b11..."} 
[2026-09-08 06:51:33] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a13f0012d7e67c005d305100008004b11..."} 
[2026-09-08 06:51:33] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:33] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763258816,"raw_latitude":97715472,"longitude_deg":76.3258816,"latitude_deg":9.7715472,"altitude":8,"angle":75,"satellites":17,"speed":9,"hex_longitude":"2d7e67c0","hex_latitude":"05d30510","is_valid_coordinates":true} 
[2026-09-08 06:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940587776001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129686168135532544,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108319165139445760,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788830422000,"timestamp_ms":1788830422000,"timestamp_seconds":1788830422,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a13f0"} 
[2026-09-08 06:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544946688,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2583973889,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5773614778133712640,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3087084926,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080525,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3161784320,"corrected_to":0} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.WARNING: Large IO value detected {"io_id":153,"raw_value":-7852024655415181307,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,188,160,12,45,64,5,9,17,10,66,8,4,192,1,240,82,227,126,211,113,205,201,99,32,15,239,54,2,204,13,25,169,153],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":204,"original":3161784320,"validated":0}]} 
[2026-09-08 06:51:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576569676969410560,"timestamp_seconds":576569676969410.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 06:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940587776001,"66":13906,"109":206,"85":15104,"24":9,"16":129686168135532544,"45":9108319165139445760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940587776001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:51:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129686168135532544,"km_value":129686168135532.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108319165139445760,"description":"Unknown IO ID 45"} 
[2026-09-08 06:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940587776001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108319165139445760}} 
[2026-09-08 06:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:51:33] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:51:33] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:51:48] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:51:48] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:51:48] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:51:53] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:51:53] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:51:53] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:51:53] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:51:53] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:51:53] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:51:54] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:51:54] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:51:54] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:54] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:51:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:51:54] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:51:54] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:51:58] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:51:58] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:51:58] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:58] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:51:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:51:58] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:51:58] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:51:58] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:51:58] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:51:58] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:51:59] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a5270012d7e8b8005d30d380007004011..."} 
[2026-09-08 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a5270012d7e8b8005d30d380007004011..."} 
[2026-09-08 06:51:59] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a5270012d7e8b8005d30d380007004011..."} 
[2026-09-08 06:51:59] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:59] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763267968,"raw_latitude":97717560,"longitude_deg":76.3267968,"latitude_deg":9.771756,"altitude":7,"angle":64,"satellites":17,"speed":26,"hex_longitude":"2d7e8b80","hex_latitude":"05d30d38","is_valid_coordinates":true} 
[2026-09-08 06:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940588032001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129686623402065920,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108459902627811328,"note":"Value kept but may cause issues"} 
[2026-09-08 06:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788830438000,"timestamp_ms":1788830438000,"timestamp_seconds":1788830438,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a5270"} 
[2026-09-08 06:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 06:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940588032001,"66":13972,"109":206,"85":15104,"24":26,"16":129686623402065920,"45":9108459902627811328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940588032001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:51:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129686623402065920,"km_value":129686623402065.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108459902627811328,"description":"Unknown IO ID 45"} 
[2026-09-08 06:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940588032001,"power":13972,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9108459902627811328}} 
[2026-09-08 06:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:51:59] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:51:59] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:52:30] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a65f8012d7e96c005d314880003003511..."} 
[2026-09-08 06:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a65f8012d7e96c005d314880003003511..."} 
[2026-09-08 06:52:30] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a65f8012d7e96c005d314880003003511..."} 
[2026-09-08 06:52:30] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:52:30] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763270848,"raw_latitude":97719432,"longitude_deg":76.3270848,"latitude_deg":9.7719432,"altitude":3,"angle":53,"satellites":17,"speed":28,"hex_longitude":"2d7e96c0","hex_latitude":"05d31488","is_valid_coordinates":true} 
[2026-09-08 06:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940592128001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129686786610823168,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118522633045751808,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52: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-09-08 06:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788830443000,"timestamp_ms":1788830443000,"timestamp_seconds":1788830443,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a65f8"} 
[2026-09-08 06:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 06:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940592128001,"66":13939,"109":206,"85":15104,"24":28,"16":129686786610823168,"45":9118522633045751808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940592128001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:52:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129686786610823168,"km_value":129686786610823.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118522633045751808,"description":"Unknown IO ID 45"} 
[2026-09-08 06:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940592128001,"power":13939,"unknown_109":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9118522633045751808}} 
[2026-09-08 06:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:52:30] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:52:30] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:52:43] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:52:43] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:52:43] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:52:48] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:52:48] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:52:48] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:52:48] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:52:48] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:52:48] local.INFO: Packet analysis {"connection_id":174112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:52:48] local.INFO: Extracted packet for processing {"connection_id":174112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:52: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":174112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:52:48] local.INFO: GPS data processed {"connection_id":174112,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:52:48] local.INFO: Acknowledgment sent {"connection_id":174112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:52:52] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:52] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:52] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:52:53] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:53] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:53] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:52:55] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:55] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:55] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:52:58] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:58] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:52:58] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:52:59] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a8150012d7ea78005d31f400002004511..."} 
[2026-09-08 06:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a8150012d7ea78005d31f400002004511..."} 
[2026-09-08 06:52:59] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a8150012d7ea78005d31f400002004511..."} 
[2026-09-08 06:52:59] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:52:59] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":97722176,"longitude_deg":76.3275136,"latitude_deg":9.7722176,"altitude":2,"angle":69,"satellites":17,"speed":28,"hex_longitude":"2d7ea780","hex_latitude":"05d31f40","is_valid_coordinates":true} 
[2026-09-08 06:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593408001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129687031423959040,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121689226534225920,"note":"Value kept but may cause issues"} 
[2026-09-08 06:52: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-09-08 06:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788830450000,"timestamp_ms":1788830450000,"timestamp_seconds":1788830450,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a8150"} 
[2026-09-08 06:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 06:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593408001,"66":13906,"109":206,"85":15104,"24":28,"16":129687031423959040,"45":9121689226534225920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593408001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:52:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129687031423959040,"km_value":129687031423959.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121689226534225920,"description":"Unknown IO ID 45"} 
[2026-09-08 06:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593408001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9121689226534225920}} 
[2026-09-08 06:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:52:59] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:52:59] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:53:20] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:53:20] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:53:20] local.INFO: Packet analysis {"connection_id":174112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:53:20] local.INFO: Extracted packet for processing {"connection_id":174112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:53: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:53: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-09-08 06:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:53:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":174112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:53:20] local.INFO: GPS data processed {"connection_id":174112,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:53:20] local.INFO: Acknowledgment sent {"connection_id":174112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:53:30] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9cbf88012d7f5a0005d38ef00005004416..."} 
[2026-09-08 06:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9cbf88012d7f5a0005d38ef00005004416..."} 
[2026-09-08 06:53:30] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9cbf88012d7f5a0005d38ef00005004416..."} 
[2026-09-08 06:53:30] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9c"} 
[2026-09-08 06:53:30] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9c"} 
[2026-09-08 06:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763320832,"raw_latitude":97750768,"longitude_deg":76.3320832,"latitude_deg":9.7750768,"altitude":5,"angle":68,"satellites":22,"speed":51,"hex_longitude":"2d7f5a00","hex_latitude":"05d38ef0","is_valid_coordinates":true} 
[2026-09-08 06:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940631552001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129689775908061184,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170595503744856064,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53: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-09-08 06:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788830597000,"timestamp_ms":1788830597000,"timestamp_seconds":1788830597,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9cbf88"} 
[2026-09-08 06:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627183824896,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2623141889,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812237,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3205496832,"corrected_to":0} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544731648,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":135,"raw_value":576792251175273939,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.WARNING: Large IO value detected {"io_id":72,"raw_value":5764614120658763776,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,191,160,45,120,6,22,10,66,129,192,92,101,64,1,240,227,126,211,4,113,205,3,43,80,239,53,2,204,5,135,72],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":204,"original":3205496832,"validated":0}]} 
[2026-09-08 06:53:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432405032348024832,"timestamp_seconds":432405032348024.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 06:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940631552001,"66":13798,"109":206,"85":15104,"24":51,"16":129689775908061184,"45":9170595503744856064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940631552001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:53:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129689775908061184,"km_value":129689775908061.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170595503744856064,"description":"Unknown IO ID 45"} 
[2026-09-08 06:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940631552001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9170595503744856064}} 
[2026-09-08 06:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:53:30] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:53:30] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:53:43] local.INFO: TCP Data received {"connection_id":174365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:53:43] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:53:43] local.INFO: IMEI packet received {"connection_id":174365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":174365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:53:48] local.INFO: TCP Data received {"connection_id":174365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:53:48] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:53:48] local.INFO: IMEI packet received {"connection_id":174365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:53:48] local.INFO: TCP Data received {"connection_id":174365,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:53:48] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:53:48] local.INFO: Packet analysis {"connection_id":174365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:53:48] local.INFO: Extracted packet for processing {"connection_id":174365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:53: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-09-08 06:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":174365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:53:48] local.INFO: GPS data processed {"connection_id":174365,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:53:48] local.INFO: Acknowledgment sent {"connection_id":174365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:53:50] local.INFO: TCP Data received {"connection_id":174113,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:53:50] local.INFO: Processing buffer {"connection_id":174113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:53:50] local.INFO: IMEI packet received {"connection_id":174113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":174113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:53:53] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:53] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:53] local.INFO: IMEI packet received {"connection_id":175452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":175452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:53:53] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:53] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:53] local.INFO: IMEI packet received {"connection_id":175452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":175452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:53:58] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:58] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:53:58] local.INFO: IMEI packet received {"connection_id":175452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":175452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:53:59] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9ccb40012d7f68c005d393500006005016..."} 
[2026-09-08 06:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9ccb40012d7f68c005d393500006005016..."} 
[2026-09-08 06:53:59] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9ccb40012d7f68c005d393500006005016..."} 
[2026-09-08 06:53:59] local.INFO: Packet analysis {"connection_id":175452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9c"} 
[2026-09-08 06:53:59] local.INFO: Extracted packet for processing {"connection_id":175452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9c"} 
[2026-09-08 06:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763324608,"raw_latitude":97751888,"longitude_deg":76.3324608,"latitude_deg":9.7751888,"altitude":6,"angle":80,"satellites":22,"speed":49,"hex_longitude":"2d7f68c0","hex_latitude":"05d39350","is_valid_coordinates":true} 
[2026-09-08 06:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940632832001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129689964886622208,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176647215745003520,"note":"Value kept but may cause issues"} 
[2026-09-08 06:53: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-09-08 06:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788830600000,"timestamp_ms":1788830600000,"timestamp_seconds":1788830600,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9ccb40"} 
[2026-09-08 06:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 06:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940632832001,"66":13646,"109":206,"85":15104,"24":49,"16":129689964886622208,"45":9176647215745003520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940632832001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:53:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129689964886622208,"km_value":129689964886622.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176647215745003520,"description":"Unknown IO ID 45"} 
[2026-09-08 06:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940632832001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9176647215745003520}} 
[2026-09-08 06:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":175452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:53:59] local.INFO: GPS data processed {"connection_id":175452,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:53:59] local.INFO: Acknowledgment sent {"connection_id":175452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:54:20] local.INFO: TCP Data received {"connection_id":174365,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:54:20] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:54:20] local.INFO: Packet analysis {"connection_id":174365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:54:20] local.INFO: Extracted packet for processing {"connection_id":174365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:54: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:54: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-09-08 06:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:54:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":174365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:54:20] local.INFO: GPS data processed {"connection_id":174365,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:54:20] local.INFO: Acknowledgment sent {"connection_id":174365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:54:35] local.INFO: TCP Data received {"connection_id":175452,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9cdae0012d7f784005d394580007005b16..."} 
[2026-09-08 06:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9cdae0012d7f784005d394580007005b16..."} 
[2026-09-08 06:54:35] local.INFO: Processing buffer {"connection_id":175452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9cdae0012d7f784005d394580007005b16..."} 
[2026-09-08 06:54:35] local.INFO: Packet analysis {"connection_id":175452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9c"} 
[2026-09-08 06:54:35] local.INFO: Extracted packet for processing {"connection_id":175452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9c"} 
[2026-09-08 06:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763328576,"raw_latitude":97752152,"longitude_deg":76.3328576,"latitude_deg":9.7752152,"altitude":7,"angle":91,"satellites":22,"speed":27,"hex_longitude":"2d7f7840","hex_latitude":"05d39458","is_valid_coordinates":true} 
[2026-09-08 06:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940633600001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129690153865183232,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180798971651772416,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788830604000,"timestamp_ms":1788830604000,"timestamp_seconds":1788830604,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9cdae0"} 
[2026-09-08 06:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 06:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940633600001,"66":13602,"109":206,"85":15104,"24":27,"16":129690153865183232,"45":9180798971651772416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 06:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940633600001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:54:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 06:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129690153865183232,"km_value":129690153865183.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180798971651772416,"description":"Unknown IO ID 45"} 
[2026-09-08 06:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940633600001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9180798971651772416}} 
[2026-09-08 06:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":175452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:54:35] local.INFO: GPS data processed {"connection_id":175452,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:54:35] local.INFO: Acknowledgment sent {"connection_id":175452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:54:42] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:54:42] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:54:42] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:54:48] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:54:48] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:54:48] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:54:49] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:54:49] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:54:49] local.INFO: Packet analysis {"connection_id":174114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:54:49] local.INFO: Extracted packet for processing {"connection_id":174114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:54: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-09-08 06:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":174114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:54:49] local.INFO: GPS data processed {"connection_id":174114,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:54:49] local.INFO: Acknowledgment sent {"connection_id":174114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:54:53] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:54:53] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:54:53] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:54:58] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:54:58] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:54:58] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:55:00] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9dfbf0012d8043c005d383e00009007d1b..."} 
[2026-09-08 06:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9dfbf0012d8043c005d383e00009007d1b..."} 
[2026-09-08 06:55:00] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9dfbf0012d8043c005d383e00009007d1b..."} 
[2026-09-08 06:55:00] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9d"} 
[2026-09-08 06:55:00] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9d"} 
[2026-09-08 06:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763380672,"raw_latitude":97747936,"longitude_deg":76.3380672,"latitude_deg":9.7747936,"altitude":9,"angle":125,"satellites":27,"speed":20,"hex_longitude":"2d8043c0","hex_latitude":"05d383e0","is_valid_coordinates":true} 
[2026-09-08 06:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940653056001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129692786680135680,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205076138344923136,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788830678000,"timestamp_ms":1788830678000,"timestamp_seconds":1788830678,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9dfbf0"} 
[2026-09-08 06:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 06:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940653056001,"66":13678,"167":206,"85":15104,"24":20,"16":129692786680135680,"45":-9205076138344923136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-08 06:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940653056001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:55:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 06:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129692786680135680,"km_value":129692786680135.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205076138344923136,"description":"Unknown IO ID 45"} 
[2026-09-08 06:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940653056001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9205076138344923136}} 
[2026-09-08 06:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:55:00] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:55:00] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:55:20] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:55:20] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:55:20] local.INFO: Packet analysis {"connection_id":174114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:55:20] local.INFO: Extracted packet for processing {"connection_id":174114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:55: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-09-08 06:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:55: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-09-08 06:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:55:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":174114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:55:20] local.INFO: GPS data processed {"connection_id":174114,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:55:20] local.INFO: Acknowledgment sent {"connection_id":174114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:55:31] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9dffd8012d8045c005d382f80009006d1b..."} 
[2026-09-08 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9dffd8012d8045c005d382f80009006d1b..."} 
[2026-09-08 06:55:31] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9dffd8012d8045c005d382f80009006d1b..."} 
[2026-09-08 06:55:31] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9d"} 
[2026-09-08 06:55:31] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9d"} 
[2026-09-08 06:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763381184,"raw_latitude":97747704,"longitude_deg":76.3381184,"latitude_deg":9.7747704,"altitude":9,"angle":109,"satellites":27,"speed":21,"hex_longitude":"2d8045c0","hex_latitude":"05d382f8","is_valid_coordinates":true} 
[2026-09-08 06:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940653568001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129692812449939456,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204302082159157248,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788830679000,"timestamp_ms":1788830679000,"timestamp_seconds":1788830679,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9dffd8"} 
[2026-09-08 06:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 06:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940653568001,"66":13678,"167":206,"85":15104,"24":21,"16":129692812449939456,"45":-9204302082159157248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-08 06:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940653568001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129692812449939456,"km_value":129692812449939.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204302082159157248,"description":"Unknown IO ID 45"} 
[2026-09-08 06:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940653568001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9204302082159157248}} 
[2026-09-08 06:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:55:31] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:55:31] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:55:42] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:55:42] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:55:42] local.INFO: IMEI packet received {"connection_id":176872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":176872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:55:48] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:55:48] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:55:48] local.INFO: IMEI packet received {"connection_id":176872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":176872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:55:48] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:55:48] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:55:48] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:55:48] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:55: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:55:48] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:55:48] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:55:53] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:53] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:53] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:55:56] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:56] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:56] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:55:56] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:56] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:56] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:55:58] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:58] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:55:58] local.INFO: IMEI packet received {"connection_id":176873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":176873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:55:59] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9e03c0012d80480005d38280000900601a..."} 
[2026-09-08 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9e03c0012d80480005d38280000900601a..."} 
[2026-09-08 06:55:59] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9e03c0012d80480005d38280000900601a..."} 
[2026-09-08 06:55:59] local.INFO: Packet analysis {"connection_id":176873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9e"} 
[2026-09-08 06:55:59] local.INFO: Extracted packet for processing {"connection_id":176873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9e"} 
[2026-09-08 06:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763381760,"raw_latitude":97747584,"longitude_deg":76.338176,"latitude_deg":9.7747584,"altitude":9,"angle":96,"satellites":26,"speed":23,"hex_longitude":"2d804800","hex_latitude":"05d38280","is_valid_coordinates":true} 
[2026-09-08 06:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940653824001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129692838219743232,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203739132205795328,"note":"Value kept but may cause issues"} 
[2026-09-08 06:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788830680000,"timestamp_ms":1788830680000,"timestamp_seconds":1788830680,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9e03c0"} 
[2026-09-08 06:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 06:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940653824001,"66":13798,"167":206,"85":15104,"24":23,"16":129692838219743232,"45":-9203739132205795328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-08 06:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940653824001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:55:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 06:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129692838219743232,"km_value":129692838219743.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203739132205795328,"description":"Unknown IO ID 45"} 
[2026-09-08 06:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940653824001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9203739132205795328}} 
[2026-09-08 06:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":176873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:55:59] local.INFO: GPS data processed {"connection_id":176873,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:55:59] local.INFO: Acknowledgment sent {"connection_id":176873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:56:20] local.INFO: TCP Data received {"connection_id":176872,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:56:20] local.INFO: Processing buffer {"connection_id":176872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9a69e0012d34c58006aa42a8000b011524..."} 
[2026-09-08 06:56:20] local.INFO: Packet analysis {"connection_id":176872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:56:20] local.INFO: Extracted packet for processing {"connection_id":176872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9a"} 
[2026-09-08 06:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940516608001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830444000,"timestamp_ms":1788830444000,"timestamp_seconds":1788830444,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9a69e0"} 
[2026-09-08 06:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:56: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-09-08 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 06:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:56: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-09-08 06:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940516608001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940516608001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940516608001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":176872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:56:20] local.INFO: GPS data processed {"connection_id":176872,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:56:20] local.INFO: Acknowledgment sent {"connection_id":176872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:56:30] local.INFO: TCP Data received {"connection_id":176873,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f8a60012d80c84005d2f3c00006008a1b..."} 
[2026-09-08 06:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f8a60012d80c84005d2f3c00006008a1b..."} 
[2026-09-08 06:56:30] local.INFO: Processing buffer {"connection_id":176873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f8a60012d80c84005d2f3c00006008a1b..."} 
[2026-09-08 06:56:30] local.INFO: Packet analysis {"connection_id":176873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:56:30] local.INFO: Extracted packet for processing {"connection_id":176873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763414592,"raw_latitude":97711040,"longitude_deg":76.3414592,"latitude_deg":9.771104,"altitude":6,"angle":138,"satellites":27,"speed":24,"hex_longitude":"2d80c840","hex_latitude":"05d2f3c0","is_valid_coordinates":true} 
[2026-09-08 06:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940679424001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129696020790509568,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167499228963577856,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788830780000,"timestamp_ms":1788830780000,"timestamp_seconds":1788830780,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f8a60"} 
[2026-09-08 06:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 06:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940679424001,"66":13526,"208":206,"85":15104,"24":24,"16":129696020790509568,"45":-9167499228963577856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940679424001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:56:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129696020790509568,"km_value":129696020790509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167499228963577856,"description":"Unknown IO ID 45"} 
[2026-09-08 06:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940679424001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9167499228963577856}} 
[2026-09-08 06:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":176873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:56:30] local.INFO: GPS data processed {"connection_id":176873,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:56:30] local.INFO: Acknowledgment sent {"connection_id":176873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:56:48] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:56:48] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:56:48] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:56:53] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:56:53] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:56:53] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:56:53] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:56:53] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:56:53] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:56:53] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:56:53] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:56:53] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:56:55] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:56:55] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:56:55] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:56:58] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:56:58] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:56:58] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:56:58] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:56:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:56:58] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:56:58] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:56:58] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:56:58] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:56:58] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:57:03] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:03] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:03] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:57:04] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f8e48012d80c98005d2f1680006009d1b..."} 
[2026-09-08 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f8e48012d80c98005d2f1680006009d1b..."} 
[2026-09-08 06:57:04] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f8e48012d80c98005d2f1680006009d1b..."} 
[2026-09-08 06:57:04] local.INFO: Packet analysis {"connection_id":174368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:57:04] local.INFO: Extracted packet for processing {"connection_id":174368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763414912,"raw_latitude":97710440,"longitude_deg":76.3414912,"latitude_deg":9.771044,"altitude":6,"angle":157,"satellites":27,"speed":26,"hex_longitude":"2d80c980","hex_latitude":"05d2f168","is_valid_coordinates":true} 
[2026-09-08 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940679680001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129696050855280640,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167006647754440704,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788830781000,"timestamp_ms":1788830781000,"timestamp_seconds":1788830781,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f8e48"} 
[2026-09-08 06:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 06:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940679680001,"66":13526,"208":206,"85":15104,"24":26,"16":129696050855280640,"45":-9167006647754440704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940679680001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:57:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129696050855280640,"km_value":129696050855280.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167006647754440704,"description":"Unknown IO ID 45"} 
[2026-09-08 06:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940679680001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9167006647754440704}} 
[2026-09-08 06:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":174368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:57:04] local.INFO: GPS data processed {"connection_id":174368,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:57:04] local.INFO: Acknowledgment sent {"connection_id":174368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:57:09] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f9230012d80ca0005d2ee90000600a91b..."} 
[2026-09-08 06:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f9230012d80ca0005d2ee90000600a91b..."} 
[2026-09-08 06:57:09] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f9230012d80ca0005d2ee90000600a91b..."} 
[2026-09-08 06:57:09] local.INFO: Packet analysis {"connection_id":174368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:57:09] local.INFO: Extracted packet for processing {"connection_id":174368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763415040,"raw_latitude":97709712,"longitude_deg":76.341504,"latitude_deg":9.7709712,"altitude":6,"angle":169,"satellites":27,"speed":29,"hex_longitude":"2d80ca00","hex_latitude":"05d2ee90","is_valid_coordinates":true} 
[2026-09-08 06:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940679936001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129696089509986304,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166654804033705984,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788830782000,"timestamp_ms":1788830782000,"timestamp_seconds":1788830782,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f9230"} 
[2026-09-08 06:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 06:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940679936001,"66":13624,"208":206,"85":15104,"24":29,"16":129696089509986304,"45":-9166654804033705984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940679936001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:57:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129696089509986304,"km_value":129696089509986.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166654804033705984,"description":"Unknown IO ID 45"} 
[2026-09-08 06:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940679936001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9166654804033705984}} 
[2026-09-08 06:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":174368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:57:09] local.INFO: GPS data processed {"connection_id":174368,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:57:09] local.INFO: Acknowledgment sent {"connection_id":174368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:57:43] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:57:43] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:57:43] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:57:48] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:57:48] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:57:48] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:57:48] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:57:48] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:57:48] local.INFO: Packet analysis {"connection_id":174369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:57:48] local.INFO: Extracted packet for processing {"connection_id":174369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:57: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-09-08 06:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":174369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:57:48] local.INFO: GPS data processed {"connection_id":174369,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:57:48] local.INFO: Acknowledgment sent {"connection_id":174369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:57:53] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:53] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:53] local.INFO: IMEI packet received {"connection_id":174116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":174116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:57:56] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:56] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:57:56] local.INFO: IMEI packet received {"connection_id":174116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":174116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:57:57] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea09400012d811b8005d264c8000500a91a..."} 
[2026-09-08 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea09400012d811b8005d264c8000500a91a..."} 
[2026-09-08 06:57:57] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea09400012d811b8005d264c8000500a91a..."} 
[2026-09-08 06:57:57] local.INFO: Packet analysis {"connection_id":174116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea0"} 
[2026-09-08 06:57:57] local.INFO: Extracted packet for processing {"connection_id":174116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea0"} 
[2026-09-08 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763435904,"raw_latitude":97674440,"longitude_deg":76.3435904,"latitude_deg":9.767444,"altitude":5,"angle":169,"satellites":26,"speed":23,"hex_longitude":"2d811b80","hex_latitude":"05d264c8","is_valid_coordinates":true} 
[2026-09-08 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940696832001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129698404497358848,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143644224696666112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788830848000,"timestamp_ms":1788830848000,"timestamp_seconds":1788830848,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea09400"} 
[2026-09-08 06:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 06:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940696832001,"66":13820,"208":206,"85":15104,"24":23,"16":129698404497358848,"45":-9143644224696666112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940696832001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:57:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129698404497358848,"km_value":129698404497358.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143644224696666112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940696832001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9143644224696666112}} 
[2026-09-08 06:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":174116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:57:57] local.INFO: GPS data processed {"connection_id":174116,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:57:57] local.INFO: Acknowledgment sent {"connection_id":174116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:57:58] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea097e8012d811b8005d26250000600b51a..."} 
[2026-09-08 06:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea097e8012d811b8005d26250000600b51a..."} 
[2026-09-08 06:57:58] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea097e8012d811b8005d26250000600b51a..."} 
[2026-09-08 06:57:58] local.INFO: Packet analysis {"connection_id":174116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea0"} 
[2026-09-08 06:57:59] local.INFO: Extracted packet for processing {"connection_id":174116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea0"} 
[2026-09-08 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763435904,"raw_latitude":97673808,"longitude_deg":76.3435904,"latitude_deg":9.7673808,"altitude":6,"angle":181,"satellites":26,"speed":26,"hex_longitude":"2d811b80","hex_latitude":"05d26250","is_valid_coordinates":true} 
[2026-09-08 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940697088001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129698434562129920,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143573855952648192,"note":"Value kept but may cause issues"} 
[2026-09-08 06:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788830849000,"timestamp_ms":1788830849000,"timestamp_seconds":1788830849,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea097e8"} 
[2026-09-08 06:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 06:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940697088001,"66":13820,"208":206,"85":15104,"24":26,"16":129698434562129920,"45":-9143573855952648192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940697088001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129698434562129920,"km_value":129698434562129.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143573855952648192,"description":"Unknown IO ID 45"} 
[2026-09-08 06:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940697088001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9143573855952648192}} 
[2026-09-08 06:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":174116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:57:59] local.INFO: GPS data processed {"connection_id":174116,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:57:59] local.INFO: Acknowledgment sent {"connection_id":174116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:58:20] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:58:20] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:58:20] local.INFO: Packet analysis {"connection_id":174369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:58:20] local.INFO: Extracted packet for processing {"connection_id":174369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:58: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-09-08 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:58: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-09-08 06:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":174369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:58:20] local.INFO: GPS data processed {"connection_id":174369,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:58:20] local.INFO: Acknowledgment sent {"connection_id":174369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:58:30] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea0a3a0012d811a0005d258f8000700c11a..."} 
[2026-09-08 06:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea0a3a0012d811a0005d258f8000700c11a..."} 
[2026-09-08 06:58:30] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea0a3a0012d811a0005d258f8000700c11a..."} 
[2026-09-08 06:58:30] local.INFO: Packet analysis {"connection_id":174116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea0"} 
[2026-09-08 06:58:30] local.INFO: Extracted packet for processing {"connection_id":174116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea0"} 
[2026-09-08 06:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763435520,"raw_latitude":97671416,"longitude_deg":76.343552,"latitude_deg":9.7671416,"altitude":7,"angle":193,"satellites":26,"speed":31,"hex_longitude":"2d811a00","hex_latitude":"05d258f8","is_valid_coordinates":true} 
[2026-09-08 06:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940697344001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129698550526246912,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143573855952809984,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788830852000,"timestamp_ms":1788830852000,"timestamp_seconds":1788830852,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea0a3a0"} 
[2026-09-08 06:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 06:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940697344001,"66":13363,"208":206,"85":15104,"24":31,"16":129698550526246912,"45":-9143573855952809984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940697344001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:58:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129698550526246912,"km_value":129698550526246.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143573855952809984,"description":"Unknown IO ID 45"} 
[2026-09-08 06:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940697344001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9143573855952809984}} 
[2026-09-08 06:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":174116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:58:30] local.INFO: GPS data processed {"connection_id":174116,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:58:30] local.INFO: Acknowledgment sent {"connection_id":174116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:58:43] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:58:43] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:58:43] local.INFO: IMEI packet received {"connection_id":174117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:58:47] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:58:47] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:58:47] local.INFO: IMEI packet received {"connection_id":174117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:58:49] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:58:49] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:58:49] local.INFO: Packet analysis {"connection_id":174117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:58:49] local.INFO: Extracted packet for processing {"connection_id":174117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06: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-09-08 06:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06: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-09-08 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06: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-09-08 06:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:58: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-09-08 06:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:58:49] local.INFO: GPS data processed {"connection_id":174117,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:58:49] local.INFO: Acknowledgment sent {"connection_id":174117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:58:54] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:54] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:54] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:58:54] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:54] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:54] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:58:57] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:57] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:58:57] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:58:58] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea1b8f8012d81120005d18c80000000891b..."} 
[2026-09-08 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea1b8f8012d81120005d18c80000000891b..."} 
[2026-09-08 06:58:58] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea1b8f8012d81120005d18c80000000891b..."} 
[2026-09-08 06:58:58] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 06:58:58] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 06:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763433472,"raw_latitude":97619072,"longitude_deg":76.3433472,"latitude_deg":9.7619072,"altitude":0,"angle":137,"satellites":27,"speed":8,"hex_longitude":"2d811200","hex_latitude":"05d18c80","is_valid_coordinates":true} 
[2026-09-08 06:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940715776001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129701123211657216,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146529343222161408,"note":"Value kept but may cause issues"} 
[2026-09-08 06:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788830923000,"timestamp_ms":1788830923000,"timestamp_seconds":1788830923,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea1b8f8"} 
[2026-09-08 06:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-08 06:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940715776001,"66":13493,"208":206,"85":15104,"24":8,"16":129701123211657216,"45":-9146529343222161408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940715776001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:58:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129701123211657216,"km_value":129701123211657.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146529343222161408,"description":"Unknown IO ID 45"} 
[2026-09-08 06:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940715776001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9146529343222161408}} 
[2026-09-08 06:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:58:58] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:58:58] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:59:20] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:59:20] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:59:20] local.INFO: Packet analysis {"connection_id":174117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:59:20] local.INFO: Extracted packet for processing {"connection_id":174117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:59: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-09-08 06:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:59: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-09-08 06:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":174117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:59:20] local.INFO: GPS data processed {"connection_id":174117,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:59:20] local.INFO: Acknowledgment sent {"connection_id":174117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:59:25] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:59:25] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:59:25] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:59:29] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea1bce0012d81128005d18c28000000791a..."} 
[2026-09-08 06:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea1bce0012d81128005d18c28000000791a..."} 
[2026-09-08 06:59:29] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea1bce0012d81128005d18c28000000791a..."} 
[2026-09-08 06:59:29] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 06:59:29] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 06:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763433600,"raw_latitude":97618984,"longitude_deg":76.34336,"latitude_deg":9.7618984,"altitude":0,"angle":121,"satellites":26,"speed":5,"hex_longitude":"2d811280","hex_latitude":"05d18c28","is_valid_coordinates":true} 
[2026-09-08 06:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940716288001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129701131801591808,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247868245573632,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788830924000,"timestamp_ms":1788830924000,"timestamp_seconds":1788830924,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea1bce0"} 
[2026-09-08 06:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 06:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 06:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940716288001,"66":12113,"208":206,"85":15104,"24":5,"16":129701131801591808,"45":-9146247868245573632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940716288001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:59:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129701131801591808,"km_value":129701131801591.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247868245573632,"description":"Unknown IO ID 45"} 
[2026-09-08 06:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940716288001,"power":12113,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9146247868245573632}} 
[2026-09-08 06:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:59:29] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:59:29] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:59:42] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:59:42] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:59:42] local.INFO: IMEI packet received {"connection_id":174118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 06:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":174118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:59:45] local.INFO: TCP Data received {"connection_id":175456,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:59:45] local.INFO: Processing buffer {"connection_id":175456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 06:59:45] local.INFO: IMEI packet received {"connection_id":175456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 06:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":175456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:59:48] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:59:48] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 06:59:48] local.INFO: IMEI packet received {"connection_id":174118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 06:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":174118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:59:51] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:59:51] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 06:59:51] local.INFO: Packet analysis {"connection_id":174118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:59:51] local.INFO: Extracted packet for processing {"connection_id":174118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 06:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 06:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 06:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 06:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 06:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 06:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 06:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 06:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 06:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 06:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 06:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 06:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 06:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 06:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 06:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":174118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:59:51] local.INFO: GPS data processed {"connection_id":174118,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:59:51] local.INFO: Acknowledgment sent {"connection_id":174118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 06:59:53] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:53] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:53] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 06:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 06:59:54] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:54] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:54] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:59:54] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:54] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:54] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:59:58] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:58] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 06:59:58] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 06:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 06:59:59] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea1e008012d81144005d18c00000000611b..."} 
[2026-09-08 06:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea1e008012d81144005d18c00000000611b..."} 
[2026-09-08 06:59:59] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea1e008012d81144005d18c00000000611b..."} 
[2026-09-08 06:59:59] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 06:59:59] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 06:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763434048,"raw_latitude":97618944,"longitude_deg":76.3434048,"latitude_deg":9.7618944,"altitude":0,"angle":97,"satellites":27,"speed":6,"hex_longitude":"2d811440","hex_latitude":"05d18c00","is_valid_coordinates":true} 
[2026-09-08 06:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 06:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940716544001,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129701157571395584,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146107130757240832,"note":"Value kept but may cause issues"} 
[2026-09-08 06:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 06:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788830933000,"timestamp_ms":1788830933000,"timestamp_seconds":1788830933,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea1e008"} 
[2026-09-08 06:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 06:59: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-09-08 06:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-08 06:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 06:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 06:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 06:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 06:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 06:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 06:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 06:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 06:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 06:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940716544001,"66":13461,"208":206,"85":15104,"24":6,"16":129701157571395584,"45":-9146107130757240832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 06:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 06:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 06:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940716544001,"description":"Unknown IO ID 0"} 
[2026-09-08 06:59:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 06:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 06:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129701157571395584,"km_value":129701157571395.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 06:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146107130757240832,"description":"Unknown IO ID 45"} 
[2026-09-08 06:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940716544001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9146107130757240832}} 
[2026-09-08 06:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 06:59:59] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-08 06:59:59] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:00:22] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:00:22] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:00:22] local.INFO: Packet analysis {"connection_id":174118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 07:00:22] local.INFO: Extracted packet for processing {"connection_id":174118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 07:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 07:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 07:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:00: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-09-08 07:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:00:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":174118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:00:22] local.INFO: GPS data processed {"connection_id":174118,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:00:22] local.INFO: Acknowledgment sent {"connection_id":174118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:00:31] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea1ebc0012d81174005d18c48000000561b..."} 
[2026-09-08 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea1ebc0012d81174005d18c48000000561b..."} 
[2026-09-08 07:00:31] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea1ebc0012d81174005d18c48000000561b..."} 
[2026-09-08 07:00:31] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 07:00:31] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea1"} 
[2026-09-08 07:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763434816,"raw_latitude":97619016,"longitude_deg":76.3434816,"latitude_deg":9.7619016,"altitude":0,"angle":86,"satellites":27,"speed":10,"hex_longitude":"2d811740","hex_latitude":"05d18c48","is_valid_coordinates":true} 
[2026-09-08 07:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940718848001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129701196226101248,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145614549548007424,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788830936000,"timestamp_ms":1788830936000,"timestamp_seconds":1788830936,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea1ebc0"} 
[2026-09-08 07:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-08 07:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940718848001,"66":12798,"208":206,"85":15104,"24":10,"16":129701196226101248,"45":-9145614549548007424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940718848001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129701196226101248,"km_value":129701196226101.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145614549548007424,"description":"Unknown IO ID 45"} 
[2026-09-08 07:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940718848001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9145614549548007424}} 
[2026-09-08 07:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:00:31] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:00:31] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:00:48] local.INFO: TCP Data received {"connection_id":176875,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:00:48] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:00:48] local.INFO: IMEI packet received {"connection_id":176875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":176875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:00:53] local.INFO: TCP Data received {"connection_id":176875,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:00:53] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:00:53] local.INFO: IMEI packet received {"connection_id":176875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":176875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:00:54] local.INFO: TCP Data received {"connection_id":176875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:00:54] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07e9f01a8012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:00:54] local.INFO: Packet analysis {"connection_id":176875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 07:00:54] local.INFO: Extracted packet for processing {"connection_id":176875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07e9f"} 
[2026-09-08 07:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940593664001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788830745000,"timestamp_ms":1788830745000,"timestamp_seconds":1788830745,"priority":1,"record_length":96,"hex_timestamp":"000001a07e9f01a8"} 
[2026-09-08 07:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 07:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940593664001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940593664001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940593664001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":176875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:00:54] local.INFO: GPS data processed {"connection_id":176875,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:00:54] local.INFO: Acknowledgment sent {"connection_id":176875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:00:58] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:00:58] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:00:58] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:01:03] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:03] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:03] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:01:04] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea20b00012d81264005d18c180000006319..."} 
[2026-09-08 07:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea20b00012d81264005d18c180000006319..."} 
[2026-09-08 07:01:04] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea20b00012d81264005d18c180000006319..."} 
[2026-09-08 07:01:04] local.INFO: Packet analysis {"connection_id":174119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea2"} 
[2026-09-08 07:01:04] local.INFO: Extracted packet for processing {"connection_id":174119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea2"} 
[2026-09-08 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763438656,"raw_latitude":97618968,"longitude_deg":76.3438656,"latitude_deg":9.7618968,"altitude":0,"angle":99,"satellites":25,"speed":24,"hex_longitude":"2d812640","hex_latitude":"05d18c18","is_valid_coordinates":true} 
[2026-09-08 07:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940719616001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129701376614727680,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144770124617857024,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788830944000,"timestamp_ms":1788830944000,"timestamp_seconds":1788830944,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea20b00"} 
[2026-09-08 07:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 07:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940719616001,"66":13656,"208":206,"85":15104,"24":24,"16":129701376614727680,"45":-9144770124617857024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940719616001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:01:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129701376614727680,"km_value":129701376614727.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144770124617857024,"description":"Unknown IO ID 45"} 
[2026-09-08 07:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940719616001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9144770124617857024}} 
[2026-09-08 07:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":174119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:01:04] local.INFO: GPS data processed {"connection_id":174119,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:01:04] local.INFO: Acknowledgment sent {"connection_id":174119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:01:09] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea235f8012d814a4005d184c8000000631a..."} 
[2026-09-08 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea235f8012d814a4005d184c8000000631a..."} 
[2026-09-08 07:01:09] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea235f8012d814a4005d184c8000000631a..."} 
[2026-09-08 07:01:09] local.INFO: Packet analysis {"connection_id":174119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea2"} 
[2026-09-08 07:01:09] local.INFO: Extracted packet for processing {"connection_id":174119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea2"} 
[2026-09-08 07:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763447872,"raw_latitude":97617096,"longitude_deg":76.3447872,"latitude_deg":9.7617096,"altitude":0,"angle":99,"satellites":26,"speed":33,"hex_longitude":"2d814a40","hex_latitude":"05d184c8","is_valid_coordinates":true} 
[2026-09-08 07:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940721664001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129701827586293760,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9140547999967209472,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788830955000,"timestamp_ms":1788830955000,"timestamp_seconds":1788830955,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea235f8"} 
[2026-09-08 07:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 07:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940721664001,"66":13059,"208":206,"85":15104,"24":33,"16":129701827586293760,"45":-9140547999967209472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940721664001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:01:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129701827586293760,"km_value":129701827586293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9140547999967209472,"description":"Unknown IO ID 45"} 
[2026-09-08 07:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940721664001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9140547999967209472}} 
[2026-09-08 07:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":174119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:01:09] local.INFO: GPS data processed {"connection_id":174119,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:01:09] local.INFO: Acknowledgment sent {"connection_id":174119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:01:25] local.INFO: TCP Data received {"connection_id":176875,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:01:25] local.INFO: Processing buffer {"connection_id":176875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:01:25] local.INFO: Packet analysis {"connection_id":176875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:01:25] local.INFO: Extracted packet for processing {"connection_id":176875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":176875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:01:25] local.INFO: GPS data processed {"connection_id":176875,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:01:25] local.INFO: Acknowledgment sent {"connection_id":176875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:01:42] local.INFO: TCP Data received {"connection_id":176876,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:01:42] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:01:42] local.INFO: IMEI packet received {"connection_id":176876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":176876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:01:48] local.INFO: TCP Data received {"connection_id":176876,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:01:48] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:01:48] local.INFO: IMEI packet received {"connection_id":176876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":176876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:01:48] local.INFO: TCP Data received {"connection_id":176876,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:01:48] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:01:48] local.INFO: Packet analysis {"connection_id":176876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:01:48] local.INFO: Extracted packet for processing {"connection_id":176876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:01: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-09-08 07:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":176876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:01:48] local.INFO: GPS data processed {"connection_id":176876,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:01:48] local.INFO: Acknowledgment sent {"connection_id":176876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:01:53] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:53] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:53] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:01:54] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:54] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:54] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:01:55] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:55] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:55] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:01:58] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:58] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:01:58] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:01:59] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea3ff00012d81c34005d185200007005a1e..."} 
[2026-09-08 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea3ff00012d81c34005d185200007005a1e..."} 
[2026-09-08 07:01:59] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea3ff00012d81c34005d185200007005a1e..."} 
[2026-09-08 07:01:59] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:01:59] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763478848,"raw_latitude":97617184,"longitude_deg":76.3478848,"latitude_deg":9.7617184,"altitude":7,"angle":90,"satellites":30,"speed":0,"hex_longitude":"2d81c340","hex_latitude":"05d18520","is_valid_coordinates":true} 
[2026-09-08 07:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940749056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129703335119814656,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096356428624093184,"note":"Value kept but may cause issues"} 
[2026-09-08 07:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788831072000,"timestamp_ms":1788831072000,"timestamp_seconds":1788831072,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea3ff00"} 
[2026-09-08 07:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 07:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940749056001,"66":13765,"208":206,"85":15104,"24":0,"16":129703335119814656,"45":-9096356428624093184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940749056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129703335119814656,"km_value":129703335119814.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096356428624093184,"description":"Unknown IO ID 45"} 
[2026-09-08 07:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940749056001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9096356428624093184}} 
[2026-09-08 07:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:01:59] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:01:59] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:02:04] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea45108012d81c80005d18648000b005a1f..."} 
[2026-09-08 07:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea45108012d81c80005d18648000b005a1f..."} 
[2026-09-08 07:02:04] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea45108012d81c80005d18648000b005a1f..."} 
[2026-09-08 07:02:04] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea4"} 
[2026-09-08 07:02:04] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea4"} 
[2026-09-08 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763480064,"raw_latitude":97617480,"longitude_deg":76.3480064,"latitude_deg":9.761748,"altitude":11,"angle":90,"satellites":31,"speed":12,"hex_longitude":"2d81c800","hex_latitude":"05d18648","is_valid_coordinates":true} 
[2026-09-08 07:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940754432001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129703395249356800,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096356428624093184,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788831093000,"timestamp_ms":1788831093000,"timestamp_seconds":1788831093,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea45108"} 
[2026-09-08 07:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-08 07:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940754432001,"66":13765,"63":206,"85":15104,"24":12,"16":129703395249356800,"45":-9096356428624093184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-08 07:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940754432001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:02:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-08 07:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129703395249356800,"km_value":129703395249356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096356428624093184,"description":"Unknown IO ID 45"} 
[2026-09-08 07:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940754432001,"power":13765,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9096356428624093184}} 
[2026-09-08 07:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:02:04] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:02:04] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:02:20] local.INFO: TCP Data received {"connection_id":176876,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:02:20] local.INFO: Processing buffer {"connection_id":176876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:02:20] local.INFO: Packet analysis {"connection_id":176876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:02:20] local.INFO: Extracted packet for processing {"connection_id":176876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:02: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-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:02: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-09-08 07:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":176876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:02:20] local.INFO: GPS data processed {"connection_id":176876,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:02:20] local.INFO: Acknowledgment sent {"connection_id":176876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:02:34] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea52fb0012d82964005d16b20001100741f..."} 
[2026-09-08 07:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea52fb0012d82964005d16b20001100741f..."} 
[2026-09-08 07:02:34] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea52fb0012d82964005d16b20001100741f..."} 
[2026-09-08 07:02:34] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:02:34] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97610528,"longitude_deg":76.3532864,"latitude_deg":9.7610528,"altitude":17,"angle":116,"satellites":31,"speed":10,"hex_longitude":"2d829640","hex_latitude":"05d16b20","is_valid_coordinates":true} 
[2026-09-08 07:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940774144001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129705997999538176,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946028179456,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788831150000,"timestamp_ms":1788831150000,"timestamp_seconds":1788831150,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea52fb0"} 
[2026-09-08 07:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 07:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940774144001,"66":13243,"64":206,"85":15104,"24":10,"16":129705997999538176,"45":-9037105946028179456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-08 07:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940774144001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:02:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-08 07:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129705997999538176,"km_value":129705997999538.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946028179456,"description":"Unknown IO ID 45"} 
[2026-09-08 07:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940774144001,"power":13243,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9037105946028179456}} 
[2026-09-08 07:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:02:35] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:02:35] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:02:42] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:02:42] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:02:42] local.INFO: IMEI packet received {"connection_id":176878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":176878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:02:47] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:02:47] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:02:47] local.INFO: IMEI packet received {"connection_id":176878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":176878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:02:48] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:02:48] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:02:48] local.INFO: Packet analysis {"connection_id":176878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:02:48] local.INFO: Extracted packet for processing {"connection_id":176878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:02: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-09-08 07:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":176878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:02:48] local.INFO: GPS data processed {"connection_id":176878,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:02:48] local.INFO: Acknowledgment sent {"connection_id":176878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:02:53] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:53] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:53] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:02:56] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:56] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:56] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:02:58] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:58] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:02:58] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:02:59] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea53398012d82974005d16a580011008b20..."} 
[2026-09-08 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea53398012d82974005d16a580011008b20..."} 
[2026-09-08 07:02:59] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea53398012d82974005d16a580011008b20..."} 
[2026-09-08 07:02:59] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:02:59] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97610328,"longitude_deg":76.353312,"latitude_deg":9.7610328,"altitude":17,"angle":139,"satellites":32,"speed":12,"hex_longitude":"2d829740","hex_latitude":"05d16a58","is_valid_coordinates":true} 
[2026-09-08 07:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940774400001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129706015179407360,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208539848704,"note":"Value kept but may cause issues"} 
[2026-09-08 07:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788831151000,"timestamp_ms":1788831151000,"timestamp_seconds":1788831151,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea53398"} 
[2026-09-08 07:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 07:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940774400001,"66":13243,"64":206,"85":15104,"24":12,"16":129706015179407360,"45":-9036965208539848704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-08 07:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940774400001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129706015179407360,"km_value":129706015179407.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208539848704,"description":"Unknown IO ID 45"} 
[2026-09-08 07:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940774400001,"power":13243,"unknown_64":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9036965208539848704}} 
[2026-09-08 07:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:02:59] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:02:59] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:03:03] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea53780012d8297c005d16920001100a220..."} 
[2026-09-08 07:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea53780012d8297c005d16920001100a220..."} 
[2026-09-08 07:03:03] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea53780012d8297c005d16920001100a220..."} 
[2026-09-08 07:03:03] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:03:03] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97610016,"longitude_deg":76.3533248,"latitude_deg":9.7610016,"altitude":17,"angle":162,"satellites":32,"speed":14,"hex_longitude":"2d8297c0","hex_latitude":"05d16920","is_valid_coordinates":true} 
[2026-09-08 07:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940774656001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129706032359276544,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733563189248,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788831152000,"timestamp_ms":1788831152000,"timestamp_seconds":1788831152,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea53780"} 
[2026-09-08 07:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:03: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-09-08 07:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 07:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940774656001,"66":13406,"64":206,"85":15104,"24":14,"16":129706032359276544,"45":-9036683733563189248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-08 07:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940774656001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:03:03] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-08 07:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129706032359276544,"km_value":129706032359276.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733563189248,"description":"Unknown IO ID 45"} 
[2026-09-08 07:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940774656001,"power":13406,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9036683733563189248}} 
[2026-09-08 07:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:03:03] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:03:03] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:03:20] local.INFO: TCP Data received {"connection_id":176878,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:03:20] local.INFO: Processing buffer {"connection_id":176878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:03:20] local.INFO: Packet analysis {"connection_id":176878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:03:20] local.INFO: Extracted packet for processing {"connection_id":176878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:03: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-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:03: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-09-08 07:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":176878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:03:20] local.INFO: GPS data processed {"connection_id":176878,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:03:20] local.INFO: Acknowledgment sent {"connection_id":176878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:03:34] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea54720012d82990005d16428001300861e..."} 
[2026-09-08 07:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea54720012d82990005d16428001300861e..."} 
[2026-09-08 07:03:34] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea54720012d82990005d16428001300861e..."} 
[2026-09-08 07:03:34] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:03:34] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea5"} 
[2026-09-08 07:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763533568,"raw_latitude":97608744,"longitude_deg":76.3533568,"latitude_deg":9.7608744,"altitude":19,"angle":134,"satellites":30,"speed":8,"hex_longitude":"2d829900","hex_latitude":"05d16428","is_valid_coordinates":true} 
[2026-09-08 07:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940774912001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129706096783785984,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996074913792,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788831156000,"timestamp_ms":1788831156000,"timestamp_seconds":1788831156,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea54720"} 
[2026-09-08 07:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 07:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940774912001,"66":13602,"64":206,"85":15104,"24":8,"16":129706096783785984,"45":-9036542996074913792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-08 07:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940774912001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:03:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-08 07:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129706096783785984,"km_value":129706096783785.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996074913792,"description":"Unknown IO ID 45"} 
[2026-09-08 07:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940774912001,"power":13602,"unknown_64":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9036542996074913792}} 
[2026-09-08 07:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:03:34] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:03:34] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:03:42] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:03:42] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:03:42] local.INFO: IMEI packet received {"connection_id":176880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":176880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:03:48] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:03:48] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:03:48] local.INFO: IMEI packet received {"connection_id":176880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":176880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:03:49] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:03:49] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:03:49] local.INFO: Packet analysis {"connection_id":176880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:03:49] local.INFO: Extracted packet for processing {"connection_id":176880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:03: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-09-08 07:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":176880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:03:49] local.INFO: GPS data processed {"connection_id":176880,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:03:49] local.INFO: Acknowledgment sent {"connection_id":176880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:03:52] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:03:52] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:03:52] local.INFO: IMEI packet received {"connection_id":175458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":175458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:04:20] local.INFO: TCP Data received {"connection_id":176880,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:04:20] local.INFO: Processing buffer {"connection_id":176880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:04:20] local.INFO: Packet analysis {"connection_id":176880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:04:20] local.INFO: Extracted packet for processing {"connection_id":176880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:04: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-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:04: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-09-08 07:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":176880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:04:20] local.INFO: GPS data processed {"connection_id":176880,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:04:20] local.INFO: Acknowledgment sent {"connection_id":176880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:04:42] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:04:42] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:04:42] local.INFO: IMEI packet received {"connection_id":175459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":175459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:04:48] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:04:48] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:04:48] local.INFO: IMEI packet received {"connection_id":175459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":175459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:04:49] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:04:49] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:04:49] local.INFO: Packet analysis {"connection_id":175459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:04:49] local.INFO: Extracted packet for processing {"connection_id":175459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:04: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-09-08 07:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":175459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:04:49] local.INFO: GPS data processed {"connection_id":175459,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:04:49] local.INFO: Acknowledgment sent {"connection_id":175459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:05:15] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:05:15] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:05:15] local.INFO: IMEI packet received {"connection_id":174121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":174121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:05:20] local.INFO: TCP Data received {"connection_id":175459,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:05:20] local.INFO: Processing buffer {"connection_id":175459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:05:20] local.INFO: Packet analysis {"connection_id":175459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:05:20] local.INFO: Extracted packet for processing {"connection_id":175459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:05: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-09-08 07: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":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:05: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-09-08 07:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":175459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:05:20] local.INFO: GPS data processed {"connection_id":175459,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:05:20] local.INFO: Acknowledgment sent {"connection_id":175459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:05:45] local.INFO: TCP Data received {"connection_id":174371,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:05:45] local.INFO: Processing buffer {"connection_id":174371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:05:45] local.INFO: IMEI packet received {"connection_id":174371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:05:48] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:05:48] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:05:48] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:05:53] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:05:53] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:05:53] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:05:55] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:05:55] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea39970012d34c58006aa42a8000f011521..."} 
[2026-09-08 07:05:55] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:05:55] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea3"} 
[2026-09-08 07:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":15,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940670720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788831046000,"timestamp_ms":1788831046000,"timestamp_seconds":1788831046,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea39970"} 
[2026-09-08 07:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:05: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-09-08 07:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940670720001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940670720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:05:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:05:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940670720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:05:55] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:05:55] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:06:26] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:06:26] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:06:26] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:06:26] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:06:26] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:06:26] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:06:43] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:06:43] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:06:43] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:06:48] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:06:48] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:06:48] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:06:49] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:06:49] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:06:49] local.INFO: Packet analysis {"connection_id":175460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:06:49] local.INFO: Extracted packet for processing {"connection_id":175460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:06: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:06: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-09-08 07:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":175460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:06:49] local.INFO: GPS data processed {"connection_id":175460,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:06:49] local.INFO: Acknowledgment sent {"connection_id":175460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:07:20] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:07:20] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:07:20] local.INFO: Packet analysis {"connection_id":175460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:07:20] local.INFO: Extracted packet for processing {"connection_id":175460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:07: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:07: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-09-08 07:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":175460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:07:20] local.INFO: GPS data processed {"connection_id":175460,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:07:20] local.INFO: Acknowledgment sent {"connection_id":175460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:07:42] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:07:42] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:07:42] local.INFO: IMEI packet received {"connection_id":174122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":174122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:07:48] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:07:48] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:07:48] local.INFO: IMEI packet received {"connection_id":174122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":174122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:07:48] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:07:48] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:07:48] local.INFO: Packet analysis {"connection_id":174122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:07:48] local.INFO: Extracted packet for processing {"connection_id":174122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:07: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-09-08 07:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":174122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:07:48] local.INFO: GPS data processed {"connection_id":174122,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:07:48] local.INFO: Acknowledgment sent {"connection_id":174122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:08:20] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:08:20] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:08:20] local.INFO: Packet analysis {"connection_id":174122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:08:20] local.INFO: Extracted packet for processing {"connection_id":174122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07: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-09-08 07: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:08: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-09-08 07:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":174122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:08:20] local.INFO: GPS data processed {"connection_id":174122,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:08:20] local.INFO: Acknowledgment sent {"connection_id":174122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:08:42] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:08:42] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:08:42] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:08:47] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:08:47] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:08:47] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:08:48] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:08:48] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:08:48] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:08:48] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:08: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-09-08 07:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:08:48] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:08:48] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:09:03] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:03] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:03] local.INFO: IMEI packet received {"connection_id":175462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":175462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:09:08] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:08] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:08] local.INFO: IMEI packet received {"connection_id":175462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":175462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:09:09] local.INFO: TCP Data received {"connection_id":175462,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea61a10012d83348005d15348000e000520..."} 
[2026-09-08 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea61a10012d83348005d15348000e000520..."} 
[2026-09-08 07:09:09] local.INFO: Processing buffer {"connection_id":175462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea61a10012d83348005d15348000e000520..."} 
[2026-09-08 07:09:09] local.INFO: Packet analysis {"connection_id":175462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea6"} 
[2026-09-08 07:09:09] local.INFO: Extracted packet for processing {"connection_id":175462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea6"} 
[2026-09-08 07:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604424,"longitude_deg":76.3573376,"latitude_deg":9.7604424,"altitude":14,"angle":5,"satellites":32,"speed":3,"hex_longitude":"2d833480","hex_latitude":"05d15348","is_valid_coordinates":true} 
[2026-09-08 07:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940786432001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129708089648611328,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992281055988678656,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788831210000,"timestamp_ms":1788831210000,"timestamp_seconds":1788831210,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea61a10"} 
[2026-09-08 07:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 07:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940786432001,"66":13602,"64":206,"85":15104,"24":3,"16":129708089648611328,"45":-8992281055988678656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-08 07:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940786432001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129708089648611328,"km_value":129708089648611.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992281055988678656,"description":"Unknown IO ID 45"} 
[2026-09-08 07:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940786432001,"power":13602,"unknown_64":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8992281055988678656}} 
[2026-09-08 07:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":175462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:09:09] local.INFO: GPS data processed {"connection_id":175462,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:09:09] local.INFO: Acknowledgment sent {"connection_id":175462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:09:20] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:09:20] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:09:20] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:09:20] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:09: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-09-08 07:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:09: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-09-08 07:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:09:21] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:09:21] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:09:42] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:09:42] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:09:42] local.INFO: IMEI packet received {"connection_id":175464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":175464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:09:47] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:09:47] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:09:47] local.INFO: IMEI packet received {"connection_id":175464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:09:49] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:09:49] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:09:49] local.INFO: Packet analysis {"connection_id":175464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:09:49] local.INFO: Extracted packet for processing {"connection_id":175464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:09: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-09-08 07:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:09: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-09-08 07:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":175464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:09:49] local.INFO: GPS data processed {"connection_id":175464,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:09:49] local.INFO: Acknowledgment sent {"connection_id":175464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:09:53] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:53] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:53] local.INFO: IMEI packet received {"connection_id":176884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":176884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:09:58] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:58] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:09:58] local.INFO: IMEI packet received {"connection_id":176884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":176884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:09:59] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea629b0012d8334c005d154b0000e001820..."} 
[2026-09-08 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea629b0012d8334c005d154b0000e001820..."} 
[2026-09-08 07:09:59] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea629b0012d8334c005d154b0000e001820..."} 
[2026-09-08 07:09:59] local.INFO: Packet analysis {"connection_id":176884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea6"} 
[2026-09-08 07:09:59] local.INFO: Extracted packet for processing {"connection_id":176884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea6"} 
[2026-09-08 07:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604784,"longitude_deg":76.357344,"latitude_deg":9.7604784,"altitude":14,"angle":24,"satellites":32,"speed":2,"hex_longitude":"2d8334c0","hex_latitude":"05d154b0","is_valid_coordinates":true} 
[2026-09-08 07:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940789760001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129708111123447808,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476950016,"note":"Value kept but may cause issues"} 
[2026-09-08 07:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788831214000,"timestamp_ms":1788831214000,"timestamp_seconds":1788831214,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea629b0"} 
[2026-09-08 07:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 07:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940789760001,"66":13428,"64":206,"85":15104,"24":2,"16":129708111123447808,"45":-8992421793476950016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-08 07:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940789760001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:09:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-08 07:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129708111123447808,"km_value":129708111123447.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476950016,"description":"Unknown IO ID 45"} 
[2026-09-08 07:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940789760001,"power":13428,"unknown_64":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-8992421793476950016}} 
[2026-09-08 07:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":176884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:09:59] local.INFO: GPS data processed {"connection_id":176884,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:09:59] local.INFO: Acknowledgment sent {"connection_id":176884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:10:20] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:20] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:20] local.INFO: Packet analysis {"connection_id":175464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:10:20] local.INFO: Extracted packet for processing {"connection_id":175464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:10: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:10: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-09-08 07:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":175464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:10:20] local.INFO: GPS data processed {"connection_id":175464,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:10:20] local.INFO: Acknowledgment sent {"connection_id":175464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:10:30] local.INFO: TCP Data received {"connection_id":176884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea63568012d8334c005d15488000e00c120..."} 
[2026-09-08 07:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea63568012d8334c005d15488000e00c120..."} 
[2026-09-08 07:10:30] local.INFO: Processing buffer {"connection_id":176884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea63568012d8334c005d15488000e00c120..."} 
[2026-09-08 07:10:30] local.INFO: Packet analysis {"connection_id":176884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea6"} 
[2026-09-08 07:10:30] local.INFO: Extracted packet for processing {"connection_id":176884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea6"} 
[2026-09-08 07:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604744,"longitude_deg":76.357344,"latitude_deg":9.7604744,"altitude":14,"angle":193,"satellites":32,"speed":0,"hex_longitude":"2d8334c0","hex_latitude":"05d15488","is_valid_coordinates":true} 
[2026-09-08 07:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940790784001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129708111123447808,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732680192,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788831217000,"timestamp_ms":1788831217000,"timestamp_seconds":1788831217,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea63568"} 
[2026-09-08 07:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 07:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940790784001,"66":13765,"221":206,"85":15104,"24":0,"16":129708111123447808,"45":-8992351424732680192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-08 07:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940790784001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:10:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 07:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129708111123447808,"km_value":129708111123447.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732680192,"description":"Unknown IO ID 45"} 
[2026-09-08 07:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940790784001,"power":13765,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992351424732680192}} 
[2026-09-08 07:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":176884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:10:30] local.INFO: GPS data processed {"connection_id":176884,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:10:30] local.INFO: Acknowledgment sent {"connection_id":176884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:10:48] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:10:48] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:10:48] local.INFO: IMEI packet received {"connection_id":174125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":174125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:10:50] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:10:50] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:10:50] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:10:52] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:10:52] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:10:52] local.INFO: IMEI packet received {"connection_id":174125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":174125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:10:53] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:53] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:53] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:10:53] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:10:53] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:10:53] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:10:58] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:58] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ea83138012d34c58006aa42a8000b011520..."} 
[2026-09-08 07:10:58] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:10:58] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ea8"} 
[2026-09-08 07:10:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940747776001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788831347000,"timestamp_ms":1788831347000,"timestamp_seconds":1788831347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ea83138"} 
[2026-09-08 07:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940747776001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940747776001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:10:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:10:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940747776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:10:58] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:10:58] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:11:43] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:11:43] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:11:43] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:11:48] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:11:48] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:11:48] local.INFO: IMEI packet received {"connection_id":176885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":176885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:11:48] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:11:48] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:11:48] local.INFO: Packet analysis {"connection_id":176885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:11:48] local.INFO: Extracted packet for processing {"connection_id":176885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:11: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-09-08 07:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":176885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:11:49] local.INFO: GPS data processed {"connection_id":176885,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:11:49] local.INFO: Acknowledgment sent {"connection_id":176885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:12:20] local.INFO: TCP Data received {"connection_id":176885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:12:20] local.INFO: Processing buffer {"connection_id":176885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:12:20] local.INFO: Packet analysis {"connection_id":176885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:12:20] local.INFO: Extracted packet for processing {"connection_id":176885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:12: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-09-08 07: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:12: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-09-08 07:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":176885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:12:20] local.INFO: GPS data processed {"connection_id":176885,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:12:20] local.INFO: Acknowledgment sent {"connection_id":176885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:12:42] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:12:42] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:12:42] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:12:47] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:12:47] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:12:47] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:12:48] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:12:48] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:12:48] local.INFO: Packet analysis {"connection_id":174126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:12:48] local.INFO: Extracted packet for processing {"connection_id":174126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:12: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":174126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:12:48] local.INFO: GPS data processed {"connection_id":174126,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:12:48] local.INFO: Acknowledgment sent {"connection_id":174126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:13:19] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:13:19] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:13:19] local.INFO: Packet analysis {"connection_id":174126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:13:19] local.INFO: Extracted packet for processing {"connection_id":174126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:13: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-09-08 07:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":174126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:13:19] local.INFO: GPS data processed {"connection_id":174126,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:13:19] local.INFO: Acknowledgment sent {"connection_id":174126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:13:42] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:13:42] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:13:42] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:13:48] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:13:48] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:13:48] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:13:49] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:13:49] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:13:49] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:13:49] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:13: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-09-08 07:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:13:49] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:13:49] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:14:20] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:14:20] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:14:20] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:14:20] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:14: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:14: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-09-08 07:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:14:20] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:14:20] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:14:42] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:14:42] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:14:42] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:14:47] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:14:47] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:14:47] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:14:48] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:14:48] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:14:48] local.INFO: Packet analysis {"connection_id":174128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:14:48] local.INFO: Extracted packet for processing {"connection_id":174128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:14: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":174128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:14:48] local.INFO: GPS data processed {"connection_id":174128,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:14:48] local.INFO: Acknowledgment sent {"connection_id":174128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:15:20] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:20] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:20] local.INFO: Packet analysis {"connection_id":174128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:15:20] local.INFO: Extracted packet for processing {"connection_id":174128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:15: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:15: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-09-08 07:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":174128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:15:20] local.INFO: GPS data processed {"connection_id":174128,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:15:20] local.INFO: Acknowledgment sent {"connection_id":174128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:15:48] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:15:48] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:15:48] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:15:52] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:15:52] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:15:52] local.INFO: IMEI packet received {"connection_id":175468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":175468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:15:53] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:53] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:53] local.INFO: Packet analysis {"connection_id":175468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:15:53] local.INFO: Extracted packet for processing {"connection_id":175468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":175468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:15:53] local.INFO: GPS data processed {"connection_id":175468,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:15:53] local.INFO: Acknowledgment sent {"connection_id":175468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:15:58] local.INFO: TCP Data received {"connection_id":175468,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:58] local.INFO: Processing buffer {"connection_id":175468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eacc900012d34c58006aa42a8000b011521..."} 
[2026-09-08 07:15:58] local.INFO: Packet analysis {"connection_id":175468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:15:58] local.INFO: Extracted packet for processing {"connection_id":175468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eac"} 
[2026-09-08 07:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":11,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940824832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788831648000,"timestamp_ms":1788831648000,"timestamp_seconds":1788831648,"priority":1,"record_length":96,"hex_timestamp":"000001a07eacc900"} 
[2026-09-08 07:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940824832001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940824832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:15:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940824832001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":175468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:15:58] local.INFO: GPS data processed {"connection_id":175468,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:15:58] local.INFO: Acknowledgment sent {"connection_id":175468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:16:25] local.INFO: TCP Data received {"connection_id":174129,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:16:25] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:16:25] local.INFO: IMEI packet received {"connection_id":174129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":174129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:16:42] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:16:42] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:16:42] local.INFO: IMEI packet received {"connection_id":174374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":174374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:16:45] local.INFO: TCP Data received {"connection_id":175469,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:16:45] local.INFO: Processing buffer {"connection_id":175469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:16:45] local.INFO: IMEI packet received {"connection_id":175469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":175469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:16:47] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:16:47] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:16:47] local.INFO: IMEI packet received {"connection_id":174374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:16:49] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:16:49] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:16:49] local.INFO: Packet analysis {"connection_id":174374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:16:49] local.INFO: Extracted packet for processing {"connection_id":174374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:16: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-09-08 07:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":174374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:16:49] local.INFO: GPS data processed {"connection_id":174374,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:16:49] local.INFO: Acknowledgment sent {"connection_id":174374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:17:21] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:17:21] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:17:21] local.INFO: Packet analysis {"connection_id":174374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:17:21] local.INFO: Extracted packet for processing {"connection_id":174374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:17:21] local.INFO: GPS data processed {"connection_id":174374,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:17:21] local.INFO: Acknowledgment sent {"connection_id":174374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:17:42] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:17:42] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:17:42] local.INFO: IMEI packet received {"connection_id":176887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":176887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:17:48] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:17:48] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:17:48] local.INFO: IMEI packet received {"connection_id":176887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":176887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:17:49] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:17:49] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:17:49] local.INFO: Packet analysis {"connection_id":176887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:17:49] local.INFO: Extracted packet for processing {"connection_id":176887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:17: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-09-08 07:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:17: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-09-08 07:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":176887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:17:49] local.INFO: GPS data processed {"connection_id":176887,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:17:49] local.INFO: Acknowledgment sent {"connection_id":176887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:18:21] local.INFO: TCP Data received {"connection_id":176887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:18:21] local.INFO: Processing buffer {"connection_id":176887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:18:21] local.INFO: Packet analysis {"connection_id":176887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:18:21] local.INFO: Extracted packet for processing {"connection_id":176887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:18: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-09-08 07:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:18:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:18:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":176887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:18:21] local.INFO: GPS data processed {"connection_id":176887,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:18:21] local.INFO: Acknowledgment sent {"connection_id":176887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:18:48] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:18:48] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:18:48] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:18:52] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:18:52] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:18:52] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:18:53] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:18:53] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:18:53] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:18:53] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:18: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-09-08 07:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:18:53] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:18:53] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:19:18] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:18] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:18] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:19:24] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:24] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:24] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:19:24] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb3aab8012d82960005d25ad80009016221..."} 
[2026-09-08 07:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb3aab8012d82960005d25ad80009016221..."} 
[2026-09-08 07:19:24] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb3aab8012d82960005d25ad80009016221..."} 
[2026-09-08 07:19:24] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb3"} 
[2026-09-08 07:19:24] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb3"} 
[2026-09-08 07:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97671896,"longitude_deg":76.35328,"latitude_deg":9.7671896,"altitude":9,"angle":354,"satellites":33,"speed":24,"hex_longitude":"2d829600","hex_latitude":"05d25ad8","is_valid_coordinates":true} 
[2026-09-08 07:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941012224001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129713187774791680,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839781326848,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788832099000,"timestamp_ms":1788832099000,"timestamp_seconds":1788832099,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb3aab8"} 
[2026-09-08 07:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 07:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941012224001,"66":13580,"63":206,"85":15104,"24":24,"16":129713187774791680,"45":-9036894839781326848},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-08 07:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941012224001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:19:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-08 07:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129713187774791680,"km_value":129713187774791.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839781326848,"description":"Unknown IO ID 45"} 
[2026-09-08 07:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941012224001,"power":13580,"unknown_63":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9036894839781326848}} 
[2026-09-08 07:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:19:24] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:19:24] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:19:26] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:19:26] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:19:26] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:19:26] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:19: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-09-08 07:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:19:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:19:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:19:26] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:19:26] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:19:42] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:19:42] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:19:42] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:19:48] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:19:48] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:19:48] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:19:49] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:19:49] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:19:49] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:19:49] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:19: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07: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-09-08 07:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:19:49] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:19:49] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:19:53] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:53] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:53] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:19:54] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:54] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:54] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:19:55] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:55] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:55] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:19:56] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:56] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:19:56] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:20:20] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:20:20] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:20:20] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:20:20] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:20: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:20: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-09-08 07:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:20:20] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:20:20] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:20:42] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:20:42] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:20:42] local.INFO: IMEI packet received {"connection_id":175472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":175472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:20:47] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:20:47] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:20:47] local.INFO: IMEI packet received {"connection_id":175472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":175472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:20:48] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:20:48] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:20:48] local.INFO: Packet analysis {"connection_id":175472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:20:48] local.INFO: Extracted packet for processing {"connection_id":175472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:20: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":175472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:20:48] local.INFO: GPS data processed {"connection_id":175472,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:20:48] local.INFO: Acknowledgment sent {"connection_id":175472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:21:20] local.INFO: TCP Data received {"connection_id":175472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:21:20] local.INFO: Processing buffer {"connection_id":175472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb160c8012d34c58006aa42a80012011520..."} 
[2026-09-08 07:21:20] local.INFO: Packet analysis {"connection_id":175472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:21:20] local.INFO: Extracted packet for processing {"connection_id":175472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb1"} 
[2026-09-08 07:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":18,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940901888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788831949000,"timestamp_ms":1788831949000,"timestamp_seconds":1788831949,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb160c8"} 
[2026-09-08 07:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940901888001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940901888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940901888001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":175472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:21:20] local.INFO: GPS data processed {"connection_id":175472,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:21:20] local.INFO: Acknowledgment sent {"connection_id":175472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:21:42] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:21:42] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:21:42] local.INFO: IMEI packet received {"connection_id":174377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":174377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:21:47] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:21:47] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:21:47] local.INFO: IMEI packet received {"connection_id":174377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:21:48] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:21:48] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:21:48] local.INFO: Packet analysis {"connection_id":174377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:21:48] local.INFO: Extracted packet for processing {"connection_id":174377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:21: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-09-08 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":174377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:21:48] local.INFO: GPS data processed {"connection_id":174377,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:21:48] local.INFO: Acknowledgment sent {"connection_id":174377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:22:21] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:22:21] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:22:21] local.INFO: Packet analysis {"connection_id":174377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:22:21] local.INFO: Extracted packet for processing {"connection_id":174377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07: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-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:22: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-09-08 07:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":174377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:22:21] local.INFO: GPS data processed {"connection_id":174377,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:22:21] local.INFO: Acknowledgment sent {"connection_id":174377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:22:43] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:22:43] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:22:43] local.INFO: IMEI packet received {"connection_id":174133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":174133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:22:44] local.INFO: TCP Data received {"connection_id":174134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:22:44] local.INFO: Processing buffer {"connection_id":174134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:22:44] local.INFO: IMEI packet received {"connection_id":174134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":174134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:22:48] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:22:48] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:22:48] local.INFO: IMEI packet received {"connection_id":174133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":174133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:22:49] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:22:49] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:22:49] local.INFO: Packet analysis {"connection_id":174133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:22:49] local.INFO: Extracted packet for processing {"connection_id":174133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:22: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-09-08 07: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":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:22: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-09-08 07:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":174133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:22:49] local.INFO: GPS data processed {"connection_id":174133,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:22:49] local.INFO: Acknowledgment sent {"connection_id":174133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:23:03] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:23:03] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:23:03] local.INFO: Packet analysis {"connection_id":174133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:23:03] local.INFO: Extracted packet for processing {"connection_id":174133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":174133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:23:03] local.INFO: GPS data processed {"connection_id":174133,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:23:03] local.INFO: Acknowledgment sent {"connection_id":174133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:23:43] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:23:43] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:23:43] local.INFO: IMEI packet received {"connection_id":176890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:23:47] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:23:47] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:23:47] local.INFO: IMEI packet received {"connection_id":176890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":176890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:23:48] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:23:48] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:23:48] local.INFO: Packet analysis {"connection_id":176890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:23:48] local.INFO: Extracted packet for processing {"connection_id":176890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:23: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-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":176890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:23:48] local.INFO: GPS data processed {"connection_id":176890,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:23:48] local.INFO: Acknowledgment sent {"connection_id":176890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:24:21] local.INFO: TCP Data received {"connection_id":176890,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:24:21] local.INFO: Processing buffer {"connection_id":176890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:24:21] local.INFO: Packet analysis {"connection_id":176890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:24:21] local.INFO: Extracted packet for processing {"connection_id":176890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:24: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-09-08 07:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:24:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":176890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:24:21] local.INFO: GPS data processed {"connection_id":176890,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:24:21] local.INFO: Acknowledgment sent {"connection_id":176890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:24:42] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:24:42] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:24:42] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:24:47] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:24:47] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:24:47] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:24:48] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:24:48] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:24:48] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:24:48] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:24: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-09-08 07:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:24:48] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:24:48] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:24:57] local.INFO: TCP Data received {"connection_id":176891,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:24:57] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:24:57] local.INFO: IMEI packet received {"connection_id":176891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":176891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:24:59] local.INFO: TCP Data received {"connection_id":176891,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb99a40012d81ff4005d5d0a00008007120..."} 
[2026-09-08 07:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb99a40012d81ff4005d5d0a00008007120..."} 
[2026-09-08 07:24:59] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb99a40012d81ff4005d5d0a00008007120..."} 
[2026-09-08 07:24:59] local.INFO: Packet analysis {"connection_id":176891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb9"} 
[2026-09-08 07:24:59] local.INFO: Extracted packet for processing {"connection_id":176891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb9"} 
[2026-09-08 07:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763494208,"raw_latitude":97898656,"longitude_deg":76.3494208,"latitude_deg":9.7898656,"altitude":8,"angle":113,"satellites":32,"speed":21,"hex_longitude":"2d81ff40","hex_latitude":"05d5d0a0","is_valid_coordinates":true} 
[2026-09-08 07:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941116672001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129727936692486144,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080101248646952960,"note":"Value kept but may cause issues"} 
[2026-09-08 07:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832488000,"timestamp_ms":1788832488000,"timestamp_seconds":1788832488,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb99a40"} 
[2026-09-08 07:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 07:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941116672001,"66":13526,"165":206,"85":15104,"24":21,"16":129727936692486144,"45":-9080101248646952960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-08 07:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941116672001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:24:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 07:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129727936692486144,"km_value":129727936692486.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080101248646952960,"description":"Unknown IO ID 45"} 
[2026-09-08 07:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941116672001,"power":13526,"unknown_165":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9080101248646952960}} 
[2026-09-08 07:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":176891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:24:59] local.INFO: GPS data processed {"connection_id":176891,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:24:59] local.INFO: Acknowledgment sent {"connection_id":176891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:25:20] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:25:20] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:25:20] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:25:20] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07: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-09-08 07: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":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:25: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-09-08 07:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:25:20] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:25:20] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:25:35] local.INFO: TCP Data received {"connection_id":176891,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba07a0012d823d4005d5c940000100251f..."} 
[2026-09-08 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba07a0012d823d4005d5c940000100251f..."} 
[2026-09-08 07:25:35] local.INFO: Processing buffer {"connection_id":176891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba07a0012d823d4005d5c940000100251f..."} 
[2026-09-08 07:25:35] local.INFO: Packet analysis {"connection_id":176891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:25:35] local.INFO: Extracted packet for processing {"connection_id":176891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763510080,"raw_latitude":97896768,"longitude_deg":76.351008,"latitude_deg":9.7896768,"altitude":1,"angle":37,"satellites":31,"speed":30,"hex_longitude":"2d823d40","hex_latitude":"05d5c940","is_valid_coordinates":true} 
[2026-09-08 07:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941123584001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129728872995356672,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063212750045132800,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788832516000,"timestamp_ms":1788832516000,"timestamp_seconds":1788832516,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba07a0"} 
[2026-09-08 07:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-08 07:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941123584001,"66":13493,"165":206,"85":15104,"24":30,"16":129728872995356672,"45":-9063212750045132800},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-08 07:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941123584001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:25:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 07:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129728872995356672,"km_value":129728872995356.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063212750045132800,"description":"Unknown IO ID 45"} 
[2026-09-08 07:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941123584001,"power":13493,"unknown_165":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9063212750045132800}} 
[2026-09-08 07:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":176891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:25:35] local.INFO: GPS data processed {"connection_id":176891,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:25:35] local.INFO: Acknowledgment sent {"connection_id":176891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:25:42] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:25:42] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:25:42] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:25:47] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:25:47] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:25:47] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:25:48] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:25:48] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:25:48] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:25:48] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:25: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-09-08 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:25:48] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:25:48] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:25:53] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:53] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:53] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:25:58] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:58] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:58] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:25:58] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:58] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:25:58] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:25:59] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba1b28012d82470005d5d5180000003220..."} 
[2026-09-08 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba1b28012d82470005d5d5180000003220..."} 
[2026-09-08 07:25:59] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba1b28012d82470005d5d5180000003220..."} 
[2026-09-08 07:25:59] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:25:59] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763512576,"raw_latitude":97899800,"longitude_deg":76.3512576,"latitude_deg":9.78998,"altitude":0,"angle":50,"satellites":32,"speed":30,"hex_longitude":"2d824700","hex_latitude":"05d5d518","is_valid_coordinates":true} 
[2026-09-08 07:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941124096001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129729066268884992,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062016481393819648,"note":"Value kept but may cause issues"} 
[2026-09-08 07:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832521000,"timestamp_ms":1788832521000,"timestamp_seconds":1788832521,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba1b28"} 
[2026-09-08 07:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:25: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-09-08 07:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 07:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941124096001,"66":13374,"165":206,"85":15104,"24":30,"16":129729066268884992,"45":-9062016481393819648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-08 07:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941124096001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:25:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 07:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129729066268884992,"km_value":129729066268884.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062016481393819648,"description":"Unknown IO ID 45"} 
[2026-09-08 07:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941124096001,"power":13374,"unknown_165":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9062016481393819648}} 
[2026-09-08 07:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:25:59] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:25:59] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:26:04] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba26e0012d824f0005d5da680000003d20..."} 
[2026-09-08 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba26e0012d824f0005d5da680000003d20..."} 
[2026-09-08 07:26:04] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba26e0012d824f0005d5da680000003d20..."} 
[2026-09-08 07:26:04] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:26:04] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763514624,"raw_latitude":97901160,"longitude_deg":76.3514624,"latitude_deg":9.790116,"altitude":0,"angle":61,"satellites":32,"speed":33,"hex_longitude":"2d824f00","hex_latitude":"05d5da68","is_valid_coordinates":true} 
[2026-09-08 07:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941125376001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129729182233001984,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059272100370114560,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788832524000,"timestamp_ms":1788832524000,"timestamp_seconds":1788832524,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba26e0"} 
[2026-09-08 07:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 07:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941125376001,"66":13798,"165":206,"85":15104,"24":33,"16":129729182233001984,"45":-9059272100370114560},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-08 07:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941125376001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:26:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 07:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129729182233001984,"km_value":129729182233001.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059272100370114560,"description":"Unknown IO ID 45"} 
[2026-09-08 07:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941125376001,"power":13798,"unknown_165":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9059272100370114560}} 
[2026-09-08 07:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:26:04] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:26:04] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:26:20] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:26:20] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eb5f890012d34c58006aa42a8001501151d..."} 
[2026-09-08 07:26:20] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:26:20] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eb5"} 
[2026-09-08 07:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":21,"angle":277,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457940978944001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832250000,"timestamp_ms":1788832250000,"timestamp_seconds":1788832250,"priority":1,"record_length":96,"hex_timestamp":"000001a07eb5f890"} 
[2026-09-08 07:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:26: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-09-08 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 07:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07: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-09-08 07:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457940978944001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457940978944001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:26:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457940978944001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:26:20] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:26:20] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:26:35] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebb20e0012d82a64005d619e80001003721..."} 
[2026-09-08 07:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebb20e0012d82a64005d619e80001003721..."} 
[2026-09-08 07:26:35] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebb20e0012d82a64005d619e80001003721..."} 
[2026-09-08 07:26:35] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebb"} 
[2026-09-08 07:26:35] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebb"} 
[2026-09-08 07:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763536960,"raw_latitude":97917416,"longitude_deg":76.353696,"latitude_deg":9.7917416,"altitude":1,"angle":55,"satellites":33,"speed":22,"hex_longitude":"2d82a640","hex_latitude":"05d619e8","is_valid_coordinates":true} 
[2026-09-08 07:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941142016001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129730775665868800,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033587508740878336,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788832588000,"timestamp_ms":1788832588000,"timestamp_seconds":1788832588,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebb20e0"} 
[2026-09-08 07:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 07:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941142016001,"66":13722,"18":206,"85":15104,"24":22,"16":129730775665868800,"45":-9033587508740878336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-08 07:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941142016001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:26:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 07:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129730775665868800,"km_value":129730775665868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033587508740878336,"description":"Unknown IO ID 45"} 
[2026-09-08 07:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941142016001,"power":13722,"unknown_18":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9033587508740878336}} 
[2026-09-08 07:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:26:35] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:26:35] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:26:48] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:26:48] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:26:48] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:26:53] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:26:53] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:26:53] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:26:53] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:26:53] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:26:53] local.INFO: IMEI packet received {"connection_id":176893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":176893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:26:54] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:26:54] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:26:54] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:26:54] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:26:54] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:26:54] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:26:58] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:26:58] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:26:58] local.INFO: IMEI packet received {"connection_id":176893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":176893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:26:58] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:26:58] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:26:58] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:26:58] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:26:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:26:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:26:58] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:26:58] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:26:59] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebb24c8012d82a7c005d61ba80001002921..."} 
[2026-09-08 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebb24c8012d82a7c005d61ba80001002921..."} 
[2026-09-08 07:26:59] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebb24c8012d82a7c005d61ba80001002921..."} 
[2026-09-08 07:26:59] local.INFO: Packet analysis {"connection_id":176893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebb"} 
[2026-09-08 07:26:59] local.INFO: Extracted packet for processing {"connection_id":176893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebb"} 
[2026-09-08 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763537344,"raw_latitude":97917864,"longitude_deg":76.3537344,"latitude_deg":9.7917864,"altitude":1,"angle":41,"satellites":33,"speed":25,"hex_longitude":"2d82a7c0","hex_latitude":"05d61ba8","is_valid_coordinates":true} 
[2026-09-08 07:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941142528001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129730805730639872,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032461608833914880,"note":"Value kept but may cause issues"} 
[2026-09-08 07:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832589000,"timestamp_ms":1788832589000,"timestamp_seconds":1788832589,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebb24c8"} 
[2026-09-08 07:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 07:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941142528001,"66":13722,"18":206,"85":15104,"24":25,"16":129730805730639872,"45":-9032461608833914880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-08 07:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941142528001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129730805730639872,"km_value":129730805730639.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032461608833914880,"description":"Unknown IO ID 45"} 
[2026-09-08 07:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941142528001,"power":13722,"unknown_18":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9032461608833914880}} 
[2026-09-08 07:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":176893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:26:59] local.INFO: GPS data processed {"connection_id":176893,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:26:59] local.INFO: Acknowledgment sent {"connection_id":176893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:27:31] local.INFO: TCP Data received {"connection_id":176893,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebb2c98012d82ab4005d621000001001a21..."} 
[2026-09-08 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebb2c98012d82ab4005d621000001001a21..."} 
[2026-09-08 07:27:31] local.INFO: Processing buffer {"connection_id":176893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebb2c98012d82ab4005d621000001001a21..."} 
[2026-09-08 07:27:31] local.INFO: Packet analysis {"connection_id":176893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebb"} 
[2026-09-08 07:27:31] local.INFO: Extracted packet for processing {"connection_id":176893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebb"} 
[2026-09-08 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763538240,"raw_latitude":97919232,"longitude_deg":76.353824,"latitude_deg":9.7919232,"altitude":1,"angle":26,"satellites":33,"speed":34,"hex_longitude":"2d82ab40","hex_latitude":"05d62100","is_valid_coordinates":true} 
[2026-09-08 07:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941142784001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129730883040051200,"note":"Value kept but may cause issues"} 
[2026-09-08 07:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032039396368734208,"note":"Value kept but may cause issues"} 
[2026-09-08 07:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788832591000,"timestamp_ms":1788832591000,"timestamp_seconds":1788832591,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebb2c98"} 
[2026-09-08 07:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 07:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941142784001,"66":13917,"18":206,"85":15104,"24":34,"16":129730883040051200,"45":-9032039396368734208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-09-08 07:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941142784001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129730883040051200,"km_value":129730883040051.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032039396368734208,"description":"Unknown IO ID 45"} 
[2026-09-08 07:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941142784001,"power":13917,"unknown_18":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9032039396368734208}} 
[2026-09-08 07:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":176893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:27:31] local.INFO: GPS data processed {"connection_id":176893,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:27:31] local.INFO: Acknowledgment sent {"connection_id":176893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:27:42] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:27:42] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:27:42] local.INFO: IMEI packet received {"connection_id":174136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":174136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:27:47] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:27:47] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:27:47] local.INFO: IMEI packet received {"connection_id":174136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":174136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:27:49] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:27:49] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:27:49] local.INFO: Packet analysis {"connection_id":174136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:27:49] local.INFO: Extracted packet for processing {"connection_id":174136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:27: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-09-08 07:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":174136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:27:49] local.INFO: GPS data processed {"connection_id":174136,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:27:49] local.INFO: Acknowledgment sent {"connection_id":174136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:27:54] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:27:54] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:27:54] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:27:58] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:27:58] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:27:58] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:28:03] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:03] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:03] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:28:04] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebc3638012d82b84005d69b100008015720..."} 
[2026-09-08 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebc3638012d82b84005d69b100008015720..."} 
[2026-09-08 07:28:04] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebc3638012d82b84005d69b100008015720..."} 
[2026-09-08 07:28:04] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:04] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763541568,"raw_latitude":97950480,"longitude_deg":76.3541568,"latitude_deg":9.795048,"altitude":8,"angle":343,"satellites":32,"speed":31,"hex_longitude":"2d82b840","hex_latitude":"05d69b10","is_valid_coordinates":true} 
[2026-09-08 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941160192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129732639681675264,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026761740547424256,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788832659000,"timestamp_ms":1788832659000,"timestamp_seconds":1788832659,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebc3638"} 
[2026-09-08 07:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 07:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941160192001,"66":13526,"156":206,"85":15104,"24":31,"16":129732639681675264,"45":-9026761740547424256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941160192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129732639681675264,"km_value":129732639681675.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026761740547424256,"description":"Unknown IO ID 45"} 
[2026-09-08 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941160192001,"power":13526,"unknown_156":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9026761740547424256}} 
[2026-09-08 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:28:04] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:28:04] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:28:06] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebc3e08012d82b74005d6a1580009016220..."} 
[2026-09-08 07:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebc3e08012d82b74005d6a1580009016220..."} 
[2026-09-08 07:28:06] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebc3e08012d82b74005d6a1580009016220..."} 
[2026-09-08 07:28:06] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:06] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97952088,"longitude_deg":76.3541312,"latitude_deg":9.7952088,"altitude":9,"angle":354,"satellites":32,"speed":33,"hex_longitude":"2d82b740","hex_latitude":"05d6a158","is_valid_coordinates":true} 
[2026-09-08 07:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941160704001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129732716991086592,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027395059244658688,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788832661000,"timestamp_ms":1788832661000,"timestamp_seconds":1788832661,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebc3e08"} 
[2026-09-08 07:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 07:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941160704001,"66":13798,"156":206,"85":15104,"24":33,"16":129732716991086592,"45":-9027395059244658688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941160704001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:28:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129732716991086592,"km_value":129732716991086.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027395059244658688,"description":"Unknown IO ID 45"} 
[2026-09-08 07:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941160704001,"power":13798,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9027395059244658688}} 
[2026-09-08 07:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:28:06] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:28:06] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:28:10] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:28:10] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:28:10] local.INFO: IMEI packet received {"connection_id":174137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":174137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:28:20] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:28:20] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:28:20] local.INFO: Packet analysis {"connection_id":174136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:28:20] local.INFO: Extracted packet for processing {"connection_id":174136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:28: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:28: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-09-08 07:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":174136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:28:20] local.INFO: GPS data processed {"connection_id":174136,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:28:20] local.INFO: Acknowledgment sent {"connection_id":174136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:28:37] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebc45d8012d82b74005d6a8080009000520..."} 
[2026-09-08 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebc45d8012d82b74005d6a8080009000520..."} 
[2026-09-08 07:28:37] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebc45d8012d82b74005d6a8080009000520..."} 
[2026-09-08 07:28:37] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:37] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97953800,"longitude_deg":76.3541312,"latitude_deg":9.79538,"altitude":9,"angle":5,"satellites":32,"speed":33,"hex_longitude":"2d82b740","hex_latitude":"05d6a808","is_valid_coordinates":true} 
[2026-09-08 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941161216001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129732798595465216,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534220957696,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788832663000,"timestamp_ms":1788832663000,"timestamp_seconds":1788832663,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebc45d8"} 
[2026-09-08 07:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 07:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941161216001,"66":13689,"156":206,"85":15104,"24":33,"16":129732798595465216,"45":-9027676534220957696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941161216001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:28:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129732798595465216,"km_value":129732798595465.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534220957696,"description":"Unknown IO ID 45"} 
[2026-09-08 07:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941161216001,"power":13689,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9027676534220957696}} 
[2026-09-08 07:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:28:37] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:28:37] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:28:42] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:28:42] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:28:42] local.INFO: IMEI packet received {"connection_id":175475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":175475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:28:48] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:28:48] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:28:48] local.INFO: IMEI packet received {"connection_id":175475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:28:49] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:28:49] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:28:49] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:28:49] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:28: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-09-08 07:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07: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-09-08 07:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:28:49] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:28:49] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:28:52] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:52] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:52] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:28:53] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:53] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:53] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:28:58] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:58] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:28:58] local.INFO: IMEI packet received {"connection_id":176894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":176894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:28:59] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebc6ce8012d82b9c005d6cd500008016721..."} 
[2026-09-08 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebc6ce8012d82b9c005d6cd500008016721..."} 
[2026-09-08 07:28:59] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebc6ce8012d82b9c005d6cd500008016721..."} 
[2026-09-08 07:28:59] local.INFO: Packet analysis {"connection_id":176894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:59] local.INFO: Extracted packet for processing {"connection_id":176894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97963344,"longitude_deg":76.3541952,"latitude_deg":9.7963344,"altitude":8,"angle":359,"satellites":33,"speed":39,"hex_longitude":"2d82b9c0","hex_latitude":"05d6cd50","is_valid_coordinates":true} 
[2026-09-08 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941161728001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129733262451933184,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534220519424,"note":"Value kept but may cause issues"} 
[2026-09-08 07:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832673000,"timestamp_ms":1788832673000,"timestamp_seconds":1788832673,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebc6ce8"} 
[2026-09-08 07:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 07:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941161728001,"66":13624,"156":206,"85":15104,"24":39,"16":129733262451933184,"45":-9027676534220519424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941161728001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129733262451933184,"km_value":129733262451933.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534220519424,"description":"Unknown IO ID 45"} 
[2026-09-08 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941161728001,"power":13624,"unknown_156":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9027676534220519424}} 
[2026-09-08 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":176894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:28:59] local.INFO: GPS data processed {"connection_id":176894,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:28:59] local.INFO: Acknowledgment sent {"connection_id":176894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:29:20] local.INFO: TCP Data received {"connection_id":175475,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:29:20] local.INFO: Processing buffer {"connection_id":175475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:29:20] local.INFO: Packet analysis {"connection_id":175475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:29:20] local.INFO: Extracted packet for processing {"connection_id":175475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:29: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07: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-09-08 07:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:29:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":175475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:29:20] local.INFO: GPS data processed {"connection_id":175475,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:29:20] local.INFO: Acknowledgment sent {"connection_id":175475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:29:30] local.INFO: TCP Data received {"connection_id":176894,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebc97e0012d82b7c005d6f1e00008016221..."} 
[2026-09-08 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebc97e0012d82b7c005d6f1e00008016221..."} 
[2026-09-08 07:29:30] local.INFO: Processing buffer {"connection_id":176894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebc97e0012d82b7c005d6f1e00008016221..."} 
[2026-09-08 07:29:30] local.INFO: Packet analysis {"connection_id":176894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:29:30] local.INFO: Extracted packet for processing {"connection_id":176894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763541440,"raw_latitude":97972704,"longitude_deg":76.354144,"latitude_deg":9.7972704,"altitude":8,"angle":354,"satellites":33,"speed":36,"hex_longitude":"2d82b7c0","hex_latitude":"05d6f1e0","is_valid_coordinates":true} 
[2026-09-08 07:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941164288001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129733717718466560,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846776299520,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788832684000,"timestamp_ms":1788832684000,"timestamp_seconds":1788832684,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebc97e0"} 
[2026-09-08 07:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 07:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941164288001,"66":12885,"156":206,"85":15104,"24":36,"16":129733717718466560,"45":-9026972846776299520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941164288001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129733717718466560,"km_value":129733717718466.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846776299520,"description":"Unknown IO ID 45"} 
[2026-09-08 07:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941164288001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9026972846776299520}} 
[2026-09-08 07:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":176894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:29:30] local.INFO: GPS data processed {"connection_id":176894,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:29:30] local.INFO: Acknowledgment sent {"connection_id":176894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:29:42] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:29:42] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:29:42] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:29:48] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:29:48] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:29:48] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:29:50] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:29:50] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:29:50] local.INFO: Packet analysis {"connection_id":175477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:29:50] local.INFO: Extracted packet for processing {"connection_id":175477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":175477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:29:50] local.INFO: GPS data processed {"connection_id":175477,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:29:50] local.INFO: Acknowledgment sent {"connection_id":175477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:29:53] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:29:53] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:29:53] local.INFO: IMEI packet received {"connection_id":174386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":174386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:29:58] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:29:58] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:29:58] local.INFO: IMEI packet received {"connection_id":174386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":174386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:29:59] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebcc2d8012d82b18005d714600008016021..."} 
[2026-09-08 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebcc2d8012d82b18005d714600008016021..."} 
[2026-09-08 07:29:59] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebcc2d8012d82b18005d714600008016021..."} 
[2026-09-08 07:29:59] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:29:59] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763539840,"raw_latitude":97981536,"longitude_deg":76.353984,"latitude_deg":9.7981536,"altitude":8,"angle":352,"satellites":33,"speed":32,"hex_longitude":"2d82b180","hex_latitude":"05d71460","is_valid_coordinates":true} 
[2026-09-08 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941167104001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129734155805130752,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027535796727324672,"note":"Value kept but may cause issues"} 
[2026-09-08 07:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832695000,"timestamp_ms":1788832695000,"timestamp_seconds":1788832695,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebcc2d8"} 
[2026-09-08 07:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941167104001,"66":13559,"156":206,"85":15104,"24":32,"16":129734155805130752,"45":-9027535796727324672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941167104001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129734155805130752,"km_value":129734155805130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027535796727324672,"description":"Unknown IO ID 45"} 
[2026-09-08 07:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941167104001,"power":13559,"unknown_156":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9027535796727324672}} 
[2026-09-08 07:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:29:59] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:29:59] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:30:04] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebcedd0012d82ac4005d73898000a015f1e..."} 
[2026-09-08 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebcedd0012d82ac4005d73898000a015f1e..."} 
[2026-09-08 07:30:04] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebcedd0012d82ac4005d73898000a015f1e..."} 
[2026-09-08 07:30:04] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:30:04] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebc"} 
[2026-09-08 07:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763538496,"raw_latitude":97990808,"longitude_deg":76.3538496,"latitude_deg":9.7990808,"altitude":10,"angle":351,"satellites":30,"speed":33,"hex_longitude":"2d82ac40","hex_latitude":"05d73898","is_valid_coordinates":true} 
[2026-09-08 07:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941169920001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129734611071664128,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029295015329505280,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788832706000,"timestamp_ms":1788832706000,"timestamp_seconds":1788832706,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebcedd0"} 
[2026-09-08 07:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 07:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941169920001,"66":13798,"156":206,"85":15104,"24":33,"16":129734611071664128,"45":-9029295015329505280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 07:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941169920001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:30:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 07:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129734611071664128,"km_value":129734611071664.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029295015329505280,"description":"Unknown IO ID 45"} 
[2026-09-08 07:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941169920001,"power":13798,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9029295015329505280}} 
[2026-09-08 07:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:30:04] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:30:04] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:30:21] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:30:21] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:30:21] local.INFO: Packet analysis {"connection_id":175477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:30:21] local.INFO: Extracted packet for processing {"connection_id":175477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 07:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 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-09-08 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 07:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:30: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-09-08 07:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":175477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:30:21] local.INFO: GPS data processed {"connection_id":175477,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:30:21] local.INFO: Acknowledgment sent {"connection_id":175477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:30:35] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebeaf08012d8286c005d891200009015623..."} 
[2026-09-08 07:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebeaf08012d8286c005d891200009015623..."} 
[2026-09-08 07:30:35] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebeaf08012d8286c005d891200009015623..."} 
[2026-09-08 07:30:35] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:30:35] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98079008,"longitude_deg":76.3528896,"latitude_deg":9.8079008,"altitude":9,"angle":342,"satellites":35,"speed":42,"hex_longitude":"2d8286c0","hex_latitude":"05d89120","is_valid_coordinates":true} 
[2026-09-08 07:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941199616001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129738944693665792,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037457789631307776,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788832821000,"timestamp_ms":1788832821000,"timestamp_seconds":1788832821,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebeaf08"} 
[2026-09-08 07:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 07:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941199616001,"66":13765,"47":206,"85":15104,"24":42,"16":129738944693665792,"45":-9037457789631307776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-08 07:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941199616001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:30:35] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-08 07:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129738944693665792,"km_value":129738944693665.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037457789631307776,"description":"Unknown IO ID 45"} 
[2026-09-08 07:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941199616001,"power":13765,"unknown_47":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9037457789631307776}} 
[2026-09-08 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:30:35] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:30:35] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:30:42] local.INFO: TCP Data received {"connection_id":176895,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:30:42] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:30:42] local.INFO: IMEI packet received {"connection_id":176895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":176895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:30:48] local.INFO: TCP Data received {"connection_id":176895,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:30:48] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:30:48] local.INFO: IMEI packet received {"connection_id":176895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":176895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:30:50] local.INFO: TCP Data received {"connection_id":176895,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:30:50] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:30:50] local.INFO: Packet analysis {"connection_id":176895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:30:50] local.INFO: Extracted packet for processing {"connection_id":176895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:30:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":176895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:30:50] local.INFO: GPS data processed {"connection_id":176895,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:30:50] local.INFO: Acknowledgment sent {"connection_id":176895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:30:51] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:51] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:51] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:30:53] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:53] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:53] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:30:58] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:58] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:30:58] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:30:59] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebeb6d8012d82858005d899880009016422..."} 
[2026-09-08 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebeb6d8012d82858005d899880009016422..."} 
[2026-09-08 07:30:59] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebeb6d8012d82858005d899880009016422..."} 
[2026-09-08 07:30:59] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:30:59] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763528576,"raw_latitude":98081160,"longitude_deg":76.3528576,"latitude_deg":9.808116,"altitude":9,"angle":356,"satellites":34,"speed":44,"hex_longitude":"2d828580","hex_latitude":"05d89988","is_valid_coordinates":true} 
[2026-09-08 07:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941202176001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129739052067848192,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070558932992,"note":"Value kept but may cause issues"} 
[2026-09-08 07:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832823000,"timestamp_ms":1788832823000,"timestamp_seconds":1788832823,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebeb6d8"} 
[2026-09-08 07:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-08 07:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941202176001,"66":13820,"47":206,"85":15104,"24":44,"16":129739052067848192,"45":-9041328070558932992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-08 07:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941202176001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:30:59] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-08 07:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129739052067848192,"km_value":129739052067848.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070558932992,"description":"Unknown IO ID 45"} 
[2026-09-08 07:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941202176001,"power":13820,"unknown_47":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9041328070558932992}} 
[2026-09-08 07:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:30:59] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:30:59] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:31:21] local.INFO: TCP Data received {"connection_id":176895,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:31:21] local.INFO: Processing buffer {"connection_id":176895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eba9058012d34c58006aa42a8000a011522..."} 
[2026-09-08 07:31:21] local.INFO: Packet analysis {"connection_id":176895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:31:21] local.INFO: Extracted packet for processing {"connection_id":176895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eba"} 
[2026-09-08 07:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941056000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788832551000,"timestamp_ms":1788832551000,"timestamp_seconds":1788832551,"priority":1,"record_length":96,"hex_timestamp":"000001a07eba9058"} 
[2026-09-08 07:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07: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-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:31: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-09-08 07:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941056000001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941056000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:31:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941056000001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":176895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:31:21] local.INFO: GPS data processed {"connection_id":176895,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:31:21] local.INFO: Acknowledgment sent {"connection_id":176895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:31:31] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebed618012d82854005d8bdf00009016522..."} 
[2026-09-08 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebed618012d82854005d8bdf00009016522..."} 
[2026-09-08 07:31:31] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebed618012d82854005d8bdf00009016522..."} 
[2026-09-08 07:31:31] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:31:31] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":98090480,"longitude_deg":76.3528512,"latitude_deg":9.809048,"altitude":9,"angle":357,"satellites":34,"speed":46,"hex_longitude":"2d828540","hex_latitude":"05d8bdf0","is_valid_coordinates":true} 
[2026-09-08 07:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941202688001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129739503039414272,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041679914279270400,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788832831000,"timestamp_ms":1788832831000,"timestamp_seconds":1788832831,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebed618"} 
[2026-09-08 07:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 07:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941202688001,"66":13852,"47":206,"85":15104,"24":46,"16":129739503039414272,"45":-9041679914279270400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-08 07:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941202688001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129739503039414272,"km_value":129739503039414.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041679914279270400,"description":"Unknown IO ID 45"} 
[2026-09-08 07:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941202688001,"power":13852,"unknown_47":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9041679914279270400}} 
[2026-09-08 07:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:31:31] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:31:31] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:31:42] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:31:42] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:31:42] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:31:47] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:31:47] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:31:47] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:31:48] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:31:48] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:31:48] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:31:48] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 07:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941133056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788832852000,"timestamp_ms":1788832852000,"timestamp_seconds":1788832852,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf2820"} 
[2026-09-08 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-09-08 07: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-09-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 07:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941133056001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941133056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941133056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:31:48] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:31:48] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:31:53] local.INFO: TCP Data received {"connection_id":176897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:53] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:53] local.INFO: IMEI packet received {"connection_id":176897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":176897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:31:56] local.INFO: TCP Data received {"connection_id":176897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:56] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:56] local.INFO: IMEI packet received {"connection_id":176897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":176897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:31:59] local.INFO: TCP Data received {"connection_id":176897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:59] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:31:59] local.INFO: IMEI packet received {"connection_id":176897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":176897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:32:00] local.INFO: TCP Data received {"connection_id":176897,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebef558012d82834005d8e1a80009016422..."} 
[2026-09-08 07:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebef558012d82834005d8e1a80009016422..."} 
[2026-09-08 07:32:00] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebef558012d82834005d8e1a80009016422..."} 
[2026-09-08 07:32:00] local.INFO: Packet analysis {"connection_id":176897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:32:00] local.INFO: Extracted packet for processing {"connection_id":176897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebe"} 
[2026-09-08 07:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763528000,"raw_latitude":98099624,"longitude_deg":76.3528,"latitude_deg":9.8099624,"altitude":9,"angle":356,"satellites":34,"speed":43,"hex_longitude":"2d828340","hex_latitude":"05d8e1a8","is_valid_coordinates":true} 
[2026-09-08 07:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941204736001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129739949716013056,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750283021062144,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788832839000,"timestamp_ms":1788832839000,"timestamp_seconds":1788832839,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebef558"} 
[2026-09-08 07:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 07:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941204736001,"66":13580,"47":206,"85":15104,"24":43,"16":129739949716013056,"45":-9041750283021062144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-08 07:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941204736001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:32:00] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-08 07:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129739949716013056,"km_value":129739949716013.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750283021062144,"description":"Unknown IO ID 45"} 
[2026-09-08 07:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941204736001,"power":13580,"unknown_47":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9041750283021062144}} 
[2026-09-08 07:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":176897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:32:00] local.INFO: GPS data processed {"connection_id":176897,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:32:00] local.INFO: Acknowledgment sent {"connection_id":176897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:32:04] local.INFO: TCP Data received {"connection_id":176897,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf2050012d827f8005d904300009015b22..."} 
[2026-09-08 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf2050012d827f8005d904300009015b22..."} 
[2026-09-08 07:32:04] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf2050012d827f8005d904300009015b22..."} 
[2026-09-08 07:32:04] local.INFO: Packet analysis {"connection_id":176897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:04] local.INFO: Extracted packet for processing {"connection_id":176897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763527040,"raw_latitude":98108464,"longitude_deg":76.352704,"latitude_deg":9.8108464,"altitude":9,"angle":347,"satellites":34,"speed":5,"hex_longitude":"2d827f80","hex_latitude":"05d90430","is_valid_coordinates":true} 
[2026-09-08 07:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941206784001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129740379212742656,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042313232972142592,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788832850000,"timestamp_ms":1788832850000,"timestamp_seconds":1788832850,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf2050"} 
[2026-09-08 07:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631595,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190770181,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7214485304164483082,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3196581889,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204026523,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580138702,"corrected_to":0} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3965452288,"corrected_to":0} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3629840384,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-7151709782055845877,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292230892564907,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:04] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,47,85,24,241,157,16,237,160,214,45,64,189,9,34,10,66,182,128,153,236,175,192,1,240,197,227,126,216,4,113,205,26,116,152,33,239,53,2,204,5,11,25,130,52,59],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1580138702,"validated":0},{"io_id":204,"original":3965452288,"validated":0}]} 
[2026-09-08 07:32:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648909918512545792,"timestamp_seconds":648909918512545.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 07:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941206784001,"66":13624,"47":206,"85":15104,"24":5,"16":129740379212742656,"45":-9042313232972142592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-08 07:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941206784001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129740379212742656,"km_value":129740379212742.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042313232972142592,"description":"Unknown IO ID 45"} 
[2026-09-08 07:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941206784001,"power":13624,"unknown_47":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042313232972142592}} 
[2026-09-08 07:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":176897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:32:04] local.INFO: GPS data processed {"connection_id":176897,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:32:04] local.INFO: Acknowledgment sent {"connection_id":176897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:32:20] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:32:20] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:32:20] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:20] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941133056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832852000,"timestamp_ms":1788832852000,"timestamp_seconds":1788832852,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf2820"} 
[2026-09-08 07:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:32: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:32: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-09-08 07:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941133056001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941133056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941133056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:32:20] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:32:20] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:32:34] local.INFO: TCP Data received {"connection_id":176897,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf6e70012d827b4005d91d38000a015822..."} 
[2026-09-08 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf6e70012d827b4005d91d38000a015822..."} 
[2026-09-08 07:32:34] local.INFO: Processing buffer {"connection_id":176897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf6e70012d827b4005d91d38000a015822..."} 
[2026-09-08 07:32:34] local.INFO: Packet analysis {"connection_id":176897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:34] local.INFO: Extracted packet for processing {"connection_id":176897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763525952,"raw_latitude":98114872,"longitude_deg":76.3525952,"latitude_deg":9.8114872,"altitude":10,"angle":344,"satellites":34,"speed":31,"hex_longitude":"2d827b40","hex_latitude":"05d91d38","is_valid_coordinates":true} 
[2026-09-08 07:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941209600001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129740701335289856,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043368764132544512,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788832870000,"timestamp_ms":1788832870000,"timestamp_seconds":1788832870,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf6e70"} 
[2026-09-08 07:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 07:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941209600001,"66":13526,"49":206,"85":15104,"24":31,"16":129740701335289856,"45":-9043368764132544512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-08 07:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941209600001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:32:34] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 07:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129740701335289856,"km_value":129740701335289.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043368764132544512,"description":"Unknown IO ID 45"} 
[2026-09-08 07:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941209600001,"power":13526,"unknown_49":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9043368764132544512}} 
[2026-09-08 07:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":176897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:32:35] local.INFO: GPS data processed {"connection_id":176897,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:32:35] local.INFO: Acknowledgment sent {"connection_id":176897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:32:44] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:32:44] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:32:44] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:32:47] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:32:47] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:32:47] local.INFO: IMEI packet received {"connection_id":176898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":176898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:32:48] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:32:48] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:32:48] local.INFO: Packet analysis {"connection_id":176898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:48] local.INFO: Extracted packet for processing {"connection_id":176898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941133056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788832852000,"timestamp_ms":1788832852000,"timestamp_seconds":1788832852,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf2820"} 
[2026-09-08 07:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:32: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-09-08 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:32: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-09-08 07:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941133056001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941133056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941133056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":176898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:32:48] local.INFO: GPS data processed {"connection_id":176898,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:32:48] local.INFO: Acknowledgment sent {"connection_id":176898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:32:53] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:32:53] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:32:53] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:32:58] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:32:58] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:32:58] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:32:59] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf9580012d826ec005d93ea00009015322..."} 
[2026-09-08 07:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf9580012d826ec005d93ea00009015322..."} 
[2026-09-08 07:32:59] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf9580012d826ec005d93ea00009015322..."} 
[2026-09-08 07:32:59] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:59] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763522752,"raw_latitude":98123424,"longitude_deg":76.3522752,"latitude_deg":9.8123424,"altitude":9,"angle":339,"satellites":34,"speed":40,"hex_longitude":"2d826ec0","hex_latitude":"05d93ea0","is_valid_coordinates":true} 
[2026-09-08 07:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941214720001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129741143716921344,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044565032781924352,"note":"Value kept but may cause issues"} 
[2026-09-08 07:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832880000,"timestamp_ms":1788832880000,"timestamp_seconds":1788832880,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf9580"} 
[2026-09-08 07:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 07:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941214720001,"66":13820,"49":206,"85":15104,"24":40,"16":129741143716921344,"45":-9044565032781924352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-08 07:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941214720001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:32:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 07:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129741143716921344,"km_value":129741143716921.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044565032781924352,"description":"Unknown IO ID 45"} 
[2026-09-08 07:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941214720001,"power":13820,"unknown_49":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9044565032781924352}} 
[2026-09-08 07:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:32:59] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:32:59] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:33:20] local.INFO: TCP Data received {"connection_id":176898,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:33:20] local.INFO: Processing buffer {"connection_id":176898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ebf2820012d34c58006aa42a8000a01151f..."} 
[2026-09-08 07:33:20] local.INFO: Packet analysis {"connection_id":176898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:33:20] local.INFO: Extracted packet for processing {"connection_id":176898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ebf"} 
[2026-09-08 07:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941133056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832852000,"timestamp_ms":1788832852000,"timestamp_seconds":1788832852,"priority":1,"record_length":96,"hex_timestamp":"000001a07ebf2820"} 
[2026-09-08 07:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:33: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-09-08 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:33: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-09-08 07:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941133056001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941133056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941133056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":176898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:33:20] local.INFO: GPS data processed {"connection_id":176898,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:33:20] local.INFO: Acknowledgment sent {"connection_id":176898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:33:30] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec14b00012d8215c005da8ed00005010a23..."} 
[2026-09-08 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec14b00012d8215c005da8ed00005010a23..."} 
[2026-09-08 07:33:30] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec14b00012d8215c005da8ed00005010a23..."} 
[2026-09-08 07:33:30] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:33:30] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":763499968,"raw_latitude":98209488,"longitude_deg":76.3499968,"latitude_deg":9.8209488,"altitude":5,"angle":266,"satellites":35,"speed":24,"hex_longitude":"2d8215c0","hex_latitude":"05da8ed0","is_valid_coordinates":true} 
[2026-09-08 07:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941245696001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129745520288595968,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072431055452059648,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788832992000,"timestamp_ms":1788832992000,"timestamp_seconds":1788832992,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec14b00"} 
[2026-09-08 07:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 07:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941245696001,"66":13678,"71":206,"85":15104,"24":24,"16":129745520288595968,"45":-9072431055452059648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 07:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941245696001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:33:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 07:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129745520288595968,"km_value":129745520288595.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072431055452059648,"description":"Unknown IO ID 45"} 
[2026-09-08 07:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941245696001,"power":13678,"unknown_71":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9072431055452059648}} 
[2026-09-08 07:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:33:30] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:33:30] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:33:42] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:42] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:42] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:33:44] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:44] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:44] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:33:45] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:33:45] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:33:45] local.INFO: IMEI packet received {"connection_id":174139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":174139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:33:48] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:48] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:33:48] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:33:49] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec0d5d0012d34c58006aa42a8000a011520..."} 
[2026-09-08 07:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec0d5d0012d34c58006aa42a8000a011520..."} 
[2026-09-08 07:33:49] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec0d5d0012d34c58006aa42a8000a011520..."} 
[2026-09-08 07:33:49] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec0"} 
[2026-09-08 07:33:49] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec0"} 
[2026-09-08 07:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821480,"longitude_deg":75.8433152,"latitude_deg":11.182148,"altitude":10,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-08 07:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941210112001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788832962000,"timestamp_ms":1788832962000,"timestamp_seconds":1788832962,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec0d5d0"} 
[2026-09-08 07:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:33: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-09-08 07:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 07:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941210112001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941210112001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941210112001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:33:49] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:33:49] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:33:53] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:53] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:53] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:33:53] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:53] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:53] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:33:57] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:57] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:57] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:33:58] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:58] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:33:58] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:33:59] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec14ee8012d82134005da8e48000500ff23..."} 
[2026-09-08 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec14ee8012d82134005da8e48000500ff23..."} 
[2026-09-08 07:33:59] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec14ee8012d82134005da8e48000500ff23..."} 
[2026-09-08 07:33:59] local.INFO: Packet analysis {"connection_id":174141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:33:59] local.INFO: Extracted packet for processing {"connection_id":174141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763499328,"raw_latitude":98209352,"longitude_deg":76.3499328,"latitude_deg":9.8209352,"altitude":5,"angle":255,"satellites":35,"speed":26,"hex_longitude":"2d821340","hex_latitude":"05da8e48","is_valid_coordinates":true} 
[2026-09-08 07:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941245952001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129745550353367040,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073134742893834240,"note":"Value kept but may cause issues"} 
[2026-09-08 07:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788832993000,"timestamp_ms":1788832993000,"timestamp_seconds":1788832993,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec14ee8"} 
[2026-09-08 07:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 07:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941245952001,"66":13450,"71":206,"85":15104,"24":26,"16":129745550353367040,"45":-9073134742893834240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 07:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941245952001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129745550353367040,"km_value":129745550353367.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073134742893834240,"description":"Unknown IO ID 45"} 
[2026-09-08 07:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941245952001,"power":13450,"unknown_71":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9073134742893834240}} 
[2026-09-08 07:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":174141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:33:59] local.INFO: GPS data processed {"connection_id":174141,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:33:59] local.INFO: Acknowledgment sent {"connection_id":174141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:34:20] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec0e188012d34c60006aa4250000a005c1f..."} 
[2026-09-08 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec0e188012d34c60006aa4250000a005c1f..."} 
[2026-09-08 07:34:20] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec0e188012d34c60006aa4250000a005c1f..."} 
[2026-09-08 07:34:20] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec0"} 
[2026-09-08 07:34:20] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec0"} 
[2026-09-08 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":31,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941238272001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498906112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788832965000,"timestamp_ms":1788832965000,"timestamp_seconds":1788832965,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec0e188"} 
[2026-09-08 07:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 07:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:34: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-09-08 07:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941238272001,"66":22549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802586226498906112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941238272001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498906112,"description":"Unknown IO ID 45"} 
[2026-09-08 07:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941238272001,"power":22549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498906112}} 
[2026-09-08 07:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:34:20] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:34:20] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:34:30] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec24cd0012d81578005dab0f00002015221..."} 
[2026-09-08 07:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec24cd0012d81578005dab0f00002015221..."} 
[2026-09-08 07:34:30] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec24cd0012d81578005dab0f00002015221..."} 
[2026-09-08 07:34:30] local.INFO: Packet analysis {"connection_id":174141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:34:30] local.INFO: Extracted packet for processing {"connection_id":174141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763451264,"raw_latitude":98218224,"longitude_deg":76.3451264,"latitude_deg":9.8218224,"altitude":2,"angle":338,"satellites":33,"speed":46,"hex_longitude":"2d815780","hex_latitude":"05dab0f0","is_valid_coordinates":true} 
[2026-09-08 07:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941260288001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129748342082109440,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123448394981056512,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833058000,"timestamp_ms":1788833058000,"timestamp_seconds":1788833058,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec24cd0"} 
[2026-09-08 07:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 07:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941260288001,"66":13689,"71":206,"85":15104,"24":46,"16":129748342082109440,"45":-9123448394981056512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 07:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941260288001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:34:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 07:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129748342082109440,"km_value":129748342082109.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123448394981056512,"description":"Unknown IO ID 45"} 
[2026-09-08 07:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941260288001,"power":13689,"unknown_71":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9123448394981056512}} 
[2026-09-08 07:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":174141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:34:30] local.INFO: GPS data processed {"connection_id":174141,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:34:30] local.INFO: Acknowledgment sent {"connection_id":174141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:34:42] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:34:42] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:34:42] local.INFO: IMEI packet received {"connection_id":174388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":174388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:34:47] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:34:47] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:34:47] local.INFO: IMEI packet received {"connection_id":174388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:34:49] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec13390012d34c60006aa4250000a005c1f..."} 
[2026-09-08 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec13390012d34c60006aa4250000a005c1f..."} 
[2026-09-08 07:34:49] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec13390012d34c60006aa4250000a005c1f..."} 
[2026-09-08 07:34:49] local.INFO: Packet analysis {"connection_id":174388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:34:49] local.INFO: Extracted packet for processing {"connection_id":174388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":31,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941239040001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788832986000,"timestamp_ms":1788832986000,"timestamp_seconds":1788832986,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec13390"} 
[2026-09-08 07:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:34: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":88,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-08 07:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":827,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:34: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-09-08 07:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941239040001,"66":27767,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941239040001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941239040001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:34:49] local.INFO: GPS data processed {"connection_id":174388,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:34:49] local.INFO: Acknowledgment sent {"connection_id":174388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:34:54] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:34:54] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:34:54] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:34:58] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:34:58] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:34:58] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:35:02] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:02] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:02] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:35:03] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec26c10012d814bc005dad5080004015e21..."} 
[2026-09-08 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec26c10012d814bc005dad5080004015e21..."} 
[2026-09-08 07:35:03] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec26c10012d814bc005dad5080004015e21..."} 
[2026-09-08 07:35:03] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:35:03] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763448256,"raw_latitude":98227464,"longitude_deg":76.3448256,"latitude_deg":9.8227464,"altitude":4,"angle":350,"satellites":33,"speed":47,"hex_longitude":"2d814bc0","hex_latitude":"05dad508","is_valid_coordinates":true} 
[2026-09-08 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941262848001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129748814528512000,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126685357210800128,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788833066000,"timestamp_ms":1788833066000,"timestamp_seconds":1788833066,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec26c10"} 
[2026-09-08 07:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941262848001,"66":13559,"71":206,"85":15104,"24":47,"16":129748814528512000,"45":-9126685357210800128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 07:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941262848001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 07:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129748814528512000,"km_value":129748814528512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126685357210800128,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941262848001,"power":13559,"unknown_71":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9126685357210800128}} 
[2026-09-08 07:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:03] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:03] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:35:04] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec26c10012d814bc005dad5080004015e21..."} 
[2026-09-08 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec26c10012d814bc005dad5080004015e21..."} 
[2026-09-08 07:35:04] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec26c10012d814bc005dad5080004015e21..."} 
[2026-09-08 07:35:04] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:35:04] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763448256,"raw_latitude":98227464,"longitude_deg":76.3448256,"latitude_deg":9.8227464,"altitude":4,"angle":350,"satellites":33,"speed":47,"hex_longitude":"2d814bc0","hex_latitude":"05dad508","is_valid_coordinates":true} 
[2026-09-08 07:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941264896001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129748814528512000,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129992688184784896,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788833066000,"timestamp_ms":1788833066000,"timestamp_seconds":1788833066,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec26c10"} 
[2026-09-08 07:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941264896001,"66":13559,"71":206,"85":15104,"24":47,"16":129748814528512000,"45":-9129992688184784896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941264896001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 07:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129748814528512000,"km_value":129748814528512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129992688184784896,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941264896001,"power":13559,"unknown_71":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9129992688184784896}} 
[2026-09-08 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:04] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:04] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:35:22] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:22] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:22] local.INFO: Packet analysis {"connection_id":174388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:35:22] local.INFO: Extracted packet for processing {"connection_id":174388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:35: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-09-08 07:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":174388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:22] local.INFO: GPS data processed {"connection_id":174388,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:22] local.INFO: Acknowledgment sent {"connection_id":174388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:35:35] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec28380012d81470005daef480005015220..."} 
[2026-09-08 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec28380012d81470005daef480005015220..."} 
[2026-09-08 07:35:35] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec28380012d81470005daef480005015220..."} 
[2026-09-08 07:35:35] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:35:35] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec2"} 
[2026-09-08 07:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763447040,"raw_latitude":98234184,"longitude_deg":76.344704,"latitude_deg":9.8234184,"altitude":5,"angle":338,"satellites":32,"speed":39,"hex_longitude":"2d814700","hex_latitude":"05daef48","is_valid_coordinates":true} 
[2026-09-08 07:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941264896001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129749145240993792,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129992688184784896,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788833072000,"timestamp_ms":1788833072000,"timestamp_seconds":1788833072,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec28380"} 
[2026-09-08 07:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941264896001,"66":13341,"71":206,"85":15104,"24":39,"16":129749145240993792,"45":-9129992688184784896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 07:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941264896001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 07:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129749145240993792,"km_value":129749145240993.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129992688184784896,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941264896001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9129992688184784896}} 
[2026-09-08 07:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:35] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:35] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:35:47] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:35:47] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:35:47] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:35:50] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:50] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:50] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:35:52] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:35:52] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:35:52] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:35:53] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:53] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:53] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:35:53] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:53] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:53] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:35:53] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:53] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:53] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:35:57] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:57] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:35:57] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:35:58] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:58] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:35:58] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:35:58] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:35: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-09-08 07:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:35:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:58] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:58] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:35:59] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec371c8012d80c2c005dbd7e8000401501f..."} 
[2026-09-08 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec371c8012d80c2c005dbd7e8000401501f..."} 
[2026-09-08 07:35:59] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec371c8012d80c2c005dbd7e8000401501f..."} 
[2026-09-08 07:35:59] local.INFO: Packet analysis {"connection_id":175482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec3"} 
[2026-09-08 07:35:59] local.INFO: Extracted packet for processing {"connection_id":175482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec3"} 
[2026-09-08 07:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763413184,"raw_latitude":98293736,"longitude_deg":76.3413184,"latitude_deg":9.8293736,"altitude":4,"angle":336,"satellites":31,"speed":47,"hex_longitude":"2d80c2c0","hex_latitude":"05dbd7e8","is_valid_coordinates":true} 
[2026-09-08 07:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941280000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129752478135615488,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9163488210398498816,"note":"Value kept but may cause issues"} 
[2026-09-08 07:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833133000,"timestamp_ms":1788833133000,"timestamp_seconds":1788833133,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec371c8"} 
[2026-09-08 07:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 07:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941280000001,"66":13798,"154":206,"85":15104,"24":47,"16":129752478135615488,"45":-9163488210398498816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-08 07:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941280000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129752478135615488,"km_value":129752478135615.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9163488210398498816,"description":"Unknown IO ID 45"} 
[2026-09-08 07:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941280000001,"power":13798,"unknown_154":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9163488210398498816}} 
[2026-09-08 07:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":175482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:35:59] local.INFO: GPS data processed {"connection_id":175482,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:35:59] local.INFO: Acknowledgment sent {"connection_id":175482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:36:30] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec39108012d80b44005dbf9b8000601521f..."} 
[2026-09-08 07:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec39108012d80b44005dbf9b8000601521f..."} 
[2026-09-08 07:36:30] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec39108012d80b44005dbf9b8000601521f..."} 
[2026-09-08 07:36:30] local.INFO: Packet analysis {"connection_id":175482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec3"} 
[2026-09-08 07:36:30] local.INFO: Extracted packet for processing {"connection_id":175482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec3"} 
[2026-09-08 07:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763409472,"raw_latitude":98302392,"longitude_deg":76.3409472,"latitude_deg":9.8302392,"altitude":6,"angle":338,"satellites":31,"speed":45,"hex_longitude":"2d80b440","hex_latitude":"05dbf9b8","is_valid_coordinates":true} 
[2026-09-08 07:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941282048001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129752933402148864,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168554759977179136,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833141000,"timestamp_ms":1788833141000,"timestamp_seconds":1788833141,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec39108"} 
[2026-09-08 07:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 07:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941282048001,"66":13678,"154":206,"85":15104,"24":45,"16":129752933402148864,"45":-9168554759977179136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-08 07:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941282048001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:36:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-08 07:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129752933402148864,"km_value":129752933402148.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168554759977179136,"description":"Unknown IO ID 45"} 
[2026-09-08 07:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941282048001,"power":13678,"unknown_154":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9168554759977179136}} 
[2026-09-08 07:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":175482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:36:30] local.INFO: GPS data processed {"connection_id":175482,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:36:30] local.INFO: Acknowledgment sent {"connection_id":175482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:36:42] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:36:42] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:36:42] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:36:47] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:36:47] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:36:47] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:36:48] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:36:48] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:36:48] local.INFO: Packet analysis {"connection_id":174143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:36:48] local.INFO: Extracted packet for processing {"connection_id":174143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:36: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-09-08 07:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":174143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:36:48] local.INFO: GPS data processed {"connection_id":174143,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:36:48] local.INFO: Acknowledgment sent {"connection_id":174143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:36:50] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:50] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:50] local.INFO: IMEI packet received {"connection_id":175483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":175483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:36:51] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:51] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:51] local.INFO: IMEI packet received {"connection_id":175483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":175483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:36:54] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:54] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:54] local.INFO: IMEI packet received {"connection_id":175483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":175483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:36:58] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:58] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:36:58] local.INFO: IMEI packet received {"connection_id":175483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":175483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:36:59] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec3b048012d80a58005dc1bd80006014d20..."} 
[2026-09-08 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec3b048012d80a58005dc1bd80006014d20..."} 
[2026-09-08 07:36:59] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec3b048012d80a58005dc1bd80006014d20..."} 
[2026-09-08 07:36:59] local.INFO: Packet analysis {"connection_id":175483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec3"} 
[2026-09-08 07:36:59] local.INFO: Extracted packet for processing {"connection_id":175483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec3"} 
[2026-09-08 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98311128,"longitude_deg":76.3405696,"latitude_deg":9.8311128,"altitude":6,"angle":333,"satellites":32,"speed":49,"hex_longitude":"2d80a580","hex_latitude":"05dc1bd8","is_valid_coordinates":true} 
[2026-09-08 07:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941284096001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129753397258616832,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172636147137267712,"note":"Value kept but may cause issues"} 
[2026-09-08 07:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833149000,"timestamp_ms":1788833149000,"timestamp_seconds":1788833149,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec3b048"} 
[2026-09-08 07:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 07:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941284096001,"66":13646,"154":206,"85":15104,"24":49,"16":129753397258616832,"45":-9172636147137267712},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-08 07:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941284096001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129753397258616832,"km_value":129753397258616.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172636147137267712,"description":"Unknown IO ID 45"} 
[2026-09-08 07:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941284096001,"power":13646,"unknown_154":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9172636147137267712}} 
[2026-09-08 07:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":175483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:36:59] local.INFO: GPS data processed {"connection_id":175483,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:36:59] local.INFO: Acknowledgment sent {"connection_id":175483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:37:19] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:37:19] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:37:19] local.INFO: Packet analysis {"connection_id":174143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:37:19] local.INFO: Extracted packet for processing {"connection_id":174143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:37: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-09-08 07:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":174143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:37:19] local.INFO: GPS data processed {"connection_id":174143,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:37:19] local.INFO: Acknowledgment sent {"connection_id":174143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:37:30] local.INFO: TCP Data received {"connection_id":175483,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec4cd70012d803f8005dca0e00003010320..."} 
[2026-09-08 07:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec4cd70012d803f8005dca0e00003010320..."} 
[2026-09-08 07:37:30] local.INFO: Processing buffer {"connection_id":175483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec4cd70012d803f8005dca0e00003010320..."} 
[2026-09-08 07:37:30] local.INFO: Packet analysis {"connection_id":175483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec4"} 
[2026-09-08 07:37:30] local.INFO: Extracted packet for processing {"connection_id":175483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec4"} 
[2026-09-08 07:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763379584,"raw_latitude":98345184,"longitude_deg":76.3379584,"latitude_deg":9.8345184,"altitude":3,"angle":259,"satellites":32,"speed":39,"hex_longitude":"2d803f80","hex_latitude":"05dca0e0","is_valid_coordinates":true} 
[2026-09-08 07:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941301760001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129755819620171776,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195365251495163904,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833222000,"timestamp_ms":1788833222000,"timestamp_seconds":1788833222,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec4cd70"} 
[2026-09-08 07:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 07:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941301760001,"66":13906,"251":206,"85":15104,"24":39,"16":129755819620171776,"45":-9195365251495163904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-08 07:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941301760001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:37:30] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 07:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129755819620171776,"km_value":129755819620171.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195365251495163904,"description":"Unknown IO ID 45"} 
[2026-09-08 07:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941301760001,"power":13906,"unknown_251":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9195365251495163904}} 
[2026-09-08 07:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":175483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:37:30] local.INFO: GPS data processed {"connection_id":175483,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:37:30] local.INFO: Acknowledgment sent {"connection_id":175483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:37:42] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:37:42] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:37:42] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:37:47] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:37:47] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:37:47] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:37:48] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:37:48] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:37:48] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:37:48] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:37: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-09-08 07:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:37:48] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:37:48] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:38:07] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:07] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:07] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:38:08] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:08] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:08] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:38:19] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:38:19] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:38:19] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:38:19] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:38: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-09-08 07:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:38:19] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:38:19] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:38:30] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:30] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:30] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:38:34] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec4f098012d801c4005dc98c0000200ff20..."} 
[2026-09-08 07:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec4f098012d801c4005dc98c0000200ff20..."} 
[2026-09-08 07:38:34] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec4f098012d801c4005dc98c0000200ff20..."} 
[2026-09-08 07:38:34] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec4"} 
[2026-09-08 07:38:34] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec4"} 
[2026-09-08 07:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763370560,"raw_latitude":98343104,"longitude_deg":76.337056,"latitude_deg":9.8343104,"altitude":2,"angle":255,"satellites":32,"speed":39,"hex_longitude":"2d801c40","hex_latitude":"05dc98c0","is_valid_coordinates":true} 
[2026-09-08 07:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941304832001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129756257706835968,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205498350657282048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788833231000,"timestamp_ms":1788833231000,"timestamp_seconds":1788833231,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec4f098"} 
[2026-09-08 07:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 07:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941304832001,"66":13765,"251":206,"85":15104,"24":39,"16":129756257706835968,"45":-9205498350657282048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-08 07:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941304832001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:38:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 07:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129756257706835968,"km_value":129756257706835.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205498350657282048,"description":"Unknown IO ID 45"} 
[2026-09-08 07:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941304832001,"power":13765,"unknown_251":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9205498350657282048}} 
[2026-09-08 07:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:38:34] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:38:34] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:38:42] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec60208012d7f6b4005dcfa800000014c1f..."} 
[2026-09-08 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec60208012d7f6b4005dcfa800000014c1f..."} 
[2026-09-08 07:38:42] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec60208012d7f6b4005dcfa800000014c1f..."} 
[2026-09-08 07:38:42] local.INFO: Packet analysis {"connection_id":175484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:38:42] local.INFO: Extracted packet for processing {"connection_id":175484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763325248,"raw_latitude":98368128,"longitude_deg":76.3325248,"latitude_deg":9.8368128,"altitude":0,"angle":332,"satellites":31,"speed":44,"hex_longitude":"2d7f6b40","hex_latitude":"05dcfa80","is_valid_coordinates":true} 
[2026-09-08 07:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941325056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129759508997079040,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181502659251306496,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788833301000,"timestamp_ms":1788833301000,"timestamp_seconds":1788833301,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec60208"} 
[2026-09-08 07:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 07:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941325056001,"66":13906,"251":206,"85":15104,"24":44,"16":129759508997079040,"45":9181502659251306496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-08 07:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941325056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129759508997079040,"km_value":129759508997079.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181502659251306496,"description":"Unknown IO ID 45"} 
[2026-09-08 07:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941325056001,"power":13906,"unknown_251":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9181502659251306496}} 
[2026-09-08 07:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":175484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:38:42] local.INFO: GPS data processed {"connection_id":175484,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:38:42] local.ERROR: TCP Connection error {"connection_id":175484,"code":2,"message":"client closed"} 
[2026-09-08 07:38:42] local.INFO: Acknowledgment sent {"connection_id":175484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:38:44] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:38:44] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:38:44] local.INFO: IMEI packet received {"connection_id":176902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":176902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:38:48] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:38:48] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:38:48] local.INFO: IMEI packet received {"connection_id":176902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":176902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:38:49] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:38:49] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec179e0012d34c60006aa4250000a005c21..."} 
[2026-09-08 07:38:49] local.INFO: Packet analysis {"connection_id":176902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:38:49] local.INFO: Extracted packet for processing {"connection_id":176902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec1"} 
[2026-09-08 07:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821392,"longitude_deg":75.843328,"latitude_deg":11.1821392,"altitude":10,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa4250","is_valid_coordinates":true} 
[2026-09-08 07:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941244416001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788833004000,"timestamp_ms":1788833004000,"timestamp_seconds":1788833004,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec179e0"} 
[2026-09-08 07:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 07:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:38: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-09-08 07:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941244416001,"66":27865,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 07:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941244416001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 07:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941244416001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":176902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:38:49] local.INFO: GPS data processed {"connection_id":176902,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:38:49] local.INFO: Acknowledgment sent {"connection_id":176902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:38:53] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:53] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:53] local.INFO: IMEI packet received {"connection_id":176903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":176903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:38:56] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:56] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:38:56] local.INFO: IMEI packet received {"connection_id":176903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":176903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:38:57] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec62148012d7f558005dd17d00000014520..."} 
[2026-09-08 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec62148012d7f558005dd17d00000014520..."} 
[2026-09-08 07:38:57] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec62148012d7f558005dd17d00000014520..."} 
[2026-09-08 07:38:57] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:38:57] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763319680,"raw_latitude":98375632,"longitude_deg":76.331968,"latitude_deg":9.8375632,"altitude":0,"angle":325,"satellites":32,"speed":44,"hex_longitude":"2d7f5580","hex_latitude":"05dd17d0","is_valid_coordinates":true} 
[2026-09-08 07:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941325056001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129759959968645120,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181502659251306496,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788833309000,"timestamp_ms":1788833309000,"timestamp_seconds":1788833309,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec62148"} 
[2026-09-08 07:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 07:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941325056001,"66":13917,"251":206,"85":15104,"24":44,"16":129759959968645120,"45":9181502659251306496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-08 07:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941325056001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:38:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 07:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129759959968645120,"km_value":129759959968645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181502659251306496,"description":"Unknown IO ID 45"} 
[2026-09-08 07:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941325056001,"power":13917,"unknown_251":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9181502659251306496}} 
[2026-09-08 07:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:38:57] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:38:57] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:38:58] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec62918012d7f51c005dd1f580000015322..."} 
[2026-09-08 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec62918012d7f51c005dd1f580000015322..."} 
[2026-09-08 07:38:58] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec62918012d7f51c005dd1f580000015322..."} 
[2026-09-08 07:38:58] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:38:58] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763318720,"raw_latitude":98377560,"longitude_deg":76.331872,"latitude_deg":9.837756,"altitude":0,"angle":339,"satellites":34,"speed":43,"hex_longitude":"2d7f51c0","hex_latitude":"05dd1f58","is_valid_coordinates":true} 
[2026-09-08 07:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941327104001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129760067342827520,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175380578509770752,"note":"Value kept but may cause issues"} 
[2026-09-08 07:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788833311000,"timestamp_ms":1788833311000,"timestamp_seconds":1788833311,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec62918"} 
[2026-09-08 07:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 07:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941327104001,"66":14048,"251":206,"85":15104,"24":43,"16":129760067342827520,"45":9175380578509770752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-08 07:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941327104001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129760067342827520,"km_value":129760067342827.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175380578509770752,"description":"Unknown IO ID 45"} 
[2026-09-08 07:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941327104001,"power":14048,"unknown_251":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9175380578509770752}} 
[2026-09-08 07:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:38:58] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:38:58] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:39:20] local.INFO: TCP Data received {"connection_id":176902,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:20] local.INFO: Processing buffer {"connection_id":176902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:20] local.INFO: Packet analysis {"connection_id":176902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:20] local.INFO: Extracted packet for processing {"connection_id":176902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:39: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-09-08 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:39: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-09-08 07:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:39:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":176902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:39:20] local.INFO: GPS data processed {"connection_id":176902,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:39:20] local.INFO: Acknowledgment sent {"connection_id":176902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:39:30] local.INFO: TCP Data received {"connection_id":176903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec64858012d7f49c005dd43b80000015c1f..."} 
[2026-09-08 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec64858012d7f49c005dd43b80000015c1f..."} 
[2026-09-08 07:39:30] local.INFO: Processing buffer {"connection_id":176903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec64858012d7f49c005dd43b80000015c1f..."} 
[2026-09-08 07:39:30] local.INFO: Packet analysis {"connection_id":176903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:30] local.INFO: Extracted packet for processing {"connection_id":176903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763316672,"raw_latitude":98386872,"longitude_deg":76.3316672,"latitude_deg":9.8386872,"altitude":0,"angle":348,"satellites":31,"speed":48,"hex_longitude":"2d7f49c0","hex_latitude":"05dd43b8","is_valid_coordinates":true} 
[2026-09-08 07:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941327616001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129760526904328192,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174325047347599360,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833319000,"timestamp_ms":1788833319000,"timestamp_seconds":1788833319,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec64858"} 
[2026-09-08 07:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 07:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941327616001,"66":13222,"155":206,"85":15104,"24":48,"16":129760526904328192,"45":9174325047347599360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-08 07:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941327616001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:39:30] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-08 07:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129760526904328192,"km_value":129760526904328.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174325047347599360,"description":"Unknown IO ID 45"} 
[2026-09-08 07:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941327616001,"power":13222,"unknown_155":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9174325047347599360}} 
[2026-09-08 07:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":176903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:39:30] local.INFO: GPS data processed {"connection_id":176903,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:39:30] local.INFO: Acknowledgment sent {"connection_id":176903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:39:45] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:39:45] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:39:45] local.INFO: IMEI packet received {"connection_id":174145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:39:47] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:39:47] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:39:47] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:39:53] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:39:53] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:39:53] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:39:53] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:39:53] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:39:53] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:39:55] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:55] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:55] local.INFO: Packet analysis {"connection_id":174146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:55] local.INFO: Extracted packet for processing {"connection_id":174146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:39:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:39:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":174146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:39:55] local.INFO: GPS data processed {"connection_id":174146,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:39:55] local.INFO: Acknowledgment sent {"connection_id":174146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:39:58] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:39:58] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:39:58] local.INFO: IMEI packet received {"connection_id":175485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":175485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:39:58] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec66798012d7f418005dd68680000015a1f..."} 
[2026-09-08 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec66798012d7f418005dd68680000015a1f..."} 
[2026-09-08 07:39:58] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec66798012d7f418005dd68680000015a1f..."} 
[2026-09-08 07:39:58] local.INFO: Packet analysis {"connection_id":175485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:58] local.INFO: Extracted packet for processing {"connection_id":175485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763314560,"raw_latitude":98396264,"longitude_deg":76.331456,"latitude_deg":9.8396264,"altitude":0,"angle":346,"satellites":31,"speed":44,"hex_longitude":"2d7f4180","hex_latitude":"05dd6868","is_valid_coordinates":true} 
[2026-09-08 07:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941329664001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129760995055763456,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172073247536297984,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788833327000,"timestamp_ms":1788833327000,"timestamp_seconds":1788833327,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec66798"} 
[2026-09-08 07:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 07:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941329664001,"66":13689,"111":206,"85":15104,"24":44,"16":129760995055763456,"45":9172073247536297984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-08 07:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941329664001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:39:58] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 07:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129760995055763456,"km_value":129760995055763.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172073247536297984,"description":"Unknown IO ID 45"} 
[2026-09-08 07:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941329664001,"power":13689,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9172073247536297984}} 
[2026-09-08 07:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":175485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:39:59] local.INFO: GPS data processed {"connection_id":175485,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:39:59] local.INFO: Acknowledgment sent {"connection_id":175485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:39:59] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:59] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:39:59] local.INFO: Packet analysis {"connection_id":174146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:59] local.INFO: Extracted packet for processing {"connection_id":174146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":174146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:39:59] local.INFO: GPS data processed {"connection_id":174146,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:39:59] local.INFO: Acknowledgment sent {"connection_id":174146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:40:30] local.INFO: TCP Data received {"connection_id":175485,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec7cb10012d7ecc8005dee3800007015d21..."} 
[2026-09-08 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec7cb10012d7ecc8005dee3800007015d21..."} 
[2026-09-08 07:40:30] local.INFO: Processing buffer {"connection_id":175485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec7cb10012d7ecc8005dee3800007015d21..."} 
[2026-09-08 07:40:30] local.INFO: Packet analysis {"connection_id":175485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec7"} 
[2026-09-08 07:40:30] local.INFO: Extracted packet for processing {"connection_id":175485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec7"} 
[2026-09-08 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763284608,"raw_latitude":98493312,"longitude_deg":76.3284608,"latitude_deg":9.8493312,"altitude":7,"angle":349,"satellites":33,"speed":40,"hex_longitude":"2d7ecc80","hex_latitude":"05dee380","is_valid_coordinates":true} 
[2026-09-08 07:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941352704001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129765968627892224,"note":"Value kept but may cause issues"} 
[2026-09-08 07:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137733300402348032,"note":"Value kept but may cause issues"} 
[2026-09-08 07:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833418000,"timestamp_ms":1788833418000,"timestamp_seconds":1788833418,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec7cb10"} 
[2026-09-08 07:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 07:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941352704001,"66":13472,"205":206,"85":15104,"24":40,"16":129765968627892224,"45":9137733300402348032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 07:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941352704001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129765968627892224,"km_value":129765968627892.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137733300402348032,"description":"Unknown IO ID 45"} 
[2026-09-08 07:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941352704001,"power":13472,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9137733300402348032}} 
[2026-09-08 07:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":175485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:40:30] local.INFO: GPS data processed {"connection_id":175485,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:40:30] local.INFO: Acknowledgment sent {"connection_id":175485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:40:42] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:40:42] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:40:42] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:40:48] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:40:48] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:40:48] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:40:49] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:40:49] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:40:49] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:40:49] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:40: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-09-08 07:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:40:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:40:49] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:40:49] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:40:53] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:40:53] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:40:53] local.INFO: IMEI packet received {"connection_id":176904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":176904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:40:59] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:40:59] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:40:59] local.INFO: IMEI packet received {"connection_id":176904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":176904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:41:00] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec7dab0012d7ec84005def1780007014c21..."} 
[2026-09-08 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec7dab0012d7ec84005def1780007014c21..."} 
[2026-09-08 07:41:00] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec7dab0012d7ec84005def1780007014c21..."} 
[2026-09-08 07:41:00] local.INFO: Packet analysis {"connection_id":176904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec7"} 
[2026-09-08 07:41:00] local.INFO: Extracted packet for processing {"connection_id":176904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec7"} 
[2026-09-08 07:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763283520,"raw_latitude":98496888,"longitude_deg":76.328352,"latitude_deg":9.8496888,"altitude":7,"angle":332,"satellites":33,"speed":33,"hex_longitude":"2d7ec840","hex_latitude":"05def178","is_valid_coordinates":true} 
[2026-09-08 07:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941355008001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129766149016518656,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136818506730536960,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788833422000,"timestamp_ms":1788833422000,"timestamp_seconds":1788833422,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec7dab0"} 
[2026-09-08 07:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 07:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941355008001,"66":13580,"205":206,"85":15104,"24":33,"16":129766149016518656,"45":9136818506730536960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 07:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941355008001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129766149016518656,"km_value":129766149016518.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136818506730536960,"description":"Unknown IO ID 45"} 
[2026-09-08 07:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941355008001,"power":13580,"cell_id":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9136818506730536960}} 
[2026-09-08 07:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":176904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:41:00] local.INFO: GPS data processed {"connection_id":176904,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:41:00] local.INFO: Acknowledgment sent {"connection_id":176904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:41:21] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:21] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:21] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:41:21] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:41: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-09-08 07:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:41:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:41:21] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:41:21] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:41:31] local.INFO: TCP Data received {"connection_id":176904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec7e668012d7ec34005def8c00007013e21..."} 
[2026-09-08 07:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec7e668012d7ec34005def8c00007013e21..."} 
[2026-09-08 07:41:31] local.INFO: Processing buffer {"connection_id":176904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec7e668012d7ec34005def8c00007013e21..."} 
[2026-09-08 07:41:31] local.INFO: Packet analysis {"connection_id":176904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec7"} 
[2026-09-08 07:41:31] local.INFO: Extracted packet for processing {"connection_id":176904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec7"} 
[2026-09-08 07:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763282240,"raw_latitude":98498752,"longitude_deg":76.328224,"latitude_deg":9.8498752,"altitude":7,"angle":318,"satellites":33,"speed":26,"hex_longitude":"2d7ec340","hex_latitude":"05def8c0","is_valid_coordinates":true} 
[2026-09-08 07:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941356032001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129766260685668352,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135622238080432128,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788833425000,"timestamp_ms":1788833425000,"timestamp_seconds":1788833425,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec7e668"} 
[2026-09-08 07:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631619,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3729160192,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4097,"corrected_to":0} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6205397521246715914,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435092337,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-18007946841554941,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2297954308,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2147868264,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620717801162460757,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,205,85,24,241,157,16,5,160,203,45,128,227,7,33,10,66,167,192,189,34,152,1,240,230,4,126,222,113,43,234,96,239,53,2,44,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":203,"original":4097,"validated":0}]} 
[2026-09-08 07:41:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504768337862000640,"timestamp_seconds":504768337862000.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 07:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941356032001,"66":13406,"205":206,"85":15104,"24":26,"16":129766260685668352,"45":9135622238080432128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 07:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941356032001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129766260685668352,"km_value":129766260685668.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135622238080432128,"description":"Unknown IO ID 45"} 
[2026-09-08 07:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941356032001,"power":13406,"cell_id":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9135622238080432128}} 
[2026-09-08 07:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":176904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:41:31] local.INFO: GPS data processed {"connection_id":176904,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:41:31] local.INFO: Acknowledgment sent {"connection_id":176904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:41:44] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:41:44] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:41:44] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:41:48] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:41:48] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:41:48] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:41:48] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:48] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:48] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:41:48] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:41: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-09-08 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:41:48] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:41:48] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:41:51] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:51] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:51] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:41:53] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:53] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:41:53] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:41:53] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:41:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:41:53] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:41:53] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:41:53] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:53] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:53] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:41:58] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:58] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:41:58] local.INFO: IMEI packet received {"connection_id":176905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":176905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:41:59] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec828d0012d7eaa8005df14600009014222..."} 
[2026-09-08 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec828d0012d7eaa8005df14600009014222..."} 
[2026-09-08 07:41:59] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec828d0012d7eaa8005df14600009014222..."} 
[2026-09-08 07:41:59] local.INFO: Packet analysis {"connection_id":176905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec8"} 
[2026-09-08 07:41:59] local.INFO: Extracted packet for processing {"connection_id":176905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec8"} 
[2026-09-08 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":98505824,"longitude_deg":76.3275904,"latitude_deg":9.8505824,"altitude":9,"angle":322,"satellites":34,"speed":27,"hex_longitude":"2d7eaa80","hex_latitude":"05df1460","is_valid_coordinates":true} 
[2026-09-08 07:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941356800001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129766720247169024,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134214863197356032,"note":"Value kept but may cause issues"} 
[2026-09-08 07:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833442000,"timestamp_ms":1788833442000,"timestamp_seconds":1788833442,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec828d0"} 
[2026-09-08 07:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 07:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941356800001,"66":13722,"205":206,"85":15104,"24":27,"16":129766720247169024,"45":9134214863197356032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 07:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941356800001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129766720247169024,"km_value":129766720247169.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134214863197356032,"description":"Unknown IO ID 45"} 
[2026-09-08 07:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941356800001,"power":13722,"cell_id":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9134214863197356032}} 
[2026-09-08 07:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":176905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:41:59] local.INFO: GPS data processed {"connection_id":176905,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:41:59] local.INFO: Acknowledgment sent {"connection_id":176905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:42:26] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:42:26] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:42:26] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:42:26] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:42:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:42:26] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:42:26] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:42:30] local.INFO: TCP Data received {"connection_id":176905,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec83488012d7ea5c005df1b880009014d22..."} 
[2026-09-08 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec83488012d7ea5c005df1b880009014d22..."} 
[2026-09-08 07:42:30] local.INFO: Processing buffer {"connection_id":176905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec83488012d7ea5c005df1b880009014d22..."} 
[2026-09-08 07:42:30] local.INFO: Packet analysis {"connection_id":176905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec8"} 
[2026-09-08 07:42:30] local.INFO: Extracted packet for processing {"connection_id":176905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec8"} 
[2026-09-08 07:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":98507656,"longitude_deg":76.3274688,"latitude_deg":9.8507656,"altitude":9,"angle":333,"satellites":34,"speed":30,"hex_longitude":"2d7ea5c0","hex_latitude":"05df1b88","is_valid_coordinates":true} 
[2026-09-08 07:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941361152001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129766823326384128,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248357525577728,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833445000,"timestamp_ms":1788833445000,"timestamp_seconds":1788833445,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec83488"} 
[2026-09-08 07:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 07:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941361152001,"66":13765,"205":206,"85":15104,"24":30,"16":129766823326384128,"45":9127248357525577728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 07:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941361152001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129766823326384128,"km_value":129766823326384.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248357525577728,"description":"Unknown IO ID 45"} 
[2026-09-08 07:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941361152001,"power":13765,"cell_id":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9127248357525577728}} 
[2026-09-08 07:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":176905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:42:30] local.INFO: GPS data processed {"connection_id":176905,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:42:30] local.INFO: Acknowledgment sent {"connection_id":176905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:42:42] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:42:42] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:42:42] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:42:47] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:42:47] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:42:47] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:42:48] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:42:48] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:42:48] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:42:48] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:42: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-09-08 07:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:42:48] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:42:48] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:42:52] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:52] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:52] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:42:53] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:53] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:53] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:42:54] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:54] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:54] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:42:56] local.INFO: TCP Data received {"connection_id":175487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:56] local.INFO: Processing buffer {"connection_id":175487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:42:56] local.INFO: IMEI packet received {"connection_id":175487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":175487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:43:20] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:43:20] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:43:20] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:43:20] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:43: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-09-08 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:43:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:43:20] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:43:20] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:43:42] local.INFO: TCP Data received {"connection_id":176906,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:43:42] local.INFO: Processing buffer {"connection_id":176906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:43:42] local.INFO: IMEI packet received {"connection_id":176906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":176906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:43:47] local.INFO: TCP Data received {"connection_id":176906,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:43:47] local.INFO: Processing buffer {"connection_id":176906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:43:47] local.INFO: IMEI packet received {"connection_id":176906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":176906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:43:48] local.INFO: TCP Data received {"connection_id":176906,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:43:48] local.INFO: Processing buffer {"connection_id":176906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ec611a8012d34c44006aa4280000a005c24..."} 
[2026-09-08 07:43:48] local.INFO: Packet analysis {"connection_id":176906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:43:48] local.INFO: Extracted packet for processing {"connection_id":176906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ec6"} 
[2026-09-08 07:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941249024001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987238912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833305000,"timestamp_ms":1788833305000,"timestamp_seconds":1788833305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ec611a8"} 
[2026-09-08 07:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:43: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-09-08 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 07:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941249024001,"66":26039,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802726963987238912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941249024001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:43:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987238912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941249024001,"power":26039,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802726963987238912}} 
[2026-09-08 07:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":176906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:43:48] local.INFO: GPS data processed {"connection_id":176906,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:43:48] local.INFO: Acknowledgment sent {"connection_id":176906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:44:20] local.INFO: TCP Data received {"connection_id":176906,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:20] local.INFO: Processing buffer {"connection_id":176906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:20] local.INFO: Packet analysis {"connection_id":176906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:44:20] local.INFO: Extracted packet for processing {"connection_id":176906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:44: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-09-08 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:44:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":176906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:44:20] local.INFO: GPS data processed {"connection_id":176906,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:44:20] local.INFO: Acknowledgment sent {"connection_id":176906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:44:47] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:44:47] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:44:47] local.INFO: IMEI packet received {"connection_id":175489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":175489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:44:52] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:44:52] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:44:52] local.INFO: IMEI packet received {"connection_id":175489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":175489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:44:53] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:53] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:53] local.INFO: Packet analysis {"connection_id":175489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:44:53] local.INFO: Extracted packet for processing {"connection_id":175489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":175489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:44:53] local.INFO: GPS data processed {"connection_id":175489,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:44:53] local.INFO: Acknowledgment sent {"connection_id":175489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:44:58] local.INFO: TCP Data received {"connection_id":175489,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:58] local.INFO: Processing buffer {"connection_id":175489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:44:58] local.INFO: Packet analysis {"connection_id":175489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:44:58] local.INFO: Extracted packet for processing {"connection_id":175489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:44:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:44:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:44:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":175489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:44:58] local.INFO: GPS data processed {"connection_id":175489,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:44:58] local.INFO: Acknowledgment sent {"connection_id":175489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:45:15] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:45:15] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:45:15] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:45:43] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:45:43] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:45:43] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:45:45] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:45:45] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:45:45] local.INFO: IMEI packet received {"connection_id":174148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":174148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:45:47] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:45:47] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:45:47] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:45:49] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:45:49] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:45:49] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:45:49] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:45: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-09-08 07:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:45:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:45:49] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:45:49] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:45:53] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:45:53] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:45:53] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:45:53] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:45:53] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:45:53] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:46:25] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:25] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:25] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:46:25] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:46:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:46:25] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:46:25] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:46:46] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:46:46] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:46:46] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:46:47] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:46:47] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:46:47] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:46:48] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:48] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:48] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:46:48] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:46: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-09-08 07:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:46:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:46:48] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:46:48] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:46:53] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:53] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:46:53] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:46:53] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:46:53] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:46:53] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:47:24] local.INFO: TCP Data received {"connection_id":175491,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:47:24] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:47:24] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:47:24] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:47: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:47:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:47:24] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:47:24] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:47:42] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:47:42] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:47:42] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:47:47] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:47:47] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:47:47] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:47:48] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:47:48] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:47:48] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:47:48] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 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-09-08 07:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 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-09-08 07:47: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-09-08 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 07:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:47:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:47:48] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:47:48] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:47:58] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:47:58] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:47:58] local.INFO: IMEI packet received {"connection_id":175493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":175493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:47:59] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecda328012d7d064005e20c000008011422..."} 
[2026-09-08 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecda328012d7d064005e20c000008011422..."} 
[2026-09-08 07:47:59] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecda328012d7d064005e20c000008011422..."} 
[2026-09-08 07:47:59] local.INFO: Packet analysis {"connection_id":175493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecd"} 
[2026-09-08 07:47:59] local.INFO: Extracted packet for processing {"connection_id":175493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecd"} 
[2026-09-08 07:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":98700288,"longitude_deg":76.316832,"latitude_deg":9.8700288,"altitude":8,"angle":276,"satellites":34,"speed":24,"hex_longitude":"2d7d0640","hex_latitude":"05e20c00","is_valid_coordinates":true} 
[2026-09-08 07:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941449984001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129780352473366528,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491541547008,"note":"Value kept but may cause issues"} 
[2026-09-08 07:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833801000,"timestamp_ms":1788833801000,"timestamp_seconds":1788833801,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecda328"} 
[2026-09-08 07:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 07:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941449984001,"66":13678,"43":206,"85":15104,"24":24,"16":129780352473366528,"45":9018880491541547008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 07:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941449984001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:47:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 07:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129780352473366528,"km_value":129780352473366.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491541547008,"description":"Unknown IO ID 45"} 
[2026-09-08 07:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941449984001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9018880491541547008}} 
[2026-09-08 07:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":175493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:47:59] local.INFO: GPS data processed {"connection_id":175493,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:47:59] local.INFO: Acknowledgment sent {"connection_id":175493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:48:20] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:48:20] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:48:20] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:48:20] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:48: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-09-08 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:48:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:48:20] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:48:20] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:48:30] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf25e0012d7c364005e1ddf8000500fb22..."} 
[2026-09-08 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf25e0012d7c364005e1ddf8000500fb22..."} 
[2026-09-08 07:48:30] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf25e0012d7c364005e1ddf8000500fb22..."} 
[2026-09-08 07:48:30] local.INFO: Packet analysis {"connection_id":175493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:48:30] local.INFO: Extracted packet for processing {"connection_id":175493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":98688504,"longitude_deg":76.3115072,"latitude_deg":9.8688504,"altitude":5,"angle":251,"satellites":34,"speed":17,"hex_longitude":"2d7c3640","hex_latitude":"05e1ddf8","is_valid_coordinates":true} 
[2026-09-08 07:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941478144001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129783255871258624,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833915918985216,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833900000,"timestamp_ms":1788833900000,"timestamp_seconds":1788833900,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf25e0"} 
[2026-09-08 07:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 07:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941478144001,"66":13722,"43":206,"85":15104,"24":17,"16":129783255871258624,"45":8950833915918985216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 07:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941478144001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:48:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 07:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129783255871258624,"km_value":129783255871258.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833915918985216,"description":"Unknown IO ID 45"} 
[2026-09-08 07:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941478144001,"power":13722,"unknown_43":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8950833915918985216}} 
[2026-09-08 07:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":175493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:48:31] local.INFO: GPS data processed {"connection_id":175493,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:48:31] local.INFO: Acknowledgment sent {"connection_id":175493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:48:42] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:48:42] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:48:42] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:48:48] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:48:48] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:48:48] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:48:49] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:48:49] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecaa970012d34c44006aa4280000a005c26..."} 
[2026-09-08 07:48:49] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:48:49] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eca"} 
[2026-09-08 07:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788833606000,"timestamp_ms":1788833606000,"timestamp_seconds":1788833606,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecaa970"} 
[2026-09-08 07:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:48: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-09-08 07:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 07:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941326080001,"66":25941,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:48:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941326080001,"power":25941,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:48:49] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:48:49] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:48:53] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:48:53] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:48:53] local.INFO: IMEI packet received {"connection_id":175494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":175494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:48:58] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:48:58] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:48:58] local.INFO: IMEI packet received {"connection_id":175494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":175494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:48:59] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf29c8012d7c348005e1ddc00006010a22..."} 
[2026-09-08 07:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf29c8012d7c348005e1ddc00006010a22..."} 
[2026-09-08 07:48:59] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf29c8012d7c348005e1ddc00006010a22..."} 
[2026-09-08 07:48:59] local.INFO: Packet analysis {"connection_id":175494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:48:59] local.INFO: Extracted packet for processing {"connection_id":175494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":98688448,"longitude_deg":76.3114624,"latitude_deg":9.8688448,"altitude":6,"angle":266,"satellites":34,"speed":16,"hex_longitude":"2d7c3480","hex_latitude":"05e1ddc0","is_valid_coordinates":true} 
[2026-09-08 07:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941478400001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129783277346095104,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703453874176,"note":"Value kept but may cause issues"} 
[2026-09-08 07:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833901000,"timestamp_ms":1788833901000,"timestamp_seconds":1788833901,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf29c8"} 
[2026-09-08 07:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 07:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941478400001,"66":13722,"43":206,"85":15104,"24":16,"16":129783277346095104,"45":8950411703453874176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 07:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941478400001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:48:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 07:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129783277346095104,"km_value":129783277346095.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703453874176,"description":"Unknown IO ID 45"} 
[2026-09-08 07:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941478400001,"power":13722,"unknown_43":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8950411703453874176}} 
[2026-09-08 07:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":175494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:48:59] local.INFO: GPS data processed {"connection_id":175494,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:48:59] local.INFO: Acknowledgment sent {"connection_id":175494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:49:21] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:21] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:21] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:21] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:49:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:49:21] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:49:21] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:49:30] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf3580012d7c2ec005e1ddf80007011521..."} 
[2026-09-08 07:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf3580012d7c2ec005e1ddf80007011521..."} 
[2026-09-08 07:49:30] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf3580012d7c2ec005e1ddf80007011521..."} 
[2026-09-08 07:49:30] local.INFO: Packet analysis {"connection_id":175494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:30] local.INFO: Extracted packet for processing {"connection_id":175494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763113152,"raw_latitude":98688504,"longitude_deg":76.3113152,"latitude_deg":9.8688504,"altitude":7,"angle":277,"satellites":33,"speed":20,"hex_longitude":"2d7c2ec0","hex_latitude":"05e1ddf8","is_valid_coordinates":true} 
[2026-09-08 07:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941478656001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129783350360539136,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949919122244616192,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788833904000,"timestamp_ms":1788833904000,"timestamp_seconds":1788833904,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf3580"} 
[2026-09-08 07:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 07:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941478656001,"66":13493,"43":206,"85":15104,"24":20,"16":129783350360539136,"45":8949919122244616192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 07:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941478656001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:49:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 07:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129783350360539136,"km_value":129783350360539.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949919122244616192,"description":"Unknown IO ID 45"} 
[2026-09-08 07:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941478656001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8949919122244616192}} 
[2026-09-08 07:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":175494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:49:30] local.INFO: GPS data processed {"connection_id":175494,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:49:30] local.INFO: Acknowledgment sent {"connection_id":175494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:49:47] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:49:47] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:49:47] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:49:53] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:49:53] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:49:53] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:49:53] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:49:53] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:49:53] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:49:55] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:55] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:55] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:55] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:49: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-09-08 07:49: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:49:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:49:55] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:49:55] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:49:59] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:59] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:49:59] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:59] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:49:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:49:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:49:59] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:49:59] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:49:59] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:49:59] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:49:59] local.INFO: IMEI packet received {"connection_id":176912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":176912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:50:00] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf50d8012d7c1f0005e1dea80007010820..."} 
[2026-09-08 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf50d8012d7c1f0005e1dea80007010820..."} 
[2026-09-08 07:50:00] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf50d8012d7c1f0005e1dea80007010820..."} 
[2026-09-08 07:50:00] local.INFO: Packet analysis {"connection_id":176912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:50:00] local.INFO: Extracted packet for processing {"connection_id":176912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763109120,"raw_latitude":98688680,"longitude_deg":76.310912,"latitude_deg":9.868868,"altitude":7,"angle":264,"satellites":32,"speed":24,"hex_longitude":"2d7c1f00","hex_latitude":"05e1dea8","is_valid_coordinates":true} 
[2026-09-08 07:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941479424001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129783543634067456,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948300641128544256,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788833911000,"timestamp_ms":1788833911000,"timestamp_seconds":1788833911,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf50d8"} 
[2026-09-08 07:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 07:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941479424001,"66":13678,"43":206,"85":15104,"24":24,"16":129783543634067456,"45":8948300641128544256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 07:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941479424001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129783543634067456,"km_value":129783543634067.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948300641128544256,"description":"Unknown IO ID 45"} 
[2026-09-08 07:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941479424001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8948300641128544256}} 
[2026-09-08 07:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":176912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:50:00] local.INFO: GPS data processed {"connection_id":176912,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:50:00] local.INFO: Acknowledgment sent {"connection_id":176912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:50:30] local.INFO: TCP Data received {"connection_id":176912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed0cbc0012d7b598005e1b2c80004010a22..."} 
[2026-09-08 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed0cbc0012d7b598005e1b2c80004010a22..."} 
[2026-09-08 07:50:30] local.INFO: Processing buffer {"connection_id":176912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed0cbc0012d7b598005e1b2c80004010a22..."} 
[2026-09-08 07:50:30] local.INFO: Packet analysis {"connection_id":176912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed0"} 
[2026-09-08 07:50:30] local.INFO: Extracted packet for processing {"connection_id":176912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed0"} 
[2026-09-08 07:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":98677448,"longitude_deg":76.305856,"latitude_deg":9.8677448,"altitude":4,"angle":266,"satellites":34,"speed":17,"hex_longitude":"2d7b5980","hex_latitude":"05e1b2c8","is_valid_coordinates":true} 
[2026-09-08 07:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941500928001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896790720387794944,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129786116319477760,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788834008000,"timestamp_ms":1788834008000,"timestamp_seconds":1788834008,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed0cbc0"} 
[2026-09-08 07:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 07:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941500928001,"66":14080,"45":8896790720387794944,"85":15104,"24":17,"16":129786116319477760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941500928001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896790720387794944,"description":"Unknown IO ID 45"} 
[2026-09-08 07:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129786116319477760,"km_value":129786116319477.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:50:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941500928001,"power":14080,"unknown_45":8896790720387794944,"unknown_85":15104,"ignition":17,"odometer":null}} 
[2026-09-08 07:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":176912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:50:31] local.INFO: GPS data processed {"connection_id":176912,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:50:31] local.INFO: Acknowledgment sent {"connection_id":176912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:50:42] local.INFO: TCP Data received {"connection_id":175496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:50:42] local.INFO: Processing buffer {"connection_id":175496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:50:42] local.INFO: IMEI packet received {"connection_id":175496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":175496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:50:47] local.INFO: TCP Data received {"connection_id":175496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:50:47] local.INFO: Processing buffer {"connection_id":175496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:50:47] local.INFO: IMEI packet received {"connection_id":175496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":175496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:50:49] local.INFO: TCP Data received {"connection_id":175496,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:50:49] local.INFO: Processing buffer {"connection_id":175496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:50:49] local.INFO: Packet analysis {"connection_id":175496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:50:49] local.INFO: Extracted packet for processing {"connection_id":175496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:50: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-09-08 07:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:50:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":175496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:50:49] local.INFO: GPS data processed {"connection_id":175496,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:50:49] local.INFO: Acknowledgment sent {"connection_id":175496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:50:50] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:50:50] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:50:50] local.INFO: IMEI packet received {"connection_id":175497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":175497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:50:53] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:50:53] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:50:53] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:50:58] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:50:58] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:50:58] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:50:59] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed0db60012d7b528005e1b190000500fd20..."} 
[2026-09-08 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed0db60012d7b528005e1b190000500fd20..."} 
[2026-09-08 07:50:59] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed0db60012d7b528005e1b190000500fd20..."} 
[2026-09-08 07:50:59] local.INFO: Packet analysis {"connection_id":174150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed0"} 
[2026-09-08 07:50:59] local.INFO: Extracted packet for processing {"connection_id":174150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed0"} 
[2026-09-08 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98677136,"longitude_deg":76.3056768,"latitude_deg":9.8677136,"altitude":5,"angle":253,"satellites":32,"speed":17,"hex_longitude":"2d7b5280","hex_latitude":"05e1b190","is_valid_coordinates":true} 
[2026-09-08 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941506048001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102342166528,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129786202218823680,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834012000,"timestamp_ms":1788834012000,"timestamp_seconds":1788834012,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed0db60"} 
[2026-09-08 07:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444452096,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789209600,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3492005889,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3231186946,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":381485056,"corrected_to":0} 
[2026-09-08 07:50:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531150,"note":"Value kept but may cause issues"} 
[2026-09-08 07:50:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,45,85,24,241,157,16,23,160,125,192,180,6,28,10,66,98,185,5,32,43,1,240,138,227,22,126,225,4,113,205,20,136,33,239,54,2,14],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":381485056,"validated":0}]} 
[2026-09-08 07:50:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288522992274702336,"timestamp_seconds":288522992274702.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 07:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941506048001,"66":13646,"45":8888276102342166528,"85":15104,"24":17,"16":129786202218823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941506048001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102342166528,"description":"Unknown IO ID 45"} 
[2026-09-08 07:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129786202218823680,"km_value":129786202218823.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:50:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941506048001,"power":13646,"unknown_45":8888276102342166528,"unknown_85":15104,"ignition":17,"odometer":null}} 
[2026-09-08 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":174150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:50:59] local.INFO: GPS data processed {"connection_id":174150,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:50:59] local.INFO: Acknowledgment sent {"connection_id":174150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:51:21] local.INFO: TCP Data received {"connection_id":175496,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:51:21] local.INFO: Processing buffer {"connection_id":175496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:51:21] local.INFO: Packet analysis {"connection_id":175496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:51:21] local.INFO: Extracted packet for processing {"connection_id":175496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07: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-09-08 07:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:51:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":175496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:51:21] local.INFO: GPS data processed {"connection_id":175496,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:51:21] local.INFO: Acknowledgment sent {"connection_id":175496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:51:30] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed1b238012d7b49c005e15d68000600df1a..."} 
[2026-09-08 07:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed1b238012d7b49c005e15d68000600df1a..."} 
[2026-09-08 07:51:30] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed1b238012d7b49c005e15d68000600df1a..."} 
[2026-09-08 07:51:30] local.INFO: Packet analysis {"connection_id":174150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed1"} 
[2026-09-08 07:51:30] local.INFO: Extracted packet for processing {"connection_id":174150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed1"} 
[2026-09-08 07:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":98655592,"longitude_deg":76.3054528,"latitude_deg":9.8655592,"altitude":6,"angle":223,"satellites":26,"speed":8,"hex_longitude":"2d7b49c0","hex_latitude":"05e15d68","is_valid_coordinates":true} 
[2026-09-08 07:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941520896001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983608941776896,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129787430579470336,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788834067000,"timestamp_ms":1788834067000,"timestamp_seconds":1788834067,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed1b238"} 
[2026-09-08 07:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 07:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941520896001,"66":13504,"45":8883983608941776896,"85":15104,"24":8,"16":129787430579470336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941520896001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983608941776896,"description":"Unknown IO ID 45"} 
[2026-09-08 07:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129787430579470336,"km_value":129787430579470.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:51:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941520896001,"power":13504,"unknown_45":8883983608941776896,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-09-08 07:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":174150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:51:31] local.INFO: GPS data processed {"connection_id":174150,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:51:31] local.INFO: Acknowledgment sent {"connection_id":174150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:51:43] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:51:43] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:51:43] local.INFO: IMEI packet received {"connection_id":176913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":176913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:51:47] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:51:47] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:51:47] local.INFO: IMEI packet received {"connection_id":176913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":176913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:51:50] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:51:50] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:51:50] local.INFO: Packet analysis {"connection_id":176913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:51:50] local.INFO: Extracted packet for processing {"connection_id":176913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:51:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":176913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:51:50] local.INFO: GPS data processed {"connection_id":176913,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:51:50] local.INFO: Acknowledgment sent {"connection_id":176913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:51:53] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:53] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:53] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:51:56] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:56] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:56] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:51:58] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:58] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:51:58] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:51:59] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed1dd30012d7b468005e15f08000601551f..."} 
[2026-09-08 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed1dd30012d7b468005e15f08000601551f..."} 
[2026-09-08 07:51:59] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed1dd30012d7b468005e15f08000601551f..."} 
[2026-09-08 07:51:59] local.INFO: Packet analysis {"connection_id":174151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed1"} 
[2026-09-08 07:51:59] local.INFO: Extracted packet for processing {"connection_id":174151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed1"} 
[2026-09-08 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98656008,"longitude_deg":76.3053696,"latitude_deg":9.8656008,"altitude":6,"angle":341,"satellites":31,"speed":9,"hex_longitude":"2d7b4680","hex_latitude":"05e15f08","is_valid_coordinates":true} 
[2026-09-08 07:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941521152001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883842871453378560,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129787490709012480,"note":"Value kept but may cause issues"} 
[2026-09-08 07:51:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834078000,"timestamp_ms":1788834078000,"timestamp_seconds":1788834078,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed1dd30"} 
[2026-09-08 07:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 07:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941521152001,"66":14102,"45":8883842871453378560,"85":15104,"24":9,"16":129787490709012480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941521152001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883842871453378560,"description":"Unknown IO ID 45"} 
[2026-09-08 07:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129787490709012480,"km_value":129787490709012.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:51:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941521152001,"power":14102,"unknown_45":8883842871453378560,"unknown_85":15104,"ignition":9,"odometer":null}} 
[2026-09-08 07:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":174151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:51:59] local.INFO: GPS data processed {"connection_id":174151,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:51:59] local.INFO: Acknowledgment sent {"connection_id":174151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:52:22] local.INFO: TCP Data received {"connection_id":176913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:52:22] local.INFO: Processing buffer {"connection_id":176913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:52:22] local.INFO: Packet analysis {"connection_id":176913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:52:22] local.INFO: Extracted packet for processing {"connection_id":176913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:52: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-09-08 07: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:52:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":176913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:52:22] local.INFO: GPS data processed {"connection_id":176913,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:52:22] local.INFO: Acknowledgment sent {"connection_id":176913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:52:30] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed1e500012d7b45c005e16230000601601f..."} 
[2026-09-08 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed1e500012d7b45c005e16230000601601f..."} 
[2026-09-08 07:52:30] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed1e500012d7b45c005e16230000601601f..."} 
[2026-09-08 07:52:30] local.INFO: Packet analysis {"connection_id":174151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed1"} 
[2026-09-08 07:52:30] local.INFO: Extracted packet for processing {"connection_id":174151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed1"} 
[2026-09-08 07:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98656816,"longitude_deg":76.3053504,"latitude_deg":9.8656816,"altitude":6,"angle":352,"satellites":31,"speed":20,"hex_longitude":"2d7b45c0","hex_latitude":"05e16230","is_valid_coordinates":true} 
[2026-09-08 07:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941523968001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077779175424,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129787529363718144,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788834080000,"timestamp_ms":1788834080000,"timestamp_seconds":1788834080,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed1e500"} 
[2026-09-08 07:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 07:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941523968001,"66":13526,"45":8882928077779175424,"85":15104,"24":20,"16":129787529363718144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941523968001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077779175424,"description":"Unknown IO ID 45"} 
[2026-09-08 07:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129787529363718144,"km_value":129787529363718.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:52:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941523968001,"power":13526,"unknown_45":8882928077779175424,"unknown_85":15104,"ignition":20,"odometer":null}} 
[2026-09-08 07:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":174151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:52:30] local.INFO: GPS data processed {"connection_id":174151,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:52:30] local.INFO: Acknowledgment sent {"connection_id":174151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:52:42] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:52:42] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:52:42] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:52:47] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:52:47] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:52:47] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:52:48] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:52:48] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:52:48] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:52:48] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:52: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-09-08 07: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07: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-09-08 07:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:52:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:52:48] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:52:48] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:52:53] local.INFO: TCP Data received {"connection_id":176914,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:52:53] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:52:53] local.INFO: IMEI packet received {"connection_id":176914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":176914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:52:56] local.INFO: TCP Data received {"connection_id":176914,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:52:56] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:52:56] local.INFO: IMEI packet received {"connection_id":176914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":176914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:53:01] local.INFO: TCP Data received {"connection_id":176914,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:53:01] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:53:01] local.INFO: IMEI packet received {"connection_id":176914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":176914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:53:03] local.INFO: TCP Data received {"connection_id":176914,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed213e0012d7b410005e186700005016219..."} 
[2026-09-08 07:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed213e0012d7b410005e186700005016219..."} 
[2026-09-08 07:53:03] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed213e0012d7b410005e186700005016219..."} 
[2026-09-08 07:53:03] local.INFO: Packet analysis {"connection_id":176914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed2"} 
[2026-09-08 07:53:03] local.INFO: Extracted packet for processing {"connection_id":176914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed2"} 
[2026-09-08 07:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98666096,"longitude_deg":76.3052288,"latitude_deg":9.8666096,"altitude":5,"angle":354,"satellites":25,"speed":28,"hex_longitude":"2d7b4100","hex_latitude":"05e18670","is_valid_coordinates":true} 
[2026-09-08 07:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941524480001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971546849280,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129787984630251520,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788834092000,"timestamp_ms":1788834092000,"timestamp_seconds":1788834092,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed213e0"} 
[2026-09-08 07:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 07:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941524480001,"66":13472,"45":8882716971546849280,"85":15104,"24":28,"16":129787984630251520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941524480001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971546849280,"description":"Unknown IO ID 45"} 
[2026-09-08 07:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129787984630251520,"km_value":129787984630251.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:53:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941524480001,"power":13472,"unknown_45":8882716971546849280,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-09-08 07:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":176914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:53:03] local.INFO: GPS data processed {"connection_id":176914,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:53:03] local.INFO: Acknowledgment sent {"connection_id":176914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:53:20] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:53:20] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:53:20] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:53:20] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:53: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-09-08 07: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:53: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-09-08 07:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:53:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:53:20] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:53:20] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:53:35] local.INFO: TCP Data received {"connection_id":176914,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed24a90012d7b3c0005e1ac500003016117..."} 
[2026-09-08 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed24a90012d7b3c0005e1ac500003016117..."} 
[2026-09-08 07:53:35] local.INFO: Processing buffer {"connection_id":176914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed24a90012d7b3c0005e1ac500003016117..."} 
[2026-09-08 07:53:35] local.INFO: Packet analysis {"connection_id":176914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed2"} 
[2026-09-08 07:53:35] local.INFO: Extracted packet for processing {"connection_id":176914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed2"} 
[2026-09-08 07:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":98675792,"longitude_deg":76.3051008,"latitude_deg":9.8675792,"altitude":3,"angle":353,"satellites":23,"speed":39,"hex_longitude":"2d7b3c00","hex_latitude":"05e1ac50","is_valid_coordinates":true} 
[2026-09-08 07:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941527552001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965409849344,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129788457076654080,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788834106000,"timestamp_ms":1788834106000,"timestamp_seconds":1788834106,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed24a90"} 
[2026-09-08 07:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 07:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941527552001,"66":13896,"45":8881379965409849344,"85":15104,"24":39,"16":129788457076654080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941527552001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965409849344,"description":"Unknown IO ID 45"} 
[2026-09-08 07:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129788457076654080,"km_value":129788457076654.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:53:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941527552001,"power":13896,"unknown_45":8881379965409849344,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-09-08 07:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":176914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:53:35] local.INFO: GPS data processed {"connection_id":176914,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:53:35] local.INFO: Acknowledgment sent {"connection_id":176914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:53:42] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:53:42] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:53:42] local.INFO: IMEI packet received {"connection_id":174403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":174403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:53:48] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:53:48] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:53:48] local.INFO: IMEI packet received {"connection_id":174403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:53:49] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:53:49] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ecf4138012d34c44006aa4280000a005c25..."} 
[2026-09-08 07:53:49] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:53:49] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ecf"} 
[2026-09-08 07:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941403136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788833907000,"timestamp_ms":1788833907000,"timestamp_seconds":1788833907,"priority":1,"record_length":96,"hex_timestamp":"000001a07ecf4138"} 
[2026-09-08 07:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:53: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-09-08 07:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 07:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941403136001,"66":25832,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941403136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:53:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941403136001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:53:49] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:53:49] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:53:58] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:53:58] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:53:58] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:54:00] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:00] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:00] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:54:02] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed26db8012d7b378005e1d0a80000016116..."} 
[2026-09-08 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed26db8012d7b378005e1d0a80000016116..."} 
[2026-09-08 07:54:02] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed26db8012d7b378005e1d0a80000016116..."} 
[2026-09-08 07:54:02] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed2"} 
[2026-09-08 07:54:02] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed2"} 
[2026-09-08 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763049856,"raw_latitude":98685096,"longitude_deg":76.3049856,"latitude_deg":9.8685096,"altitude":0,"angle":353,"satellites":22,"speed":43,"hex_longitude":"2d7b3780","hex_latitude":"05e1d0a8","is_valid_coordinates":true} 
[2026-09-08 07:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941531136001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590528778240,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129788912343187456,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788834115000,"timestamp_ms":1788834115000,"timestamp_seconds":1788834115,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed26db8"} 
[2026-09-08 07:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-08 07:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941531136001,"66":14135,"45":8879972590528778240,"85":15104,"24":43,"16":129788912343187456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941531136001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590528778240,"description":"Unknown IO ID 45"} 
[2026-09-08 07:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129788912343187456,"km_value":129788912343187.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457941531136001,"power":14135,"unknown_45":8879972590528778240,"unknown_85":15104,"ignition":43,"odometer":null}} 
[2026-09-08 07:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:54:02] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:54:02] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:54:21] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:21] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:21] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:54:21] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 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-09-08 07:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 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-09-08 07:54: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-09-08 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 07:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:54: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-09-08 07:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:54:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:54:21] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:54:21] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:54:34] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed47d10012d7b060005e32a08000001611a..."} 
[2026-09-08 07:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed47d10012d7b060005e32a08000001611a..."} 
[2026-09-08 07:54:34] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed47d10012d7b060005e32a08000001611a..."} 
[2026-09-08 07:54:34] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:54:34] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98773512,"longitude_deg":76.3037184,"latitude_deg":9.8773512,"altitude":0,"angle":353,"satellites":26,"speed":25,"hex_longitude":"2d7b0600","hex_latitude":"05e32a08","is_valid_coordinates":true} 
[2026-09-08 07:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941565184001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129793263145058304,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735484628992,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788834250000,"timestamp_ms":1788834250000,"timestamp_seconds":1788834250,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed47d10"} 
[2026-09-08 07:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 07:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941565184001,"66":13656,"208":206,"85":15104,"24":25,"16":129793263145058304,"45":8865687735484628992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941565184001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:54:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129793263145058304,"km_value":129793263145058.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735484628992,"description":"Unknown IO ID 45"} 
[2026-09-08 07:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941565184001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8865687735484628992}} 
[2026-09-08 07:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:54:34] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:54:34] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:54:47] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:54:47] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:54:47] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:54:53] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:53] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:53] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:54:53] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:54:53] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:54:53] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:54:55] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:55] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:55] local.INFO: Packet analysis {"connection_id":174152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:54:55] local.INFO: Extracted packet for processing {"connection_id":174152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:54: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-09-08 07:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:54:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":174152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:54:55] local.INFO: GPS data processed {"connection_id":174152,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:54:55] local.INFO: Acknowledgment sent {"connection_id":174152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:54:58] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:58] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:54:58] local.INFO: Packet analysis {"connection_id":174152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:54:58] local.INFO: Extracted packet for processing {"connection_id":174152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:54:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:54:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":174152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:54:58] local.INFO: GPS data processed {"connection_id":174152,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:54:58] local.INFO: Acknowledgment sent {"connection_id":174152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:54:59] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:59] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:54:59] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:55:01] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed4afd8012d7b044005e34df8000001521a..."} 
[2026-09-08 07:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed4afd8012d7b044005e34df8000001521a..."} 
[2026-09-08 07:55:01] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed4afd8012d7b044005e34df8000001521a..."} 
[2026-09-08 07:55:01] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:55:01] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98782712,"longitude_deg":76.3036736,"latitude_deg":9.8782712,"altitude":0,"angle":338,"satellites":26,"speed":26,"hex_longitude":"2d7b0440","hex_latitude":"05e34df8","is_valid_coordinates":true} 
[2026-09-08 07:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941568000001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129793709821657088,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941811419136,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788834263000,"timestamp_ms":1788834263000,"timestamp_seconds":1788834263,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed4afd8"} 
[2026-09-08 07:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 07:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941568000001,"66":13939,"208":206,"85":15104,"24":26,"16":129793709821657088,"45":8864772941811419136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941568000001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:55:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129793709821657088,"km_value":129793709821657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941811419136,"description":"Unknown IO ID 45"} 
[2026-09-08 07:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941568000001,"power":13939,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8864772941811419136}} 
[2026-09-08 07:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:55:01] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:55:01] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:55:32] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed4afd8012d7b044005e34df8000001521a..."} 
[2026-09-08 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed4afd8012d7b044005e34df8000001521a..."} 
[2026-09-08 07:55:32] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed4afd8012d7b044005e34df8000001521a..."} 
[2026-09-08 07:55:32] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:55:32] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98782712,"longitude_deg":76.3036736,"latitude_deg":9.8782712,"altitude":0,"angle":338,"satellites":26,"speed":26,"hex_longitude":"2d7b0440","hex_latitude":"05e34df8","is_valid_coordinates":true} 
[2026-09-08 07:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941571328001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129793709821657088,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604530688,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788834263000,"timestamp_ms":1788834263000,"timestamp_seconds":1788834263,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed4afd8"} 
[2026-09-08 07:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 07:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941571328001,"66":13939,"208":206,"85":15104,"24":26,"16":129793709821657088,"45":8864280360604530688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941571328001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129793709821657088,"km_value":129793709821657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604530688,"description":"Unknown IO ID 45"} 
[2026-09-08 07:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941571328001,"power":13939,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8864280360604530688}} 
[2026-09-08 07:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:55:33] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:55:33] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:55:43] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:55:43] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:55:43] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:55:48] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:55:48] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:55:48] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:55:49] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:55:49] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:55:49] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:55:49] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:55: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-09-08 07:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:55:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:55:49] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:55:49] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:55:53] local.INFO: TCP Data received {"connection_id":176915,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:53] local.INFO: Processing buffer {"connection_id":176915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:53] local.INFO: IMEI packet received {"connection_id":176915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":176915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:55:54] local.INFO: TCP Data received {"connection_id":176915,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:54] local.INFO: Processing buffer {"connection_id":176915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:54] local.INFO: IMEI packet received {"connection_id":176915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":176915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:55:55] local.INFO: TCP Data received {"connection_id":176915,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:55] local.INFO: Processing buffer {"connection_id":176915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:55] local.INFO: IMEI packet received {"connection_id":176915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":176915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:55:58] local.INFO: TCP Data received {"connection_id":176915,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:58] local.INFO: Processing buffer {"connection_id":176915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:55:58] local.INFO: IMEI packet received {"connection_id":176915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":176915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:55:59] local.INFO: TCP Data received {"connection_id":176915,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed4e688012d7af98005e36f980007015720..."} 
[2026-09-08 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed4e688012d7af98005e36f980007015720..."} 
[2026-09-08 07:55:59] local.INFO: Processing buffer {"connection_id":176915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed4e688012d7af98005e36f980007015720..."} 
[2026-09-08 07:55:59] local.INFO: Packet analysis {"connection_id":176915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:55:59] local.INFO: Extracted packet for processing {"connection_id":176915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed4"} 
[2026-09-08 07:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763033984,"raw_latitude":98791320,"longitude_deg":76.3033984,"latitude_deg":9.879132,"altitude":7,"angle":343,"satellites":32,"speed":19,"hex_longitude":"2d7af980","hex_latitude":"05e36f98","is_valid_coordinates":true} 
[2026-09-08 07:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941571328001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129794147908321280,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604530688,"note":"Value kept but may cause issues"} 
[2026-09-08 07:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834277000,"timestamp_ms":1788834277000,"timestamp_seconds":1788834277,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed4e688"} 
[2026-09-08 07:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 07:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941571328001,"66":13624,"208":206,"85":15104,"24":19,"16":129794147908321280,"45":8864280360604530688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941571328001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:55:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129794147908321280,"km_value":129794147908321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604530688,"description":"Unknown IO ID 45"} 
[2026-09-08 07:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941571328001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8864280360604530688}} 
[2026-09-08 07:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":176915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:55:59] local.INFO: GPS data processed {"connection_id":176915,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:55:59] local.INFO: Acknowledgment sent {"connection_id":176915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:56:09] local.INFO: TCP Data received {"connection_id":176915,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed534a8012d7af34005e385a8000a015223..."} 
[2026-09-08 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed534a8012d7af34005e385a8000a015223..."} 
[2026-09-08 07:56:09] local.INFO: Processing buffer {"connection_id":176915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed534a8012d7af34005e385a8000a015223..."} 
[2026-09-08 07:56:09] local.INFO: Packet analysis {"connection_id":176915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed5"} 
[2026-09-08 07:56:09] local.INFO: Extracted packet for processing {"connection_id":176915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed5"} 
[2026-09-08 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":98796968,"longitude_deg":76.3032384,"latitude_deg":9.8796968,"altitude":10,"angle":338,"satellites":35,"speed":10,"hex_longitude":"2d7af340","hex_latitude":"05e385a8","is_valid_coordinates":true} 
[2026-09-08 07:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941574912001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129794435671130112,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861254504607094784,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788834297000,"timestamp_ms":1788834297000,"timestamp_seconds":1788834297,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed534a8"} 
[2026-09-08 07:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 07:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941574912001,"66":13243,"208":206,"85":15104,"24":10,"16":129794435671130112,"45":8861254504607094784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941574912001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:56:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129794435671130112,"km_value":129794435671130.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861254504607094784,"description":"Unknown IO ID 45"} 
[2026-09-08 07:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941574912001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8861254504607094784}} 
[2026-09-08 07:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":176915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:56:09] local.INFO: GPS data processed {"connection_id":176915,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:56:09] local.INFO: Acknowledgment sent {"connection_id":176915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:56:20] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:20] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:20] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:56:20] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:56: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-09-08 07: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:56: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-09-08 07:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:56:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:56:20] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:56:20] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:56:25] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:56:25] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:56:25] local.INFO: IMEI packet received {"connection_id":174155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":174155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:56:45] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:56:45] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 07:56:45] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 07:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:56:46] local.INFO: TCP Data received {"connection_id":176916,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:56:46] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:56:46] local.INFO: IMEI packet received {"connection_id":176916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":176916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:56:47] local.INFO: TCP Data received {"connection_id":176916,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:56:47] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:56:47] local.INFO: IMEI packet received {"connection_id":176916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":176916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:56:51] local.INFO: TCP Data received {"connection_id":176916,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:51] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:51] local.INFO: Packet analysis {"connection_id":176916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:56:51] local.INFO: Extracted packet for processing {"connection_id":176916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:56: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-09-08 07:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:56:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":176916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:56:51] local.INFO: GPS data processed {"connection_id":176916,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:56:51] local.INFO: Acknowledgment sent {"connection_id":176916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:56:53] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:56:53] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:56:53] local.INFO: IMEI packet received {"connection_id":175500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":175500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:56:53] local.INFO: TCP Data received {"connection_id":176916,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:53] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:56:53] local.INFO: Packet analysis {"connection_id":176916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:56:53] local.INFO: Extracted packet for processing {"connection_id":176916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:56:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":176916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:56:53] local.INFO: GPS data processed {"connection_id":176916,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:56:53] local.INFO: Acknowledgment sent {"connection_id":176916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:56:59] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:56:59] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:56:59] local.INFO: IMEI packet received {"connection_id":175500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":175500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:57:01] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed6bf30012d7a614005e468d00005010820..."} 
[2026-09-08 07:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed6bf30012d7a614005e468d00005010820..."} 
[2026-09-08 07:57:01] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed6bf30012d7a614005e468d00005010820..."} 
[2026-09-08 07:57:01] local.INFO: Packet analysis {"connection_id":175500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:57:01] local.INFO: Extracted packet for processing {"connection_id":175500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:57:01] local.INFO: GPS Element Parsed {"raw_longitude":762995008,"raw_latitude":98855120,"longitude_deg":76.2995008,"latitude_deg":9.885512,"altitude":5,"angle":264,"satellites":32,"speed":9,"hex_longitude":"2d7a6140","hex_latitude":"05e468d0","is_valid_coordinates":true} 
[2026-09-08 07:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941605632001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129797948954378240,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045651769344,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788834398000,"timestamp_ms":1788834398000,"timestamp_seconds":1788834398,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed6bf30"} 
[2026-09-08 07:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 07:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941605632001,"66":13091,"208":206,"85":15104,"24":9,"16":129797948954378240,"45":8818611045651769344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941605632001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:57:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129797948954378240,"km_value":129797948954378.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045651769344,"description":"Unknown IO ID 45"} 
[2026-09-08 07:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941605632001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8818611045651769344}} 
[2026-09-08 07:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":175500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:57:01] local.INFO: GPS data processed {"connection_id":175500,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:57:01] local.INFO: Acknowledgment sent {"connection_id":175500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:57:27] local.INFO: TCP Data received {"connection_id":176916,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:57:27] local.INFO: Processing buffer {"connection_id":176916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:57:27] local.INFO: Packet analysis {"connection_id":176916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:57:27] local.INFO: Extracted packet for processing {"connection_id":176916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:57:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:57:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":176916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:57:27] local.INFO: GPS data processed {"connection_id":176916,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:57:27] local.INFO: Acknowledgment sent {"connection_id":176916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:57:33] local.INFO: TCP Data received {"connection_id":175500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed6c318012d7a600005e46890000500fb1f..."} 
[2026-09-08 07:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed6c318012d7a600005e46890000500fb1f..."} 
[2026-09-08 07:57:33] local.INFO: Processing buffer {"connection_id":175500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed6c318012d7a600005e46890000500fb1f..."} 
[2026-09-08 07:57:33] local.INFO: Packet analysis {"connection_id":175500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:57:33] local.INFO: Extracted packet for processing {"connection_id":175500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98855056,"longitude_deg":76.2994688,"latitude_deg":9.8855056,"altitude":5,"angle":251,"satellites":31,"speed":10,"hex_longitude":"2d7a6000","hex_latitude":"05e46890","is_valid_coordinates":true} 
[2026-09-08 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941605888001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129797961839280128,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818399939419230208,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788834399000,"timestamp_ms":1788834399000,"timestamp_seconds":1788834399,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed6c318"} 
[2026-09-08 07:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 07:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941605888001,"66":13091,"208":206,"85":15104,"24":10,"16":129797961839280128,"45":8818399939419230208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941605888001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:57:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129797961839280128,"km_value":129797961839280.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818399939419230208,"description":"Unknown IO ID 45"} 
[2026-09-08 07:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941605888001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8818399939419230208}} 
[2026-09-08 07:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":175500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:57:33] local.INFO: GPS data processed {"connection_id":175500,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:57:33] local.INFO: Acknowledgment sent {"connection_id":175500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:57:42] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:57:42] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:57:42] local.INFO: IMEI packet received {"connection_id":174406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":174406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:57:47] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:57:47] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:57:47] local.INFO: IMEI packet received {"connection_id":174406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:57:48] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:57:48] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:57:48] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:57:48] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:57: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-09-08 07:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:57: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-09-08 07:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:57:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:57:48] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:57:48] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:58:22] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:58:22] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:58:22] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:58:22] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:58: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-09-08 07:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:58: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-09-08 07:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:58:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:58:22] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:58:22] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:58:28] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:28] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:28] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:58:32] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:32] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:32] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:58:34] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed6c700012d7a5f0005e46808000500ed21..."} 
[2026-09-08 07:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed6c700012d7a5f0005e46808000500ed21..."} 
[2026-09-08 07:58:34] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed6c700012d7a5f0005e46808000500ed21..."} 
[2026-09-08 07:58:34] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:58:34] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762994432,"raw_latitude":98854920,"longitude_deg":76.2994432,"latitude_deg":9.885492,"altitude":5,"angle":237,"satellites":33,"speed":11,"hex_longitude":"2d7a5f00","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-09-08 07:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941606144001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129797974724182016,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095698325504,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788834400000,"timestamp_ms":1788834400000,"timestamp_seconds":1788834400,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed6c700"} 
[2026-09-08 07:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 07:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941606144001,"66":13906,"208":206,"85":15104,"24":11,"16":129797974724182016,"45":8818048095698325504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941606144001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:58:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129797974724182016,"km_value":129797974724182.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095698325504,"description":"Unknown IO ID 45"} 
[2026-09-08 07:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941606144001,"power":13906,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8818048095698325504}} 
[2026-09-08 07:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:58:34] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:58:34] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:58:42] local.INFO: TCP Data received {"connection_id":176917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:58:42] local.INFO: Processing buffer {"connection_id":176917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:58:42] local.INFO: IMEI packet received {"connection_id":176917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":176917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:58:47] local.INFO: TCP Data received {"connection_id":176917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:58:47] local.INFO: Processing buffer {"connection_id":176917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:58:47] local.INFO: IMEI packet received {"connection_id":176917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":176917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:58:49] local.INFO: TCP Data received {"connection_id":176917,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:58:49] local.INFO: Processing buffer {"connection_id":176917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed3d900012d34c44006aa4280000a005c27..."} 
[2026-09-08 07:58:49] local.INFO: Packet analysis {"connection_id":176917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:58:49] local.INFO: Extracted packet for processing {"connection_id":176917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed3"} 
[2026-09-08 07:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07: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-09-08 07:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941480192001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788834208000,"timestamp_ms":1788834208000,"timestamp_seconds":1788834208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed3d900"} 
[2026-09-08 07:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 07:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07: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-09-08 07:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941480192001,"66":25756,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941480192001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:58:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941480192001,"power":25756,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":176917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:58:49] local.INFO: GPS data processed {"connection_id":176917,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:58:49] local.INFO: Acknowledgment sent {"connection_id":176917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:58:58] local.INFO: TCP Data received {"connection_id":176918,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:58] local.INFO: Processing buffer {"connection_id":176918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:58:58] local.INFO: IMEI packet received {"connection_id":176918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":176918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:59:03] local.INFO: TCP Data received {"connection_id":176918,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:59:03] local.INFO: Processing buffer {"connection_id":176918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:59:03] local.INFO: IMEI packet received {"connection_id":176918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 07:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":176918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:59:05] local.INFO: TCP Data received {"connection_id":176918,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed6de70012d7a550005e463a8000500f921..."} 
[2026-09-08 07:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed6de70012d7a550005e463a8000500f921..."} 
[2026-09-08 07:59:05] local.INFO: Processing buffer {"connection_id":176918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed6de70012d7a550005e463a8000500f921..."} 
[2026-09-08 07:59:05] local.INFO: Packet analysis {"connection_id":176918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:59:05] local.INFO: Extracted packet for processing {"connection_id":176918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed6"} 
[2026-09-08 07:59:05] local.INFO: GPS Element Parsed {"raw_longitude":762991872,"raw_latitude":98853800,"longitude_deg":76.2991872,"latitude_deg":9.88538,"altitude":5,"angle":249,"satellites":33,"speed":23,"hex_longitude":"2d7a5500","hex_latitude":"05e463a8","is_valid_coordinates":true} 
[2026-09-08 07:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941606400001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129798112163135488,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817766620721580032,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788834406000,"timestamp_ms":1788834406000,"timestamp_seconds":1788834406,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed6de70"} 
[2026-09-08 07:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 07:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941606400001,"66":13646,"208":206,"85":15104,"24":23,"16":129798112163135488,"45":8817766620721580032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 07:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941606400001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:59:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 07:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 07:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129798112163135488,"km_value":129798112163135.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817766620721580032,"description":"Unknown IO ID 45"} 
[2026-09-08 07:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941606400001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8817766620721580032}} 
[2026-09-08 07:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":176918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:59:05] local.INFO: GPS data processed {"connection_id":176918,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:59:05] local.INFO: Acknowledgment sent {"connection_id":176918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:59:24] local.INFO: TCP Data received {"connection_id":176917,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 07:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 07:59:24] local.INFO: Processing buffer {"connection_id":176917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 07:59:24] local.INFO: Packet analysis {"connection_id":176917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 07:59:24] local.INFO: Extracted packet for processing {"connection_id":176917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 07:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 07:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 07:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:59:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:59:24] local.INFO: GPS data processed {"connection_id":176917,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:59:24] local.INFO: Acknowledgment sent {"connection_id":176917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:59:41] local.INFO: TCP Data received {"connection_id":176918,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed93800012d7a260005e46930000c012c25..."} 
[2026-09-08 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed93800012d7a260005e46930000c012c25..."} 
[2026-09-08 07:59:41] local.INFO: Processing buffer {"connection_id":176918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed93800012d7a260005e46930000c012c25..."} 
[2026-09-08 07:59:41] local.INFO: Packet analysis {"connection_id":176918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 07:59:41] local.INFO: Extracted packet for processing {"connection_id":176918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":762979840,"raw_latitude":98855216,"longitude_deg":76.297984,"latitude_deg":9.8855216,"altitude":12,"angle":300,"satellites":37,"speed":6,"hex_longitude":"2d7a2600","hex_latitude":"05e46930","is_valid_coordinates":true} 
[2026-09-08 07:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941646848001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129798825127706624,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802144759514150912,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788834560000,"timestamp_ms":1788834560000,"timestamp_seconds":1788834560,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed93800"} 
[2026-09-08 07:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 07:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 07:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 07:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 07:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 07:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941646848001,"66":13765,"145":206,"87":12288,"24":6,"16":129798825127706624,"45":8802144759514150912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-08 07:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 07:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 07:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941646848001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:59:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 07:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 07:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129798825127706624,"km_value":129798825127706.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802144759514150912,"description":"Unknown IO ID 45"} 
[2026-09-08 07:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941646848001,"power":13765,"unknown_145":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8802144759514150912}} 
[2026-09-08 07:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":176918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:59:41] local.INFO: GPS data processed {"connection_id":176918,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:59:41] local.INFO: Acknowledgment sent {"connection_id":176918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 07:59:52] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:59:52] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:59:52] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 07:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:59:57] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:59:57] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 07:59:57] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 07:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 07:59:59] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:59:59] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 07:59:59] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 07:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 07:59:59] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 07:59:59] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 07:59:59] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 07:59:59] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 07:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 07:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 07:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 07:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 07:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 07:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 07:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 07:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 07:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 07:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 07:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 07:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 07:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 07:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 07:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 07:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 07:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 07:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 07:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 07:59:59] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-08 07:59:59] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:00:03] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:03] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:03] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:00:04] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed93fd0012d7a24c005e46988000c010b25..."} 
[2026-09-08 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed93fd0012d7a24c005e46988000c010b25..."} 
[2026-09-08 08:00:04] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed93fd0012d7a24c005e46988000c010b25..."} 
[2026-09-08 08:00:04] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:00:04] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:00:04] local.INFO: GPS Element Parsed {"raw_longitude":762979520,"raw_latitude":98855304,"longitude_deg":76.297952,"latitude_deg":9.8855304,"altitude":12,"angle":267,"satellites":37,"speed":5,"hex_longitude":"2d7a24c0","hex_latitude":"05e46988","is_valid_coordinates":true} 
[2026-09-08 08:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941647360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129798842307575808,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547049148416,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788834562000,"timestamp_ms":1788834562000,"timestamp_seconds":1788834562,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed93fd0"} 
[2026-09-08 08:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-08 08:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941647360001,"66":13406,"145":206,"87":12288,"24":5,"16":129798842307575808,"45":8801722547049148416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-08 08:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941647360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:00:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 08:00:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129798842307575808,"km_value":129798842307575.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547049148416,"description":"Unknown IO ID 45"} 
[2026-09-08 08:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941647360001,"power":13406,"unknown_145":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8801722547049148416}} 
[2026-09-08 08:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:00:04] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:00:04] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:00:05] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:00:05] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:00:05] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:00:05] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:00:05] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:00:05] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:00:09] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed95358012d7a200005e468f8000c00fe25..."} 
[2026-09-08 08:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed95358012d7a200005e468f8000c00fe25..."} 
[2026-09-08 08:00:09] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed95358012d7a200005e468f8000c00fe25..."} 
[2026-09-08 08:00:09] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:00:09] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762978304,"raw_latitude":98855160,"longitude_deg":76.2978304,"latitude_deg":9.885516,"altitude":12,"angle":254,"satellites":37,"speed":12,"hex_longitude":"2d7a2000","hex_latitude":"05e468f8","is_valid_coordinates":true} 
[2026-09-08 08:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941647872001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129798902437117952,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801370703328282624,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788834567000,"timestamp_ms":1788834567000,"timestamp_seconds":1788834567,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed95358"} 
[2026-09-08 08:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 08:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941647872001,"66":13852,"145":206,"87":12288,"24":12,"16":129798902437117952,"45":8801370703328282624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-08 08:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941647872001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:00:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 08:00:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129798902437117952,"km_value":129798902437117.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801370703328282624,"description":"Unknown IO ID 45"} 
[2026-09-08 08:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941647872001,"power":13852,"unknown_145":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8801370703328282624}} 
[2026-09-08 08:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:00:09] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:00:09] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:00:43] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:00:43] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:00:43] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:00:47] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:00:47] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:00:47] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:00:49] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:00:49] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:00:49] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:00:49] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:00:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:00:49] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:00:49] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:00:51] local.INFO: TCP Data received {"connection_id":176920,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:51] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:51] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:00:53] local.INFO: TCP Data received {"connection_id":176920,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:53] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:53] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:00:58] local.INFO: TCP Data received {"connection_id":176920,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:58] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:00:58] local.INFO: IMEI packet received {"connection_id":176920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":176920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:00:59] local.INFO: TCP Data received {"connection_id":176920,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed9a178012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed9a178012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:00:59] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed9a178012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:00:59] local.INFO: Packet analysis {"connection_id":176920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:00:59] local.INFO: Extracted packet for processing {"connection_id":176920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:00:59] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941649152001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800033697188870144,"note":"Value kept but may cause issues"} 
[2026-09-08 08:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834587000,"timestamp_ms":1788834587000,"timestamp_seconds":1788834587,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed9a178"} 
[2026-09-08 08:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 08:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941649152001,"66":13678,"145":206,"87":12288,"24":0,"16":129799142955286528,"45":8800033697188870144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-08 08:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941649152001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800033697188870144,"description":"Unknown IO ID 45"} 
[2026-09-08 08:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941649152001,"power":13678,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8800033697188870144}} 
[2026-09-08 08:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":176920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:00:59] local.INFO: GPS data processed {"connection_id":176920,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:00:59] local.INFO: Acknowledgment sent {"connection_id":176920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:01:21] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:01:21] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:01:21] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:01:21] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:01: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-09-08 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:01: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-09-08 08:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:01:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:01:21] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:01:21] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:01:30] local.INFO: TCP Data received {"connection_id":176920,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed9f380012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed9f380012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:01:30] local.INFO: Processing buffer {"connection_id":176920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed9f380012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:01:30] local.INFO: Packet analysis {"connection_id":176920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:01:30] local.INFO: Extracted packet for processing {"connection_id":176920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed9"} 
[2026-09-08 08:01:30] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941654272001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788834608000,"timestamp_ms":1788834608000,"timestamp_seconds":1788834608,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed9f380"} 
[2026-09-08 08:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941654272001,"66":13656,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941654272001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941654272001,"power":13656,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":176920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:01:30] local.INFO: GPS data processed {"connection_id":176920,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:01:30] local.INFO: Acknowledgment sent {"connection_id":176920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:01:43] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:01:43] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:01:43] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:01:48] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:01:48] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:01:48] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:01:50] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:01:50] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:01:50] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:01:50] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:01:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:01:50] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:01:50] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:01:53] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:01:53] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:01:53] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:01:55] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:01:55] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:01:55] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:02:04] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:02:04] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:02:04] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:02:05] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eda4588012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eda4588012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:02:05] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eda4588012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:02:05] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eda"} 
[2026-09-08 08:02:05] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eda"} 
[2026-09-08 08:02:05] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941659648001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788834629000,"timestamp_ms":1788834629000,"timestamp_seconds":1788834629,"priority":1,"record_length":96,"hex_timestamp":"000001a07eda4588"} 
[2026-09-08 08:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941659648001,"66":13613,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941659648001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:02:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941659648001,"power":13613,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:02:05] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:02:05] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:02:06] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eda9790012d7a0c8005e46518000c010523..."} 
[2026-09-08 08:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eda9790012d7a0c8005e46518000c010523..."} 
[2026-09-08 08:02:06] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eda9790012d7a0c8005e46518000c010523..."} 
[2026-09-08 08:02:06] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eda"} 
[2026-09-08 08:02:06] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eda"} 
[2026-09-08 08:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941665024001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788834650000,"timestamp_ms":1788834650000,"timestamp_seconds":1788834650,"priority":1,"record_length":96,"hex_timestamp":"000001a07eda9790"} 
[2026-09-08 08:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 08:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941665024001,"66":13820,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941665024001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941665024001,"power":13820,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:02:06] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:02:06] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:02:15] local.INFO: TCP Data received {"connection_id":174410,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:02:15] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:02:15] local.INFO: IMEI packet received {"connection_id":174410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":174410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:02:23] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:02:23] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:02:23] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:02:23] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:02: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-09-08 08:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:02:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:02:23] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:02:23] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:02:37] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edae998012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edae998012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:02:37] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edae998012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:02:37] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eda"} 
[2026-09-08 08:02:37] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eda"} 
[2026-09-08 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941670400001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788834671000,"timestamp_ms":1788834671000,"timestamp_seconds":1788834671,"priority":1,"record_length":96,"hex_timestamp":"000001a07edae998"} 
[2026-09-08 08:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 08:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941670400001,"66":13537,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941670400001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941670400001,"power":13537,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:02:37] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:02:37] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:02:42] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:02:42] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:02:42] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:02:45] local.INFO: TCP Data received {"connection_id":176921,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:02:45] local.INFO: Processing buffer {"connection_id":176921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:02:45] local.INFO: IMEI packet received {"connection_id":176921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":176921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:02:48] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:02:48] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:02:48] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:02:50] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:02:50] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:02:50] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:02:50] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:02:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:02:50] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:02:50] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:02:58] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:02:58] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:02:58] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:03:05] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 08:03:05] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 08:03:05] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:03:06] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edb3ba0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edb3ba0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:06] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a07e..."} 
[2026-09-08 08:03:06] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:03:09] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edb8da8012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edb8da8012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:09] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07edb3ba0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:09] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07edb"} 
[2026-09-08 08:03:09] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edb"} 
[2026-09-08 08:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941675776001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788834692000,"timestamp_ms":1788834692000,"timestamp_seconds":1788834692,"priority":1,"record_length":96,"hex_timestamp":"000001a07edb3ba0"} 
[2026-09-08 08:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 08:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941675776001,"66":13243,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941675776001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941675776001,"power":13243,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:03:09] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:03:09] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:03:09] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edb"} 
[2026-09-08 08:03:09] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edb"} 
[2026-09-08 08:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941681152001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788834713000,"timestamp_ms":1788834713000,"timestamp_seconds":1788834713,"priority":1,"record_length":96,"hex_timestamp":"000001a07edb8da8"} 
[2026-09-08 08:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 08:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941681152001,"66":13428,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941681152001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941681152001,"power":13428,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:03:09] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:03:09] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:03:14] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edbdfb0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edbdfb0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:14] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edbdfb0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:03:14] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edb"} 
[2026-09-08 08:03:14] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edb"} 
[2026-09-08 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941686528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788834734000,"timestamp_ms":1788834734000,"timestamp_seconds":1788834734,"priority":1,"record_length":96,"hex_timestamp":"000001a07edbdfb0"} 
[2026-09-08 08:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 08:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941686528001,"66":14048,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941686528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941686528001,"power":14048,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:03:15] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:03:15] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:03:21] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:03:21] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:03:21] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:03:21] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:03: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-09-08 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:03:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:03:21] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:03:21] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:03:42] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:03:42] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:03:42] local.INFO: IMEI packet received {"connection_id":176922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":176922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:03:47] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:03:47] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:03:47] local.INFO: IMEI packet received {"connection_id":176922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":176922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:03:49] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:03:49] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ed870c8012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:03:49] local.INFO: Packet analysis {"connection_id":176922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:03:49] local.INFO: Extracted packet for processing {"connection_id":176922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ed8"} 
[2026-09-08 08:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788834509000,"timestamp_ms":1788834509000,"timestamp_seconds":1788834509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ed870c8"} 
[2026-09-08 08:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 08:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:03: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-09-08 08:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941557248001,"66":25712,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:03:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941557248001,"power":25712,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":176922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:03:49] local.INFO: GPS data processed {"connection_id":176922,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:03:49] local.INFO: Acknowledgment sent {"connection_id":176922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:03:53] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:03:53] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:03:53] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:03:58] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:03:58] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:03:58] local.INFO: IMEI packet received {"connection_id":176923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":176923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:03:59] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edc31b8012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edc31b8012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:03:59] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edc31b8012d7a0c8005e46518000c010524..."} 
[2026-09-08 08:03:59] local.INFO: Packet analysis {"connection_id":176923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edc"} 
[2026-09-08 08:03:59] local.INFO: Extracted packet for processing {"connection_id":176923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edc"} 
[2026-09-08 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941691904001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834755000,"timestamp_ms":1788834755000,"timestamp_seconds":1788834755,"priority":1,"record_length":96,"hex_timestamp":"000001a07edc31b8"} 
[2026-09-08 08:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 08:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941691904001,"66":13820,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941691904001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941691904001,"power":13820,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":176923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:03:59] local.INFO: GPS data processed {"connection_id":176923,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:03:59] local.INFO: Acknowledgment sent {"connection_id":176923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:04:23] local.INFO: TCP Data received {"connection_id":176922,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:04:23] local.INFO: Processing buffer {"connection_id":176922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:04:23] local.INFO: Packet analysis {"connection_id":176922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:04:23] local.INFO: Extracted packet for processing {"connection_id":176922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:04: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-09-08 08:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:04:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":176922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:04:23] local.INFO: GPS data processed {"connection_id":176922,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:04:23] local.INFO: Acknowledgment sent {"connection_id":176922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:04:30] local.INFO: TCP Data received {"connection_id":176923,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edc83c0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edc83c0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:04:30] local.INFO: Processing buffer {"connection_id":176923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edc83c0012d7a0c8005e46518000c010525..."} 
[2026-09-08 08:04:30] local.INFO: Packet analysis {"connection_id":176923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edc"} 
[2026-09-08 08:04:30] local.INFO: Extracted packet for processing {"connection_id":176923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edc"} 
[2026-09-08 08:04:30] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941697280001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788834776000,"timestamp_ms":1788834776000,"timestamp_seconds":1788834776,"priority":1,"record_length":96,"hex_timestamp":"000001a07edc83c0"} 
[2026-09-08 08:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 08:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941697280001,"66":13798,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941697280001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941697280001,"power":13798,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":176923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:04:30] local.INFO: GPS data processed {"connection_id":176923,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:04:30] local.INFO: Acknowledgment sent {"connection_id":176923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:04:42] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:04:42] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:04:42] local.INFO: IMEI packet received {"connection_id":174413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":174413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:04:47] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:04:47] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:04:47] local.INFO: IMEI packet received {"connection_id":174413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":174413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:04:49] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:04:49] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:04:49] local.INFO: Packet analysis {"connection_id":174413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:04:49] local.INFO: Extracted packet for processing {"connection_id":174413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:04: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-09-08 08:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:04:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":174413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:04:49] local.INFO: GPS data processed {"connection_id":174413,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:04:49] local.INFO: Acknowledgment sent {"connection_id":174413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:04:53] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:04:53] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:04:53] local.INFO: IMEI packet received {"connection_id":174162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":174162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:04:58] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:04:58] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:04:58] local.INFO: IMEI packet received {"connection_id":174162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":174162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:04:59] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edcd5c8012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edcd5c8012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:04:59] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edcd5c8012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:04:59] local.INFO: Packet analysis {"connection_id":174162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edc"} 
[2026-09-08 08:04:59] local.INFO: Extracted packet for processing {"connection_id":174162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edc"} 
[2026-09-08 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941702656001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788834797000,"timestamp_ms":1788834797000,"timestamp_seconds":1788834797,"priority":1,"record_length":96,"hex_timestamp":"000001a07edcd5c8"} 
[2026-09-08 08:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 08:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941702656001,"66":13906,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941702656001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941702656001,"power":13906,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":174162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:04:59] local.INFO: GPS data processed {"connection_id":174162,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:04:59] local.INFO: Acknowledgment sent {"connection_id":174162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:05:20] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:05:20] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:05:20] local.INFO: Packet analysis {"connection_id":174413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:05:20] local.INFO: Extracted packet for processing {"connection_id":174413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:05: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-09-08 08: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:05: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-09-08 08:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:05:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":174413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:05:20] local.INFO: GPS data processed {"connection_id":174413,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:05:20] local.INFO: Acknowledgment sent {"connection_id":174413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:05:31] local.INFO: TCP Data received {"connection_id":174162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd27d0012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd27d0012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:05:31] local.INFO: Processing buffer {"connection_id":174162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd27d0012d7a0c8005e46518000c010522..."} 
[2026-09-08 08:05:31] local.INFO: Packet analysis {"connection_id":174162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:05:31] local.INFO: Extracted packet for processing {"connection_id":174162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98854168,"longitude_deg":76.2973312,"latitude_deg":9.8854168,"altitude":12,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d7a0c80","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-09-08 08:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941708032001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129799142955286528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935142758400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788834818000,"timestamp_ms":1788834818000,"timestamp_seconds":1788834818,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd27d0"} 
[2026-09-08 08:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 08:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941708032001,"66":13928,"85":206,"87":12288,"24":0,"16":129799142955286528,"45":8794544935142758400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,87,24,16,45]} 
[2026-09-08 08:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941708032001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 08:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129799142955286528,"km_value":129799142955286.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935142758400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941708032001,"power":13928,"unknown_85":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935142758400}} 
[2026-09-08 08:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":174162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:05:31] local.INFO: GPS data processed {"connection_id":174162,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:05:31] local.INFO: Acknowledgment sent {"connection_id":174162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:05:47] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:05:47] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:05:47] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:05:53] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:05:53] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:05:53] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:05:53] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:53] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:53] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:05:54] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:54] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:54] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:05:55] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:05:55] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:05:55] local.INFO: Packet analysis {"connection_id":174414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:05:55] local.INFO: Extracted packet for processing {"connection_id":174414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:05: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-09-08 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:05:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:05:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":174414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:05:55] local.INFO: GPS data processed {"connection_id":174414,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:05:55] local.INFO: Acknowledgment sent {"connection_id":174414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:05:56] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:56] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:56] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:05:56] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:56] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:05:56] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:06:28] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:06:28] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:06:28] local.INFO: Packet analysis {"connection_id":174414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:06:28] local.INFO: Extracted packet for processing {"connection_id":174414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:06:28] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:06:28] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:06:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":174414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:06:28] local.INFO: GPS data processed {"connection_id":174414,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:06:28] local.INFO: Acknowledgment sent {"connection_id":174414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:06:43] local.INFO: TCP Data received {"connection_id":176924,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:06:43] local.INFO: Processing buffer {"connection_id":176924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:06:43] local.INFO: IMEI packet received {"connection_id":176924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":176924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:06:48] local.INFO: TCP Data received {"connection_id":176924,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:06:48] local.INFO: Processing buffer {"connection_id":176924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:06:48] local.INFO: IMEI packet received {"connection_id":176924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:06:49] local.INFO: TCP Data received {"connection_id":176924,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:06:49] local.INFO: Processing buffer {"connection_id":176924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:06:49] local.INFO: Packet analysis {"connection_id":176924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:06:49] local.INFO: Extracted packet for processing {"connection_id":176924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:06:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":176924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:06:49] local.INFO: GPS data processed {"connection_id":176924,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:06:49] local.INFO: Acknowledgment sent {"connection_id":176924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:07:20] local.INFO: TCP Data received {"connection_id":176924,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:07:20] local.INFO: Processing buffer {"connection_id":176924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:07:20] local.INFO: Packet analysis {"connection_id":176924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:07:20] local.INFO: Extracted packet for processing {"connection_id":176924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:07: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-09-08 08:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:07: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-09-08 08:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:07:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":176924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:07:20] local.INFO: GPS data processed {"connection_id":176924,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:07:20] local.INFO: Acknowledgment sent {"connection_id":176924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:07:42] local.INFO: TCP Data received {"connection_id":176926,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:07:42] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:07:42] local.INFO: IMEI packet received {"connection_id":176926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":176926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:07:47] local.INFO: TCP Data received {"connection_id":176926,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:07:47] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:07:47] local.INFO: IMEI packet received {"connection_id":176926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":176926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:07:50] local.INFO: TCP Data received {"connection_id":176926,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:07:50] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:07:50] local.INFO: Packet analysis {"connection_id":176926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:07:50] local.INFO: Extracted packet for processing {"connection_id":176926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:07:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:07:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:07:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":176926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:07:50] local.INFO: GPS data processed {"connection_id":176926,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:07:50] local.INFO: Acknowledgment sent {"connection_id":176926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:07:50] local.INFO: TCP Data received {"connection_id":176927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:07:50] local.INFO: Processing buffer {"connection_id":176927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:07:50] local.INFO: IMEI packet received {"connection_id":176927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":176927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:08:21] local.INFO: TCP Data received {"connection_id":176926,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:08:21] local.INFO: Processing buffer {"connection_id":176926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:08:21] local.INFO: Packet analysis {"connection_id":176926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:08:21] local.INFO: Extracted packet for processing {"connection_id":176926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:08:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08: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-09-08 08: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:08: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-09-08 08:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:08:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:08:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":176926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:08:21] local.INFO: GPS data processed {"connection_id":176926,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:08:21] local.INFO: Acknowledgment sent {"connection_id":176926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:08:47] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:08:47] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:08:47] local.INFO: IMEI packet received {"connection_id":174419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":174419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:08:54] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:08:54] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:08:54] local.INFO: IMEI packet received {"connection_id":174419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":174419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:08:55] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:08:55] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07edd0890012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:08:55] local.INFO: Packet analysis {"connection_id":174419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:08:55] local.INFO: Extracted packet for processing {"connection_id":174419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07edd"} 
[2026-09-08 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941634304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788834810000,"timestamp_ms":1788834810000,"timestamp_seconds":1788834810,"priority":1,"record_length":96,"hex_timestamp":"000001a07edd0890"} 
[2026-09-08 08:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:08: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-09-08 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 08:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941634304001,"66":25473,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941634304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:08:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941634304001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":174419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:08:55] local.INFO: GPS data processed {"connection_id":174419,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:08:55] local.INFO: Acknowledgment sent {"connection_id":174419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:09:26] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:09:26] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:09:26] local.INFO: Packet analysis {"connection_id":174419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:09:26] local.INFO: Extracted packet for processing {"connection_id":174419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:09: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-09-08 08:09: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":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:09:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:09:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":174419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:09:26] local.INFO: GPS data processed {"connection_id":174419,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:09:26] local.INFO: Acknowledgment sent {"connection_id":174419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:09:42] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:09:42] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:09:42] local.INFO: IMEI packet received {"connection_id":174165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":174165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:09:52] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:09:52] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:09:52] local.INFO: IMEI packet received {"connection_id":174165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":174165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:09:53] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:09:53] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:09:53] local.INFO: Packet analysis {"connection_id":174165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:09:53] local.INFO: Extracted packet for processing {"connection_id":174165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:09:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":174165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:09:53] local.INFO: GPS data processed {"connection_id":174165,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:09:53] local.INFO: Acknowledgment sent {"connection_id":174165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:10:25] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:10:25] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:10:25] local.INFO: Packet analysis {"connection_id":174165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:10:25] local.INFO: Extracted packet for processing {"connection_id":174165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:10:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":174165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:10:25] local.INFO: GPS data processed {"connection_id":174165,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:10:25] local.INFO: Acknowledgment sent {"connection_id":174165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:10:47] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:10:47] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:10:47] local.INFO: IMEI packet received {"connection_id":176929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":176929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:10:52] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:10:52] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:10:52] local.INFO: IMEI packet received {"connection_id":176929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":176929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:10:54] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:10:54] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:10:54] local.INFO: Packet analysis {"connection_id":176929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:10:54] local.INFO: Extracted packet for processing {"connection_id":176929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:10:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":176929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:10:54] local.INFO: GPS data processed {"connection_id":176929,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:10:54] local.INFO: Acknowledgment sent {"connection_id":176929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:10:58] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:10:58] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:10:58] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:11:00] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee3a7e0012d7b140005e317780008009821..."} 
[2026-09-08 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee3a7e0012d7b140005e317780008009821..."} 
[2026-09-08 08:11:00] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee3a7e0012d7b140005e317780008009821..."} 
[2026-09-08 08:11:00] local.INFO: Packet analysis {"connection_id":175504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:11:00] local.INFO: Extracted packet for processing {"connection_id":175504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98768760,"longitude_deg":76.3040768,"latitude_deg":9.876876,"altitude":8,"angle":152,"satellites":33,"speed":8,"hex_longitude":"2d7b1400","hex_latitude":"05e31778","is_valid_coordinates":true} 
[2026-09-08 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941821184001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805430787407872,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868291379019444224,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788835244000,"timestamp_ms":1788835244000,"timestamp_seconds":1788835244,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee3a7e0"} 
[2026-09-08 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 08:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941821184001,"66":13656,"208":206,"85":15104,"24":8,"16":129805430787407872,"45":8868291379019444224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941821184001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805430787407872,"km_value":129805430787407.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868291379019444224,"description":"Unknown IO ID 45"} 
[2026-09-08 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941821184001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8868291379019444224}} 
[2026-09-08 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":175504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:11:00] local.INFO: GPS data processed {"connection_id":175504,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:11:00] local.INFO: Acknowledgment sent {"connection_id":175504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:11:01] local.INFO: TCP Data received {"connection_id":176929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:01] local.INFO: Processing buffer {"connection_id":176929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:01] local.INFO: Packet analysis {"connection_id":176929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:11:01] local.INFO: Extracted packet for processing {"connection_id":176929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:11:01] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:11:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:11:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":176929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:11:01] local.INFO: GPS data processed {"connection_id":176929,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:11:01] local.INFO: Acknowledgment sent {"connection_id":176929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:11:32] local.INFO: TCP Data received {"connection_id":175504,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee3b780012d7b150005e31518000a008923..."} 
[2026-09-08 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee3b780012d7b150005e31518000a008923..."} 
[2026-09-08 08:11:32] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee3b780012d7b150005e31518000a008923..."} 
[2026-09-08 08:11:32] local.INFO: Packet analysis {"connection_id":175504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:11:32] local.INFO: Extracted packet for processing {"connection_id":175504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98768152,"longitude_deg":76.3041024,"latitude_deg":9.8768152,"altitude":10,"angle":137,"satellites":35,"speed":2,"hex_longitude":"2d7b1500","hex_latitude":"05e31518","is_valid_coordinates":true} 
[2026-09-08 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941822464001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805465147146240,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484151808,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788835248000,"timestamp_ms":1788835248000,"timestamp_seconds":1788835248,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee3b780"} 
[2026-09-08 08:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941822464001,"66":13580,"208":206,"85":15104,"24":2,"16":129805465147146240,"45":8868713591484151808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941822464001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805465147146240,"km_value":129805465147146.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484151808,"description":"Unknown IO ID 45"} 
[2026-09-08 08:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941822464001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8868713591484151808}} 
[2026-09-08 08:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":175504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:11:32] local.INFO: GPS data processed {"connection_id":175504,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:11:32] local.INFO: Acknowledgment sent {"connection_id":175504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:11:44] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:11:44] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:11:44] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:11:48] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:11:48] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:11:48] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:11:49] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:11:49] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:11:49] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:11:50] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:50] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:50] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:11:50] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:11:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:11:50] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:11:50] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:11:53] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:11:53] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:11:53] local.INFO: IMEI packet received {"connection_id":176931,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":176931,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:11:53] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:11:53] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:11:53] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:11:55] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:55] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:11:55] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:11:55] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:11: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-09-08 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:11:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:11:55] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:11:55] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:11:58] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:11:58] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:11:58] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:11:59] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee3bb68012d7b154005e314f8000a006f21..."} 
[2026-09-08 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee3bb68012d7b154005e314f8000a006f21..."} 
[2026-09-08 08:11:59] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee3bb68012d7b154005e314f8000a006f21..."} 
[2026-09-08 08:11:59] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:11:59] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98768120,"longitude_deg":76.3041088,"latitude_deg":9.876812,"altitude":10,"angle":111,"satellites":33,"speed":1,"hex_longitude":"2d7b1540","hex_latitude":"05e314f8","is_valid_coordinates":true} 
[2026-09-08 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941823488001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805469442113536,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868995066460706816,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835249000,"timestamp_ms":1788835249000,"timestamp_seconds":1788835249,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee3bb68"} 
[2026-09-08 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631656,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3663479285261271040,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3810213889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635058640,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":683868160,"corrected_to":0} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247711,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813576704,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":123,"raw_value":576467226179141642,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193138197672363,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 08:11:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,41,160,167,45,23,8,33,10,66,148,128,28,7,34,70,1,240,105,227,126,4,113,205,18,248,9,184,39,239,54,2,5,123,52,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":683868160,"validated":0}]} 
[2026-09-08 08:11:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720726723796271104,"timestamp_seconds":720726723796271.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941823488001,"66":13580,"208":206,"85":15104,"24":1,"16":129805469442113536,"45":8868995066460706816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941823488001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805469442113536,"km_value":129805469442113.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868995066460706816,"description":"Unknown IO ID 45"} 
[2026-09-08 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941823488001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8868995066460706816}} 
[2026-09-08 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:11:59] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:11:59] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:12:26] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:12:26] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:12:26] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:12:26] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:12: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-09-08 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:12:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:12:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:12:26] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:12:26] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:12:30] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee3bf50012d7b154005e314f0000a005b23..."} 
[2026-09-08 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee3bf50012d7b154005e314f0000a005b23..."} 
[2026-09-08 08:12:30] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee3bf50012d7b154005e314f0000a005b23..."} 
[2026-09-08 08:12:30] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:12:30] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98768112,"longitude_deg":76.3041088,"latitude_deg":9.8768112,"altitude":10,"angle":91,"satellites":35,"speed":0,"hex_longitude":"2d7b1540","hex_latitude":"05e314f0","is_valid_coordinates":true} 
[2026-09-08 08:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941823744001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805469442113536,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435204876288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788835250000,"timestamp_ms":1788835250000,"timestamp_seconds":1788835250,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee3bf50"} 
[2026-09-08 08:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631656,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3663463892098482176,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3813029889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637778666217424,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":686555136,"corrected_to":0} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221611324,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896038495211093,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813259264,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":123,"raw_value":630510421665644554,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,41,160,183,45,21,10,35,66,167,23,8,33,148,128,1,240,214,227,126,4,113,205,20,27,12,48,31,239,52,2,5,14,123,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":686555136,"validated":0}]} 
[2026-09-08 08:12:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720698127903948800,"timestamp_seconds":720698127903948.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941823744001,"66":13363,"208":206,"85":15104,"24":0,"16":129805469442113536,"45":8869065435204876288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941823744001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:12:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805469442113536,"km_value":129805469442113.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435204876288,"description":"Unknown IO ID 45"} 
[2026-09-08 08:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941823744001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869065435204876288}} 
[2026-09-08 08:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:12:30] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:12:30] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:12:41] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":1340,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-09-08 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":1340,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-09-08 08:12:41] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-09-08 08:12:41] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 08:12:41] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:12:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":62000,"timestamp_seconds":62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:12:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:12:41] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:12:41] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:12:41] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:12:41] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:12:41] local.INFO: Incomplete packet, waiting for more data {"connection_id":176931,"needed":795,"available":545} 
[2026-09-08 08:12:43] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:12:43] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:12:43] local.INFO: IMEI packet received {"connection_id":176932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":176932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:12:47] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:12:47] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:12:47] local.INFO: IMEI packet received {"connection_id":176932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":176932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:12:48] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:12:48] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:12:48] local.INFO: Packet analysis {"connection_id":176932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:12:48] local.INFO: Extracted packet for processing {"connection_id":176932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:12: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-09-08 08: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:12:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":176932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:12:48] local.INFO: GPS data processed {"connection_id":176932,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:12:48] local.INFO: Acknowledgment sent {"connection_id":176932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:12:53] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:53] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:53] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:12:57] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:57] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:57] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:12:58] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:58] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:12:58] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:12:59] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee3c338012d7b154005e314f0000b004f23..."} 
[2026-09-08 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee3c338012d7b154005e314f0000b004f23..."} 
[2026-09-08 08:12:59] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee3c338012d7b154005e314f0000b004f23..."} 
[2026-09-08 08:12:59] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:12:59] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee3"} 
[2026-09-08 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98768112,"longitude_deg":76.3041088,"latitude_deg":9.8768112,"altitude":11,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d7b1540","hex_latitude":"05e314f0","is_valid_coordinates":true} 
[2026-09-08 08:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941824000001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805469442113536,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435204874240,"note":"Value kept but may cause issues"} 
[2026-09-08 08:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835251000,"timestamp_ms":1788835251000,"timestamp_seconds":1788835251,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee3c338"} 
[2026-09-08 08:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 08:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941824000001,"66":13363,"208":206,"85":15104,"24":0,"16":129805469442113536,"45":8869065435204874240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941824000001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:12:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805469442113536,"km_value":129805469442113.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435204874240,"description":"Unknown IO ID 45"} 
[2026-09-08 08:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941824000001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869065435204874240}} 
[2026-09-08 08:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:12:59] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:12:59] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:13:04] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee41158012d7b158005e314f0000b00471e..."} 
[2026-09-08 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee41158012d7b158005e314f0000b00471e..."} 
[2026-09-08 08:13:04] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee41158012d7b158005e314f0000b00471e..."} 
[2026-09-08 08:13:04] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:13:04] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763041152,"raw_latitude":98768112,"longitude_deg":76.3041152,"latitude_deg":9.8768112,"altitude":11,"angle":71,"satellites":30,"speed":0,"hex_longitude":"2d7b1580","hex_latitude":"05e314f0","is_valid_coordinates":true} 
[2026-09-08 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941824256001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805473737080832,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435204874240,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788835271000,"timestamp_ms":1788835271000,"timestamp_seconds":1788835271,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee41158"} 
[2026-09-08 08:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 08:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941824256001,"66":13624,"208":206,"85":15104,"24":0,"16":129805473737080832,"45":8869065435204874240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941824256001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:13:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805473737080832,"km_value":129805473737080.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435204874240,"description":"Unknown IO ID 45"} 
[2026-09-08 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941824256001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869065435204874240}} 
[2026-09-08 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:13:04] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:13:04] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:13:15] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":1340,"data_hex":"000010006cda9100000000000001a07bfadbe8012d0b130007029e58002e000b..."} 
[2026-09-08 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":1340,"packet_hex":"000010006cda9100000000000001a07bfadbe8012d0b130007029e58002e000b..."} 
[2026-09-08 08:13:15] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":1885,"buffer_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-09-08 08:13:15] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":1885,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:15] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":1090,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:13:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":83000,"timestamp_seconds":83,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:13:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:13:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:13:15] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:13:15] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:13:15] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":1090,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:15] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":295,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:13:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":104000,"timestamp_seconds":104,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:13:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:13:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:13:15] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:13:15] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:13:15] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":295,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:15] local.INFO: Incomplete packet, waiting for more data {"connection_id":176931,"needed":795,"available":295} 
[2026-09-08 08:13:16] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":500,"data_hex":"1200ce5e2800180000000200f100009de30010006cda91000000000000000000..."} 
[2026-09-08 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":500,"packet_hex":"1200ce5e2800180000000200f100009de30010006cda91000000000000000000..."} 
[2026-09-08 08:13:16] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001e8480100000000000000000000000000..."} 
[2026-09-08 08:13:16] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:16] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:13:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":125000,"timestamp_seconds":125,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:13:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:13:16] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:13:16] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:13:16] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:13:17] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000000000023a500100000000000000000000000000..."} 
[2026-09-08 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000023a500100000000000000000000000000..."} 
[2026-09-08 08:13:17] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000023a500100000000000000000000000000..."} 
[2026-09-08 08:13:17] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-08 08:13:17] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-08 08:13:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:13:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":146000,"timestamp_seconds":146,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:13:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:13:17] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:13:17] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:13:17] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:13:20] local.INFO: TCP Data received {"connection_id":176932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:13:20] local.INFO: Processing buffer {"connection_id":176932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:13:20] local.INFO: Packet analysis {"connection_id":176932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:13:20] local.INFO: Extracted packet for processing {"connection_id":176932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:13: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-09-08 08: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:13: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-09-08 08:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:13:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":176932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:13:20] local.INFO: GPS data processed {"connection_id":176932,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:13:20] local.INFO: Acknowledgment sent {"connection_id":176932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:13:25] local.INFO: TCP Data received {"connection_id":176933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:13:25] local.INFO: Processing buffer {"connection_id":176933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:13:25] local.INFO: IMEI packet received {"connection_id":176933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":176933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:13:35] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee457a8012d7b170005e31458000e009d1f..."} 
[2026-09-08 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee457a8012d7b170005e31458000e009d1f..."} 
[2026-09-08 08:13:35] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee457a8012d7b170005e31458000e009d1f..."} 
[2026-09-08 08:13:35] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:13:35] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98767960,"longitude_deg":76.3041536,"latitude_deg":9.876796,"altitude":14,"angle":157,"satellites":31,"speed":2,"hex_longitude":"2d7b1700","hex_latitude":"05e31458","is_valid_coordinates":true} 
[2026-09-08 08:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941829376001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805490916950016,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869135803949051904,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788835289000,"timestamp_ms":1788835289000,"timestamp_seconds":1788835289,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee457a8"} 
[2026-09-08 08:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 08:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941829376001,"66":13972,"208":206,"85":15104,"24":2,"16":129805490916950016,"45":8869135803949051904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941829376001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:13:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805490916950016,"km_value":129805490916950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869135803949051904,"description":"Unknown IO ID 45"} 
[2026-09-08 08:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941829376001,"power":13972,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8869135803949051904}} 
[2026-09-08 08:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:13:35] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:13:35] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:13:43] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:13:43] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:13:43] local.INFO: IMEI packet received {"connection_id":174421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":174421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:13:44] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:13:45] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:13:45] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:13:47] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:13:47] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:13:47] local.INFO: IMEI packet received {"connection_id":174421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:13:48] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:13:48] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee1a058012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:13:48] local.INFO: Packet analysis {"connection_id":174421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:13:48] local.INFO: Extracted packet for processing {"connection_id":174421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee1"} 
[2026-09-08 08:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835111000,"timestamp_ms":1788835111000,"timestamp_seconds":1788835111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee1a058"} 
[2026-09-08 08:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:13: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-09-08 08:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 08:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941711360001,"66":25702,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:13:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941711360001,"power":25702,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":174421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:13:48] local.INFO: GPS data processed {"connection_id":174421,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:13:48] local.INFO: Acknowledgment sent {"connection_id":174421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:13:49] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000000000028c580100000000000000000000000000..."} 
[2026-09-08 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000028c580100000000000000000000000000..."} 
[2026-09-08 08:13:49] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000028c580100000000000000000000000000..."} 
[2026-09-08 08:13:49] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-08 08:13:49] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-08 08:13:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:13:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:13:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":167000,"timestamp_seconds":167,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:13:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:13:49] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:13:49] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:13:49] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:13:53] local.INFO: TCP Data received {"connection_id":174423,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:13:53] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:13:53] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:13:58] local.INFO: TCP Data received {"connection_id":174423,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:13:58] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:13:58] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:14:00] local.INFO: TCP Data received {"connection_id":174423,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee476e8012d7b18c005e30be8000e00ac1f..."} 
[2026-09-08 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee476e8012d7b18c005e30be8000e00ac1f..."} 
[2026-09-08 08:14:00] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee476e8012d7b18c005e30be8000e00ac1f..."} 
[2026-09-08 08:14:00] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:14:00] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763041984,"raw_latitude":98765800,"longitude_deg":76.3041984,"latitude_deg":9.87658,"altitude":14,"angle":172,"satellites":31,"speed":17,"hex_longitude":"2d7b18c0","hex_latitude":"05e30be8","is_valid_coordinates":true} 
[2026-09-08 08:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941833984001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129805602586099712,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016414078976,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788835297000,"timestamp_ms":1788835297000,"timestamp_seconds":1788835297,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee476e8"} 
[2026-09-08 08:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 08:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941833984001,"66":13939,"208":206,"85":15104,"24":17,"16":129805602586099712,"45":8869558016414078976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941833984001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:14:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129805602586099712,"km_value":129805602586099.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016414078976,"description":"Unknown IO ID 45"} 
[2026-09-08 08:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941833984001,"power":13939,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8869558016414078976}} 
[2026-09-08 08:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:14:00] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:14:00] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:14:20] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:14:20] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:14:20] local.INFO: Packet analysis {"connection_id":174421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:14:20] local.INFO: Extracted packet for processing {"connection_id":174421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:14: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-09-08 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:14: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-09-08 08:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":174421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:14:20] local.INFO: GPS data processed {"connection_id":174421,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:14:20] local.INFO: Acknowledgment sent {"connection_id":174421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:14:21] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000002de600100000000000000000000000000..."} 
[2026-09-08 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002de600100000000000000000000000000..."} 
[2026-09-08 08:14:21] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002de600100000000000000000000000000..."} 
[2026-09-08 08:14:21] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-08 08:14:21] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-08 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:14:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188000,"timestamp_seconds":188,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:14:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 08:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 08:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 08:14:21] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 08:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 08:14:21] local.ERROR: GPS data processing failed {"connection_id":176931,"error":"No valid data to process"} 
[2026-09-08 08:14:21] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 08:14:31] local.INFO: TCP Data received {"connection_id":174423,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee4a9b0012d7b1fc005e2e4e8001000a91d..."} 
[2026-09-08 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee4a9b0012d7b1fc005e2e4e8001000a91d..."} 
[2026-09-08 08:14:31] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee4a9b0012d7b1fc005e2e4e8001000a91d..."} 
[2026-09-08 08:14:31] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:14:31] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763043776,"raw_latitude":98755816,"longitude_deg":76.3043776,"latitude_deg":9.8755816,"altitude":16,"angle":169,"satellites":29,"speed":36,"hex_longitude":"2d7b1fc0","hex_latitude":"05e2e4e8","is_valid_coordinates":true} 
[2026-09-08 08:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941836032001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129806096507338752,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870050597622769664,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788835310000,"timestamp_ms":1788835310000,"timestamp_seconds":1788835310,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee4a9b0"} 
[2026-09-08 08:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 08:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941836032001,"66":13602,"208":206,"85":15104,"24":36,"16":129806096507338752,"45":8870050597622769664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941836032001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129806096507338752,"km_value":129806096507338.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870050597622769664,"description":"Unknown IO ID 45"} 
[2026-09-08 08:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941836032001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8870050597622769664}} 
[2026-09-08 08:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:14:31] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:14:31] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:14:42] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:14:42] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:14:42] local.INFO: IMEI packet received {"connection_id":174168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":174168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:14:47] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:14:47] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:14:47] local.INFO: IMEI packet received {"connection_id":174168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:14:49] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:14:49] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:14:49] local.INFO: Packet analysis {"connection_id":174168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:14:49] local.INFO: Extracted packet for processing {"connection_id":174168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:14: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-09-08 08:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":174168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:14:49] local.INFO: GPS data processed {"connection_id":174168,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:14:49] local.INFO: Acknowledgment sent {"connection_id":174168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:14:53] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee67a88012d0b16c00702a0080000005409..."} 
[2026-09-08 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee67a88012d0b16c00702a0080000005409..."} 
[2026-09-08 08:14:53] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee67a88012d0b16c00702a0080000005409..."} 
[2026-09-08 08:14:53] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:14:53] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":755701440,"raw_latitude":117612552,"longitude_deg":75.570144,"latitude_deg":11.7612552,"altitude":0,"angle":84,"satellites":9,"speed":0,"hex_longitude":"2d0b16c0","hex_latitude":"0702a008","is_valid_coordinates":true} 
[2026-09-08 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639613789863936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788835429000,"timestamp_ms":1788835429000,"timestamp_seconds":1788835429,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee67a88"} 
[2026-09-08 08:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:14:53] 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-09-08 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 08:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14428,"18":206,"94":10240,"24":0,"16":30639613789863936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16]} 
[2026-09-08 08:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 08:14:53] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:14:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639613789863936,"km_value":30639613789863.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:14:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14428,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null}} 
[2026-09-08 08:14:53] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:53] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:53] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:14:53] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:14:53] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:14:58] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:58] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:58] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:14:58] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:58] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:14:58] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:14:59] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee4d4a8012d7b230005e2c170001000aa1d..."} 
[2026-09-08 08:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee4d4a8012d7b230005e2c170001000aa1d..."} 
[2026-09-08 08:14:59] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee4d4a8012d7b230005e2c170001000aa1d..."} 
[2026-09-08 08:14:59] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:14:59] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763044608,"raw_latitude":98746736,"longitude_deg":76.3044608,"latitude_deg":9.8746736,"altitude":16,"angle":170,"satellites":29,"speed":27,"hex_longitude":"2d7b2300","hex_latitude":"05e2c170","is_valid_coordinates":true} 
[2026-09-08 08:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941839360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129806538888970240,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872020922457188352,"note":"Value kept but may cause issues"} 
[2026-09-08 08:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835321000,"timestamp_ms":1788835321000,"timestamp_seconds":1788835321,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee4d4a8"} 
[2026-09-08 08:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 08:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941839360001,"66":13917,"207":206,"85":15104,"24":27,"16":129806538888970240,"45":8872020922457188352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 08:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941839360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129806538888970240,"km_value":129806538888970.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872020922457188352,"description":"Unknown IO ID 45"} 
[2026-09-08 08:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941839360001,"power":13917,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8872020922457188352}} 
[2026-09-08 08:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:14:59] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:14:59] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:04] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee4fbb8012d7b23c005e2a8c0000e009d21..."} 
[2026-09-08 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee4fbb8012d7b23c005e2a8c0000e009d21..."} 
[2026-09-08 08:15:04] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee4fbb8012d7b23c005e2a8c0000e009d21..."} 
[2026-09-08 08:15:04] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:15:04] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee4"} 
[2026-09-08 08:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98740416,"longitude_deg":76.30448,"latitude_deg":9.8740416,"altitude":14,"angle":157,"satellites":33,"speed":13,"hex_longitude":"2d7b23c0","hex_latitude":"05e2a8c0","is_valid_coordinates":true} 
[2026-09-08 08:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941842176001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129806848126615552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872935716129173504,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788835331000,"timestamp_ms":1788835331000,"timestamp_seconds":1788835331,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee4fbb8"} 
[2026-09-08 08:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 08:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941842176001,"66":13656,"207":206,"85":15104,"24":13,"16":129806848126615552,"45":8872935716129173504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 08:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941842176001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:15:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 08:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129806848126615552,"km_value":129806848126615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872935716129173504,"description":"Unknown IO ID 45"} 
[2026-09-08 08:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941842176001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8872935716129173504}} 
[2026-09-08 08:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:15:04] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:15:04] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:21] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:21] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:21] local.INFO: Packet analysis {"connection_id":174168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:21] local.INFO: Extracted packet for processing {"connection_id":174168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:15: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-09-08 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:15: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-09-08 08:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:15:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":174168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:15:21] local.INFO: GPS data processed {"connection_id":174168,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:15:21] local.INFO: Acknowledgment sent {"connection_id":174168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:25] local.INFO: TCP Data received {"connection_id":176931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee69db0012d0b16c007029fe00000005409..."} 
[2026-09-08 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee69db0012d0b16c007029fe00000005409..."} 
[2026-09-08 08:15:25] local.INFO: Processing buffer {"connection_id":176931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee69db0012d0b16c007029fe00000005409..."} 
[2026-09-08 08:15:25] local.INFO: Packet analysis {"connection_id":176931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:25] local.INFO: Extracted packet for processing {"connection_id":176931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:25] local.INFO: GPS Element Parsed {"raw_longitude":755701440,"raw_latitude":117612512,"longitude_deg":75.570144,"latitude_deg":11.7612512,"altitude":0,"angle":84,"satellites":9,"speed":0,"hex_longitude":"2d0b16c0","hex_latitude":"07029fe0","is_valid_coordinates":true} 
[2026-09-08 08:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941869824001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639626674765824,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799037120246188032,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788835438000,"timestamp_ms":1788835438000,"timestamp_seconds":1788835438,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee69db0"} 
[2026-09-08 08:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941869824001,"66":14548,"18":206,"94":10240,"24":0,"16":30639626674765824,"45":799037120246188032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941869824001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:15:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:15:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639626674765824,"km_value":30639626674765.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":799037120246188032,"description":"Unknown IO ID 45"} 
[2026-09-08 08:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941869824001,"power":14548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":799037120246188032}} 
[2026-09-08 08:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":176931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:15:25] local.INFO: GPS data processed {"connection_id":176931,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:15:25] local.INFO: Acknowledgment sent {"connection_id":176931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:35] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee50770012d7b250005e2a630000d00b123..."} 
[2026-09-08 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee50770012d7b250005e2a630000d00b123..."} 
[2026-09-08 08:15:35] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee50770012d7b250005e2a630000d00b123..."} 
[2026-09-08 08:15:35] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee5"} 
[2026-09-08 08:15:35] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee5"} 
[2026-09-08 08:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763045120,"raw_latitude":98739760,"longitude_deg":76.304512,"latitude_deg":9.873976,"altitude":13,"angle":177,"satellites":35,"speed":5,"hex_longitude":"2d7b2500","hex_latitude":"05e2a630","is_valid_coordinates":true} 
[2026-09-08 08:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941844736001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129806882486353920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873146822360088576,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788835334000,"timestamp_ms":1788835334000,"timestamp_seconds":1788835334,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee50770"} 
[2026-09-08 08:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941844736001,"66":13820,"207":206,"85":15104,"24":5,"16":129806882486353920,"45":8873146822360088576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 08:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941844736001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:15:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 08:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129806882486353920,"km_value":129806882486353.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873146822360088576,"description":"Unknown IO ID 45"} 
[2026-09-08 08:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941844736001,"power":13820,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8873146822360088576}} 
[2026-09-08 08:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:15:35] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:15:35] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:48] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:15:48] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:15:48] local.INFO: IMEI packet received {"connection_id":176934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":176934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:15:52] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:15:52] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:15:52] local.INFO: IMEI packet received {"connection_id":176934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":176934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:15:53] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:15:53] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:15:53] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:15:54] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:54] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:54] local.INFO: Packet analysis {"connection_id":176934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:54] local.INFO: Extracted packet for processing {"connection_id":176934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":176934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:15:54] local.INFO: GPS data processed {"connection_id":176934,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:15:54] local.INFO: Acknowledgment sent {"connection_id":176934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:58] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:15:58] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:15:58] local.INFO: IMEI packet received {"connection_id":174172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":174172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:15:58] local.INFO: TCP Data received {"connection_id":176934,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:58] local.INFO: Processing buffer {"connection_id":176934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:15:58] local.INFO: Packet analysis {"connection_id":176934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:58] local.INFO: Extracted packet for processing {"connection_id":176934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:15:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":176934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:15:58] local.INFO: GPS data processed {"connection_id":176934,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:15:58] local.INFO: Acknowledgment sent {"connection_id":176934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:15:58] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:15:58] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:15:58] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:15:59] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:15:59] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:15:59] local.INFO: IMEI packet received {"connection_id":174172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":174172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:16:00] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee7e9b8012d7b1ac005e2b4480008015f21..."} 
[2026-09-08 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee7e9b8012d7b1ac005e2b4480008015f21..."} 
[2026-09-08 08:16:00] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee7e9b8012d7b1ac005e2b4480008015f21..."} 
[2026-09-08 08:16:00] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee7"} 
[2026-09-08 08:16:00] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee7"} 
[2026-09-08 08:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98743368,"longitude_deg":76.3042496,"latitude_deg":9.8743368,"altitude":8,"angle":351,"satellites":33,"speed":33,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2b448","is_valid_coordinates":true} 
[2026-09-08 08:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129807655580467200,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872724609893496832,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788835523000,"timestamp_ms":1788835523000,"timestamp_seconds":1788835523,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee7e9b8"} 
[2026-09-08 08:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941890048001,"66":13798,"207":206,"85":15104,"24":33,"16":129807655580467200,"45":8872724609893496832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 08:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129807655580467200,"km_value":129807655580467.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872724609893496832,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941890048001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8872724609893496832}} 
[2026-09-08 08:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:16:00] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:16:00] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:16:03] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:16:03] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:16:03] local.INFO: IMEI packet received {"connection_id":174172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":174172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:16:04] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee7f188012d0b1b0007029d500000006209..."} 
[2026-09-08 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee7f188012d0b1b0007029d500000006209..."} 
[2026-09-08 08:16:04] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee7f188012d0b1b0007029d500000006209..."} 
[2026-09-08 08:16:04] local.INFO: Packet analysis {"connection_id":174172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee7"} 
[2026-09-08 08:16:04] local.INFO: Extracted packet for processing {"connection_id":174172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee7"} 
[2026-09-08 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":755702528,"raw_latitude":117611856,"longitude_deg":75.5702528,"latitude_deg":11.7611856,"altitude":0,"angle":98,"satellites":9,"speed":1,"hex_longitude":"2d0b1b00","hex_latitude":"07029d50","is_valid_coordinates":true} 
[2026-09-08 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941892864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639716869079040,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800233388897021952,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788835525000,"timestamp_ms":1788835525000,"timestamp_seconds":1788835525,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee7f188"} 
[2026-09-08 08:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16: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-09-08 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941892864001,"66":14548,"18":206,"94":10240,"24":1,"16":30639716869079040,"45":800233388897021952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941892864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639716869079040,"km_value":30639716869079.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":800233388897021952,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941892864001,"power":14548,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":800233388897021952}} 
[2026-09-08 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":174172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:16:04] local.INFO: GPS data processed {"connection_id":174172,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:16:04] local.INFO: Acknowledgment sent {"connection_id":174172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:16:04] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee814b0012d7b154005e2d8a80009015f1a..."} 
[2026-09-08 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee814b0012d7b154005e2d8a80009015f1a..."} 
[2026-09-08 08:16:04] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee814b0012d7b154005e2d8a80009015f1a..."} 
[2026-09-08 08:16:04] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:04] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98752680,"longitude_deg":76.3041088,"latitude_deg":9.875268,"altitude":9,"angle":351,"satellites":26,"speed":34,"hex_longitude":"2d7b1540","hex_latitude":"05e2d8a8","is_valid_coordinates":true} 
[2026-09-08 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941893888001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129808110847000576,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870613547570448384,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788835534000,"timestamp_ms":1788835534000,"timestamp_seconds":1788835534,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee814b0"} 
[2026-09-08 08:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941893888001,"66":14026,"207":206,"85":15104,"24":34,"16":129808110847000576,"45":8870613547570448384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941893888001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129808110847000576,"km_value":129808110847000.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870613547570448384,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941893888001,"power":14026,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8870613547570448384}} 
[2026-09-08 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:16:04] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:16:04] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:16:35] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee84390012d7b0fc005e2fbd00007015d18..."} 
[2026-09-08 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee84390012d7b0fc005e2fbd00007015d18..."} 
[2026-09-08 08:16:35] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee84390012d7b0fc005e2fbd00007015d18..."} 
[2026-09-08 08:16:35] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:35] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98761680,"longitude_deg":76.303968,"latitude_deg":9.876168,"altitude":7,"angle":349,"satellites":24,"speed":12,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2fbd0","is_valid_coordinates":true} 
[2026-09-08 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941896704001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129808553228632064,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435200923648,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788835546000,"timestamp_ms":1788835546000,"timestamp_seconds":1788835546,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee84390"} 
[2026-09-08 08:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941896704001,"66":13363,"207":206,"85":15104,"24":12,"16":129808553228632064,"45":8869065435200923648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 08:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941896704001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 08:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129808553228632064,"km_value":129808553228632.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435200923648,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941896704001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8869065435200923648}} 
[2026-09-08 08:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:16:35] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:16:35] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:16:43] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:16:43] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:16:43] local.INFO: IMEI packet received {"connection_id":175507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:16:47] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee80128012d0b1b8007029d500000004e08..."} 
[2026-09-08 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee80128012d0b1b8007029d500000004e08..."} 
[2026-09-08 08:16:47] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee80128012d0b1b8007029d500000004e08..."} 
[2026-09-08 08:16:47] local.INFO: Packet analysis {"connection_id":174172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:47] local.INFO: Extracted packet for processing {"connection_id":174172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":755702656,"raw_latitude":117611856,"longitude_deg":75.5702656,"latitude_deg":11.7611856,"altitude":0,"angle":78,"satellites":8,"speed":1,"hex_longitude":"2d0b1b80","hex_latitude":"07029d50","is_valid_coordinates":true} 
[2026-09-08 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941894400001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639721164046336,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800233388897030144,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788835529000,"timestamp_ms":1788835529000,"timestamp_seconds":1788835529,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee80128"} 
[2026-09-08 08:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941894400001,"66":14494,"18":206,"94":10240,"24":1,"16":30639721164046336,"45":800233388897030144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941894400001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:16:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639721164046336,"km_value":30639721164046.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":800233388897030144,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941894400001,"power":14494,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":800233388897030144}} 
[2026-09-08 08:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":174172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:16:47] local.INFO: GPS data processed {"connection_id":174172,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:16:47] local.INFO: Acknowledgment sent {"connection_id":174172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:16:47] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:16:47] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:16:47] local.INFO: IMEI packet received {"connection_id":175507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:16:48] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:16:48] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:16:48] local.INFO: Packet analysis {"connection_id":175507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:16:48] local.INFO: Extracted packet for processing {"connection_id":175507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16: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-09-08 08:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:16: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-09-08 08:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":175507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:16:48] local.INFO: GPS data processed {"connection_id":175507,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:16:48] local.INFO: Acknowledgment sent {"connection_id":175507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:16:53] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:16:53] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:16:53] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:16:58] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:16:58] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:16:58] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:16:59] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee89598012d7b0bc005e31188000501611b..."} 
[2026-09-08 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee89598012d7b0bc005e31188000501611b..."} 
[2026-09-08 08:16:59] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee89598012d7b0bc005e31188000501611b..."} 
[2026-09-08 08:16:59] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:59] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98767240,"longitude_deg":76.3038656,"latitude_deg":9.876724,"altitude":5,"angle":353,"satellites":27,"speed":24,"hex_longitude":"2d7b0bc0","hex_latitude":"05e31188","is_valid_coordinates":true} 
[2026-09-08 08:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941899776001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129808845286408192,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322831319040,"note":"Value kept but may cause issues"} 
[2026-09-08 08:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835567000,"timestamp_ms":1788835567000,"timestamp_seconds":1788835567,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee89598"} 
[2026-09-08 08:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 08:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941899776001,"66":13906,"208":206,"85":15104,"24":24,"16":129808845286408192,"45":8867517322831319040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941899776001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:16:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129808845286408192,"km_value":129808845286408.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322831319040,"description":"Unknown IO ID 45"} 
[2026-09-08 08:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941899776001,"power":13906,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8867517322831319040}} 
[2026-09-08 08:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:17:00] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:17:00] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:17:20] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:17:20] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:17:20] local.INFO: Packet analysis {"connection_id":175507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:17:20] local.INFO: Extracted packet for processing {"connection_id":175507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:17: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-09-08 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:17: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-09-08 08:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":175507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:17:20] local.INFO: GPS data processed {"connection_id":175507,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:17:20] local.INFO: Acknowledgment sent {"connection_id":175507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:17:22] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee95118012d0b1a4007029d180000012f09..."} 
[2026-09-08 08:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee95118012d0b1a4007029d180000012f09..."} 
[2026-09-08 08:17:22] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee95118012d0b1a4007029d180000012f09..."} 
[2026-09-08 08:17:22] local.INFO: Packet analysis {"connection_id":174172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:17:22] local.INFO: Extracted packet for processing {"connection_id":174172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:17:22] local.INFO: GPS Element Parsed {"raw_longitude":755702336,"raw_latitude":117611800,"longitude_deg":75.5702336,"latitude_deg":11.76118,"altitude":0,"angle":303,"satellites":9,"speed":1,"hex_longitude":"2d0b1a40","hex_latitude":"07029d18","is_valid_coordinates":true} 
[2026-09-08 08:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941916160001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639845718097920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800303757641172992,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788835615000,"timestamp_ms":1788835615000,"timestamp_seconds":1788835615,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee95118"} 
[2026-09-08 08:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941916160001,"66":14450,"18":206,"94":10240,"24":1,"16":30639845718097920,"45":800303757641172992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941916160001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:17:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:17:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639845718097920,"km_value":30639845718097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":800303757641172992,"description":"Unknown IO ID 45"} 
[2026-09-08 08:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941916160001,"power":14450,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":800303757641172992}} 
[2026-09-08 08:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":174172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782498,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:17:22] local.INFO: GPS data processed {"connection_id":174172,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:17:22] local.INFO: Acknowledgment sent {"connection_id":174172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:17:30] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee8cc48012d7b070005e33478000201661a..."} 
[2026-09-08 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee8cc48012d7b070005e33478000201661a..."} 
[2026-09-08 08:17:30] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee8cc48012d7b070005e33478000201661a..."} 
[2026-09-08 08:17:30] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:17:30] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98776184,"longitude_deg":76.303744,"latitude_deg":9.8776184,"altitude":2,"angle":358,"satellites":26,"speed":22,"hex_longitude":"2d7b0700","hex_latitude":"05e33478","is_valid_coordinates":true} 
[2026-09-08 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941905152001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129809283373072384,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422925899776,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788835581000,"timestamp_ms":1788835581000,"timestamp_seconds":1788835581,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee8cc48"} 
[2026-09-08 08:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 08:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941905152001,"66":13972,"208":206,"85":15104,"24":22,"16":129809283373072384,"45":8866391422925899776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941905152001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:17:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129809283373072384,"km_value":129809283373072.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422925899776,"description":"Unknown IO ID 45"} 
[2026-09-08 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941905152001,"power":13972,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866391422925899776}} 
[2026-09-08 08:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:17:31] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:17:31] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:17:42] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:17:42] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:17:42] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:17:47] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:17:47] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:17:47] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:17:48] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:17:48] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:17:48] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:17:48] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:17: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-09-08 08:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:17:48] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:17:48] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:17:53] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee95500012d0b1a0007029d300000011b09..."} 
[2026-09-08 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee95500012d0b1a0007029d300000011b09..."} 
[2026-09-08 08:17:53] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee95500012d0b1a0007029d300000011b09..."} 
[2026-09-08 08:17:53] local.INFO: Packet analysis {"connection_id":174172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:17:53] local.INFO: Extracted packet for processing {"connection_id":174172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:17:53] local.INFO: GPS Element Parsed {"raw_longitude":755702272,"raw_latitude":117611824,"longitude_deg":75.5702272,"latitude_deg":11.7611824,"altitude":0,"angle":283,"satellites":9,"speed":1,"hex_longitude":"2d0b1a00","hex_latitude":"07029d30","is_valid_coordinates":true} 
[2026-09-08 08:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941917440001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639845718097920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800022282664482816,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788835616000,"timestamp_ms":1788835616000,"timestamp_seconds":1788835616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee95500"} 
[2026-09-08 08:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941917440001,"66":14537,"18":206,"94":10240,"24":1,"16":30639845718097920,"45":800022282664482816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941917440001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:17:53] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:17:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639845718097920,"km_value":30639845718097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":800022282664482816,"description":"Unknown IO ID 45"} 
[2026-09-08 08:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941917440001,"power":14537,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":800022282664482816}} 
[2026-09-08 08:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":174172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782501,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:17:53] local.INFO: GPS data processed {"connection_id":174172,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:17:53] local.INFO: Acknowledgment sent {"connection_id":174172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:17:53] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:17:53] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:17:53] local.INFO: IMEI packet received {"connection_id":175508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":175508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:17:58] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:17:59] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:17:59] local.INFO: IMEI packet received {"connection_id":175508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":175508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:17:59] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee8f740012d7b068005e34bb00003015920..."} 
[2026-09-08 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee8f740012d7b068005e34bb00003015920..."} 
[2026-09-08 08:17:59] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee8f740012d7b068005e34bb00003015920..."} 
[2026-09-08 08:17:59] local.INFO: Packet analysis {"connection_id":175508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:17:59] local.INFO: Extracted packet for processing {"connection_id":175508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee8"} 
[2026-09-08 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":98782128,"longitude_deg":76.3037312,"latitude_deg":9.8782128,"altitude":3,"angle":345,"satellites":32,"speed":22,"hex_longitude":"2d7b0680","hex_latitude":"05e34bb0","is_valid_coordinates":true} 
[2026-09-08 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941908736001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129809575430848512,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416788813824,"note":"Value kept but may cause issues"} 
[2026-09-08 08:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835592000,"timestamp_ms":1788835592000,"timestamp_seconds":1788835592,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee8f740"} 
[2026-09-08 08:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 08:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941908736001,"66":13689,"208":206,"85":15104,"24":22,"16":129809575430848512,"45":8865054416788813824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941908736001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129809575430848512,"km_value":129809575430848.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416788813824,"description":"Unknown IO ID 45"} 
[2026-09-08 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941908736001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8865054416788813824}} 
[2026-09-08 08:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":175508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:18:00] local.INFO: GPS data processed {"connection_id":175508,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:18:00] local.INFO: Acknowledgment sent {"connection_id":175508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:18:22] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:18:22] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:18:22] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:18:22] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:18: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-09-08 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:18: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-09-08 08:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:18:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:18:22] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:18:22] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:18:31] local.INFO: TCP Data received {"connection_id":175508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee92a08012d7afa8005e36eb80006015827..."} 
[2026-09-08 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee92a08012d7afa8005e36eb80006015827..."} 
[2026-09-08 08:18:31] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee92a08012d7afa8005e36eb80006015827..."} 
[2026-09-08 08:18:31] local.INFO: Packet analysis {"connection_id":175508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:18:31] local.INFO: Extracted packet for processing {"connection_id":175508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763034240,"raw_latitude":98791096,"longitude_deg":76.303424,"latitude_deg":9.8791096,"altitude":6,"angle":344,"satellites":39,"speed":26,"hex_longitude":"2d7afa80","hex_latitude":"05e36eb8","is_valid_coordinates":true} 
[2026-09-08 08:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941911552001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129810039287316480,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679301980160,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788835605000,"timestamp_ms":1788835605000,"timestamp_seconds":1788835605,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee92a08"} 
[2026-09-08 08:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 08:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941911552001,"66":13917,"208":206,"85":15104,"24":26,"16":129810039287316480,"45":8864913679301980160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941911552001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129810039287316480,"km_value":129810039287316.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679301980160,"description":"Unknown IO ID 45"} 
[2026-09-08 08:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941911552001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8864913679301980160}} 
[2026-09-08 08:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":175508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:18:31] local.INFO: GPS data processed {"connection_id":175508,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:18:31] local.INFO: Acknowledgment sent {"connection_id":175508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:18:33] local.INFO: TCP Data received {"connection_id":174172,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee9a320012d0b1a0007029d700000011e08..."} 
[2026-09-08 08:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee9a320012d0b1a0007029d700000011e08..."} 
[2026-09-08 08:18:33] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee9a320012d0b1a0007029d700000011e08..."} 
[2026-09-08 08:18:33] local.INFO: Packet analysis {"connection_id":174172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:18:33] local.INFO: Extracted packet for processing {"connection_id":174172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:18:33] local.INFO: GPS Element Parsed {"raw_longitude":755702272,"raw_latitude":117611888,"longitude_deg":75.5702272,"latitude_deg":11.7611888,"altitude":0,"angle":286,"satellites":8,"speed":0,"hex_longitude":"2d0b1a00","hex_latitude":"07029d70","is_valid_coordinates":true} 
[2026-09-08 08:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941917696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639871487901696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799951913920311296,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788835636000,"timestamp_ms":1788835636000,"timestamp_seconds":1788835636,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee9a320"} 
[2026-09-08 08:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 08:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941917696001,"66":14461,"18":206,"94":10240,"24":0,"16":30639871487901696,"45":799951913920311296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941917696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639871487901696,"km_value":30639871487901.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":799951913920311296,"description":"Unknown IO ID 45"} 
[2026-09-08 08:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941917696001,"power":14461,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":799951913920311296}} 
[2026-09-08 08:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":174172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:18:33] local.INFO: GPS data processed {"connection_id":174172,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:18:33] local.INFO: Acknowledgment sent {"connection_id":174172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:18:42] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:18:42] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:18:42] local.INFO: IMEI packet received {"connection_id":174174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":174174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:18:47] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:18:47] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:18:47] local.INFO: IMEI packet received {"connection_id":174174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":174174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:18:48] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:18:48] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee63820012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:18:48] local.INFO: Packet analysis {"connection_id":174174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:18:48] local.INFO: Extracted packet for processing {"connection_id":174174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee6"} 
[2026-09-08 08:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941788416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835412000,"timestamp_ms":1788835412000,"timestamp_seconds":1788835412,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee63820"} 
[2026-09-08 08:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:18: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-09-08 08:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 08:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:18: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-09-08 08:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941788416001,"66":25462,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941788416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941788416001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":174174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:18:48] local.INFO: GPS data processed {"connection_id":174174,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:18:48] local.INFO: Acknowledgment sent {"connection_id":174174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:18:54] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:54] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:54] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:18:54] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:54] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:54] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:18:55] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:55] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:55] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:18:57] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:57] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:18:57] local.INFO: IMEI packet received {"connection_id":176937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":176937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:18:58] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee97828012d7af24005e38bd80008015727..."} 
[2026-09-08 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee97828012d7af24005e38bd80008015727..."} 
[2026-09-08 08:18:59] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee97828012d7af24005e38bd80008015727..."} 
[2026-09-08 08:18:59] local.INFO: Packet analysis {"connection_id":176937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:18:59] local.INFO: Extracted packet for processing {"connection_id":176937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763032128,"raw_latitude":98798552,"longitude_deg":76.3032128,"latitude_deg":9.8798552,"altitude":8,"angle":343,"satellites":39,"speed":10,"hex_longitude":"2d7af240","hex_latitude":"05e38bd8","is_valid_coordinates":true} 
[2026-09-08 08:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941914880001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129810412949471232,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861535979583748096,"note":"Value kept but may cause issues"} 
[2026-09-08 08:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835625000,"timestamp_ms":1788835625000,"timestamp_seconds":1788835625,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee97828"} 
[2026-09-08 08:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 08:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941914880001,"66":13928,"208":206,"85":15104,"24":10,"16":129810412949471232,"45":8861535979583748096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941914880001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129810412949471232,"km_value":129810412949471.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861535979583748096,"description":"Unknown IO ID 45"} 
[2026-09-08 08:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941914880001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8861535979583748096}} 
[2026-09-08 08:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":176937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:18:59] local.INFO: GPS data processed {"connection_id":176937,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:18:59] local.INFO: Acknowledgment sent {"connection_id":176937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:00] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee98bb0012d7aefc005e391d8000b014b27..."} 
[2026-09-08 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee98bb0012d7aefc005e391d8000b014b27..."} 
[2026-09-08 08:19:00] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee98bb0012d7aefc005e391d8000b014b27..."} 
[2026-09-08 08:19:00] local.INFO: Packet analysis {"connection_id":176937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:19:00] local.INFO: Extracted packet for processing {"connection_id":176937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98800088,"longitude_deg":76.3031488,"latitude_deg":9.8800088,"altitude":11,"angle":331,"satellites":39,"speed":12,"hex_longitude":"2d7aefc0","hex_latitude":"05e391d8","is_valid_coordinates":true} 
[2026-09-08 08:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941920000001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129810494553849856,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859213811027793920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788835630000,"timestamp_ms":1788835630000,"timestamp_seconds":1788835630,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee98bb0"} 
[2026-09-08 08:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941920000001,"66":13722,"208":206,"85":15104,"24":12,"16":129810494553849856,"45":8859213811027793920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941920000001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129810494553849856,"km_value":129810494553849.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859213811027793920,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941920000001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8859213811027793920}} 
[2026-09-08 08:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":176937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:00] local.INFO: GPS data processed {"connection_id":176937,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:00] local.INFO: Acknowledgment sent {"connection_id":176937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:03] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:19:03] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:19:03] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:19:08] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:19:08] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:19:08] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:19:09] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ee9ed58012d0b1a4007029d400000007309..."} 
[2026-09-08 08:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ee9ed58012d0b1a4007029d400000007309..."} 
[2026-09-08 08:19:09] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ee9ed58012d0b1a4007029d400000007309..."} 
[2026-09-08 08:19:09] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:19:09] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ee9"} 
[2026-09-08 08:19:09] local.INFO: GPS Element Parsed {"raw_longitude":755702336,"raw_latitude":117611840,"longitude_deg":75.5702336,"latitude_deg":11.761184,"altitude":0,"angle":115,"satellites":9,"speed":1,"hex_longitude":"2d0b1a40","hex_latitude":"07029d40","is_valid_coordinates":true} 
[2026-09-08 08:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941922816001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639880077836288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799951913920327680,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788835655000,"timestamp_ms":1788835655000,"timestamp_seconds":1788835655,"priority":1,"record_length":96,"hex_timestamp":"000001a07ee9ed58"} 
[2026-09-08 08:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941922816001,"66":14450,"18":206,"94":10240,"24":1,"16":30639880077836288,"45":799951913920327680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941922816001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:19:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639880077836288,"km_value":30639880077836.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":799951913920327680,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941922816001,"power":14450,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":799951913920327680}} 
[2026-09-08 08:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:09] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:09] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:10] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eea27f0012d0b1ac007029d300000010a0a..."} 
[2026-09-08 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eea27f0012d0b1ac007029d300000010a0a..."} 
[2026-09-08 08:19:10] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eea27f0012d0b1ac007029d300000010a0a..."} 
[2026-09-08 08:19:10] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:19:10] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":755702464,"raw_latitude":117611824,"longitude_deg":75.5702464,"latitude_deg":11.7611824,"altitude":0,"angle":266,"satellites":10,"speed":1,"hex_longitude":"2d0b1ac0","hex_latitude":"07029d30","is_valid_coordinates":true} 
[2026-09-08 08:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941927680001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639884372803584,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800022282664493056,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788835670000,"timestamp_ms":1788835670000,"timestamp_seconds":1788835670,"priority":1,"record_length":96,"hex_timestamp":"000001a07eea27f0"} 
[2026-09-08 08:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941927680001,"66":13820,"18":206,"94":10240,"24":1,"16":30639884372803584,"45":800022282664493056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-08 08:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941927680001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 08:19:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639884372803584,"km_value":30639884372803.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":800022282664493056,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941927680001,"power":13820,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":800022282664493056}} 
[2026-09-08 08:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:11] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:11] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:19] local.INFO: TCP Data received {"connection_id":174174,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:19:20] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:19:20] local.INFO: Packet analysis {"connection_id":174174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:19:20] local.INFO: Extracted packet for processing {"connection_id":174174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19: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-09-08 08:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":174174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:20] local.INFO: GPS data processed {"connection_id":174174,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:20] local.INFO: Acknowledgment sent {"connection_id":174174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:33] local.INFO: TCP Data received {"connection_id":176937,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeb2da8012d7acb0005e411680007011b26..."} 
[2026-09-08 08:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeb2da8012d7acb0005e411680007011b26..."} 
[2026-09-08 08:19:33] local.INFO: Processing buffer {"connection_id":176937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeb2da8012d7acb0005e411680007011b26..."} 
[2026-09-08 08:19:33] local.INFO: Packet analysis {"connection_id":176937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:19:33] local.INFO: Extracted packet for processing {"connection_id":176937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832744,"longitude_deg":76.302208,"latitude_deg":9.8832744,"altitude":7,"angle":283,"satellites":38,"speed":6,"hex_longitude":"2d7acb00","hex_latitude":"05e41168","is_valid_coordinates":true} 
[2026-09-08 08:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941948416001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812156706193408,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944821248,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788835737000,"timestamp_ms":1788835737000,"timestamp_seconds":1788835737,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeb2da8"} 
[2026-09-08 08:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941948416001,"66":13820,"208":206,"85":15104,"24":6,"16":129812156706193408,"45":8848236286944821248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941948416001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812156706193408,"km_value":129812156706193.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944821248,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941948416001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848236286944821248}} 
[2026-09-08 08:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":176937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:33] local.INFO: GPS data processed {"connection_id":176937,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:33] local.INFO: Acknowledgment sent {"connection_id":176937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:42] local.INFO: TCP Data received {"connection_id":174428,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:19:42] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:19:42] local.INFO: IMEI packet received {"connection_id":174428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:19:44] local.INFO: TCP Data received {"connection_id":175509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:19:44] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:19:44] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:19:47] local.INFO: TCP Data received {"connection_id":174428,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:19:47] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:19:47] local.INFO: IMEI packet received {"connection_id":174428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:19:48] local.INFO: TCP Data received {"connection_id":174428,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:19:48] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:19:48] local.INFO: Packet analysis {"connection_id":174428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:19:48] local.INFO: Extracted packet for processing {"connection_id":174428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19: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-09-08 08:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:19: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-09-08 08:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":174428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:48] local.INFO: GPS data processed {"connection_id":174428,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:48] local.INFO: Acknowledgment sent {"connection_id":174428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:53] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:19:53] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:19:53] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:19:57] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eebae90012d0b19c007029d600000007a0b..."} 
[2026-09-08 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eebae90012d0b19c007029d600000007a0b..."} 
[2026-09-08 08:19:57] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eebae90012d0b19c007029d600000007a0b..."} 
[2026-09-08 08:19:57] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:19:57] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":755702208,"raw_latitude":117611872,"longitude_deg":75.5702208,"latitude_deg":11.7611872,"altitude":0,"angle":122,"satellites":11,"speed":2,"hex_longitude":"2d0b19c0","hex_latitude":"07029d60","is_valid_coordinates":true} 
[2026-09-08 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941956352001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30640008926855168,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799811176431984640,"note":"Value kept but may cause issues"} 
[2026-09-08 08:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788835770000,"timestamp_ms":1788835770000,"timestamp_seconds":1788835770,"priority":1,"record_length":96,"hex_timestamp":"000001a07eebae90"} 
[2026-09-08 08:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 08:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941956352001,"66":14537,"178":206,"94":10240,"24":2,"16":30640008926855168,"45":799811176431984640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-08 08:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941956352001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:19:57] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 08:19:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30640008926855168,"km_value":30640008926855.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":799811176431984640,"description":"Unknown IO ID 45"} 
[2026-09-08 08:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941956352001,"power":14537,"unknown_178":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":799811176431984640}} 
[2026-09-08 08:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782514,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:19:57] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:19:57] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:19:58] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:19:58] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:19:58] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:20:00] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeb3578012d7ac98005e411500008010327..."} 
[2026-09-08 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeb3578012d7ac98005e411500008010327..."} 
[2026-09-08 08:20:00] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeb3578012d7ac98005e411500008010327..."} 
[2026-09-08 08:20:00] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:20:00] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":98832720,"longitude_deg":76.3021696,"latitude_deg":9.883272,"altitude":8,"angle":259,"satellites":39,"speed":6,"hex_longitude":"2d7ac980","hex_latitude":"05e41150","is_valid_coordinates":true} 
[2026-09-08 08:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941948672001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812173886062592,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200653824,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788835739000,"timestamp_ms":1788835739000,"timestamp_seconds":1788835739,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeb3578"} 
[2026-09-08 08:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 08:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941948672001,"66":13624,"208":206,"85":15104,"24":6,"16":129812173886062592,"45":8848165918200653824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941948672001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:20:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812173886062592,"km_value":129812173886062.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200653824,"description":"Unknown IO ID 45"} 
[2026-09-08 08:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941948672001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848165918200653824}} 
[2026-09-08 08:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:20:00] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:20:00] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:20:03] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:03] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:03] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:20:04] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:04] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:04] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:20:06] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:06] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:20:06] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:20:06] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eebbe30012d0b1a0007029cf8000000880b..."} 
[2026-09-08 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eebbe30012d0b1a0007029cf8000000880b..."} 
[2026-09-08 08:20:06] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eebbe30012d0b1a0007029cf8000000880b..."} 
[2026-09-08 08:20:06] local.INFO: Packet analysis {"connection_id":174429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:20:06] local.INFO: Extracted packet for processing {"connection_id":174429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":755702272,"raw_latitude":117611768,"longitude_deg":75.5702272,"latitude_deg":11.7611768,"altitude":0,"angle":136,"satellites":11,"speed":1,"hex_longitude":"2d0b1a00","hex_latitude":"07029cf8","is_valid_coordinates":true} 
[2026-09-08 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941957120001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30640017516789760,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799881545176145920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788835774000,"timestamp_ms":1788835774000,"timestamp_seconds":1788835774,"priority":1,"record_length":96,"hex_timestamp":"000001a07eebbe30"} 
[2026-09-08 08:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941957120001,"66":14461,"178":206,"94":10240,"24":1,"16":30640017516789760,"45":799881545176145920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-08 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941957120001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:20:06] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 08:20:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30640017516789760,"km_value":30640017516789.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":799881545176145920,"description":"Unknown IO ID 45"} 
[2026-09-08 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941957120001,"power":14461,"unknown_178":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":799881545176145920}} 
[2026-09-08 08:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":174429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:20:07] local.INFO: GPS data processed {"connection_id":174429,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:20:07] local.INFO: Acknowledgment sent {"connection_id":174429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:20:20] local.INFO: TCP Data received {"connection_id":174428,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:20:20] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:20:20] local.INFO: Packet analysis {"connection_id":174428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:20:20] local.INFO: Extracted packet for processing {"connection_id":174428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:20: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-09-08 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:20:20] local.INFO: GPS data processed {"connection_id":174428,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:20:20] local.INFO: Acknowledgment sent {"connection_id":174428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:20:31] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeb8398012d7aa8c005e40b100008010121..."} 
[2026-09-08 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeb8398012d7aa8c005e40b100008010121..."} 
[2026-09-08 08:20:31] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeb8398012d7aa8c005e40b100008010121..."} 
[2026-09-08 08:20:31] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:20:31] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763013312,"raw_latitude":98831120,"longitude_deg":76.3013312,"latitude_deg":9.883112,"altitude":8,"angle":257,"satellites":33,"speed":19,"hex_longitude":"2d7aa8c0","hex_latitude":"05e40b10","is_valid_coordinates":true} 
[2026-09-08 08:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941949184001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812586202923008,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847743705735581696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788835759000,"timestamp_ms":1788835759000,"timestamp_seconds":1788835759,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeb8398"} 
[2026-09-08 08:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 08:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941949184001,"66":13678,"208":206,"85":15104,"24":19,"16":129812586202923008,"45":8847743705735581696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941949184001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:20:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:20:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812586202923008,"km_value":129812586202923.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847743705735581696,"description":"Unknown IO ID 45"} 
[2026-09-08 08:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941949184001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8847743705735581696}} 
[2026-09-08 08:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:20:31] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:20:31] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:20:42] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:20:42] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:20:42] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:20:42] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eec6df8012d0b0f400702a4a8000001360b..."} 
[2026-09-08 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eec6df8012d0b0f400702a4a8000001360b..."} 
[2026-09-08 08:20:42] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eec6df8012d0b0f400702a4a8000001360b..."} 
[2026-09-08 08:20:42] local.INFO: Packet analysis {"connection_id":174429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:20:42] local.INFO: Extracted packet for processing {"connection_id":174429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117613736,"longitude_deg":75.569952,"latitude_deg":11.7613736,"altitude":0,"angle":310,"satellites":11,"speed":7,"hex_longitude":"2d0b0f40","hex_latitude":"0702a4a8","is_valid_coordinates":true} 
[2026-09-08 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941968384001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30640236560121856,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851595253760,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788835819000,"timestamp_ms":1788835819000,"timestamp_seconds":1788835819,"priority":1,"record_length":96,"hex_timestamp":"000001a07eec6df8"} 
[2026-09-08 08:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 08:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941968384001,"66":14450,"17":206,"94":11008,"24":7,"16":30640236560121856,"45":797840851595253760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 08:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941968384001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30640236560121856,"km_value":30640236560121.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851595253760,"description":"Unknown IO ID 45"} 
[2026-09-08 08:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941968384001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":797840851595253760}} 
[2026-09-08 08:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":174429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:20:43] local.INFO: GPS data processed {"connection_id":174429,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:20:43] local.INFO: Acknowledgment sent {"connection_id":174429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:20:47] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:20:47] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:20:47] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:20:48] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:20:48] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:20:48] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:20:48] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:20: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-09-08 08: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":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:20:48] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:20:48] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:20:53] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:20:53] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:20:53] local.INFO: IMEI packet received {"connection_id":176938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":176938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:20:59] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:20:59] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:20:59] local.INFO: IMEI packet received {"connection_id":176938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":176938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:21:02] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:21:02] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:21:02] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:21:03] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 08:21:03] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 08:21:03] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:21:03] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eec9120012d0b09400702aaa0000001420b..."} 
[2026-09-08 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eec9120012d0b09400702aaa0000001420b..."} 
[2026-09-08 08:21:03] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07e..."} 
[2026-09-08 08:21:03] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:21:04] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeca4a8012d0b06800702b018000001500b..."} 
[2026-09-08 08:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeca4a8012d0b06800702b018000001500b..."} 
[2026-09-08 08:21:04] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07eec9120012d0b09400702aaa0000001420b..."} 
[2026-09-08 08:21:04] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:21:04] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":755697984,"raw_latitude":117615264,"longitude_deg":75.5697984,"latitude_deg":11.7615264,"altitude":0,"angle":322,"satellites":11,"speed":8,"hex_longitude":"2d0b0940","hex_latitude":"0702aaa0","is_valid_coordinates":true} 
[2026-09-08 08:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941969664001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30640339639336960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057921161216,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788835828000,"timestamp_ms":1788835828000,"timestamp_seconds":1788835828,"priority":1,"record_length":96,"hex_timestamp":"000001a07eec9120"} 
[2026-09-08 08:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941969664001,"66":14450,"17":206,"94":11008,"24":8,"16":30640339639336960,"45":796926057921161216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941969664001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30640339639336960,"km_value":30640339639336.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057921161216,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941969664001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":796926057921161216}} 
[2026-09-08 08:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:04] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:04] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:04] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:21:04] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":755697280,"raw_latitude":117616664,"longitude_deg":75.569728,"latitude_deg":11.7616664,"altitude":0,"angle":336,"satellites":11,"speed":12,"hex_longitude":"2d0b0680","hex_latitude":"0702b018","is_valid_coordinates":true} 
[2026-09-08 08:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941971968001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30640416948748288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795237208061288448,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788835833000,"timestamp_ms":1788835833000,"timestamp_seconds":1788835833,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeca4a8"} 
[2026-09-08 08:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941971968001,"66":14559,"17":206,"94":11008,"24":12,"16":30640416948748288,"45":795237208061288448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 08:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941971968001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30640416948748288,"km_value":30640416948748.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":795237208061288448,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941971968001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":795237208061288448}} 
[2026-09-08 08:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:04] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:04] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:05] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eecb830012d0b04400702b7100000015e0b..."} 
[2026-09-08 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eecb830012d0b04400702b7100000015e0b..."} 
[2026-09-08 08:21:05] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eecb830012d0b04400702b7100000015e0b..."} 
[2026-09-08 08:21:05] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:21:05] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eec"} 
[2026-09-08 08:21:05] local.INFO: GPS Element Parsed {"raw_longitude":755696704,"raw_latitude":117618448,"longitude_deg":75.5696704,"latitude_deg":11.7618448,"altitude":0,"angle":350,"satellites":11,"speed":15,"hex_longitude":"2d0b0440","hex_latitude":"0702b710","is_valid_coordinates":true} 
[2026-09-08 08:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941973248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30640507143061504,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794463151875692544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788835838000,"timestamp_ms":1788835838000,"timestamp_seconds":1788835838,"priority":1,"record_length":96,"hex_timestamp":"000001a07eecb830"} 
[2026-09-08 08:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941973248001,"66":14450,"17":206,"94":11008,"24":15,"16":30640507143061504,"45":794463151875692544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 08:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941973248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30640507143061504,"km_value":30640507143061.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":794463151875692544,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941973248001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":794463151875692544}} 
[2026-09-08 08:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:05] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:05] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:06] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eebc600012d7a9e4005e409a80006011f21..."} 
[2026-09-08 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eebc600012d7a9e4005e409a80006011f21..."} 
[2026-09-08 08:21:06] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eebc600012d7a9e4005e409a80006011f21..."} 
[2026-09-08 08:21:06] local.INFO: Packet analysis {"connection_id":176938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:21:06] local.INFO: Extracted packet for processing {"connection_id":176938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98830760,"longitude_deg":76.3010624,"latitude_deg":9.883076,"altitude":6,"angle":287,"satellites":33,"speed":3,"hex_longitude":"2d7a9e40","hex_latitude":"05e409a8","is_valid_coordinates":true} 
[2026-09-08 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941954304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812719346909184,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838525400247898112,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788835776000,"timestamp_ms":1788835776000,"timestamp_seconds":1788835776,"priority":1,"record_length":96,"hex_timestamp":"000001a07eebc600"} 
[2026-09-08 08:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941954304001,"66":13678,"208":206,"85":15104,"24":3,"16":129812719346909184,"45":8838525400247898112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941954304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812719346909184,"km_value":129812719346909.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838525400247898112,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941954304001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8838525400247898112}} 
[2026-09-08 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":176938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:06] local.INFO: GPS data processed {"connection_id":176938,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:06] local.INFO: Acknowledgment sent {"connection_id":176938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:20] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:21:20] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:21:20] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:21:20] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21: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-09-08 08:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:21: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-09-08 08:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:20] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:20] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:37] local.INFO: TCP Data received {"connection_id":176938,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eebe158012d7a9f4005e409880006005e20..."} 
[2026-09-08 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eebe158012d7a9f4005e409880006005e20..."} 
[2026-09-08 08:21:37] local.INFO: Processing buffer {"connection_id":176938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eebe158012d7a9f4005e409880006005e20..."} 
[2026-09-08 08:21:37] local.INFO: Packet analysis {"connection_id":176938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:21:37] local.INFO: Extracted packet for processing {"connection_id":176938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98830728,"longitude_deg":76.301088,"latitude_deg":9.8830728,"altitude":6,"angle":94,"satellites":32,"speed":2,"hex_longitude":"2d7a9f40","hex_latitude":"05e40988","is_valid_coordinates":true} 
[2026-09-08 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941958656001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812732231811072,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569912992344064,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788835783000,"timestamp_ms":1788835783000,"timestamp_seconds":1788835783,"priority":1,"record_length":96,"hex_timestamp":"000001a07eebe158"} 
[2026-09-08 08:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941958656001,"66":13602,"208":206,"85":15104,"24":2,"16":129812732231811072,"45":8835569912992344064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941958656001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812732231811072,"km_value":129812732231811.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569912992344064,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941958656001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835569912992344064}} 
[2026-09-08 08:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":176938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:37] local.INFO: GPS data processed {"connection_id":176938,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:37] local.INFO: Acknowledgment sent {"connection_id":176938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:37] local.INFO: TCP Data received {"connection_id":175511,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07eed44d0012d0ae9c00702d4e8000200060d..."} 
[2026-09-08 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eed44d0012d0ae9c00702d4e8000200060d..."} 
[2026-09-08 08:21:37] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eed44d0012d0ae9c00702d4e8000200060d..."} 
[2026-09-08 08:21:37] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eed"} 
[2026-09-08 08:21:37] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eed"} 
[2026-09-08 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":755689920,"raw_latitude":117626088,"longitude_deg":75.568992,"latitude_deg":11.7626088,"altitude":2,"angle":6,"satellites":13,"speed":11,"hex_longitude":"2d0ae9c0","hex_latitude":"0702d4e8","is_valid_coordinates":true} 
[2026-09-08 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941983488001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30641061193842688,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786370746297602048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788835874000,"timestamp_ms":1788835874000,"timestamp_seconds":1788835874,"priority":1,"record_length":96,"hex_timestamp":"000001a07eed44d0"} 
[2026-09-08 08:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941983488001,"66":14515,"17":206,"94":11008,"24":11,"16":30641061193842688,"45":786370746297602048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 08:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941983488001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30641061193842688,"km_value":30641061193842.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":786370746297602048,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941983488001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":786370746297602048}} 
[2026-09-08 08:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:38] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:38] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:42] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:21:42] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:21:42] local.INFO: IMEI packet received {"connection_id":174175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":174175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:21:47] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:21:47] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:21:47] local.INFO: IMEI packet received {"connection_id":174175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:21:48] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:21:48] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:21:48] local.INFO: Packet analysis {"connection_id":174175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:21:48] local.INFO: Extracted packet for processing {"connection_id":174175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21: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-09-08 08:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:21: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-09-08 08:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":174175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:48] local.INFO: GPS data processed {"connection_id":174175,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:48] local.INFO: Acknowledgment sent {"connection_id":174175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:21:53] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:53] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:53] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:21:57] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:57] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:57] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:21:58] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:58] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:21:58] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:21:59] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eebe928012d7aa00005e409500006006c20..."} 
[2026-09-08 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eebe928012d7aa00005e409500006006c20..."} 
[2026-09-08 08:21:59] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eebe928012d7aa00005e409500006006c20..."} 
[2026-09-08 08:21:59] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:21:59] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":98830672,"longitude_deg":76.3011072,"latitude_deg":9.8830672,"altitude":6,"angle":108,"satellites":32,"speed":3,"hex_longitude":"2d7aa000","hex_latitude":"05e40950","is_valid_coordinates":true} 
[2026-09-08 08:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941960448001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812740821745664,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969046528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835785000,"timestamp_ms":1788835785000,"timestamp_seconds":1788835785,"priority":1,"record_length":96,"hex_timestamp":"000001a07eebe928"} 
[2026-09-08 08:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 08:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941960448001,"66":13559,"208":206,"85":15104,"24":3,"16":129812740821745664,"45":8835851387969046528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941960448001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812740821745664,"km_value":129812740821745.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969046528,"description":"Unknown IO ID 45"} 
[2026-09-08 08:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941960448001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8835851387969046528}} 
[2026-09-08 08:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:21:59] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:21:59] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:22:00] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eebf0f8012d7aa08005e409400006007c1f..."} 
[2026-09-08 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eebf0f8012d7aa08005e409400006007c1f..."} 
[2026-09-08 08:22:00] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eebf0f8012d7aa08005e409400006007c1f..."} 
[2026-09-08 08:22:00] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:22:00] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eeb"} 
[2026-09-08 08:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763011200,"raw_latitude":98830656,"longitude_deg":76.30112,"latitude_deg":9.8830656,"altitude":6,"angle":124,"satellites":31,"speed":1,"hex_longitude":"2d7aa080","hex_latitude":"05e40940","is_valid_coordinates":true} 
[2026-09-08 08:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941960960001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129812745116712960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494201565184,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788835787000,"timestamp_ms":1788835787000,"timestamp_seconds":1788835787,"priority":1,"record_length":96,"hex_timestamp":"000001a07eebf0f8"} 
[2026-09-08 08:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 08:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941960960001,"66":13722,"208":206,"85":15104,"24":1,"16":129812745116712960,"45":8836062494201565184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941960960001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:22:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129812745116712960,"km_value":129812745116712.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494201565184,"description":"Unknown IO ID 45"} 
[2026-09-08 08:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941960960001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8836062494201565184}} 
[2026-09-08 08:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:22:00] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:22:00] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:22:20] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:22:20] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:22:20] local.INFO: Packet analysis {"connection_id":174175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:22:20] local.INFO: Extracted packet for processing {"connection_id":174175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:22: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-09-08 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:22: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-09-08 08:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":174175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:22:20] local.INFO: GPS data processed {"connection_id":174175,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:22:20] local.INFO: Acknowledgment sent {"connection_id":174175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:22:31] local.INFO: TCP Data received {"connection_id":175512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eedf0b0012d7acd0005e410600005009228..."} 
[2026-09-08 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eedf0b0012d7acd0005e410600005009228..."} 
[2026-09-08 08:22:31] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eedf0b0012d7acd0005e410600005009228..."} 
[2026-09-08 08:22:31] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eed"} 
[2026-09-08 08:22:31] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eed"} 
[2026-09-08 08:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832480,"longitude_deg":76.3022592,"latitude_deg":9.883248,"altitude":5,"angle":146,"satellites":40,"speed":9,"hex_longitude":"2d7acd00","hex_latitude":"05e41060","is_valid_coordinates":true} 
[2026-09-08 08:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941994752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129813337822199808,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665695232,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788835918000,"timestamp_ms":1788835918000,"timestamp_seconds":1788835918,"priority":1,"record_length":96,"hex_timestamp":"000001a07eedf0b0"} 
[2026-09-08 08:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 08:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941994752001,"66":13559,"208":206,"85":15104,"24":9,"16":129813337822199808,"45":8848588130665695232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941994752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:22:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129813337822199808,"km_value":129813337822199.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665695232,"description":"Unknown IO ID 45"} 
[2026-09-08 08:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941994752001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848588130665695232}} 
[2026-09-08 08:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:22:31] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:22:31] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:22:36] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:22:36] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:22:36] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:22:38] local.INFO: TCP Data received {"connection_id":175513,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:22:38] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:22:38] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:22:42] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:22:42] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:22:42] local.INFO: IMEI packet received {"connection_id":174176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":174176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:22:48] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:22:48] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:22:48] local.INFO: IMEI packet received {"connection_id":174176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":174176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:22:49] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:22:49] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:22:49] local.INFO: Packet analysis {"connection_id":174176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:22:49] local.INFO: Extracted packet for processing {"connection_id":174176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08: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":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08: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-09-08 08:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":174176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:22:49] local.INFO: GPS data processed {"connection_id":174176,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:22:49] local.INFO: Acknowledgment sent {"connection_id":174176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:22:53] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:22:53] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:22:53] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:22:58] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:22:58] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:22:58] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:22:59] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eedfc68012d7acec005e40cb0000500a129..."} 
[2026-09-08 08:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eedfc68012d7acec005e40cb0000500a129..."} 
[2026-09-08 08:22:59] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eedfc68012d7acec005e40cb0000500a129..."} 
[2026-09-08 08:22:59] local.INFO: Packet analysis {"connection_id":174432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eed"} 
[2026-09-08 08:22:59] local.INFO: Extracted packet for processing {"connection_id":174432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eed"} 
[2026-09-08 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":98831536,"longitude_deg":76.302304,"latitude_deg":9.8831536,"altitude":5,"angle":161,"satellites":41,"speed":15,"hex_longitude":"2d7acec0","hex_latitude":"05e40cb0","is_valid_coordinates":true} 
[2026-09-08 08:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941995008001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129813389361807360,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868154007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788835921000,"timestamp_ms":1788835921000,"timestamp_seconds":1788835921,"priority":1,"record_length":96,"hex_timestamp":"000001a07eedfc68"} 
[2026-09-08 08:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 08:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941995008001,"66":13580,"208":206,"85":15104,"24":15,"16":129813389361807360,"45":8848728868154007552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941995008001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129813389361807360,"km_value":129813389361807.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868154007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941995008001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8848728868154007552}} 
[2026-09-08 08:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":174432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:22:59] local.INFO: GPS data processed {"connection_id":174432,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:22:59] local.INFO: Acknowledgment sent {"connection_id":174432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:23:03] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:23:03] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:23:03] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:23:04] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:23:04] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:23:04] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:23:20] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:23:20] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:23:20] local.INFO: Packet analysis {"connection_id":174176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:23:20] local.INFO: Extracted packet for processing {"connection_id":174176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:23: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-09-08 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:23: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-09-08 08:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":174176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:23:20] local.INFO: GPS data processed {"connection_id":174176,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:23:20] local.INFO: Acknowledgment sent {"connection_id":174176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:23:30] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eee3318012d7ad60005e3ea10000500ab29..."} 
[2026-09-08 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eee3318012d7ad60005e3ea10000500ab29..."} 
[2026-09-08 08:23:30] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eee3318012d7ad60005e3ea10000500ab29..."} 
[2026-09-08 08:23:30] local.INFO: Packet analysis {"connection_id":174432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eee"} 
[2026-09-08 08:23:30] local.INFO: Extracted packet for processing {"connection_id":174432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eee"} 
[2026-09-08 08:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763024896,"raw_latitude":98822672,"longitude_deg":76.3024896,"latitude_deg":9.8822672,"altitude":5,"angle":171,"satellites":41,"speed":24,"hex_longitude":"2d7ad600","hex_latitude":"05e3ea10","is_valid_coordinates":true} 
[2026-09-08 08:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941995776001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129813827448471552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449363009536,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788835935000,"timestamp_ms":1788835935000,"timestamp_seconds":1788835935,"priority":1,"record_length":96,"hex_timestamp":"000001a07eee3318"} 
[2026-09-08 08:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631664,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825905664,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3661416601447563264,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3991205889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637031341907920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":812908544,"corrected_to":0} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221611536,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6953551347675299834,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":5188372582126112341,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,48,160,240,45,5,40,10,66,236,128,17,232,1,227,126,228,4,113,205,2,154,197,30,239,51,6,122,54,59],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":812908544,"validated":0}]} 
[2026-09-08 08:23:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360465167656353792,"timestamp_seconds":360465167656353.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941995776001,"66":13602,"208":206,"85":15104,"24":24,"16":129813827448471552,"45":8849221449363009536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941995776001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:23:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129813827448471552,"km_value":129813827448471.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449363009536,"description":"Unknown IO ID 45"} 
[2026-09-08 08:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941995776001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8849221449363009536}} 
[2026-09-08 08:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":174432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:23:30] local.INFO: GPS data processed {"connection_id":174432,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:23:30] local.INFO: Acknowledgment sent {"connection_id":174432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:23:42] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:23:42] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:23:42] local.INFO: IMEI packet received {"connection_id":175514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":175514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:23:47] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:23:47] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:23:47] local.INFO: IMEI packet received {"connection_id":175514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":175514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:23:49] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:23:49] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeacfe8012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:23:49] local.INFO: Packet analysis {"connection_id":175514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:23:49] local.INFO: Extracted packet for processing {"connection_id":175514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eea"} 
[2026-09-08 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941865472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788835713000,"timestamp_ms":1788835713000,"timestamp_seconds":1788835713,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeacfe8"} 
[2026-09-08 08:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 08:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:23: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-09-08 08:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941865472001,"66":25343,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941865472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941865472001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":175514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:23:49] local.INFO: GPS data processed {"connection_id":175514,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:23:49] local.INFO: Acknowledgment sent {"connection_id":175514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:23:58] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:23:58] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:23:58] local.INFO: IMEI packet received {"connection_id":176940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":176940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:24:03] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:03] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:03] local.INFO: IMEI packet received {"connection_id":176940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":176940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:24:05] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef63c8012d7b0c4005e355080009001922..."} 
[2026-09-08 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef63c8012d7b0c4005e355080009001922..."} 
[2026-09-08 08:24:05] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef63c8012d7b0c4005e355080009001922..."} 
[2026-09-08 08:24:05] local.INFO: Packet analysis {"connection_id":176940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:05] local.INFO: Extracted packet for processing {"connection_id":176940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98784520,"longitude_deg":76.3038784,"latitude_deg":9.878452,"altitude":9,"angle":25,"satellites":34,"speed":5,"hex_longitude":"2d7b0c40","hex_latitude":"05e35508","is_valid_coordinates":true} 
[2026-09-08 08:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942018816001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129815867557937152,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685441875968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788836013000,"timestamp_ms":1788836013000,"timestamp_seconds":1788836013,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef63c8"} 
[2026-09-08 08:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-8923882635854142976,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4014757889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":852033536,"corrected_to":0} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2147869523,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926175,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814787072,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.WARNING: Large IO value detected {"io_id":238,"raw_value":-972776224663961595,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,50,160,88,45,192,83,9,39,10,66,84,64,82,38,80,128,1,240,225,227,126,4,113,205,7,72,8,152,239,52,2,5,30,182,238],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":852033536,"validated":0}]} 
[2026-09-08 08:24:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648562477130973184,"timestamp_seconds":648562477130973.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942018816001,"66":13189,"208":206,"85":15104,"24":5,"16":129815867557937152,"45":8866250685441875968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942018816001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:24:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129815867557937152,"km_value":129815867557937.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685441875968,"description":"Unknown IO ID 45"} 
[2026-09-08 08:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942018816001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866250685441875968}} 
[2026-09-08 08:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":176940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:24:05] local.INFO: GPS data processed {"connection_id":176940,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:24:05] local.INFO: Acknowledgment sent {"connection_id":176940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:24:09] local.INFO: TCP Data received {"connection_id":176940,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef9a78012d7b0ec005e35a20000a002c23..."} 
[2026-09-08 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef9a78012d7b0ec005e35a20000a002c23..."} 
[2026-09-08 08:24:09] local.INFO: Processing buffer {"connection_id":176940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef9a78012d7b0ec005e35a20000a002c23..."} 
[2026-09-08 08:24:09] local.INFO: Packet analysis {"connection_id":176940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:09] local.INFO: Extracted packet for processing {"connection_id":176940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98785824,"longitude_deg":76.3039424,"latitude_deg":9.8785824,"altitude":10,"angle":44,"satellites":35,"speed":4,"hex_longitude":"2d7b0ec0","hex_latitude":"05e35a20","is_valid_coordinates":true} 
[2026-09-08 08:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019328001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129815940572381184,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160418678784,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788836027000,"timestamp_ms":1788836027000,"timestamp_seconds":1788836027,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef9a78"} 
[2026-09-08 08:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 08:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019328001,"66":13254,"208":206,"85":15104,"24":4,"16":129815940572381184,"45":8866532160418678784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019328001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:24:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129815940572381184,"km_value":129815940572381.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160418678784,"description":"Unknown IO ID 45"} 
[2026-09-08 08:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019328001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8866532160418678784}} 
[2026-09-08 08:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":176940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:24:09] local.INFO: GPS data processed {"connection_id":176940,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:24:09] local.INFO: Acknowledgment sent {"connection_id":176940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:24:20] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:24:20] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:24:20] local.INFO: Packet analysis {"connection_id":175514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:20] local.INFO: Extracted packet for processing {"connection_id":175514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:24: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-09-08 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:24: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-09-08 08:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08: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-09-08 08:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:24:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":175514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:24:20] local.INFO: GPS data processed {"connection_id":175514,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:24:20] local.INFO: Acknowledgment sent {"connection_id":175514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:24:48] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:24:48] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:24:48] local.INFO: IMEI packet received {"connection_id":174180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":174180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:24:52] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:24:52] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:24:52] local.INFO: IMEI packet received {"connection_id":174180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:24:53] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:24:53] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:24:53] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:53] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:24: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":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:24:53] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:24:53] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:24:54] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:54] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:54] local.INFO: IMEI packet received {"connection_id":174433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":174433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:24:58] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:58] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:24:58] local.INFO: IMEI packet received {"connection_id":174433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":174433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:24:59] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eefa248012d7b0f4005e35aa0000a001e22..."} 
[2026-09-08 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eefa248012d7b0f4005e35aa0000a001e22..."} 
[2026-09-08 08:24:59] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eefa248012d7b0f4005e35aa0000a001e22..."} 
[2026-09-08 08:24:59] local.INFO: Packet analysis {"connection_id":174433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:59] local.INFO: Extracted packet for processing {"connection_id":174433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98785952,"longitude_deg":76.3039552,"latitude_deg":9.8785952,"altitude":10,"angle":30,"satellites":34,"speed":1,"hex_longitude":"2d7b0f40","hex_latitude":"05e35aa0","is_valid_coordinates":true} 
[2026-09-08 08:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942022912001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129815949162315776,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847860789248,"note":"Value kept but may cause issues"} 
[2026-09-08 08:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836029000,"timestamp_ms":1788836029000,"timestamp_seconds":1788836029,"priority":1,"record_length":96,"hex_timestamp":"000001a07eefa248"} 
[2026-09-08 08:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 08:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942022912001,"66":13406,"208":206,"85":15104,"24":1,"16":129815949162315776,"45":8867235847860789248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942022912001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:24:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129815949162315776,"km_value":129815949162315.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847860789248,"description":"Unknown IO ID 45"} 
[2026-09-08 08:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942022912001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8867235847860789248}} 
[2026-09-08 08:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":174433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:24:59] local.INFO: GPS data processed {"connection_id":174433,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:24:59] local.INFO: Acknowledgment sent {"connection_id":174433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:25:10] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:25:10] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:25:10] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:25:25] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:25:25] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:25:25] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:25:25] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:25: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":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:25:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:25:25] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:25:25] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:25:31] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eeff450012d7b158005e364a80009001f21..."} 
[2026-09-08 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eeff450012d7b158005e364a80009001f21..."} 
[2026-09-08 08:25:31] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eeff450012d7b158005e364a80009001f21..."} 
[2026-09-08 08:25:31] local.INFO: Packet analysis {"connection_id":174433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:25:31] local.INFO: Extracted packet for processing {"connection_id":174433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763041152,"raw_latitude":98788520,"longitude_deg":76.3041152,"latitude_deg":9.878852,"altitude":9,"angle":31,"satellites":33,"speed":5,"hex_longitude":"2d7b1580","hex_latitude":"05e364a8","is_valid_coordinates":true} 
[2026-09-08 08:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942023424001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129816099486171136,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585349177344,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788836050000,"timestamp_ms":1788836050000,"timestamp_seconds":1788836050,"priority":1,"record_length":96,"hex_timestamp":"000001a07eeff450"} 
[2026-09-08 08:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 08:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942023424001,"66":14048,"208":206,"85":15104,"24":5,"16":129816099486171136,"45":8867376585349177344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942023424001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:25:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129816099486171136,"km_value":129816099486171.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585349177344,"description":"Unknown IO ID 45"} 
[2026-09-08 08:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942023424001,"power":14048,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867376585349177344}} 
[2026-09-08 08:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":174433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:25:31] local.INFO: GPS data processed {"connection_id":174433,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:25:31] local.INFO: Acknowledgment sent {"connection_id":174433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:25:42] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:25:42] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:25:42] local.INFO: IMEI packet received {"connection_id":174435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":174435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:25:49] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:25:49] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:25:49] local.INFO: IMEI packet received {"connection_id":174435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":174435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:25:50] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:25:50] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:25:50] local.INFO: Packet analysis {"connection_id":174435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:25:50] local.INFO: Extracted packet for processing {"connection_id":174435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:25:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":174435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:25:50] local.INFO: GPS data processed {"connection_id":174435,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:25:50] local.INFO: Acknowledgment sent {"connection_id":174435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:25:53] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:25:53] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:25:53] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:25:56] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:25:56] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:25:56] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:25:58] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef04658012d7b220005e376b80008002026..."} 
[2026-09-08 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef04658012d7b220005e376b80008002026..."} 
[2026-09-08 08:25:58] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef04658012d7b220005e376b80008002026..."} 
[2026-09-08 08:25:58] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef0"} 
[2026-09-08 08:25:58] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef0"} 
[2026-09-08 08:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98793144,"longitude_deg":76.3044352,"latitude_deg":9.8793144,"altitude":8,"angle":32,"satellites":38,"speed":15,"hex_longitude":"2d7b2200","hex_latitude":"05e376b8","is_valid_coordinates":true} 
[2026-09-08 08:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942028800001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129816374364078080,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869135803954276352,"note":"Value kept but may cause issues"} 
[2026-09-08 08:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788836071000,"timestamp_ms":1788836071000,"timestamp_seconds":1788836071,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef04658"} 
[2026-09-08 08:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 08:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942028800001,"66":14135,"208":206,"85":15104,"24":15,"16":129816374364078080,"45":8869135803954276352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942028800001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:25:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129816374364078080,"km_value":129816374364078.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869135803954276352,"description":"Unknown IO ID 45"} 
[2026-09-08 08:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942028800001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8869135803954276352}} 
[2026-09-08 08:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:25:58] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:25:58] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:26:22] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:26:22] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:26:22] local.INFO: Packet analysis {"connection_id":174435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:26:22] local.INFO: Extracted packet for processing {"connection_id":174435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08: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-09-08 08: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":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:26: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-09-08 08:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:26: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-09-08 08:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:26:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":174435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:26:22] local.INFO: GPS data processed {"connection_id":174435,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:26:22] local.INFO: Acknowledgment sent {"connection_id":174435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:26:30] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef1a9d0012d7bea0005e49b880009002029..."} 
[2026-09-08 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef1a9d0012d7bea0005e49b880009002029..."} 
[2026-09-08 08:26:30] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef1a9d0012d7bea0005e49b880009002029..."} 
[2026-09-08 08:26:30] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef1"} 
[2026-09-08 08:26:30] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef1"} 
[2026-09-08 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763095552,"raw_latitude":98868104,"longitude_deg":76.3095552,"latitude_deg":9.8868104,"altitude":9,"angle":32,"satellites":41,"speed":53,"hex_longitude":"2d7bea00","hex_latitude":"05e49b88","is_valid_coordinates":true} 
[2026-09-08 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942055680001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129820763820654592,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923319736989480960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788836162000,"timestamp_ms":1788836162000,"timestamp_seconds":1788836162,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef1a9d0"} 
[2026-09-08 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-08 08:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942055680001,"66":13374,"208":206,"85":15104,"24":53,"16":129820763820654592,"45":8923319736989480960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942055680001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:26:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129820763820654592,"km_value":129820763820654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923319736989480960,"description":"Unknown IO ID 45"} 
[2026-09-08 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942055680001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8923319736989480960}} 
[2026-09-08 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:26:30] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:26:30] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:26:47] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:26:47] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:26:47] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:26:52] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:26:52] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:26:52] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:26:53] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:26:53] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:26:53] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:26:53] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08: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":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:26:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:26:53] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:26:53] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:26:53] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:53] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:53] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:26:54] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:54] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:54] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:26:58] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:58] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:26:58] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:26:59] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef1c528012d7bfe4005e4b9f00008002027..."} 
[2026-09-08 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef1c528012d7bfe4005e4b9f00008002027..."} 
[2026-09-08 08:26:59] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef1c528012d7bfe4005e4b9f00008002027..."} 
[2026-09-08 08:26:59] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef1"} 
[2026-09-08 08:26:59] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef1"} 
[2026-09-08 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763100736,"raw_latitude":98875888,"longitude_deg":76.3100736,"latitude_deg":9.8875888,"altitude":8,"angle":32,"satellites":39,"speed":52,"hex_longitude":"2d7bfe40","hex_latitude":"05e4b9f0","is_valid_coordinates":true} 
[2026-09-08 08:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942057472001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129821214792220672,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236525664256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836169000,"timestamp_ms":1788836169000,"timestamp_seconds":1788836169,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef1c528"} 
[2026-09-08 08:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 08:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942057472001,"66":13580,"208":206,"85":15104,"24":52,"16":129821214792220672,"45":8928949236525664256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 08:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942057472001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:26:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 08:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 08:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129821214792220672,"km_value":129821214792220.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236525664256,"description":"Unknown IO ID 45"} 
[2026-09-08 08:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942057472001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8928949236525664256}} 
[2026-09-08 08:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:26:59] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:26:59] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:27:26] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:27:26] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:27:26] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:27:26] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:27: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-09-08 08:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:27: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-09-08 08:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:27: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-09-08 08:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:27:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:27:26] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:27:26] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:27:32] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef1e468012d7c11c005e4d7980006002028..."} 
[2026-09-08 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef1e468012d7c11c005e4d7980006002028..."} 
[2026-09-08 08:27:32] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef1e468012d7c11c005e4d7980006002028..."} 
[2026-09-08 08:27:32] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef1"} 
[2026-09-08 08:27:32] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef1"} 
[2026-09-08 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763105728,"raw_latitude":98883480,"longitude_deg":76.3105728,"latitude_deg":9.888348,"altitude":6,"angle":32,"satellites":40,"speed":33,"hex_longitude":"2d7c11c0","hex_latitude":"05e4d798","is_valid_coordinates":true} 
[2026-09-08 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942059264001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129821652878884864,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934649104806047744,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788836177000,"timestamp_ms":1788836177000,"timestamp_seconds":1788836177,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef1e468"} 
[2026-09-08 08:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631668,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3659955350494248960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4049061889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435112912,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":900464640,"corrected_to":0} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3221611554,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":53,"raw_value":8719194689984581205,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825315840,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8178543399647838215,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755571239878897,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:32] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,55,160,169,45,155,9,41,10,66,142,125,8,40,54,115,128,1,240,110,227,126,228,4,113,205,51,60,154,168,239,53,2,5,48,123,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":900464640,"validated":0}]} 
[2026-09-08 08:27:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576496104182644736,"timestamp_seconds":576496104182644.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942059264001,"66":13602,"39":206,"87":13824,"24":33,"16":129821652878884864,"45":8934649104806047744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942059264001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:27:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 08:27:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129821652878884864,"km_value":129821652878884.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934649104806047744,"description":"Unknown IO ID 45"} 
[2026-09-08 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942059264001,"power":13602,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8934649104806047744}} 
[2026-09-08 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:27:32] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:27:32] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:27:42] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:27:42] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:27:42] local.INFO: IMEI packet received {"connection_id":176942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":176942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:27:47] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:27:47] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:27:47] local.INFO: IMEI packet received {"connection_id":176942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":176942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:27:48] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:27:48] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:27:48] local.INFO: Packet analysis {"connection_id":176942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:27:48] local.INFO: Extracted packet for processing {"connection_id":176942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:27: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-09-08 08:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:27: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-09-08 08:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:27: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-09-08 08:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:27:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":176942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:27:48] local.INFO: GPS data processed {"connection_id":176942,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:27:48] local.INFO: Acknowledgment sent {"connection_id":176942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:27:57] local.INFO: TCP Data received {"connection_id":176943,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:27:57] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:27:57] local.INFO: IMEI packet received {"connection_id":176943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":176943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:27:58] local.INFO: TCP Data received {"connection_id":176943,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:27:58] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:27:58] local.INFO: IMEI packet received {"connection_id":176943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":176943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:28:07] local.INFO: TCP Data received {"connection_id":176943,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:07] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:07] local.INFO: IMEI packet received {"connection_id":176943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":176943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:28:08] local.INFO: TCP Data received {"connection_id":176943,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef31130012d7c154005e5acb00004014f22..."} 
[2026-09-08 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef31130012d7c154005e5acb00004014f22..."} 
[2026-09-08 08:28:08] local.INFO: Processing buffer {"connection_id":176943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef31130012d7c154005e5acb00004014f22..."} 
[2026-09-08 08:28:08] local.INFO: Packet analysis {"connection_id":176943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:28:08] local.INFO: Extracted packet for processing {"connection_id":176943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763106624,"raw_latitude":98938032,"longitude_deg":76.3106624,"latitude_deg":9.8938032,"altitude":4,"angle":335,"satellites":34,"speed":36,"hex_longitude":"2d7c1540","hex_latitude":"05e5acb0","is_valid_coordinates":true} 
[2026-09-08 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942077952001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129824543391875072,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785190590464,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788836254000,"timestamp_ms":1788836254000,"timestamp_seconds":1788836254,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef31130"} 
[2026-09-08 08:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 08:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942077952001,"66":13504,"39":206,"87":13824,"24":36,"16":129824543391875072,"45":8945274785190590464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 08:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942077952001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129824543391875072,"km_value":129824543391875.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785190590464,"description":"Unknown IO ID 45"} 
[2026-09-08 08:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942077952001,"power":13504,"unknown_39":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8945274785190590464}} 
[2026-09-08 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":176943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:28:08] local.INFO: GPS data processed {"connection_id":176943,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:28:08] local.INFO: Acknowledgment sent {"connection_id":176943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:28:20] local.INFO: TCP Data received {"connection_id":176942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:28:20] local.INFO: Processing buffer {"connection_id":176942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:28:20] local.INFO: Packet analysis {"connection_id":176942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:28:20] local.INFO: Extracted packet for processing {"connection_id":176942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:28: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-09-08 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:28: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-09-08 08:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08: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-09-08 08:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:28:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":176942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:28:20] local.INFO: GPS data processed {"connection_id":176942,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:28:20] local.INFO: Acknowledgment sent {"connection_id":176942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:28:33] local.INFO: TCP Data received {"connection_id":175518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:33] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:33] local.INFO: IMEI packet received {"connection_id":175518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":175518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:28:36] local.INFO: TCP Data received {"connection_id":175518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:36] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:36] local.INFO: IMEI packet received {"connection_id":175518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":175518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:28:38] local.INFO: TCP Data received {"connection_id":175518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:38] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:28:38] local.INFO: IMEI packet received {"connection_id":175518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":175518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:28:39] local.INFO: TCP Data received {"connection_id":175518,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef38660012d0b7cc007039e800019007214..."} 
[2026-09-08 08:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef38660012d0b7cc007039e800019007214..."} 
[2026-09-08 08:28:39] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef38660012d0b7cc007039e800019007214..."} 
[2026-09-08 08:28:39] local.INFO: Packet analysis {"connection_id":175518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:28:39] local.INFO: Extracted packet for processing {"connection_id":175518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":755727552,"raw_latitude":117677696,"longitude_deg":75.5727552,"latitude_deg":11.7677696,"altitude":25,"angle":114,"satellites":20,"speed":13,"hex_longitude":"2d0b7cc0","hex_latitude":"07039e80","is_valid_coordinates":true} 
[2026-09-08 08:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942088448001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30644853649965056,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827395724166508544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788836284000,"timestamp_ms":1788836284000,"timestamp_seconds":1788836284,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef38660"} 
[2026-09-08 08:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-08 08:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942088448001,"66":14646,"178":206,"94":10240,"24":13,"16":30644853649965056,"45":827395724166508544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-08 08:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942088448001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:28:39] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 08:28:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30644853649965056,"km_value":30644853649965.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":827395724166508544,"description":"Unknown IO ID 45"} 
[2026-09-08 08:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942088448001,"power":14646,"unknown_178":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":827395724166508544}} 
[2026-09-08 08:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":175518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:28:39] local.INFO: GPS data processed {"connection_id":175518,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:28:39] local.INFO: Acknowledgment sent {"connection_id":175518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:28:42] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:28:42] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:28:42] local.INFO: IMEI packet received {"connection_id":176944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":176944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:28:47] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:28:47] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:28:47] local.INFO: IMEI packet received {"connection_id":176944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":176944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:28:48] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:28:48] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eef67b0012d34c44006aa4280000a005c28..."} 
[2026-09-08 08:28:48] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:28:48] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eef"} 
[2026-09-08 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457941942528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836014000,"timestamp_ms":1788836014000,"timestamp_seconds":1788836014,"priority":1,"record_length":96,"hex_timestamp":"000001a07eef67b0"} 
[2026-09-08 08:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:28: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-09-08 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 08:28: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-09-08 08:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:28: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-09-08 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457941942528001,"66":25321,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457941942528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:28:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457941942528001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:28:48] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:28:48] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:28:53] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:53] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:53] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:28:56] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:56] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:28:56] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:28:57] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef34010012d7c04c005e5cb900004014422..."} 
[2026-09-08 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef34010012d7c04c005e5cb900004014422..."} 
[2026-09-08 08:28:57] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef34010012d7c04c005e5cb900004014422..."} 
[2026-09-08 08:28:57] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:28:57] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763102400,"raw_latitude":98945936,"longitude_deg":76.31024,"latitude_deg":9.8945936,"altitude":4,"angle":324,"satellites":34,"speed":21,"hex_longitude":"2d7c04c0","hex_latitude":"05e5cb90","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942081024001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129824977183571968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941123029286301696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788836266000,"timestamp_ms":1788836266000,"timestamp_seconds":1788836266,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef34010"} 
[2026-09-08 08:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 08:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942081024001,"66":13243,"88":206,"87":13824,"24":21,"16":129824977183571968,"45":8941123029286301696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-09-08 08:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942081024001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:28:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-08 08:28:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129824977183571968,"km_value":129824977183571.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941123029286301696,"description":"Unknown IO ID 45"} 
[2026-09-08 08:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942081024001,"power":13243,"unknown_88":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8941123029286301696}} 
[2026-09-08 08:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:28:57] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:28:57] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:29:13] local.INFO: TCP Data received {"connection_id":174439,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:29:13] local.INFO: Processing buffer {"connection_id":174439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:29:13] local.INFO: IMEI packet received {"connection_id":174439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":174439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:29:16] local.INFO: TCP Data received {"connection_id":174439,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:29:16] local.INFO: Processing buffer {"connection_id":174439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:29:16] local.INFO: IMEI packet received {"connection_id":174439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":174439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:29:16] local.INFO: TCP Data received {"connection_id":174439,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef38a48012d0b7e4007039e30001a006714..."} 
[2026-09-08 08:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef38a48012d0b7e4007039e30001a006714..."} 
[2026-09-08 08:29:16] local.INFO: Processing buffer {"connection_id":174439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef38a48012d0b7e4007039e30001a006714..."} 
[2026-09-08 08:29:16] local.INFO: Packet analysis {"connection_id":174439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:16] local.INFO: Extracted packet for processing {"connection_id":174439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":755727936,"raw_latitude":117677616,"longitude_deg":75.5727936,"latitude_deg":11.7677616,"altitude":26,"angle":103,"satellites":20,"speed":13,"hex_longitude":"2d0b7e40","hex_latitude":"07039e30","is_valid_coordinates":true} 
[2026-09-08 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942088704001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30644870829834240,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827747567887351808,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788836285000,"timestamp_ms":1788836285000,"timestamp_seconds":1788836285,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef38a48"} 
[2026-09-08 08:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-08 08:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942088704001,"66":14646,"178":206,"94":10240,"24":13,"16":30644870829834240,"45":827747567887351808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-09-08 08:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942088704001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:29:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 08:29:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30644870829834240,"km_value":30644870829834.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":827747567887351808,"description":"Unknown IO ID 45"} 
[2026-09-08 08:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942088704001,"power":14646,"unknown_178":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":827747567887351808}} 
[2026-09-08 08:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":174439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:29:17] local.INFO: GPS data processed {"connection_id":174439,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:29:17] local.INFO: Acknowledgment sent {"connection_id":174439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:29:19] local.INFO: TCP Data received {"connection_id":176944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:19] local.INFO: Processing buffer {"connection_id":176944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:19] local.INFO: Packet analysis {"connection_id":176944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:19] local.INFO: Extracted packet for processing {"connection_id":176944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:29: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-09-08 08: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":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:29: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-09-08 08: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-09-08 08:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:29: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-09-08 08:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":176944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:29:19] local.INFO: GPS data processed {"connection_id":176944,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:29:19] local.INFO: Acknowledgment sent {"connection_id":176944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:29:29] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef36720012d7bf90005e5d8f00004013426..."} 
[2026-09-08 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef36720012d7bf90005e5d8f00004013426..."} 
[2026-09-08 08:29:29] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef36720012d7bf90005e5d8f00004013426..."} 
[2026-09-08 08:29:29] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:29] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763099392,"raw_latitude":98949360,"longitude_deg":76.3099392,"latitude_deg":9.894936,"altitude":4,"angle":308,"satellites":38,"speed":11,"hex_longitude":"2d7bf900","hex_latitude":"05e5d8f0","is_valid_coordinates":true} 
[2026-09-08 08:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942084096001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129825196226904064,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936478692172599296,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788836276000,"timestamp_ms":1788836276000,"timestamp_seconds":1788836276,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef36720"} 
[2026-09-08 08:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 08:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942084096001,"66":13189,"39":206,"87":13824,"24":11,"16":129825196226904064,"45":8936478692172599296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 08:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942084096001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:29:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 08:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129825196226904064,"km_value":129825196226904.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936478692172599296,"description":"Unknown IO ID 45"} 
[2026-09-08 08:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942084096001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8936478692172599296}} 
[2026-09-08 08:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:29:29] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:29:29] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:29:47] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:29:47] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:29:47] local.INFO: IMEI packet received {"connection_id":174440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:29:52] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:29:52] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:29:52] local.INFO: IMEI packet received {"connection_id":174440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":174440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:29:53] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:53] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:53] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:29:54] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:54] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:54] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:29:55] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:55] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:55] local.INFO: Packet analysis {"connection_id":174440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:55] local.INFO: Extracted packet for processing {"connection_id":174440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:29: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-09-08 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:29: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-09-08 08:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":174440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:29:55] local.INFO: GPS data processed {"connection_id":174440,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:29:55] local.INFO: Acknowledgment sent {"connection_id":174440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:29:58] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:58] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:29:58] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:29:58] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:58] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:29:58] local.INFO: Packet analysis {"connection_id":174440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:58] local.INFO: Extracted packet for processing {"connection_id":174440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:29:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:29:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":174440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:29:58] local.INFO: GPS data processed {"connection_id":174440,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:29:58] local.INFO: Acknowledgment sent {"connection_id":174440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:29:59] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ad70012d7bf3c005e5dce00004014326..."} 
[2026-09-08 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ad70012d7bf3c005e5dce00004014326..."} 
[2026-09-08 08:29:59] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ad70012d7bf3c005e5dce00004014326..."} 
[2026-09-08 08:29:59] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:59] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763098048,"raw_latitude":98950368,"longitude_deg":76.3098048,"latitude_deg":9.8950368,"altitude":4,"angle":323,"satellites":38,"speed":1,"hex_longitude":"2d7bf3c0","hex_latitude":"05e5dce0","is_valid_coordinates":true} 
[2026-09-08 08:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942086656001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129825277831282688,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933171361197125632,"note":"Value kept but may cause issues"} 
[2026-09-08 08:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836294000,"timestamp_ms":1788836294000,"timestamp_seconds":1788836294,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ad70"} 
[2026-09-08 08:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 08:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942086656001,"66":13798,"39":206,"87":13824,"24":1,"16":129825277831282688,"45":8933171361197125632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 08:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942086656001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:29:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 08:29:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129825277831282688,"km_value":129825277831282.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933171361197125632,"description":"Unknown IO ID 45"} 
[2026-09-08 08:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942086656001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8933171361197125632}} 
[2026-09-08 08:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:29:59] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:29:59] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:30:05] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:05] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:05] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:30:06] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:06] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:06] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:30:08] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:08] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:08] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:30:09] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:09] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:09] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:30:09] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef4d268012d0c0dc007039c98000d005214..."} 
[2026-09-08 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef4d268012d0c0dc007039c98000d005214..."} 
[2026-09-08 08:30:09] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef4d268012d0c0dc007039c98000d005214..."} 
[2026-09-08 08:30:09] local.INFO: Packet analysis {"connection_id":175520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef4"} 
[2026-09-08 08:30:09] local.INFO: Extracted packet for processing {"connection_id":175520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef4"} 
[2026-09-08 08:30:09] local.INFO: GPS Element Parsed {"raw_longitude":755764672,"raw_latitude":117677208,"longitude_deg":75.5764672,"latitude_deg":11.7677208,"altitude":13,"angle":82,"satellites":20,"speed":2,"hex_longitude":"2d0c0dc0","hex_latitude":"07039c98","is_valid_coordinates":true} 
[2026-09-08 08:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942106624001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30646717665771520,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867013327138488320,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788836369000,"timestamp_ms":1788836369000,"timestamp_seconds":1788836369,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef4d268"} 
[2026-09-08 08:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 08:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942106624001,"66":14537,"37":206,"94":11008,"24":2,"16":30646717665771520,"45":867013327138488320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 08:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942106624001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:30:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 08:30:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30646717665771520,"km_value":30646717665771.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":867013327138488320,"description":"Unknown IO ID 45"} 
[2026-09-08 08:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942106624001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":867013327138488320}} 
[2026-09-08 08:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":175520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:30:09] local.INFO: GPS data processed {"connection_id":175520,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:30:09] local.INFO: Acknowledgment sent {"connection_id":175520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:30:30] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3c8c8012d7bef0005e5e1480003013625..."} 
[2026-09-08 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3c8c8012d7bef0005e5e1480003013625..."} 
[2026-09-08 08:30:30] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3c8c8012d7bef0005e5e1480003013625..."} 
[2026-09-08 08:30:30] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:30:30] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98951496,"longitude_deg":76.3096832,"latitude_deg":9.8951496,"altitude":3,"angle":310,"satellites":37,"speed":14,"hex_longitude":"2d7bef00","hex_latitude":"05e5e148","is_valid_coordinates":true} 
[2026-09-08 08:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942091264001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129825359435661312,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931693617569652736,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788836301000,"timestamp_ms":1788836301000,"timestamp_seconds":1788836301,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3c8c8"} 
[2026-09-08 08:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 08:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942091264001,"66":13461,"38":206,"87":13824,"24":14,"16":129825359435661312,"45":8931693617569652736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-09-08 08:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942091264001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129825359435661312,"km_value":129825359435661.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931693617569652736,"description":"Unknown IO ID 45"} 
[2026-09-08 08:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942091264001,"power":13461,"unknown_38":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8931693617569652736}} 
[2026-09-08 08:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:30:31] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:30:31] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:30:40] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef59d88012d0c6b800703f7f0001e003513..."} 
[2026-09-08 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef59d88012d0c6b800703f7f0001e003513..."} 
[2026-09-08 08:30:40] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef59d88012d0c6b800703f7f0001e003513..."} 
[2026-09-08 08:30:40] local.INFO: Packet analysis {"connection_id":175520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:30:40] local.INFO: Extracted packet for processing {"connection_id":175520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117700592,"longitude_deg":75.5788672,"latitude_deg":11.7700592,"altitude":30,"angle":53,"satellites":19,"speed":30,"hex_longitude":"2d0c6b80","hex_latitude":"0703f7f0","is_valid_coordinates":true} 
[2026-09-08 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30648431357722624,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888264687884724224,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788836421000,"timestamp_ms":1788836421000,"timestamp_seconds":1788836421,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef59d88"} 
[2026-09-08 08:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 08:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942121216001,"66":14439,"16":30648431357722624,"94":11008,"24":30,"45":888264687884724224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30648431357722624,"km_value":30648431357722.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:30:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":888264687884724224,"description":"Unknown IO ID 45"} 
[2026-09-08 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457942121216001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":888264687884724224}} 
[2026-09-08 08:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":175520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:30:41] local.INFO: GPS data processed {"connection_id":175520,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:30:41] local.INFO: Acknowledgment sent {"connection_id":175520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:30:42] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:30:42] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:30:42] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:30:45] local.INFO: TCP Data received {"connection_id":175521,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:30:45] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:30:45] local.INFO: IMEI packet received {"connection_id":175521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:30:47] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:30:47] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:30:47] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:30:51] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:30:51] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:30:51] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:30:51] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:30: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-09-08 08:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:30: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-09-08 08:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:30:51] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:30:51] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:30:53] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:53] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:53] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:30:56] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:56] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:56] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:30:58] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:58] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:30:58] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:30:59] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:59] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:30:59] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:30:59] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3f3c0012d7be24005e5eba80002014227..."} 
[2026-09-08 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3f3c0012d7be24005e5eba80002014227..."} 
[2026-09-08 08:30:59] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3f3c0012d7be24005e5eba80002014227..."} 
[2026-09-08 08:30:59] local.INFO: Packet analysis {"connection_id":175522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:30:59] local.INFO: Extracted packet for processing {"connection_id":175522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763093568,"raw_latitude":98954152,"longitude_deg":76.3093568,"latitude_deg":9.8954152,"altitude":2,"angle":322,"satellites":39,"speed":15,"hex_longitude":"2d7be240","hex_latitude":"05e5eba8","is_valid_coordinates":true} 
[2026-09-08 08:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129825565594091520,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930356611430565888,"note":"Value kept but may cause issues"} 
[2026-09-08 08:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836312000,"timestamp_ms":1788836312000,"timestamp_seconds":1788836312,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3f3c0"} 
[2026-09-08 08:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-08 08:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942093056001,"66":13820,"38":206,"87":13824,"24":15,"16":129825565594091520,"45":8930356611430565888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-09-08 08:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:30:59] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-08 08:30:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129825565594091520,"km_value":129825565594091.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930356611430565888,"description":"Unknown IO ID 45"} 
[2026-09-08 08:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942093056001,"power":13820,"unknown_38":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8930356611430565888}} 
[2026-09-08 08:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":175522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:30:59] local.INFO: GPS data processed {"connection_id":175522,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:30:59] local.INFO: Acknowledgment sent {"connection_id":175522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:03] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:03] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:03] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:31:04] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef5c880012d0c894007040d50001e003a13..."} 
[2026-09-08 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef5c880012d0c894007040d50001e003a13..."} 
[2026-09-08 08:31:04] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef5c880012d0c894007040d50001e003a13..."} 
[2026-09-08 08:31:04] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:31:04] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755796288,"raw_latitude":117706064,"longitude_deg":75.5796288,"latitude_deg":11.7706064,"altitude":30,"angle":58,"satellites":19,"speed":35,"hex_longitude":"2d0c8940","hex_latitude":"07040d50","is_valid_coordinates":true} 
[2026-09-08 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942123776001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30648878034321408,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718582882304,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836432000,"timestamp_ms":1788836432000,"timestamp_seconds":1788836432,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef5c880"} 
[2026-09-08 08:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 08:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942123776001,"66":14548,"16":30648878034321408,"94":11008,"24":35,"45":894949718582882304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942123776001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30648878034321408,"km_value":30648878034321.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718582882304,"description":"Unknown IO ID 45"} 
[2026-09-08 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457942123776001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":894949718582882304}} 
[2026-09-08 08:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:31:04] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:31:04] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:04] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef5dc08012d0c96c007041768001e002e14..."} 
[2026-09-08 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef5dc08012d0c96c007041768001e002e14..."} 
[2026-09-08 08:31:04] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef5dc08012d0c96c007041768001e002e14..."} 
[2026-09-08 08:31:04] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:31:04] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755799744,"raw_latitude":117708648,"longitude_deg":75.5799744,"latitude_deg":11.7708648,"altitude":30,"angle":46,"satellites":20,"speed":30,"hex_longitude":"2d0c96c0","hex_latitude":"07041768","is_valid_coordinates":true} 
[2026-09-08 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942126592001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30649084192751616,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903323599141425152,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836437000,"timestamp_ms":1788836437000,"timestamp_seconds":1788836437,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef5dc08"} 
[2026-09-08 08:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 08:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942126592001,"66":14559,"16":30649084192751616,"94":11008,"24":30,"45":903323599141425152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942126592001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30649084192751616,"km_value":30649084192751.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":903323599141425152,"description":"Unknown IO ID 45"} 
[2026-09-08 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457942126592001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":903323599141425152}} 
[2026-09-08 08:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:31:05] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:31:05] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:22] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:31:22] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:31:22] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:31:22] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:31: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-09-08 08: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-09-08 08: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-09-08 08:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:31: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-09-08 08:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:31:22] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:31:22] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:30] local.INFO: TCP Data received {"connection_id":175522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef67078012d7b968005e6b1a00009015822..."} 
[2026-09-08 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef67078012d7b968005e6b1a00009015822..."} 
[2026-09-08 08:31:30] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef67078012d7b968005e6b1a00009015822..."} 
[2026-09-08 08:31:30] local.INFO: Packet analysis {"connection_id":175522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:31:30] local.INFO: Extracted packet for processing {"connection_id":175522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763074176,"raw_latitude":99004832,"longitude_deg":76.3074176,"latitude_deg":9.9004832,"altitude":9,"angle":344,"satellites":34,"speed":17,"hex_longitude":"2d7b9680","hex_latitude":"05e6b1a0","is_valid_coordinates":true} 
[2026-09-08 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942132480001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129828228473815040,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907416400840511488,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788836475000,"timestamp_ms":1788836475000,"timestamp_seconds":1788836475,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef67078"} 
[2026-09-08 08:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 08:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942132480001,"66":13515,"95":206,"87":13824,"24":17,"16":129828228473815040,"45":8907416400840511488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-08 08:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942132480001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:31:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129828228473815040,"km_value":129828228473815.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907416400840511488,"description":"Unknown IO ID 45"} 
[2026-09-08 08:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942132480001,"power":13515,"unknown_95":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8907416400840511488}} 
[2026-09-08 08:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":175522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:31:30] local.INFO: GPS data processed {"connection_id":175522,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:31:30] local.INFO: Acknowledgment sent {"connection_id":175522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:36] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef5eba8012d0c9ec0070421c8001e001e14..."} 
[2026-09-08 08:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef5eba8012d0c9ec0070421c8001e001e14..."} 
[2026-09-08 08:31:36] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef5eba8012d0c9ec0070421c8001e001e14..."} 
[2026-09-08 08:31:36] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:31:36] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef5"} 
[2026-09-08 08:31:36] local.INFO: GPS Element Parsed {"raw_longitude":755801792,"raw_latitude":117711304,"longitude_deg":75.5801792,"latitude_deg":11.7711304,"altitude":30,"angle":30,"satellites":20,"speed":34,"hex_longitude":"2d0c9ec0","hex_latitude":"070421c8","is_valid_coordinates":true} 
[2026-09-08 08:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942127872001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30649247401508864,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907123511327680512,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788836441000,"timestamp_ms":1788836441000,"timestamp_seconds":1788836441,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef5eba8"} 
[2026-09-08 08:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 08:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942127872001,"66":14428,"16":30649247401508864,"94":11008,"24":34,"45":907123511327680512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 08:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942127872001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30649247401508864,"km_value":30649247401508.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:31:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":907123511327680512,"description":"Unknown IO ID 45"} 
[2026-09-08 08:31:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457942127872001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":907123511327680512}} 
[2026-09-08 08:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:31:36] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:31:36] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:42] local.INFO: TCP Data received {"connection_id":176946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:31:42] local.INFO: Processing buffer {"connection_id":176946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:31:42] local.INFO: IMEI packet received {"connection_id":176946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":176946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:31:47] local.INFO: TCP Data received {"connection_id":176946,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:31:47] local.INFO: Processing buffer {"connection_id":176946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:31:47] local.INFO: IMEI packet received {"connection_id":176946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":176946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:31:48] local.INFO: TCP Data received {"connection_id":176946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:31:48] local.INFO: Processing buffer {"connection_id":176946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:31:48] local.INFO: Packet analysis {"connection_id":176946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:31:48] local.INFO: Extracted packet for processing {"connection_id":176946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:31: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-09-08 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:31: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-09-08 08:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:31: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-09-08 08:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":176946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:31:48] local.INFO: GPS data processed {"connection_id":176946,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:31:48] local.INFO: Acknowledgment sent {"connection_id":176946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:31:58] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:58] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:58] local.INFO: IMEI packet received {"connection_id":174444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":174444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:31:59] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:59] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:31:59] local.INFO: IMEI packet received {"connection_id":174444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":174444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:32:00] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:00] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:00] local.INFO: IMEI packet received {"connection_id":174185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":174185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:32:03] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:32:03] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:32:03] local.INFO: IMEI packet received {"connection_id":174444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":174444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:32:03] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:03] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:03] local.INFO: IMEI packet received {"connection_id":174185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":174185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:32:03] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef60ed0012d0cac0007043e20001c001313..."} 
[2026-09-08 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef60ed0012d0cac0007043e20001c001313..."} 
[2026-09-08 08:32:04] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef60ed0012d0cac0007043e20001c001313..."} 
[2026-09-08 08:32:04] local.INFO: Packet analysis {"connection_id":174444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:04] local.INFO: Extracted packet for processing {"connection_id":174444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":755805184,"raw_latitude":117718560,"longitude_deg":75.5805184,"latitude_deg":11.771856,"altitude":28,"angle":19,"satellites":19,"speed":34,"hex_longitude":"2d0cac00","hex_latitude":"07043e20","is_valid_coordinates":true} 
[2026-09-08 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942128896001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30649638243532800,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909375311142045696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836450000,"timestamp_ms":1788836450000,"timestamp_seconds":1788836450,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef60ed0"} 
[2026-09-08 08:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942128896001,"66":14450,"16":30649638243532800,"94":11008,"24":34,"45":909375311142045696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 08:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942128896001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30649638243532800,"km_value":30649638243532.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:32:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":909375311142045696,"description":"Unknown IO ID 45"} 
[2026-09-08 08:32:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457942128896001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":909375311142045696}} 
[2026-09-08 08:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":174444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:32:04] local.INFO: GPS data processed {"connection_id":174444,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:32:04] local.INFO: Acknowledgment sent {"connection_id":174444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:32:05] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef68400012d7b954005e6ba980008016522..."} 
[2026-09-08 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef68400012d7b954005e6ba980008016522..."} 
[2026-09-08 08:32:05] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef68400012d7b954005e6ba980008016522..."} 
[2026-09-08 08:32:05] local.INFO: Packet analysis {"connection_id":174185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:05] local.INFO: Extracted packet for processing {"connection_id":174185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763073856,"raw_latitude":99007128,"longitude_deg":76.3073856,"latitude_deg":9.9007128,"altitude":8,"angle":357,"satellites":34,"speed":18,"hex_longitude":"2d7b9540","hex_latitude":"05e6ba98","is_valid_coordinates":true} 
[2026-09-08 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942137600001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129828340142964736,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905446076005326848,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788836480000,"timestamp_ms":1788836480000,"timestamp_seconds":1788836480,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef68400"} 
[2026-09-08 08:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 08:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942137600001,"66":13472,"95":206,"87":13824,"24":18,"16":129828340142964736,"45":8905446076005326848},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-08 08:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942137600001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:32:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129828340142964736,"km_value":129828340142964.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905446076005326848,"description":"Unknown IO ID 45"} 
[2026-09-08 08:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942137600001,"power":13472,"unknown_95":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8905446076005326848}} 
[2026-09-08 08:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":174185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:32:05] local.INFO: GPS data processed {"connection_id":174185,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:32:05] local.INFO: Acknowledgment sent {"connection_id":174185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:32:09] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef68fb8012d7b95c005e6c0000007000922..."} 
[2026-09-08 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef68fb8012d7b95c005e6c0000007000922..."} 
[2026-09-08 08:32:09] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef68fb8012d7b95c005e6c0000007000922..."} 
[2026-09-08 08:32:09] local.INFO: Packet analysis {"connection_id":174185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:09] local.INFO: Extracted packet for processing {"connection_id":174185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99008512,"longitude_deg":76.3073984,"latitude_deg":9.9008512,"altitude":7,"angle":9,"satellites":34,"speed":18,"hex_longitude":"2d7b95c0","hex_latitude":"05e6c000","is_valid_coordinates":true} 
[2026-09-08 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942138880001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129828408862441472,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094232285026304,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788836483000,"timestamp_ms":1788836483000,"timestamp_seconds":1788836483,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef68fb8"} 
[2026-09-08 08:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 08:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942138880001,"66":13678,"95":206,"87":13824,"24":18,"16":129828408862441472,"45":8905094232285026304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-08 08:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942138880001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:32:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:32:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129828408862441472,"km_value":129828408862441.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094232285026304,"description":"Unknown IO ID 45"} 
[2026-09-08 08:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942138880001,"power":13678,"unknown_95":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8905094232285026304}} 
[2026-09-08 08:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":174185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:32:09] local.INFO: GPS data processed {"connection_id":174185,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:32:09] local.INFO: Acknowledgment sent {"connection_id":174185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:32:20] local.INFO: TCP Data received {"connection_id":176946,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:32:20] local.INFO: Processing buffer {"connection_id":176946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:32:20] local.INFO: Packet analysis {"connection_id":176946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:32:20] local.INFO: Extracted packet for processing {"connection_id":176946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:32: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-09-08 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:32: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-09-08 08:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:32: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-09-08 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":176946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:32:20] local.INFO: GPS data processed {"connection_id":176946,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:32:20] local.INFO: Acknowledgment sent {"connection_id":176946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:32:34] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef63db0012d0cb70007045fe00015000b13..."} 
[2026-09-08 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef63db0012d0cb70007045fe00015000b13..."} 
[2026-09-08 08:32:34] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef63db0012d0cb70007045fe00015000b13..."} 
[2026-09-08 08:32:34] local.INFO: Packet analysis {"connection_id":174444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:34] local.INFO: Extracted packet for processing {"connection_id":174444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117727200,"longitude_deg":75.5808,"latitude_deg":11.77272,"altitude":21,"angle":11,"satellites":19,"speed":24,"hex_longitude":"2d0cb700","hex_latitude":"07045fe0","is_valid_coordinates":true} 
[2026-09-08 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942131200001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30650076330196992,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913104854585319424,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 08:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788836462000,"timestamp_ms":1788836462000,"timestamp_seconds":1788836462,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef63db0"} 
[2026-09-08 08:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942131200001,"66":14559,"16":30650076330196992,"94":11008,"24":24,"45":913104854585319424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 08:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942131200001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30650076330196992,"km_value":30650076330196.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:32:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":913104854585319424,"description":"Unknown IO ID 45"} 
[2026-09-08 08:32:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457942131200001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":24,"unknown_45":913104854585319424}} 
[2026-09-08 08:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":174444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:32:35] local.INFO: GPS data processed {"connection_id":174444,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:32:35] local.INFO: Acknowledgment sent {"connection_id":174444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:32:47] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:32:47] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:32:47] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:32:52] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:32:52] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:32:52] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:32:53] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:32:53] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:32:53] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:32:53] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:32: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-09-08 08:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:32:53] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:32:53] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:32:53] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:53] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:53] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:32:54] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:54] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:54] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:32:58] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:58] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:32:58] local.INFO: IMEI packet received {"connection_id":176948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":176948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:33:00] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef6bab0012d7b984005e6d1c80008016623..."} 
[2026-09-08 08:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef6bab0012d7b984005e6d1c80008016623..."} 
[2026-09-08 08:33:00] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef6bab0012d7b984005e6d1c80008016623..."} 
[2026-09-08 08:33:00] local.INFO: Packet analysis {"connection_id":176948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:33:00] local.INFO: Extracted packet for processing {"connection_id":176948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99013064,"longitude_deg":76.3074624,"latitude_deg":9.9013064,"altitude":8,"angle":358,"satellites":35,"speed":9,"hex_longitude":"2d7b9840","hex_latitude":"05e6d1c8","is_valid_coordinates":true} 
[2026-09-08 08:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942139648001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129828632200740864,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969773735936,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788836494000,"timestamp_ms":1788836494000,"timestamp_seconds":1788836494,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef6bab0"} 
[2026-09-08 08:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942139648001,"66":13537,"95":206,"87":13824,"24":9,"16":129828632200740864,"45":8905234969773735936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-08 08:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942139648001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129828632200740864,"km_value":129828632200740.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969773735936,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942139648001,"power":13537,"unknown_95":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8905234969773735936}} 
[2026-09-08 08:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":176948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:00] local.INFO: GPS data processed {"connection_id":176948,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:00] local.INFO: Acknowledgment sent {"connection_id":176948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:04] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef6f548012d7b980005e6db600008015822..."} 
[2026-09-08 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef6f548012d7b980005e6db600008015822..."} 
[2026-09-08 08:33:04] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef6f548012d7b980005e6db600008015822..."} 
[2026-09-08 08:33:04] local.INFO: Packet analysis {"connection_id":176948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:33:04] local.INFO: Extracted packet for processing {"connection_id":176948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef6"} 
[2026-09-08 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99015520,"longitude_deg":76.307456,"latitude_deg":9.901552,"altitude":8,"angle":344,"satellites":34,"speed":7,"hex_longitude":"2d7b9800","hex_latitude":"05e6db60","is_valid_coordinates":true} 
[2026-09-08 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942142464001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129828756754792448,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657216677888,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836509000,"timestamp_ms":1788836509000,"timestamp_seconds":1788836509,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef6f548"} 
[2026-09-08 08:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 08:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942142464001,"66":13406,"95":206,"87":13824,"24":7,"16":129828756754792448,"45":8905938657216677888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-08 08:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942142464001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129828756754792448,"km_value":129828756754792.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657216677888,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942142464001,"power":13406,"unknown_95":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8905938657216677888}} 
[2026-09-08 08:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":176948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:04] local.INFO: GPS data processed {"connection_id":176948,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:04] local.INFO: Acknowledgment sent {"connection_id":176948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:24] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:24] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:24] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:33:24] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:33: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-09-08 08:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:33: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-09-08 08:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:24] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:24] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:33] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:33] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:33] local.INFO: IMEI packet received {"connection_id":175524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":175524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:33:33] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:33] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:33] local.INFO: IMEI packet received {"connection_id":175524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":175524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:33:34] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:34] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:33:34] local.INFO: IMEI packet received {"connection_id":175524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":175524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:33:34] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef7f330012d0c614007053160001d016014..."} 
[2026-09-08 08:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef7f330012d0c614007053160001d016014..."} 
[2026-09-08 08:33:34] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef7f330012d0c614007053160001d016014..."} 
[2026-09-08 08:33:34] local.INFO: Packet analysis {"connection_id":175524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef7"} 
[2026-09-08 08:33:34] local.INFO: Extracted packet for processing {"connection_id":175524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef7"} 
[2026-09-08 08:33:34] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117780832,"longitude_deg":75.5786048,"latitude_deg":11.7780832,"altitude":29,"angle":352,"satellites":20,"speed":22,"hex_longitude":"2d0c6140","hex_latitude":"07053160","is_valid_coordinates":true} 
[2026-09-08 08:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942158592001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30652988318023680,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893401606229260288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788836574000,"timestamp_ms":1788836574000,"timestamp_seconds":1788836574,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef7f330"} 
[2026-09-08 08:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942158592001,"66":14450,"95":206,"94":10240,"24":22,"16":30652988318023680,"45":893401606229260288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 08:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942158592001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:33:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30652988318023680,"km_value":30652988318023.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":893401606229260288,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942158592001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":893401606229260288}} 
[2026-09-08 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":175524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:35] local.INFO: GPS data processed {"connection_id":175524,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:35] local.INFO: Acknowledgment sent {"connection_id":175524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:35] local.INFO: TCP Data received {"connection_id":176948,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef74368012d7b964005e6e2c80007015124..."} 
[2026-09-08 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef74368012d7b964005e6e2c80007015124..."} 
[2026-09-08 08:33:35] local.INFO: Processing buffer {"connection_id":176948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef74368012d7b964005e6e2c80007015124..."} 
[2026-09-08 08:33:35] local.INFO: Packet analysis {"connection_id":176948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef7"} 
[2026-09-08 08:33:35] local.INFO: Extracted packet for processing {"connection_id":176948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef7"} 
[2026-09-08 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763074112,"raw_latitude":99017416,"longitude_deg":76.3074112,"latitude_deg":9.9017416,"altitude":7,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d7b9640","hex_latitude":"05e6e2c8","is_valid_coordinates":true} 
[2026-09-08 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942146304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129828855539040256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288473128960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788836529000,"timestamp_ms":1788836529000,"timestamp_seconds":1788836529,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef74368"} 
[2026-09-08 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 08:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942146304001,"66":13993,"96":206,"87":13824,"24":0,"16":129828855539040256,"45":8905868288473128960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942146304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129828855539040256,"km_value":129828855539040.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288473128960,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942146304001,"power":13993,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8905868288473128960}} 
[2026-09-08 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":176948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:35] local.INFO: GPS data processed {"connection_id":176948,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:35] local.INFO: Acknowledgment sent {"connection_id":176948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:38] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef802d0012d0c5f4007053b30001c015514..."} 
[2026-09-08 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef802d0012d0c5f4007053b30001c015514..."} 
[2026-09-08 08:33:38] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef802d0012d0c5f4007053b30001c015514..."} 
[2026-09-08 08:33:38] local.INFO: Packet analysis {"connection_id":175524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:33:38] local.INFO: Extracted packet for processing {"connection_id":175524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":755785536,"raw_latitude":117783344,"longitude_deg":75.5785536,"latitude_deg":11.7783344,"altitude":28,"angle":341,"satellites":20,"speed":27,"hex_longitude":"2d0c5f40","hex_latitude":"07053b30","is_valid_coordinates":true} 
[2026-09-08 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942162944001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30653112872075264,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600092139520,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788836578000,"timestamp_ms":1788836578000,"timestamp_seconds":1788836578,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef802d0"} 
[2026-09-08 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942162944001,"66":14428,"95":206,"94":10240,"24":27,"16":30653112872075264,"45":892064600092139520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942162944001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:33:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30653112872075264,"km_value":30653112872075.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600092139520,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942162944001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":892064600092139520}} 
[2026-09-08 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":175524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:38] local.INFO: GPS data processed {"connection_id":175524,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:38] local.INFO: Acknowledgment sent {"connection_id":175524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:47] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:33:47] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:33:47] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:33:52] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:33:52] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:33:52] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:33:53] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:53] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:53] local.INFO: Packet analysis {"connection_id":174186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:33:53] local.INFO: Extracted packet for processing {"connection_id":174186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:33: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-09-08 08:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":174186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:53] local.INFO: GPS data processed {"connection_id":174186,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:53] local.INFO: Acknowledgment sent {"connection_id":174186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:53] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:33:53] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:33:53] local.INFO: IMEI packet received {"connection_id":174188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":174188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:33:58] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:58] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef3ff78012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:33:58] local.INFO: Packet analysis {"connection_id":174186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:33:58] local.INFO: Extracted packet for processing {"connection_id":174186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef3"} 
[2026-09-08 08:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942019584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788836315000,"timestamp_ms":1788836315000,"timestamp_seconds":1788836315,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef3ff78"} 
[2026-09-08 08:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942019584001,"66":25321,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942019584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942019584001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":174186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:33:58] local.INFO: GPS data processed {"connection_id":174186,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:33:58] local.INFO: Acknowledgment sent {"connection_id":174186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:33:58] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:33:58] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:33:58] local.INFO: IMEI packet received {"connection_id":174188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":174188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:34:00] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef87800012d7b730005e759a80007015a22..."} 
[2026-09-08 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef87800012d7b730005e759a80007015a22..."} 
[2026-09-08 08:34:00] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef87800012d7b730005e759a80007015a22..."} 
[2026-09-08 08:34:00] local.INFO: Packet analysis {"connection_id":174188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:00] local.INFO: Extracted packet for processing {"connection_id":174188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763065088,"raw_latitude":99047848,"longitude_deg":76.3065088,"latitude_deg":9.9047848,"altitude":7,"angle":346,"satellites":34,"speed":35,"hex_longitude":"2d7b7300","hex_latitude":"05e759a8","is_valid_coordinates":true} 
[2026-09-08 08:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942169856001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129830418907136000,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087033039251456,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788836608000,"timestamp_ms":1788836608000,"timestamp_seconds":1788836608,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef87800"} 
[2026-09-08 08:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942169856001,"66":13374,"96":206,"87":13824,"24":35,"16":129830418907136000,"45":8896087033039251456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942169856001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:34:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129830418907136000,"km_value":129830418907136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087033039251456,"description":"Unknown IO ID 45"} 
[2026-09-08 08:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942169856001,"power":13374,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8896087033039251456}} 
[2026-09-08 08:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":174188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:34:00] local.INFO: GPS data processed {"connection_id":174188,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:34:00] local.INFO: Acknowledgment sent {"connection_id":174188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:34:03] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:03] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:03] local.INFO: IMEI packet received {"connection_id":174446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":174446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:34:08] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:08] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:08] local.INFO: IMEI packet received {"connection_id":174446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":174446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:34:09] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef825f8012d0c538007055290001d014914..."} 
[2026-09-08 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef825f8012d0c538007055290001d014914..."} 
[2026-09-08 08:34:09] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef825f8012d0c538007055290001d014914..."} 
[2026-09-08 08:34:09] local.INFO: Packet analysis {"connection_id":174446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:09] local.INFO: Extracted packet for processing {"connection_id":174446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117789328,"longitude_deg":75.5782528,"latitude_deg":11.7789328,"altitude":29,"angle":329,"satellites":20,"speed":30,"hex_longitude":"2d0c5380","hex_latitude":"07055290","is_valid_coordinates":true} 
[2026-09-08 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942163968001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30653434994622464,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891501650139361280,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788836587000,"timestamp_ms":1788836587000,"timestamp_seconds":1788836587,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef825f8"} 
[2026-09-08 08:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942163968001,"66":14461,"95":206,"94":10240,"24":30,"16":30653434994622464,"45":891501650139361280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 08:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942163968001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:34:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 08:34:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30653434994622464,"km_value":30653434994622.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":891501650139361280,"description":"Unknown IO ID 45"} 
[2026-09-08 08:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942163968001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":891501650139361280}} 
[2026-09-08 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":174446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:34:10] local.INFO: GPS data processed {"connection_id":174446,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:34:10] local.INFO: Acknowledgment sent {"connection_id":174446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:34:32] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef8c620012d7b6d8005e773900007015f22..."} 
[2026-09-08 08:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef8c620012d7b6d8005e773900007015f22..."} 
[2026-09-08 08:34:32] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef8c620012d7b6d8005e773900007015f22..."} 
[2026-09-08 08:34:32] local.INFO: Packet analysis {"connection_id":174188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:32] local.INFO: Extracted packet for processing {"connection_id":174188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763063680,"raw_latitude":99054480,"longitude_deg":76.306368,"latitude_deg":9.905448,"altitude":7,"angle":351,"satellites":34,"speed":24,"hex_longitude":"2d7b6d80","hex_latitude":"05e77390","is_valid_coordinates":true} 
[2026-09-08 08:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942171648001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129830749619617792,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895453714343110656,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788836628000,"timestamp_ms":1788836628000,"timestamp_seconds":1788836628,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef8c620"} 
[2026-09-08 08:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 08:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942171648001,"66":13646,"96":206,"87":13824,"24":24,"16":129830749619617792,"45":8895453714343110656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942171648001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:34:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:34:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129830749619617792,"km_value":129830749619617.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895453714343110656,"description":"Unknown IO ID 45"} 
[2026-09-08 08:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942171648001,"power":13646,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8895453714343110656}} 
[2026-09-08 08:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":174188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:34:32] local.INFO: GPS data processed {"connection_id":174188,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:34:32] local.INFO: Acknowledgment sent {"connection_id":174188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:34:41] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef93f38012d0c75400705aa700022004714..."} 
[2026-09-08 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef93f38012d0c75400705aa700022004714..."} 
[2026-09-08 08:34:41] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef93f38012d0c75400705aa700022004714..."} 
[2026-09-08 08:34:41] local.INFO: Packet analysis {"connection_id":174446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:34:41] local.INFO: Extracted packet for processing {"connection_id":174446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":755791168,"raw_latitude":117811824,"longitude_deg":75.5791168,"latitude_deg":11.7811824,"altitude":34,"angle":71,"satellites":20,"speed":29,"hex_longitude":"2d0c7540","hex_latitude":"0705aa70","is_valid_coordinates":true} 
[2026-09-08 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942184448001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30655122916769792,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896849674704107520,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788836659000,"timestamp_ms":1788836659000,"timestamp_seconds":1788836659,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef93f38"} 
[2026-09-08 08:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 08:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942184448001,"66":14461,"164":206,"94":10240,"24":29,"16":30655122916769792,"45":896849674704107520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 08:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942184448001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:34:41] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 08:34:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30655122916769792,"km_value":30655122916769.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":896849674704107520,"description":"Unknown IO ID 45"} 
[2026-09-08 08:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942184448001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":896849674704107520}} 
[2026-09-08 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":174446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:34:41] local.INFO: GPS data processed {"connection_id":174446,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:34:41] local.INFO: Acknowledgment sent {"connection_id":174446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:34:43] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:34:43] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:34:43] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:34:49] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:34:49] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:34:49] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:34:49] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:34:49] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:34:49] local.INFO: Packet analysis {"connection_id":175525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:49] local.INFO: Extracted packet for processing {"connection_id":175525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:34: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-09-08 08:34: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-09-08 08:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:34: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-09-08 08:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":175525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:34:49] local.INFO: GPS data processed {"connection_id":175525,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:34:49] local.INFO: Acknowledgment sent {"connection_id":175525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:34:53] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:53] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:53] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:34:55] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:55] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:55] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:34:56] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:56] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:56] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:34:58] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:58] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:34:58] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:34:58] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:58] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:58] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:34:59] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef8e560012d7b680005e789100007015121..."} 
[2026-09-08 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef8e560012d7b680005e789100007015121..."} 
[2026-09-08 08:34:59] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef8e560012d7b680005e789100007015121..."} 
[2026-09-08 08:34:59] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:59] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":99059984,"longitude_deg":76.3062272,"latitude_deg":9.9059984,"altitude":7,"angle":337,"satellites":33,"speed":21,"hex_longitude":"2d7b6800","hex_latitude":"05e78910","is_valid_coordinates":true} 
[2026-09-08 08:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942176768001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129831024497524736,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893905601972899840,"note":"Value kept but may cause issues"} 
[2026-09-08 08:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836636000,"timestamp_ms":1788836636000,"timestamp_seconds":1788836636,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef8e560"} 
[2026-09-08 08:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 08:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942176768001,"66":13037,"96":206,"87":13824,"24":21,"16":129831024497524736,"45":8893905601972899840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942176768001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129831024497524736,"km_value":129831024497524.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893905601972899840,"description":"Unknown IO ID 45"} 
[2026-09-08 08:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942176768001,"power":13037,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8893905601972899840}} 
[2026-09-08 08:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:34:59] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:34:59] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:34:59] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:59] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:34:59] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:35:01] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:01] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:01] local.INFO: IMEI packet received {"connection_id":176949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":176949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:35:01] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef92f98012d7b628005e79bf00006015e22..."} 
[2026-09-08 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef92f98012d7b628005e79bf00006015e22..."} 
[2026-09-08 08:35:01] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef92f98012d7b628005e79bf00006015e22..."} 
[2026-09-08 08:35:01] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:35:01] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763060864,"raw_latitude":99064816,"longitude_deg":76.3060864,"latitude_deg":9.9064816,"altitude":6,"angle":350,"satellites":34,"speed":22,"hex_longitude":"2d7b6280","hex_latitude":"05e79bf0","is_valid_coordinates":true} 
[2026-09-08 08:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942178816001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129831273605627904,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489602400256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788836655000,"timestamp_ms":1788836655000,"timestamp_seconds":1788836655,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef92f98"} 
[2026-09-08 08:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 08:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942178816001,"66":13059,"96":206,"87":13824,"24":22,"16":129831273605627904,"45":8892357489602400256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942178816001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129831273605627904,"km_value":129831273605627.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489602400256,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942178816001,"power":13059,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8892357489602400256}} 
[2026-09-08 08:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:01] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:01] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:01] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef94ed8012d0c81800705ac680020005314..."} 
[2026-09-08 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef94ed8012d0c81800705ac680020005314..."} 
[2026-09-08 08:35:01] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef94ed8012d0c81800705ac680020005314..."} 
[2026-09-08 08:35:01] local.INFO: Packet analysis {"connection_id":176949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:35:01] local.INFO: Extracted packet for processing {"connection_id":176949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755794304,"raw_latitude":117812328,"longitude_deg":75.5794304,"latitude_deg":11.7812328,"altitude":32,"angle":83,"satellites":20,"speed":31,"hex_longitude":"2d0c8180","hex_latitude":"0705ac68","is_valid_coordinates":true} 
[2026-09-08 08:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942184704001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30655273240625152,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897694099634286592,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788836663000,"timestamp_ms":1788836663000,"timestamp_seconds":1788836663,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef94ed8"} 
[2026-09-08 08:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 08:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942184704001,"66":14548,"164":206,"94":10240,"24":31,"16":30655273240625152,"45":897694099634286592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 08:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942184704001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30655273240625152,"km_value":30655273240625.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":897694099634286592,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942184704001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":897694099634286592}} 
[2026-09-08 08:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":176949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:01] local.INFO: GPS data processed {"connection_id":176949,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:01] local.INFO: Acknowledgment sent {"connection_id":176949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:21] local.INFO: TCP Data received {"connection_id":175525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:21] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:21] local.INFO: Packet analysis {"connection_id":175525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:35:21] local.INFO: Extracted packet for processing {"connection_id":175525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35: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-09-08 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:35: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-09-08 08:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:35: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-09-08 08:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":175525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:21] local.INFO: GPS data processed {"connection_id":175525,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:21] local.INFO: Acknowledgment sent {"connection_id":175525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:33] local.INFO: TCP Data received {"connection_id":176949,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efa1228012d0cf5800705d6e00010005114..."} 
[2026-09-08 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efa1228012d0cf5800705d6e00010005114..."} 
[2026-09-08 08:35:33] local.INFO: Processing buffer {"connection_id":176949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efa1228012d0cf5800705d6e00010005114..."} 
[2026-09-08 08:35:33] local.INFO: Packet analysis {"connection_id":176949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:35:33] local.INFO: Extracted packet for processing {"connection_id":176949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":755824000,"raw_latitude":117823200,"longitude_deg":75.5824,"latitude_deg":11.78232,"altitude":16,"angle":81,"satellites":20,"speed":25,"hex_longitude":"2d0cf580","hex_latitude":"0705d6e0","is_valid_coordinates":true} 
[2026-09-08 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942198016001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30656918213099520,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932315521772525568,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788836713000,"timestamp_ms":1788836713000,"timestamp_seconds":1788836713,"priority":1,"record_length":96,"hex_timestamp":"000001a07efa1228"} 
[2026-09-08 08:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 08:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942198016001,"66":14515,"220":206,"94":10240,"24":25,"16":30656918213099520,"45":932315521772525568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942198016001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30656918213099520,"km_value":30656918213099.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":932315521772525568,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942198016001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":932315521772525568}} 
[2026-09-08 08:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":176949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:33] local.INFO: GPS data processed {"connection_id":176949,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:33] local.INFO: Acknowledgment sent {"connection_id":176949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:33] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef952c0012d7b618005e7aa700005000125..."} 
[2026-09-08 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef952c0012d7b618005e7aa700005000125..."} 
[2026-09-08 08:35:33] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef952c0012d7b618005e7aa700005000125..."} 
[2026-09-08 08:35:33] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:35:33] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":99068528,"longitude_deg":76.3060608,"latitude_deg":9.9068528,"altitude":5,"angle":1,"satellites":37,"speed":14,"hex_longitude":"2d7b6180","hex_latitude":"05e7aa70","is_valid_coordinates":true} 
[2026-09-08 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942183680001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129831453994254336,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890809377231728640,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788836664000,"timestamp_ms":1788836664000,"timestamp_seconds":1788836664,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef952c0"} 
[2026-09-08 08:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861261,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818501,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4166821889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1068498944,"corrected_to":0} 
[2026-09-08 08:35:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,87,24,241,157,16,64,160,229,45,137,7,33,10,66,198,128,115,34,120,1,240,62,227,126,231,4,113,205,25,69,118,32,36,239,53,2,5,6],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1068498944,"validated":0}]} 
[2026-09-08 08:35:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432730539327619072,"timestamp_seconds":432730539327619.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942183680001,"66":13678,"96":206,"87":13824,"24":14,"16":129831453994254336,"45":8890809377231728640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942183680001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129831453994254336,"km_value":129831453994254.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890809377231728640,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942183680001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8890809377231728640}} 
[2026-09-08 08:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:33] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:33] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:47] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:35:47] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:35:47] local.INFO: IMEI packet received {"connection_id":174450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:35:52] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:35:52] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:35:52] local.INFO: IMEI packet received {"connection_id":174450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:35:53] local.INFO: TCP Data received {"connection_id":176950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:53] local.INFO: Processing buffer {"connection_id":176950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:53] local.INFO: IMEI packet received {"connection_id":176950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":176950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:35:53] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:53] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:53] local.INFO: Packet analysis {"connection_id":174450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:35:53] local.INFO: Extracted packet for processing {"connection_id":174450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:35: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-09-08 08:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:53] local.INFO: GPS data processed {"connection_id":174450,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:53] local.INFO: Acknowledgment sent {"connection_id":174450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:54] local.INFO: TCP Data received {"connection_id":176950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:54] local.INFO: Processing buffer {"connection_id":176950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:54] local.INFO: IMEI packet received {"connection_id":176950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":176950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:35:56] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:56] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:56] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:35:58] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:58] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:35:58] local.INFO: Packet analysis {"connection_id":174450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:35:58] local.INFO: Extracted packet for processing {"connection_id":174450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:35:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":174450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:35:58] local.INFO: GPS data processed {"connection_id":174450,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:35:58] local.INFO: Acknowledgment sent {"connection_id":174450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:35:58] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:58] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:58] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:35:59] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:59] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:35:59] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:35:59] local.INFO: TCP Data received {"connection_id":176950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:59] local.INFO: Processing buffer {"connection_id":176950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:35:59] local.INFO: IMEI packet received {"connection_id":176950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":176950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:36:00] local.INFO: TCP Data received {"connection_id":176950,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef981a0012d7b5fc005e7bd080004015e24..."} 
[2026-09-08 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef981a0012d7b5fc005e7bd080004015e24..."} 
[2026-09-08 08:36:00] local.INFO: Processing buffer {"connection_id":176950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef981a0012d7b5fc005e7bd080004015e24..."} 
[2026-09-08 08:36:00] local.INFO: Packet analysis {"connection_id":176950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:36:00] local.INFO: Extracted packet for processing {"connection_id":176950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef9"} 
[2026-09-08 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763060160,"raw_latitude":99073288,"longitude_deg":76.306016,"latitude_deg":9.9073288,"altitude":4,"angle":350,"satellites":36,"speed":15,"hex_longitude":"2d7b5fc0","hex_latitude":"05e7bd08","is_valid_coordinates":true} 
[2026-09-08 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942185984001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129831685922488320,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527902255968256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788836676000,"timestamp_ms":1788836676000,"timestamp_seconds":1788836676,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef981a0"} 
[2026-09-08 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942185984001,"66":13178,"96":206,"87":13824,"24":15,"16":129831685922488320,"45":8890527902255968256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942185984001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129831685922488320,"km_value":129831685922488.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527902255968256,"description":"Unknown IO ID 45"} 
[2026-09-08 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942185984001,"power":13178,"unknown_96":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8890527902255968256}} 
[2026-09-08 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":176950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:36:00] local.INFO: GPS data processed {"connection_id":176950,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:36:00] local.INFO: Acknowledgment sent {"connection_id":176950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:36:03] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:36:03] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:36:03] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:36:04] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efa19f8012d0cfa400705d6f00011005d14..."} 
[2026-09-08 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efa19f8012d0cfa400705d6f00011005d14..."} 
[2026-09-08 08:36:04] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efa19f8012d0cfa400705d6f00011005d14..."} 
[2026-09-08 08:36:04] local.INFO: Packet analysis {"connection_id":174451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:36:04] local.INFO: Extracted packet for processing {"connection_id":174451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:36:04] local.INFO: GPS Element Parsed {"raw_longitude":755825216,"raw_latitude":117823216,"longitude_deg":75.5825216,"latitude_deg":11.7823216,"altitude":17,"angle":93,"satellites":20,"speed":22,"hex_longitude":"2d0cfa40","hex_latitude":"0705d6f0","is_valid_coordinates":true} 
[2026-09-08 08:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942198528001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30656974047674368,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933793265400340480,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836715000,"timestamp_ms":1788836715000,"timestamp_seconds":1788836715,"priority":1,"record_length":96,"hex_timestamp":"000001a07efa19f8"} 
[2026-09-08 08:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 08:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942198528001,"66":14461,"220":206,"94":10240,"24":22,"16":30656974047674368,"45":933793265400340480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 08:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942198528001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:36:04] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 08:36:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30656974047674368,"km_value":30656974047674.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":933793265400340480,"description":"Unknown IO ID 45"} 
[2026-09-08 08:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942198528001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":933793265400340480}} 
[2026-09-08 08:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":174451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:36:04] local.INFO: GPS data processed {"connection_id":174451,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:36:04] local.INFO: Acknowledgment sent {"connection_id":174451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:36:15] local.INFO: TCP Data received {"connection_id":174449,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:36:15] local.INFO: Processing buffer {"connection_id":174449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:36:15] local.INFO: IMEI packet received {"connection_id":174449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":174449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:36:32] local.INFO: TCP Data received {"connection_id":176950,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efae518012d7b58c005e878700007016426..."} 
[2026-09-08 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efae518012d7b58c005e878700007016426..."} 
[2026-09-08 08:36:32] local.INFO: Processing buffer {"connection_id":176950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efae518012d7b58c005e878700007016426..."} 
[2026-09-08 08:36:32] local.INFO: Packet analysis {"connection_id":176950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:36:32] local.INFO: Extracted packet for processing {"connection_id":176950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":99121264,"longitude_deg":76.3058368,"latitude_deg":9.9121264,"altitude":7,"angle":356,"satellites":38,"speed":42,"hex_longitude":"2d7b58c0","hex_latitude":"05e87870","is_valid_coordinates":true} 
[2026-09-08 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942208768001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129834035269599232,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383386112,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788836767000,"timestamp_ms":1788836767000,"timestamp_seconds":1788836767,"priority":1,"record_length":96,"hex_timestamp":"000001a07efae518"} 
[2026-09-08 08:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":176950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":176950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":176950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942208768001,"66":13656,"201":206,"87":13824,"24":42,"16":129834035269599232,"45":8889120527383386112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942208768001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:36:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129834035269599232,"km_value":129834035269599.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383386112,"description":"Unknown IO ID 45"} 
[2026-09-08 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942208768001,"power":13656,"unknown_201":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8889120527383386112}} 
[2026-09-08 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":176950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:36:32] local.INFO: GPS data processed {"connection_id":176950,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:36:32] local.INFO: Acknowledgment sent {"connection_id":176950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:36:35] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efa4cc0012d0d1e800705d7200012005c14..."} 
[2026-09-08 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efa4cc0012d0d1e800705d7200012005c14..."} 
[2026-09-08 08:36:35] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efa4cc0012d0d1e800705d7200012005c14..."} 
[2026-09-08 08:36:35] local.INFO: Packet analysis {"connection_id":174451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:36:35] local.INFO: Extracted packet for processing {"connection_id":174451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":755834496,"raw_latitude":117823264,"longitude_deg":75.5834496,"latitude_deg":11.7823264,"altitude":18,"angle":92,"satellites":20,"speed":30,"hex_longitude":"2d0d1e80","hex_latitude":"0705d720","is_valid_coordinates":true} 
[2026-09-08 08:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942199040001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30657416429305856,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":935130271539720192,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788836728000,"timestamp_ms":1788836728000,"timestamp_seconds":1788836728,"priority":1,"record_length":96,"hex_timestamp":"000001a07efa4cc0"} 
[2026-09-08 08:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 08:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942199040001,"66":14580,"220":206,"94":10240,"24":30,"16":30657416429305856,"45":935130271539720192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 08:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942199040001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:36:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 08:36:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30657416429305856,"km_value":30657416429305.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":935130271539720192,"description":"Unknown IO ID 45"} 
[2026-09-08 08:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942199040001,"power":14580,"unknown_220":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":935130271539720192}} 
[2026-09-08 08:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":174451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:36:35] local.INFO: GPS data processed {"connection_id":174451,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:36:35] local.INFO: Acknowledgment sent {"connection_id":174451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:36:42] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:36:42] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:36:42] local.INFO: IMEI packet received {"connection_id":176951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":176951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:36:45] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:36:45] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:36:45] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:36:47] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:36:47] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:36:47] local.INFO: IMEI packet received {"connection_id":176951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":176951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:36:49] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:36:49] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:36:49] local.INFO: Packet analysis {"connection_id":176951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:36:49] local.INFO: Extracted packet for processing {"connection_id":176951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08: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":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:36: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-09-08 08: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-09-08 08:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:36: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-09-08 08:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":176951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:36:49] local.INFO: GPS data processed {"connection_id":176951,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:36:49] local.INFO: Acknowledgment sent {"connection_id":176951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:36:53] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:36:53] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:36:53] local.INFO: IMEI packet received {"connection_id":174452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":174452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:36:58] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:36:58] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:36:58] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:36:58] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:36:58] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:36:58] local.INFO: IMEI packet received {"connection_id":174452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":174452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:36:59] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efb0c28012d7b584005e89d080005000026..."} 
[2026-09-08 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efb0c28012d7b584005e89d080005000026..."} 
[2026-09-08 08:36:59] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efb0c28012d7b584005e89d080005000026..."} 
[2026-09-08 08:36:59] local.INFO: Packet analysis {"connection_id":174452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:36:59] local.INFO: Extracted packet for processing {"connection_id":174452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763058240,"raw_latitude":99130632,"longitude_deg":76.305824,"latitude_deg":9.9130632,"altitude":5,"angle":0,"satellites":38,"speed":24,"hex_longitude":"2d7b5840","hex_latitude":"05e89d08","is_valid_coordinates":true} 
[2026-09-08 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942212352001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129834490536132608,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996223250432,"note":"Value kept but may cause issues"} 
[2026-09-08 08:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836777000,"timestamp_ms":1788836777000,"timestamp_seconds":1788836777,"priority":1,"record_length":96,"hex_timestamp":"000001a07efb0c28"} 
[2026-09-08 08:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942212352001,"66":13048,"201":206,"87":13824,"24":24,"16":129834490536132608,"45":8888064996223250432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942212352001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129834490536132608,"km_value":129834490536132.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996223250432,"description":"Unknown IO ID 45"} 
[2026-09-08 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942212352001,"power":13048,"unknown_201":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8888064996223250432}} 
[2026-09-08 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":174452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:36:59] local.INFO: GPS data processed {"connection_id":174452,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:36:59] local.INFO: Acknowledgment sent {"connection_id":174452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:37:02] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:02] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:02] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:37:03] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efa6048012d0d2b000705d8280011005014..."} 
[2026-09-08 08:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efa6048012d0d2b000705d8280011005014..."} 
[2026-09-08 08:37:03] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efa6048012d0d2b000705d8280011005014..."} 
[2026-09-08 08:37:03] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:37:03] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117823528,"longitude_deg":75.5837696,"latitude_deg":11.7823528,"altitude":17,"angle":80,"satellites":20,"speed":14,"hex_longitude":"2d0d2b00","hex_latitude":"0705d828","is_valid_coordinates":true} 
[2026-09-08 08:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942202368001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30657571048128512,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":945333739445493760,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788836733000,"timestamp_ms":1788836733000,"timestamp_seconds":1788836733,"priority":1,"record_length":96,"hex_timestamp":"000001a07efa6048"} 
[2026-09-08 08:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 08:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942202368001,"66":14407,"220":206,"94":10240,"24":14,"16":30657571048128512,"45":945333739445493760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 08:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942202368001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30657571048128512,"km_value":30657571048128.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":945333739445493760,"description":"Unknown IO ID 45"} 
[2026-09-08 08:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942202368001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":945333739445493760}} 
[2026-09-08 08:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:37:03] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:37:03] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:37:20] local.INFO: TCP Data received {"connection_id":176951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:37:20] local.INFO: Processing buffer {"connection_id":176951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:37:20] local.INFO: Packet analysis {"connection_id":176951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:37:20] local.INFO: Extracted packet for processing {"connection_id":176951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:37: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-09-08 08:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:37: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-09-08 08:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:37: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-09-08 08:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":176951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:37:20] local.INFO: GPS data processed {"connection_id":176951,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:37:20] local.INFO: Acknowledgment sent {"connection_id":176951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:37:32] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efb2f50012d7b56c005e8b2f80003015c25..."} 
[2026-09-08 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efb2f50012d7b56c005e8b2f80003015c25..."} 
[2026-09-08 08:37:32] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efb2f50012d7b56c005e8b2f80003015c25..."} 
[2026-09-08 08:37:32] local.INFO: Packet analysis {"connection_id":174452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:37:32] local.INFO: Extracted packet for processing {"connection_id":174452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763057856,"raw_latitude":99136248,"longitude_deg":76.3057856,"latitude_deg":9.9136248,"altitude":3,"angle":348,"satellites":37,"speed":22,"hex_longitude":"2d7b56c0","hex_latitude":"05e8b2f8","is_valid_coordinates":true} 
[2026-09-08 08:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942214912001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129834761119072256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887924258737293312,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788836786000,"timestamp_ms":1788836786000,"timestamp_seconds":1788836786,"priority":1,"record_length":96,"hex_timestamp":"000001a07efb2f50"} 
[2026-09-08 08:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-08 08:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942214912001,"66":13798,"201":206,"87":13824,"24":22,"16":129834761119072256,"45":8887924258737293312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942214912001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:37:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:37:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129834761119072256,"km_value":129834761119072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887924258737293312,"description":"Unknown IO ID 45"} 
[2026-09-08 08:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942214912001,"power":13798,"unknown_201":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8887924258737293312}} 
[2026-09-08 08:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":174452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:37:32] local.INFO: GPS data processed {"connection_id":174452,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:37:32] local.INFO: Acknowledgment sent {"connection_id":174452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:37:34] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efa9310012d0d37c00705d7e8000e006114..."} 
[2026-09-08 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efa9310012d0d37c00705d7e8000e006114..."} 
[2026-09-08 08:37:34] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efa9310012d0d37c00705d7e8000e006114..."} 
[2026-09-08 08:37:34] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:37:34] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efa"} 
[2026-09-08 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117823464,"longitude_deg":75.584096,"latitude_deg":11.7823464,"altitude":14,"angle":97,"satellites":20,"speed":7,"hex_longitude":"2d0d37c0","hex_latitude":"0705d7e8","is_valid_coordinates":true} 
[2026-09-08 08:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942203648001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30657725666951168,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176654444544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788836746000,"timestamp_ms":1788836746000,"timestamp_seconds":1788836746,"priority":1,"record_length":96,"hex_timestamp":"000001a07efa9310"} 
[2026-09-08 08:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 08:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942203648001,"66":14591,"167":206,"94":11008,"24":7,"16":30657725666951168,"45":948852176654444544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942203648001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30657725666951168,"km_value":30657725666951.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176654444544,"description":"Unknown IO ID 45"} 
[2026-09-08 08:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942203648001,"power":14591,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":948852176654444544}} 
[2026-09-08 08:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:37:34] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:37:34] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:37:42] local.INFO: TCP Data received {"connection_id":176952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:37:42] local.INFO: Processing buffer {"connection_id":176952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:37:42] local.INFO: IMEI packet received {"connection_id":176952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":176952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:37:47] local.INFO: TCP Data received {"connection_id":176952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:37:47] local.INFO: Processing buffer {"connection_id":176952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:37:47] local.INFO: IMEI packet received {"connection_id":176952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":176952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:37:48] local.INFO: TCP Data received {"connection_id":176952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:37:48] local.INFO: Processing buffer {"connection_id":176952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:37:48] local.INFO: Packet analysis {"connection_id":176952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:37:48] local.INFO: Extracted packet for processing {"connection_id":176952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:37: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-09-08 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:37: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-09-08 08:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:37: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-09-08 08:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":176952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:37:48] local.INFO: GPS data processed {"connection_id":176952,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:37:48] local.INFO: Acknowledgment sent {"connection_id":176952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:37:58] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:58] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:58] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:37:58] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:37:58] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:37:58] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:37:59] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:59] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:37:59] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:38:01] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:01] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:01] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:38:03] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:03] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:03] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:38:04] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efc0628012d0d3d000705c0600014015d18..."} 
[2026-09-08 08:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efc0628012d0d3d000705c0600014015d18..."} 
[2026-09-08 08:38:04] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efc0628012d0d3d000705c0600014015d18..."} 
[2026-09-08 08:38:04] local.INFO: Packet analysis {"connection_id":174453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efc"} 
[2026-09-08 08:38:04] local.INFO: Extracted packet for processing {"connection_id":174453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efc"} 
[2026-09-08 08:38:04] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817440,"longitude_deg":75.5842304,"latitude_deg":11.781744,"altitude":20,"angle":349,"satellites":24,"speed":0,"hex_longitude":"2d0d3d00","hex_latitude":"0705c060","is_valid_coordinates":true} 
[2026-09-08 08:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942225920001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30658159458648064,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953918726233669632,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836841000,"timestamp_ms":1788836841000,"timestamp_seconds":1788836841,"priority":1,"record_length":96,"hex_timestamp":"000001a07efc0628"} 
[2026-09-08 08:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 08:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942225920001,"66":14374,"167":206,"94":11008,"24":0,"16":30658159458648064,"45":953918726233669632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942225920001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:38:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:38:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30658159458648064,"km_value":30658159458648.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":953918726233669632,"description":"Unknown IO ID 45"} 
[2026-09-08 08:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942225920001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":953918726233669632}} 
[2026-09-08 08:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":174453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:38:04] local.INFO: GPS data processed {"connection_id":174453,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:38:04] local.INFO: Acknowledgment sent {"connection_id":174453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:38:06] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:38:06] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:38:06] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:38:08] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efb71b8012d7b530005e8d6400001015f27..."} 
[2026-09-08 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efb71b8012d7b530005e8d6400001015f27..."} 
[2026-09-08 08:38:08] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efb71b8012d7b530005e8d6400001015f27..."} 
[2026-09-08 08:38:08] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:38:08] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":99145280,"longitude_deg":76.3056896,"latitude_deg":9.914528,"altitude":1,"angle":351,"satellites":39,"speed":16,"hex_longitude":"2d7b5300","hex_latitude":"05e8d640","is_valid_coordinates":true} 
[2026-09-08 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942217216001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129835203500703744,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887502046273665024,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788836803000,"timestamp_ms":1788836803000,"timestamp_seconds":1788836803,"priority":1,"record_length":96,"hex_timestamp":"000001a07efb71b8"} 
[2026-09-08 08:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 08:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942217216001,"66":13852,"201":206,"87":13824,"24":16,"16":129835203500703744,"45":8887502046273665024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942217216001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:38:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129835203500703744,"km_value":129835203500703.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887502046273665024,"description":"Unknown IO ID 45"} 
[2026-09-08 08:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942217216001,"power":13852,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8887502046273665024}} 
[2026-09-08 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:38:08] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:38:08] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:38:10] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efbbfd8012d7b508005e8ef880004016423..."} 
[2026-09-08 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efbbfd8012d7b508005e8ef880004016423..."} 
[2026-09-08 08:38:10] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efbbfd8012d7b508005e8ef880004016423..."} 
[2026-09-08 08:38:10] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:38:10] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efb"} 
[2026-09-08 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":99151752,"longitude_deg":76.3056256,"latitude_deg":9.9151752,"altitude":4,"angle":356,"satellites":35,"speed":19,"hex_longitude":"2d7b5080","hex_latitude":"05e8ef88","is_valid_coordinates":true} 
[2026-09-08 08:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942221568001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129835521328283648,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446515113312256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788836823000,"timestamp_ms":1788836823000,"timestamp_seconds":1788836823,"priority":1,"record_length":96,"hex_timestamp":"000001a07efbbfd8"} 
[2026-09-08 08:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 08:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942221568001,"66":13624,"201":206,"87":13824,"24":19,"16":129835521328283648,"45":8886446515113312256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942221568001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:38:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:38:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129835521328283648,"km_value":129835521328283.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446515113312256,"description":"Unknown IO ID 45"} 
[2026-09-08 08:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942221568001,"power":13624,"unknown_201":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8886446515113312256}} 
[2026-09-08 08:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:38:10] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:38:10] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:38:20] local.INFO: TCP Data received {"connection_id":176952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:38:20] local.INFO: Processing buffer {"connection_id":176952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:38:20] local.INFO: Packet analysis {"connection_id":176952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:38:20] local.INFO: Extracted packet for processing {"connection_id":176952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:38: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-09-08 08: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-09-08 08: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-09-08 08:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:38: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-09-08 08:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":176952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:38:20] local.INFO: GPS data processed {"connection_id":176952,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:38:20] local.INFO: Acknowledgment sent {"connection_id":176952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:38:35] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efcfc40012d0d3c400705d628001c004f18..."} 
[2026-09-08 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efcfc40012d0d3c400705d628001c004f18..."} 
[2026-09-08 08:38:35] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efcfc40012d0d3c400705d628001c004f18..."} 
[2026-09-08 08:38:35] local.INFO: Packet analysis {"connection_id":174453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efc"} 
[2026-09-08 08:38:35] local.INFO: Extracted packet for processing {"connection_id":174453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efc"} 
[2026-09-08 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":117823016,"longitude_deg":75.5842112,"latitude_deg":11.7823016,"altitude":28,"angle":79,"satellites":24,"speed":6,"hex_longitude":"2d0d3c40","hex_latitude":"0705d628","is_valid_coordinates":true} 
[2026-09-08 08:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942246656001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30658468696293376,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038793302016,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788836904000,"timestamp_ms":1788836904000,"timestamp_seconds":1788836904,"priority":1,"record_length":96,"hex_timestamp":"000001a07efcfc40"} 
[2026-09-08 08:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942246656001,"66":14439,"167":206,"94":11008,"24":6,"16":30658468696293376,"45":953215038793302016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942246656001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:38:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:38:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30658468696293376,"km_value":30658468696293.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038793302016,"description":"Unknown IO ID 45"} 
[2026-09-08 08:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942246656001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953215038793302016}} 
[2026-09-08 08:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":174453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:38:35] local.INFO: GPS data processed {"connection_id":174453,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:38:35] local.INFO: Acknowledgment sent {"connection_id":174453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:38:42] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:38:42] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:38:42] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:38:47] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:38:47] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:38:47] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:38:48] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:38:48] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ef89740012d34c44006aa4280000a005c27..."} 
[2026-09-08 08:38:48] local.INFO: Packet analysis {"connection_id":174192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:38:48] local.INFO: Extracted packet for processing {"connection_id":174192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ef8"} 
[2026-09-08 08:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942096640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836616000,"timestamp_ms":1788836616000,"timestamp_seconds":1788836616,"priority":1,"record_length":96,"hex_timestamp":"000001a07ef89740"} 
[2026-09-08 08:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:38: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-09-08 08:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 08:38: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-09-08 08:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:38: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-09-08 08:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942096640001,"66":25538,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942096640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942096640001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":174192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:38:48] local.INFO: GPS data processed {"connection_id":174192,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:38:48] local.INFO: Acknowledgment sent {"connection_id":174192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:38:58] local.INFO: TCP Data received {"connection_id":176956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:58] local.INFO: Processing buffer {"connection_id":176956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:38:58] local.INFO: IMEI packet received {"connection_id":176956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":176956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:39:00] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:00] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:00] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:39:01] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:01] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:01] local.INFO: IMEI packet received {"connection_id":176955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":176955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:39:01] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efcd530012d7b7f8005e93bd80009004723..."} 
[2026-09-08 08:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efcd530012d7b7f8005e93bd80009004723..."} 
[2026-09-08 08:39:01] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efcd530012d7b7f8005e93bd80009004723..."} 
[2026-09-08 08:39:01] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efc"} 
[2026-09-08 08:39:01] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efc"} 
[2026-09-08 08:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":99171288,"longitude_deg":76.3068288,"latitude_deg":9.9171288,"altitude":9,"angle":71,"satellites":35,"speed":13,"hex_longitude":"2d7b7f80","hex_latitude":"05e93bd8","is_valid_coordinates":true} 
[2026-09-08 08:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942244096001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837003092000768,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251676594176,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788836894000,"timestamp_ms":1788836894000,"timestamp_seconds":1788836894,"priority":1,"record_length":96,"hex_timestamp":"000001a07efcd530"} 
[2026-09-08 08:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942244096001,"66":13222,"201":206,"87":13824,"24":13,"16":129837003092000768,"45":8897846251676594176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942244096001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:39:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837003092000768,"km_value":129837003092000.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251676594176,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942244096001,"power":13222,"unknown_201":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8897846251676594176}} 
[2026-09-08 08:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:01] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:01] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:02] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd07f8012d7b834005e93bb00007005922..."} 
[2026-09-08 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd07f8012d7b834005e93bb00007005922..."} 
[2026-09-08 08:39:02] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd07f8012d7b834005e93bb00007005922..."} 
[2026-09-08 08:39:02] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:02] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":99171248,"longitude_deg":76.3069248,"latitude_deg":9.9171248,"altitude":7,"angle":89,"satellites":34,"speed":8,"hex_longitude":"2d7b8340","hex_latitude":"05e93bb0","is_valid_coordinates":true} 
[2026-09-08 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942244864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837058926575616,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898972151583594496,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788836907000,"timestamp_ms":1788836907000,"timestamp_seconds":1788836907,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd07f8"} 
[2026-09-08 08:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942244864001,"66":13656,"201":206,"87":13824,"24":8,"16":129837058926575616,"45":8898972151583594496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942244864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837058926575616,"km_value":129837058926575.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898972151583594496,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942244864001,"power":13656,"unknown_201":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8898972151583594496}} 
[2026-09-08 08:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:03] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:03] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:03] local.INFO: TCP Data received {"connection_id":176956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:39:03] local.INFO: Processing buffer {"connection_id":176956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:39:03] local.INFO: IMEI packet received {"connection_id":176956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":176956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:39:04] local.INFO: TCP Data received {"connection_id":176956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd0410012d0d3dc00705d638001c006118..."} 
[2026-09-08 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd0410012d0d3dc00705d638001c006118..."} 
[2026-09-08 08:39:04] local.INFO: Processing buffer {"connection_id":176956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd0410012d0d3dc00705d638001c006118..."} 
[2026-09-08 08:39:04] local.INFO: Packet analysis {"connection_id":176956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:04] local.INFO: Extracted packet for processing {"connection_id":176956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:04] local.INFO: GPS Element Parsed {"raw_longitude":755842496,"raw_latitude":117823032,"longitude_deg":75.5842496,"latitude_deg":11.7823032,"altitude":28,"angle":97,"satellites":24,"speed":11,"hex_longitude":"2d0d3dc0","hex_latitude":"0705d638","is_valid_coordinates":true} 
[2026-09-08 08:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942247424001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30658485876162560,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953707620002572288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788836906000,"timestamp_ms":1788836906000,"timestamp_seconds":1788836906,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd0410"} 
[2026-09-08 08:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942247424001,"66":14428,"167":206,"94":11008,"24":11,"16":30658485876162560,"45":953707620002572288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942247424001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:39:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30658485876162560,"km_value":30658485876162.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":953707620002572288,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942247424001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":953707620002572288}} 
[2026-09-08 08:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":176956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:04] local.INFO: GPS data processed {"connection_id":176956,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:04] local.INFO: Acknowledgment sent {"connection_id":176956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:20] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:39:20] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:39:20] local.INFO: Packet analysis {"connection_id":174192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:20] local.INFO: Extracted packet for processing {"connection_id":174192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39: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-09-08 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:39: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-09-08 08:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":174192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:20] local.INFO: GPS data processed {"connection_id":174192,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:20] local.INFO: Acknowledgment sent {"connection_id":174192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:34] local.INFO: TCP Data received {"connection_id":176955,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2738012d7b8e0005e93d500005004c23..."} 
[2026-09-08 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2738012d7b8e0005e93d500005004c23..."} 
[2026-09-08 08:39:34] local.INFO: Processing buffer {"connection_id":176955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2738012d7b8e0005e93d500005004c23..."} 
[2026-09-08 08:39:34] local.INFO: Packet analysis {"connection_id":176955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:34] local.INFO: Extracted packet for processing {"connection_id":176955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763072000,"raw_latitude":99171664,"longitude_deg":76.3072,"latitude_deg":9.9171664,"altitude":5,"angle":76,"satellites":35,"speed":19,"hex_longitude":"2d7b8e00","hex_latitude":"05e93d50","is_valid_coordinates":true} 
[2026-09-08 08:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942248192001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837192070561792,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682746249216,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788836915000,"timestamp_ms":1788836915000,"timestamp_seconds":1788836915,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2738"} 
[2026-09-08 08:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942248192001,"66":13678,"201":206,"87":13824,"24":19,"16":129837192070561792,"45":8900027682746249216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942248192001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837192070561792,"km_value":129837192070561.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682746249216,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942248192001,"power":13678,"unknown_201":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8900027682746249216}} 
[2026-09-08 08:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":176955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:34] local.INFO: GPS data processed {"connection_id":176955,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:34] local.INFO: Acknowledgment sent {"connection_id":176955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:35] local.INFO: TCP Data received {"connection_id":176956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd1798012d0d45000705d690001d005118..."} 
[2026-09-08 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd1798012d0d45000705d690001d005118..."} 
[2026-09-08 08:39:35] local.INFO: Processing buffer {"connection_id":176956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd1798012d0d45000705d690001d005118..."} 
[2026-09-08 08:39:35] local.INFO: Packet analysis {"connection_id":176956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:35] local.INFO: Extracted packet for processing {"connection_id":176956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":755844352,"raw_latitude":117823120,"longitude_deg":75.5844352,"latitude_deg":11.782312,"altitude":29,"angle":81,"satellites":24,"speed":18,"hex_longitude":"2d0d4500","hex_latitude":"0705d690","is_valid_coordinates":true} 
[2026-09-08 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942247936001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30658571775508480,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954129832467642368,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788836911000,"timestamp_ms":1788836911000,"timestamp_seconds":1788836911,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd1798"} 
[2026-09-08 08:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942247936001,"66":14450,"167":206,"94":11008,"24":18,"16":30658571775508480,"45":954129832467642368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942247936001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:39:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30658571775508480,"km_value":30658571775508.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":954129832467642368,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942247936001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":954129832467642368}} 
[2026-09-08 08:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":176956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:35] local.INFO: GPS data processed {"connection_id":176956,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:35] local.INFO: Acknowledgment sent {"connection_id":176956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:42] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:39:42] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:39:42] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:39:47] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:39:47] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:39:47] local.INFO: IMEI packet received {"connection_id":176958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":176958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:39:48] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:39:48] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:39:48] local.INFO: Packet analysis {"connection_id":176958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:48] local.INFO: Extracted packet for processing {"connection_id":176958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39: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-09-08 08:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:39: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-09-08 08:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":176958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:48] local.INFO: GPS data processed {"connection_id":176958,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:48] local.INFO: Acknowledgment sent {"connection_id":176958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:56] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:56] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:56] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:39:56] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:56] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:39:56] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:39:57] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd7558012d7b984005e941880005004424..."} 
[2026-09-08 08:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd7558012d7b984005e941880005004424..."} 
[2026-09-08 08:39:57] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd7558012d7b984005e941880005004424..."} 
[2026-09-08 08:39:57] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:57] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99172744,"longitude_deg":76.3074624,"latitude_deg":9.9172744,"altitude":5,"angle":68,"satellites":36,"speed":0,"hex_longitude":"2d7b9840","hex_latitude":"05e94188","is_valid_coordinates":true} 
[2026-09-08 08:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250240001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837333804482560,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903053538745995264,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788836935000,"timestamp_ms":1788836935000,"timestamp_seconds":1788836935,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd7558"} 
[2026-09-08 08:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250240001,"66":13917,"201":206,"87":13824,"24":0,"16":129837333804482560,"45":8903053538745995264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 08:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250240001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 08:39:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837333804482560,"km_value":129837333804482.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903053538745995264,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250240001,"power":13917,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8903053538745995264}} 
[2026-09-08 08:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:57] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:57] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:39:58] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efdbba8012d7b9dc005e943500005003323..."} 
[2026-09-08 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efdbba8012d7b9dc005e943500005003323..."} 
[2026-09-08 08:39:58] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efdbba8012d7b9dc005e943500005003323..."} 
[2026-09-08 08:39:58] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:58] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763076032,"raw_latitude":99173200,"longitude_deg":76.3076032,"latitude_deg":9.91732,"altitude":5,"angle":51,"satellites":35,"speed":1,"hex_longitude":"2d7b9dc0","hex_latitude":"05e94350","is_valid_coordinates":true} 
[2026-09-08 08:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942255360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837402523959296,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657257555968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788836953000,"timestamp_ms":1788836953000,"timestamp_seconds":1788836953,"priority":1,"record_length":96,"hex_timestamp":"000001a07efdbba8"} 
[2026-09-08 08:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 08:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942255360001,"66":13580,"9":206,"87":13824,"24":1,"16":129837402523959296,"45":8905938657257555968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942255360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:39:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:39:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837402523959296,"km_value":129837402523959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657257555968,"description":"Unknown IO ID 45"} 
[2026-09-08 08:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942255360001,"power":13580,"unknown_9":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8905938657257555968}} 
[2026-09-08 08:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:39:58] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:39:58] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:01] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:01] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:01] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:40:03] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:03] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:03] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:40:03] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:03] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:03] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:40:05] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:05] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:05] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:40:06] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe30d8012d0d60c007061fd8001d005318..."} 
[2026-09-08 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe30d8012d0d60c007061fd8001d005318..."} 
[2026-09-08 08:40:06] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe30d8012d0d60c007061fd8001d005318..."} 
[2026-09-08 08:40:06] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:06] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":117841880,"longitude_deg":75.5851456,"latitude_deg":11.784188,"altitude":29,"angle":83,"satellites":24,"speed":10,"hex_longitude":"2d0d60c0","hex_latitude":"07061fd8","is_valid_coordinates":true} 
[2026-09-08 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942267392001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30659731416678400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963699981680615424,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788836983000,"timestamp_ms":1788836983000,"timestamp_seconds":1788836983,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe30d8"} 
[2026-09-08 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942267392001,"66":14428,"167":206,"94":11008,"24":10,"16":30659731416678400,"45":963699981680615424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942267392001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:40:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30659731416678400,"km_value":30659731416678.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":963699981680615424,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942267392001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":963699981680615424}} 
[2026-09-08 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:06] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:06] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:08] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe63a0012d0d76c0070621d8001b005f18..."} 
[2026-09-08 08:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe63a0012d0d76c0070621d8001b005f18..."} 
[2026-09-08 08:40:08] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe63a0012d0d76c0070621d8001b005f18..."} 
[2026-09-08 08:40:08] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:08] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:08] local.INFO: GPS Element Parsed {"raw_longitude":755857088,"raw_latitude":117842392,"longitude_deg":75.5857088,"latitude_deg":11.7842392,"altitude":27,"angle":95,"satellites":24,"speed":21,"hex_longitude":"2d0d76c0","hex_latitude":"070621d8","is_valid_coordinates":true} 
[2026-09-08 08:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942267648001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660001999618048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456657340416,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788836996000,"timestamp_ms":1788836996000,"timestamp_seconds":1788836996,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe63a0"} 
[2026-09-08 08:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942267648001,"66":14515,"167":206,"94":11008,"24":21,"16":30660001999618048,"45":963981456657340416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942267648001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:40:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660001999618048,"km_value":30660001999618.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456657340416,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942267648001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":963981456657340416}} 
[2026-09-08 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:09] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:09] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:19] local.INFO: TCP Data received {"connection_id":176958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:40:19] local.INFO: Processing buffer {"connection_id":176958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:40:19] local.INFO: Packet analysis {"connection_id":176958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:40:19] local.INFO: Extracted packet for processing {"connection_id":176958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40: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-09-08 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:40: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-09-08 08:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":176958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:19] local.INFO: GPS data processed {"connection_id":176958,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:19] local.INFO: Acknowledgment sent {"connection_id":176958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:29] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe09c8012d7b9e0005e943b00005003322..."} 
[2026-09-08 08:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe09c8012d7b9e0005e943b00005003322..."} 
[2026-09-08 08:40:29] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe09c8012d7b9e0005e943b00005003322..."} 
[2026-09-08 08:40:29] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:29] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":99173296,"longitude_deg":76.3076096,"latitude_deg":9.9173296,"altitude":5,"angle":51,"satellites":34,"speed":0,"hex_longitude":"2d7b9e00","hex_latitude":"05e943b0","is_valid_coordinates":true} 
[2026-09-08 08:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942259968001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837411113893888,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907486769629581312,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788836973000,"timestamp_ms":1788836973000,"timestamp_seconds":1788836973,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe09c8"} 
[2026-09-08 08:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631685,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912572928,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3655265933401784320,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4241829889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297200585,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1174667264,"corrected_to":0} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8142514625462665227,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906504929136215,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,9,87,24,241,157,16,70,160,117,45,64,65,5,36,10,66,201,39,61,35,7,1,240,88,227,126,233,4,113,205,13,123,112,239,49,2,11,27,52,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1174667264,"validated":0}]} 
[2026-09-08 08:40:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360344195606577152,"timestamp_seconds":360344195606577.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942259968001,"66":13830,"9":206,"87":13824,"24":0,"16":129837411113893888,"45":8907486769629581312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942259968001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:40:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837411113893888,"km_value":129837411113893.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907486769629581312,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942259968001,"power":13830,"unknown_9":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8907486769629581312}} 
[2026-09-08 08:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:29] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:29] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:39] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe6f58012d0d7e0007062228001a005218..."} 
[2026-09-08 08:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe6f58012d0d7e0007062228001a005218..."} 
[2026-09-08 08:40:39] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe6f58012d0d7e0007062228001a005218..."} 
[2026-09-08 08:40:39] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:39] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":755858944,"raw_latitude":117842472,"longitude_deg":75.5858944,"latitude_deg":11.7842472,"altitude":26,"angle":82,"satellites":24,"speed":25,"hex_longitude":"2d0d7e00","hex_latitude":"07062228","is_valid_coordinates":true} 
[2026-09-08 08:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942270976001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660087898963968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970173906145105920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788836999000,"timestamp_ms":1788836999000,"timestamp_seconds":1788836999,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe6f58"} 
[2026-09-08 08:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942270976001,"66":14396,"167":206,"94":11008,"24":25,"16":30660087898963968,"45":970173906145105920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942270976001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:40:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660087898963968,"km_value":30660087898963.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":970173906145105920,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942270976001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":970173906145105920}} 
[2026-09-08 08:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:40] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:40] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:42] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:40:42] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:40:42] local.INFO: IMEI packet received {"connection_id":176959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":176959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:40:47] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:40:47] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:40:47] local.INFO: IMEI packet received {"connection_id":176959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":176959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:40:48] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:40:48] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:40:48] local.INFO: Packet analysis {"connection_id":176959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:40:48] local.INFO: Extracted packet for processing {"connection_id":176959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40: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-09-08 08:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:40: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-09-08 08:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":176959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:48] local.INFO: GPS data processed {"connection_id":176959,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:48] local.INFO: Acknowledgment sent {"connection_id":176959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:40:53] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:40:53] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:40:53] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:40:58] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:58] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:40:58] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:40:58] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:40:58] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:40:58] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:40:59] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe5bd0012d7b9e0005e943b00005003325..."} 
[2026-09-08 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe5bd0012d7b9e0005e943b00005003325..."} 
[2026-09-08 08:40:59] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe5bd0012d7b9e0005e943b00005003325..."} 
[2026-09-08 08:40:59] local.INFO: Packet analysis {"connection_id":174194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:59] local.INFO: Extracted packet for processing {"connection_id":174194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":99173296,"longitude_deg":76.3076096,"latitude_deg":9.9173296,"altitude":5,"angle":51,"satellites":37,"speed":0,"hex_longitude":"2d7b9e00","hex_latitude":"05e943b0","is_valid_coordinates":true} 
[2026-09-08 08:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942265088001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837411113893888,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138373783552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788836994000,"timestamp_ms":1788836994000,"timestamp_seconds":1788836994,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe5bd0"} 
[2026-09-08 08:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5348033163231232,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627174980608,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912855552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4245157889,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1175519232,"corrected_to":0} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2147871035,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070381,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-1152590021430082071,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2305855105018363931,"note":"Value kept but may cause issues"} 
[2026-09-08 08:40:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,9,87,24,241,157,16,70,160,187,45,192,67,5,35,10,66,117,64,65,36,201,39,1,240,110,227,126,233,4,113,205,8,213,127,216,239,51,2,19,181,53],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1175519232,"validated":0}]} 
[2026-09-08 08:40:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360344191311544320,"timestamp_seconds":360344191311544.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942265088001,"66":13765,"9":206,"87":13824,"24":0,"16":129837411113893888,"45":8907557138373783552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942265088001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837411113893888,"km_value":129837411113893.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138373783552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942265088001,"power":13765,"unknown_9":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8907557138373783552}} 
[2026-09-08 08:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":174194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:40:59] local.INFO: GPS data processed {"connection_id":174194,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:40:59] local.INFO: Acknowledgment sent {"connection_id":174194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:41:00] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:41:00] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:41:00] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:41:01] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe7728012d0d8340070623800019004218..."} 
[2026-09-08 08:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe7728012d0d8340070623800019004218..."} 
[2026-09-08 08:41:01] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe7728012d0d8340070623800019004218..."} 
[2026-09-08 08:41:01] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:01] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:01] local.INFO: GPS Element Parsed {"raw_longitude":755860288,"raw_latitude":117842816,"longitude_deg":75.5860288,"latitude_deg":11.7842816,"altitude":25,"angle":66,"satellites":24,"speed":27,"hex_longitude":"2d0d8340","hex_latitude":"07062380","is_valid_coordinates":true} 
[2026-09-08 08:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942271744001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660152323473408,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":972214599726278656,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788837001000,"timestamp_ms":1788837001000,"timestamp_seconds":1788837001,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe7728"} 
[2026-09-08 08:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942271744001,"66":14407,"167":206,"94":11008,"24":27,"16":30660152323473408,"45":972214599726278656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942271744001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:41:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:41:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660152323473408,"km_value":30660152323473.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":972214599726278656,"description":"Unknown IO ID 45"} 
[2026-09-08 08:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942271744001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":972214599726278656}} 
[2026-09-08 08:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:41:01] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:41:01] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:41:19] local.INFO: TCP Data received {"connection_id":176959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:41:19] local.INFO: Processing buffer {"connection_id":176959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:41:19] local.INFO: Packet analysis {"connection_id":176959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:41:19] local.INFO: Extracted packet for processing {"connection_id":176959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:41: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-09-08 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:41: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-09-08 08:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":176959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:41:19] local.INFO: GPS data processed {"connection_id":176959,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:41:19] local.INFO: Acknowledgment sent {"connection_id":176959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:41:30] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efeadd8012d7b9e0005e943b0000500331f..."} 
[2026-09-08 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efeadd8012d7b9e0005e943b0000500331f..."} 
[2026-09-08 08:41:30] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efeadd8012d7b9e0005e943b0000500331f..."} 
[2026-09-08 08:41:30] local.INFO: Packet analysis {"connection_id":174194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:30] local.INFO: Extracted packet for processing {"connection_id":174194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":99173296,"longitude_deg":76.3076096,"latitude_deg":9.9173296,"altitude":5,"angle":51,"satellites":31,"speed":0,"hex_longitude":"2d7b9e00","hex_latitude":"05e943b0","is_valid_coordinates":true} 
[2026-09-08 08:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942270464001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837411113893888,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138373783552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788837015000,"timestamp_ms":1788837015000,"timestamp_seconds":1788837015,"priority":1,"record_length":96,"hex_timestamp":"000001a07efeadd8"} 
[2026-09-08 08:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-08 08:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942270464001,"66":13602,"9":206,"87":13824,"24":0,"16":129837411113893888,"45":8907557138373783552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942270464001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837411113893888,"km_value":129837411113893.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138373783552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942270464001,"power":13602,"unknown_9":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8907557138373783552}} 
[2026-09-08 08:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":174194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:41:30] local.INFO: GPS data processed {"connection_id":174194,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:41:30] local.INFO: Acknowledgment sent {"connection_id":174194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:41:32] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe7ef8012d0d8840070626a80018003218..."} 
[2026-09-08 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe7ef8012d0d8840070626a80018003218..."} 
[2026-09-08 08:41:32] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe7ef8012d0d8840070626a80018003218..."} 
[2026-09-08 08:41:32] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:32] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":755861568,"raw_latitude":117843624,"longitude_deg":75.5861568,"latitude_deg":11.7843624,"altitude":24,"angle":50,"satellites":24,"speed":30,"hex_longitude":"2d0d8840","hex_latitude":"070626a8","is_valid_coordinates":true} 
[2026-09-08 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942272256001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660229632884736,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973692343354097664,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788837003000,"timestamp_ms":1788837003000,"timestamp_seconds":1788837003,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe7ef8"} 
[2026-09-08 08:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 08:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942272256001,"66":14450,"167":206,"94":11008,"24":30,"16":30660229632884736,"45":973692343354097664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942272256001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:41:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:41:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660229632884736,"km_value":30660229632884.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":973692343354097664,"description":"Unknown IO ID 45"} 
[2026-09-08 08:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942272256001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":973692343354097664}} 
[2026-09-08 08:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:41:32] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:41:32] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:41:47] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:41:47] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:41:47] local.INFO: IMEI packet received {"connection_id":174456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:41:50] local.INFO: TCP Data received {"connection_id":176960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:41:50] local.INFO: Processing buffer {"connection_id":176960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:41:50] local.INFO: IMEI packet received {"connection_id":176960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":176960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:41:52] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:41:52] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:41:52] local.INFO: IMEI packet received {"connection_id":174456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":174456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:41:53] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:41:53] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:41:53] local.INFO: IMEI packet received {"connection_id":175527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":175527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:41:53] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:41:53] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:41:53] local.INFO: Packet analysis {"connection_id":174456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:41:53] local.INFO: Extracted packet for processing {"connection_id":174456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":174456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:41:53] local.INFO: GPS data processed {"connection_id":174456,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:41:53] local.INFO: Acknowledgment sent {"connection_id":174456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:41:58] local.INFO: TCP Data received {"connection_id":174457,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:41:58] local.INFO: Processing buffer {"connection_id":174457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:41:58] local.INFO: IMEI packet received {"connection_id":174457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":174457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:41:58] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:41:58] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:41:58] local.INFO: IMEI packet received {"connection_id":175527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":175527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:41:59] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07efed8d0012d7b9fc005e944900005004523..."} 
[2026-09-08 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efed8d0012d7b9fc005e944900005004523..."} 
[2026-09-08 08:41:59] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efed8d0012d7b9fc005e944900005004523..."} 
[2026-09-08 08:41:59] local.INFO: Packet analysis {"connection_id":175527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:59] local.INFO: Extracted packet for processing {"connection_id":175527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763076544,"raw_latitude":99173520,"longitude_deg":76.3076544,"latitude_deg":9.917352,"altitude":5,"angle":69,"satellites":35,"speed":2,"hex_longitude":"2d7b9fc0","hex_latitude":"05e94490","is_valid_coordinates":true} 
[2026-09-08 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942275840001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837436883697664,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138373783552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788837026000,"timestamp_ms":1788837026000,"timestamp_seconds":1788837026,"priority":1,"record_length":96,"hex_timestamp":"000001a07efed8d0"} 
[2026-09-08 08:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 08:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942275840001,"66":13428,"9":206,"87":13824,"24":2,"16":129837436883697664,"45":8907557138373783552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942275840001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837436883697664,"km_value":129837436883697.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138373783552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942275840001,"power":13428,"unknown_9":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8907557138373783552}} 
[2026-09-08 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":175527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:41:59] local.INFO: GPS data processed {"connection_id":175527,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:41:59] local.INFO: Acknowledgment sent {"connection_id":175527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:42:03] local.INFO: TCP Data received {"connection_id":174457,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:42:03] local.INFO: Processing buffer {"connection_id":174457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:42:03] local.INFO: IMEI packet received {"connection_id":174457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":174457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:42:04] local.INFO: TCP Data received {"connection_id":174457,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efe8ab0012d0d8f0007062b900017003e18..."} 
[2026-09-08 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efe8ab0012d0d8f0007062b900017003e18..."} 
[2026-09-08 08:42:04] local.INFO: Processing buffer {"connection_id":174457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efe8ab0012d0d8f0007062b900017003e18..."} 
[2026-09-08 08:42:04] local.INFO: Packet analysis {"connection_id":174457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:42:04] local.INFO: Extracted packet for processing {"connection_id":174457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":755863296,"raw_latitude":117844880,"longitude_deg":75.5863296,"latitude_deg":11.784488,"altitude":23,"angle":62,"satellites":24,"speed":27,"hex_longitude":"2d0d8f00","hex_latitude":"07062b90","is_valid_coordinates":true} 
[2026-09-08 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942272768001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660328417132544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":975099718237857792,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837006000,"timestamp_ms":1788837006000,"timestamp_seconds":1788837006,"priority":1,"record_length":96,"hex_timestamp":"000001a07efe8ab0"} 
[2026-09-08 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942272768001,"66":14428,"167":206,"94":11008,"24":27,"16":30660328417132544,"45":975099718237857792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942272768001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:42:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:42:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660328417132544,"km_value":30660328417132.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":975099718237857792,"description":"Unknown IO ID 45"} 
[2026-09-08 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942272768001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":975099718237857792}} 
[2026-09-08 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":174457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:42:04] local.INFO: GPS data processed {"connection_id":174457,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:42:04] local.INFO: Acknowledgment sent {"connection_id":174457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:42:27] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:42:27] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:42:27] local.INFO: Packet analysis {"connection_id":174456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:42:27] local.INFO: Extracted packet for processing {"connection_id":174456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":174456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:42:27] local.INFO: GPS data processed {"connection_id":174456,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:42:27] local.INFO: Acknowledgment sent {"connection_id":174456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:42:30] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07eff26f0012d7ba88005e947780006004224..."} 
[2026-09-08 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07eff26f0012d7ba88005e947780006004224..."} 
[2026-09-08 08:42:30] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07eff26f0012d7ba88005e947780006004224..."} 
[2026-09-08 08:42:30] local.INFO: Packet analysis {"connection_id":175527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07eff"} 
[2026-09-08 08:42:30] local.INFO: Extracted packet for processing {"connection_id":175527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07eff"} 
[2026-09-08 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763078784,"raw_latitude":99174264,"longitude_deg":76.3078784,"latitude_deg":9.9174264,"altitude":6,"angle":66,"satellites":36,"speed":3,"hex_longitude":"2d7ba880","hex_latitude":"05e94778","is_valid_coordinates":true} 
[2026-09-08 08:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942278656001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129837548552847360,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908049719583084544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788837046000,"timestamp_ms":1788837046000,"timestamp_seconds":1788837046,"priority":1,"record_length":96,"hex_timestamp":"000001a07eff26f0"} 
[2026-09-08 08:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 08:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942278656001,"66":13102,"9":206,"87":13824,"24":3,"16":129837548552847360,"45":8908049719583084544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942278656001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:42:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129837548552847360,"km_value":129837548552847.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908049719583084544,"description":"Unknown IO ID 45"} 
[2026-09-08 08:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942278656001,"power":13102,"unknown_9":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8908049719583084544}} 
[2026-09-08 08:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":175527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:42:30] local.INFO: GPS data processed {"connection_id":175527,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:42:30] local.INFO: Acknowledgment sent {"connection_id":175527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:42:35] local.INFO: TCP Data received {"connection_id":174457,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efea608012d0da0c0070634000019002f18..."} 
[2026-09-08 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efea608012d0da0c0070634000019002f18..."} 
[2026-09-08 08:42:35] local.INFO: Processing buffer {"connection_id":174457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efea608012d0da0c0070634000019002f18..."} 
[2026-09-08 08:42:35] local.INFO: Packet analysis {"connection_id":174457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:42:35] local.INFO: Extracted packet for processing {"connection_id":174457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755867840,"raw_latitude":117847040,"longitude_deg":75.586784,"latitude_deg":11.784704,"altitude":25,"angle":47,"satellites":24,"speed":20,"hex_longitude":"2d0da0c0","hex_latitude":"07063400","is_valid_coordinates":true} 
[2026-09-08 08:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942273536001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660568935301120,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":976999674330976256,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788837013000,"timestamp_ms":1788837013000,"timestamp_seconds":1788837013,"priority":1,"record_length":96,"hex_timestamp":"000001a07efea608"} 
[2026-09-08 08:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942273536001,"66":14428,"167":206,"94":11008,"24":20,"16":30660568935301120,"45":976999674330976256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942273536001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:42:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:42:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660568935301120,"km_value":30660568935301.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":976999674330976256,"description":"Unknown IO ID 45"} 
[2026-09-08 08:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942273536001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":976999674330976256}} 
[2026-09-08 08:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":174457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:42:35] local.INFO: GPS data processed {"connection_id":174457,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:42:35] local.INFO: Acknowledgment sent {"connection_id":174457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:42:42] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:42:42] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:42:42] local.INFO: IMEI packet received {"connection_id":174195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":174195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:42:47] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:42:47] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:42:47] local.INFO: IMEI packet received {"connection_id":174195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:42:48] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:42:48] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:42:48] local.INFO: Packet analysis {"connection_id":174195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:42:48] local.INFO: Extracted packet for processing {"connection_id":174195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:42: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-09-08 08:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:42: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-09-08 08:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":174195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:42:48] local.INFO: GPS data processed {"connection_id":174195,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:42:48] local.INFO: Acknowledgment sent {"connection_id":174195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:42:53] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:42:53] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:42:53] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:42:58] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:42:58] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:42:58] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:42:58] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:42:58] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:42:58] local.INFO: IMEI packet received {"connection_id":174458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":174458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:42:59] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f00e440012d7c658005e98cb00006004625..."} 
[2026-09-08 08:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f00e440012d7c658005e98cb00006004625..."} 
[2026-09-08 08:42:59] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f00e440012d7c658005e98cb00006004625..."} 
[2026-09-08 08:42:59] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f00"} 
[2026-09-08 08:42:59] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f00"} 
[2026-09-08 08:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763127168,"raw_latitude":99191984,"longitude_deg":76.3127168,"latitude_deg":9.9191984,"altitude":6,"angle":70,"satellites":37,"speed":30,"hex_longitude":"2d7c6580","hex_latitude":"05e98cb0","is_valid_coordinates":true} 
[2026-09-08 08:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942309888001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129840035338911744,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211615767457792,"note":"Value kept but may cause issues"} 
[2026-09-08 08:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788837160000,"timestamp_ms":1788837160000,"timestamp_seconds":1788837160,"priority":1,"record_length":96,"hex_timestamp":"000001a07f00e440"} 
[2026-09-08 08:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 08:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942309888001,"66":13624,"9":206,"87":13824,"24":30,"16":129840035338911744,"45":8954211615767457792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942309888001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:42:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:42:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129840035338911744,"km_value":129840035338911.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211615767457792,"description":"Unknown IO ID 45"} 
[2026-09-08 08:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942309888001,"power":13624,"unknown_9":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8954211615767457792}} 
[2026-09-08 08:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:42:59] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:42:59] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:43:03] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:03] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:03] local.INFO: IMEI packet received {"connection_id":174458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":174458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:43:03] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efea9f0012d0da200070635300019002218..."} 
[2026-09-08 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efea9f0012d0da200070635300019002218..."} 
[2026-09-08 08:43:03] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efea9f0012d0da200070635300019002218..."} 
[2026-09-08 08:43:03] local.INFO: Packet analysis {"connection_id":174458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:43:03] local.INFO: Extracted packet for processing {"connection_id":174458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117847344,"longitude_deg":75.586816,"latitude_deg":11.7847344,"altitude":25,"angle":34,"satellites":24,"speed":14,"hex_longitude":"2d0da200","hex_latitude":"07063530","is_valid_coordinates":true} 
[2026-09-08 08:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660590410137600,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981995855168143360,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788837014000,"timestamp_ms":1788837014000,"timestamp_seconds":1788837014,"priority":1,"record_length":96,"hex_timestamp":"000001a07efea9f0"} 
[2026-09-08 08:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942275328001,"66":14439,"167":206,"94":11008,"24":14,"16":30660590410137600,"45":981995855168143360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:43:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:43:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660590410137600,"km_value":30660590410137.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":981995855168143360,"description":"Unknown IO ID 45"} 
[2026-09-08 08:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942275328001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":981995855168143360}} 
[2026-09-08 08:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":174458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:43:03] local.INFO: GPS data processed {"connection_id":174458,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:43:03] local.INFO: Acknowledgment sent {"connection_id":174458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:43:20] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:43:20] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:43:20] local.INFO: Packet analysis {"connection_id":174195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:43:20] local.INFO: Extracted packet for processing {"connection_id":174195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:43: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-09-08 08:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:43: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-09-08 08:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":174195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:43:20] local.INFO: GPS data processed {"connection_id":174195,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:43:20] local.INFO: Acknowledgment sent {"connection_id":174195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:43:31] local.INFO: TCP Data received {"connection_id":175529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f010380012d7c778005e993b80007003724..."} 
[2026-09-08 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f010380012d7c778005e993b80007003724..."} 
[2026-09-08 08:43:31] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f010380012d7c778005e993b80007003724..."} 
[2026-09-08 08:43:31] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:43:31] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763131776,"raw_latitude":99193784,"longitude_deg":76.3131776,"latitude_deg":9.9193784,"altitude":7,"angle":55,"satellites":36,"speed":17,"hex_longitude":"2d7c7780","hex_latitude":"05e993b8","is_valid_coordinates":true} 
[2026-09-08 08:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942312960001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129840275857080320,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963711396232343552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788837168000,"timestamp_ms":1788837168000,"timestamp_seconds":1788837168,"priority":1,"record_length":96,"hex_timestamp":"000001a07f010380"} 
[2026-09-08 08:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 08:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942312960001,"66":13254,"9":206,"87":13824,"24":17,"16":129840275857080320,"45":8963711396232343552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942312960001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129840275857080320,"km_value":129840275857080.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963711396232343552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942312960001,"power":13254,"unknown_9":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8963711396232343552}} 
[2026-09-08 08:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:43:31] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:43:31] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:43:35] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07efee870012d0da1c007063c600018016018..."} 
[2026-09-08 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efee870012d0da1c007063c600018016018..."} 
[2026-09-08 08:43:35] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efee870012d0da1c007063c600018016018..."} 
[2026-09-08 08:43:35] local.INFO: Packet analysis {"connection_id":174458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:43:35] local.INFO: Extracted packet for processing {"connection_id":174458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efe"} 
[2026-09-08 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":755868096,"raw_latitude":117849184,"longitude_deg":75.5868096,"latitude_deg":11.7849184,"altitude":24,"angle":352,"satellites":24,"speed":5,"hex_longitude":"2d0da1c0","hex_latitude":"07063c60","is_valid_coordinates":true} 
[2026-09-08 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942275584001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30660684899418112,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698889109504,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788837030000,"timestamp_ms":1788837030000,"timestamp_seconds":1788837030,"priority":1,"record_length":96,"hex_timestamp":"000001a07efee870"} 
[2026-09-08 08:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 08:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942275584001,"66":14450,"167":206,"94":11008,"24":5,"16":30660684899418112,"45":982347698889109504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942275584001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:43:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:43:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30660684899418112,"km_value":30660684899418.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698889109504,"description":"Unknown IO ID 45"} 
[2026-09-08 08:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942275584001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":982347698889109504}} 
[2026-09-08 08:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":174458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:43:35] local.INFO: GPS data processed {"connection_id":174458,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:43:35] local.INFO: Acknowledgment sent {"connection_id":174458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:43:42] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:43:42] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:43:42] local.INFO: IMEI packet received {"connection_id":175530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":175530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:43:47] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:43:47] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:43:47] local.INFO: IMEI packet received {"connection_id":175530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":175530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:43:48] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:43:48] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07efd2f08012d34c44006aa4280000a005c25..."} 
[2026-09-08 08:43:48] local.INFO: Packet analysis {"connection_id":175530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:43:48] local.INFO: Extracted packet for processing {"connection_id":175530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07efd"} 
[2026-09-08 08:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942173696001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788836917000,"timestamp_ms":1788836917000,"timestamp_seconds":1788836917,"priority":1,"record_length":96,"hex_timestamp":"000001a07efd2f08"} 
[2026-09-08 08:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08: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-09-08 08: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 08:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:43: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-09-08 08:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942173696001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942173696001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942173696001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":175530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:43:48] local.INFO: GPS data processed {"connection_id":175530,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:43:48] local.INFO: Acknowledgment sent {"connection_id":175530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:43:58] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:58] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:58] local.INFO: IMEI packet received {"connection_id":174196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":174196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:43:58] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:43:58] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:43:58] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:43:59] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:59] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:43:59] local.INFO: IMEI packet received {"connection_id":174196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":174196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:43:59] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:43:59] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:43:59] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:44:01] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:44:01] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:44:01] local.INFO: IMEI packet received {"connection_id":174196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":174196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:44:01] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01da58012d0da44007065540001e001f1b..."} 
[2026-09-08 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01da58012d0da44007065540001e001f1b..."} 
[2026-09-08 08:44:01] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01da58012d0da44007065540001e001f1b..."} 
[2026-09-08 08:44:01] local.INFO: Packet analysis {"connection_id":174196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:01] local.INFO: Extracted packet for processing {"connection_id":174196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":755868736,"raw_latitude":117855552,"longitude_deg":75.5868736,"latitude_deg":11.7855552,"altitude":30,"angle":31,"satellites":27,"speed":10,"hex_longitude":"2d0da440","hex_latitude":"07065540","is_valid_coordinates":true} 
[2026-09-08 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942328064001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661011316932608,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436379406336,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788837223000,"timestamp_ms":1788837223000,"timestamp_seconds":1788837223,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01da58"} 
[2026-09-08 08:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942328064001,"66":14450,"167":206,"94":11008,"24":10,"16":30661011316932608,"45":982488436379406336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942328064001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661011316932608,"km_value":30661011316932.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436379406336,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942328064001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":982488436379406336}} 
[2026-09-08 08:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":174196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:02] local.INFO: GPS data processed {"connection_id":174196,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:02] local.INFO: Acknowledgment sent {"connection_id":174196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:03] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:03] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:03] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:44:04] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.34","data_length":1340,"data_hex":"000000000000030f8e0a000001a07f010b50012d7c7a0005e995d00006002824..."} 
[2026-09-08 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a07f010b50012d7c7a0005e995d00006002824..."} 
[2026-09-08 08:44:04] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a07f010b50012d7c7a0005e995d00006002824..."} 
[2026-09-08 08:44:04] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:04] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":99194320,"longitude_deg":76.3132416,"latitude_deg":9.919432,"altitude":6,"angle":40,"satellites":36,"speed":13,"hex_longitude":"2d7c7a00","hex_latitude":"05e995d0","is_valid_coordinates":true} 
[2026-09-08 08:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942315008001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129840314511785984,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968777945813596160,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837170000,"timestamp_ms":1788837170000,"timestamp_seconds":1788837170,"priority":1,"record_length":96,"hex_timestamp":"000001a07f010b50"} 
[2026-09-08 08:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942315008001,"66":13646,"9":206,"87":13824,"24":13,"16":129840314511785984,"45":8968777945813596160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942315008001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129840314511785984,"km_value":129840314511785.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968777945813596160,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942315008001,"power":13646,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8968777945813596160}} 
[2026-09-08 08:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:04] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:04] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:04] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:04] local.INFO: Incomplete packet, waiting for more data {"connection_id":175532,"needed":795,"available":545} 
[2026-09-08 08:44:05] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.34","data_length":1045,"data_hex":"e3001001cd479c00000000000001a07f003c48012d7bf60005e9633800090050..."} 
[2026-09-08 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":1045,"packet_hex":"e3001001cd479c00000000000001a07f003c48012d7bf60005e9633800090050..."} 
[2026-09-08 08:44:05] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07f015970012d7c7a4005e996b00004002521..."} 
[2026-09-08 08:44:05] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:05] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763132480,"raw_latitude":99194544,"longitude_deg":76.313248,"latitude_deg":9.9194544,"altitude":4,"angle":37,"satellites":33,"speed":0,"hex_longitude":"2d7c7a40","hex_latitude":"05e996b0","is_valid_coordinates":true} 
[2026-09-08 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942315520001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129840331691655168,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481633255510016,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788837190000,"timestamp_ms":1788837190000,"timestamp_seconds":1788837190,"priority":1,"record_length":96,"hex_timestamp":"000001a07f015970"} 
[2026-09-08 08:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942315520001,"66":13048,"9":206,"87":13824,"24":0,"16":129840331691655168,"45":8969481633255510016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942315520001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129840331691655168,"km_value":129840331691655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481633255510016,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942315520001,"power":13048,"unknown_9":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8969481633255510016}} 
[2026-09-08 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:05] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:05] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:05] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:05] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":99194776,"longitude_deg":76.3132864,"latitude_deg":9.9194776,"altitude":4,"angle":65,"satellites":35,"speed":6,"hex_longitude":"2d7c7bc0","hex_latitude":"05e99798","is_valid_coordinates":true} 
[2026-09-08 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942320640001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129840353166491648,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969552001999745024,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788837209000,"timestamp_ms":1788837209000,"timestamp_seconds":1788837209,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01a3a8"} 
[2026-09-08 08:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942320640001,"66":13787,"9":206,"87":13824,"24":6,"16":129840353166491648,"45":8969552001999745024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942320640001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129840353166491648,"km_value":129840353166491.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969552001999745024,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942320640001,"power":13787,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8969552001999745024}} 
[2026-09-08 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:05] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:05] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:19] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:44:19] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:44:19] local.INFO: Packet analysis {"connection_id":175530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:19] local.INFO: Extracted packet for processing {"connection_id":175530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44: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-09-08 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:44: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-09-08 08:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":175530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:20] local.INFO: GPS data processed {"connection_id":175530,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:20] local.INFO: Acknowledgment sent {"connection_id":175530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:32] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f021108012d0da70007065ae0001f002c1b..."} 
[2026-09-08 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f021108012d0da70007065ae0001f002c1b..."} 
[2026-09-08 08:44:32] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f021108012d0da70007065ae0001f002c1b..."} 
[2026-09-08 08:44:32] local.INFO: Packet analysis {"connection_id":174196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:44:32] local.INFO: Extracted packet for processing {"connection_id":174196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":755869440,"raw_latitude":117856992,"longitude_deg":75.586944,"latitude_deg":11.7856992,"altitude":31,"angle":44,"satellites":27,"speed":2,"hex_longitude":"2d0da700","hex_latitude":"07065ae0","is_valid_coordinates":true} 
[2026-09-08 08:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942329088001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661097216278528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982981017588809728,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788837237000,"timestamp_ms":1788837237000,"timestamp_seconds":1788837237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f021108"} 
[2026-09-08 08:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174196,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942329088001,"66":14439,"167":206,"94":11008,"24":2,"16":30661097216278528,"45":982981017588809728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942329088001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661097216278528,"km_value":30661097216278.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":982981017588809728,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942329088001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":982981017588809728}} 
[2026-09-08 08:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":174196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:32] local.INFO: GPS data processed {"connection_id":174196,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:32] local.INFO: Acknowledgment sent {"connection_id":174196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:38] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01ab78012d7c7dc005e998200004005223..."} 
[2026-09-08 08:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01ab78012d7c7dc005e998200004005223..."} 
[2026-09-08 08:44:38] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01ab78012d7c7dc005e998200004005223..."} 
[2026-09-08 08:44:38] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:38] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763133376,"raw_latitude":99194912,"longitude_deg":76.3133376,"latitude_deg":9.9194912,"altitude":4,"angle":82,"satellites":35,"speed":14,"hex_longitude":"2d7c7dc0","hex_latitude":"05e99820","is_valid_coordinates":true} 
[2026-09-08 08:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942325504001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129840378936295424,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214464870400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788837211000,"timestamp_ms":1788837211000,"timestamp_seconds":1788837211,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01ab78"} 
[2026-09-08 08:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942325504001,"66":13363,"9":206,"87":13824,"24":14,"16":129840378936295424,"45":8969974214464870400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-08 08:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942325504001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-08 08:44:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129840378936295424,"km_value":129840378936295.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214464870400,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942325504001,"power":13363,"unknown_9":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8969974214464870400}} 
[2026-09-08 08:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:38] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:38] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:47] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:44:47] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:44:47] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:44:52] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:44:52] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:44:52] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:44:53] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:44:53] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:44:53] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:53] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:44:53] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:44:53] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:44:55] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:55] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:55] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:44:56] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:56] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:56] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:44:58] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:44:58] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:44:58] local.INFO: IMEI packet received {"connection_id":176962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":176962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:44:58] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:58] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:58] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:44:59] local.INFO: TCP Data received {"connection_id":176961,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:59] local.INFO: Processing buffer {"connection_id":176961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:44:59] local.INFO: IMEI packet received {"connection_id":176961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":176961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:45:03] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:03] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:03] local.INFO: IMEI packet received {"connection_id":176962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":176962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:45:04] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0218d8012d0da70007065b10001f00371b..."} 
[2026-09-08 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0218d8012d0da70007065b10001f00371b..."} 
[2026-09-08 08:45:04] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0218d8012d0da70007065b10001f00371b..."} 
[2026-09-08 08:45:04] local.INFO: Packet analysis {"connection_id":176962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:45:04] local.INFO: Extracted packet for processing {"connection_id":176962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":755869440,"raw_latitude":117857040,"longitude_deg":75.586944,"latitude_deg":11.785704,"altitude":31,"angle":55,"satellites":27,"speed":1,"hex_longitude":"2d0da700","hex_latitude":"07065b10","is_valid_coordinates":true} 
[2026-09-08 08:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942332672001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661097216278528,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983755073775132672,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837239000,"timestamp_ms":1788837239000,"timestamp_seconds":1788837239,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0218d8"} 
[2026-09-08 08:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 08:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942332672001,"66":14450,"167":206,"94":11008,"24":1,"16":30661097216278528,"45":983755073775132672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942332672001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:45:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:45:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661097216278528,"km_value":30661097216278.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":983755073775132672,"description":"Unknown IO ID 45"} 
[2026-09-08 08:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942332672001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":983755073775132672}} 
[2026-09-08 08:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":176962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:45:04] local.INFO: GPS data processed {"connection_id":176962,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:45:04] local.INFO: Acknowledgment sent {"connection_id":176962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:45:24] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:45:24] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:45:24] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:45:24] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:45: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-09-08 08:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:45:24] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:45:24] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:45:35] local.INFO: TCP Data received {"connection_id":176962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f022490012d0da74007065bb0001f001a1b..."} 
[2026-09-08 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f022490012d0da74007065bb0001f001a1b..."} 
[2026-09-08 08:45:35] local.INFO: Processing buffer {"connection_id":176962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f022490012d0da74007065bb0001f001a1b..."} 
[2026-09-08 08:45:35] local.INFO: Packet analysis {"connection_id":176962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:45:35] local.INFO: Extracted packet for processing {"connection_id":176962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":755869504,"raw_latitude":117857200,"longitude_deg":75.5869504,"latitude_deg":11.78572,"altitude":31,"angle":26,"satellites":27,"speed":2,"hex_longitude":"2d0da740","hex_latitude":"07065bb0","is_valid_coordinates":true} 
[2026-09-08 08:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942333184001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661110101180416,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983755073775144960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788837242000,"timestamp_ms":1788837242000,"timestamp_seconds":1788837242,"priority":1,"record_length":96,"hex_timestamp":"000001a07f022490"} 
[2026-09-08 08:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942333184001,"66":14515,"167":206,"94":11008,"24":2,"16":30661110101180416,"45":983755073775144960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942333184001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:45:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:45:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661110101180416,"km_value":30661110101180.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":983755073775144960,"description":"Unknown IO ID 45"} 
[2026-09-08 08:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942333184001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":983755073775144960}} 
[2026-09-08 08:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":176962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:45:35] local.INFO: GPS data processed {"connection_id":176962,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:45:35] local.INFO: Acknowledgment sent {"connection_id":176962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:45:42] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:45:42] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:45:42] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:45:47] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:45:47] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:45:47] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:45:48] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:45:48] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:45:48] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:45:48] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:45: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-09-08 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:45: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-09-08 08:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:45:48] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:45:48] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:45:58] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:58] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:58] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:45:59] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:59] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:45:59] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:46:03] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:03] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:03] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:46:04] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f023430012d0da88007065db0001f00271b..."} 
[2026-09-08 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f023430012d0da88007065db0001f00271b..."} 
[2026-09-08 08:46:04] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f023430012d0da88007065db0001f00271b..."} 
[2026-09-08 08:46:04] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:46:04] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755869824,"raw_latitude":117857712,"longitude_deg":75.5869824,"latitude_deg":11.7857712,"altitude":31,"angle":39,"satellites":27,"speed":7,"hex_longitude":"2d0da880","hex_latitude":"07065db0","is_valid_coordinates":true} 
[2026-09-08 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942333952001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661140165951488,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983825442519363584,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837246000,"timestamp_ms":1788837246000,"timestamp_seconds":1788837246,"priority":1,"record_length":96,"hex_timestamp":"000001a07f023430"} 
[2026-09-08 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 08:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942333952001,"66":14428,"167":206,"94":11008,"24":7,"16":30661140165951488,"45":983825442519363584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942333952001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:46:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:46:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661140165951488,"km_value":30661140165951.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":983825442519363584,"description":"Unknown IO ID 45"} 
[2026-09-08 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942333952001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":983825442519363584}} 
[2026-09-08 08:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:46:04] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:46:04] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:46:19] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:46:19] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:46:19] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:46:19] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:46: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-09-08 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:46: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-09-08 08:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:46:19] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:46:19] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:46:35] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f026ae0012d0dacc0070663980020003e1b..."} 
[2026-09-08 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f026ae0012d0dacc0070663980020003e1b..."} 
[2026-09-08 08:46:35] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f026ae0012d0dacc0070663980020003e1b..."} 
[2026-09-08 08:46:35] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:46:35] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f02"} 
[2026-09-08 08:46:35] local.INFO: GPS Element Parsed {"raw_longitude":755870912,"raw_latitude":117859224,"longitude_deg":75.5870912,"latitude_deg":11.7859224,"altitude":32,"angle":62,"satellites":27,"speed":7,"hex_longitude":"2d0dacc0","hex_latitude":"07066398","is_valid_coordinates":true} 
[2026-09-08 08:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942334976001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661234655232000,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984177286240382976,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788837260000,"timestamp_ms":1788837260000,"timestamp_seconds":1788837260,"priority":1,"record_length":96,"hex_timestamp":"000001a07f026ae0"} 
[2026-09-08 08:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942334976001,"66":14396,"167":206,"94":11008,"24":7,"16":30661234655232000,"45":984177286240382976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942334976001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:46:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:46:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661234655232000,"km_value":30661234655232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":984177286240382976,"description":"Unknown IO ID 45"} 
[2026-09-08 08:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942334976001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":984177286240382976}} 
[2026-09-08 08:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:46:35] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:46:35] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:46:42] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:46:42] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:46:42] local.INFO: IMEI packet received {"connection_id":174460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":174460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:46:47] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:46:47] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:46:47] local.INFO: IMEI packet received {"connection_id":174460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:46:48] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:46:48] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:46:48] local.INFO: Packet analysis {"connection_id":174460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:46:48] local.INFO: Extracted packet for processing {"connection_id":174460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:46: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-09-08 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:46: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-09-08 08:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":174460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:46:48] local.INFO: GPS data processed {"connection_id":174460,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:46:48] local.INFO: Acknowledgment sent {"connection_id":174460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:46:58] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:58] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:58] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:46:58] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:58] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:46:58] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:47:00] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:47:00] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:47:00] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:47:03] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:47:03] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:47:03] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:47:04] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f047e20012d0dbdc007067d70001f001b1e..."} 
[2026-09-08 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f047e20012d0dbdc007067d70001f001b1e..."} 
[2026-09-08 08:47:04] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f047e20012d0dbdc007067d70001f001b1e..."} 
[2026-09-08 08:47:04] local.INFO: Packet analysis {"connection_id":174461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f04"} 
[2026-09-08 08:47:04] local.INFO: Extracted packet for processing {"connection_id":174461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f04"} 
[2026-09-08 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":755875264,"raw_latitude":117865840,"longitude_deg":75.5875264,"latitude_deg":11.786584,"altitude":31,"angle":27,"satellites":30,"speed":2,"hex_longitude":"2d0dbdc0","hex_latitude":"07067d70","is_valid_coordinates":true} 
[2026-09-08 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942368768001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661677036863488,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989947523265044480,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837396000,"timestamp_ms":1788837396000,"timestamp_seconds":1788837396,"priority":1,"record_length":96,"hex_timestamp":"000001a07f047e20"} 
[2026-09-08 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942368768001,"66":14374,"167":206,"94":11008,"24":2,"16":30661677036863488,"45":989947523265044480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942368768001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661677036863488,"km_value":30661677036863.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":989947523265044480,"description":"Unknown IO ID 45"} 
[2026-09-08 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942368768001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":989947523265044480}} 
[2026-09-08 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":174461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:47:04] local.INFO: GPS data processed {"connection_id":174461,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:47:04] local.INFO: Acknowledgment sent {"connection_id":174461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:47:19] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:47:19] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:47:19] local.INFO: Packet analysis {"connection_id":174460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:47:19] local.INFO: Extracted packet for processing {"connection_id":174460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:47: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-09-08 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:47: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-09-08 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":174460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:47:19] local.INFO: GPS data processed {"connection_id":174460,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:47:19] local.INFO: Acknowledgment sent {"connection_id":174460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:47:26] local.INFO: TCP Data received {"connection_id":176964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:47:26] local.INFO: Processing buffer {"connection_id":176964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:47:26] local.INFO: IMEI packet received {"connection_id":176964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":176964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:47:35] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f04fb20012d0dcfc007067fd8001c001a1e..."} 
[2026-09-08 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f04fb20012d0dcfc007067fd8001c001a1e..."} 
[2026-09-08 08:47:35] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f04fb20012d0dcfc007067fd8001c001a1e..."} 
[2026-09-08 08:47:35] local.INFO: Packet analysis {"connection_id":174461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f04"} 
[2026-09-08 08:47:35] local.INFO: Extracted packet for processing {"connection_id":174461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f04"} 
[2026-09-08 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117866456,"longitude_deg":75.5879872,"latitude_deg":11.7866456,"altitude":28,"angle":26,"satellites":30,"speed":4,"hex_longitude":"2d0dcfc0","hex_latitude":"07067fd8","is_valid_coordinates":true} 
[2026-09-08 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942381312001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661917555032064,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995225179078494208,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788837428000,"timestamp_ms":1788837428000,"timestamp_seconds":1788837428,"priority":1,"record_length":96,"hex_timestamp":"000001a07f04fb20"} 
[2026-09-08 08:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942381312001,"66":14396,"167":206,"94":11008,"24":4,"16":30661917555032064,"45":995225179078494208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942381312001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:47:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:47:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661917555032064,"km_value":30661917555032.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":995225179078494208,"description":"Unknown IO ID 45"} 
[2026-09-08 08:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942381312001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":995225179078494208}} 
[2026-09-08 08:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":174461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:47:35] local.INFO: GPS data processed {"connection_id":174461,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:47:35] local.INFO: Acknowledgment sent {"connection_id":174461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:47:44] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:47:44] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:47:44] local.INFO: IMEI packet received {"connection_id":175536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:47:47] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:47:47] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:47:47] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:47:52] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:47:52] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:47:52] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:47:54] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:47:54] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:47:54] local.INFO: Packet analysis {"connection_id":175537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:47:54] local.INFO: Extracted packet for processing {"connection_id":175537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:47:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":175537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:47:54] local.INFO: GPS data processed {"connection_id":175537,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:47:54] local.INFO: Acknowledgment sent {"connection_id":175537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:48:03] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:03] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:03] local.INFO: IMEI packet received {"connection_id":174462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":174462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:48:08] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:08] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:08] local.INFO: IMEI packet received {"connection_id":174462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":174462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:48:09] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0502f0012d0dd04007068070001c00041e..."} 
[2026-09-08 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0502f0012d0dd04007068070001c00041e..."} 
[2026-09-08 08:48:09] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0502f0012d0dd04007068070001c00041e..."} 
[2026-09-08 08:48:09] local.INFO: Packet analysis {"connection_id":174462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f05"} 
[2026-09-08 08:48:09] local.INFO: Extracted packet for processing {"connection_id":174462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f05"} 
[2026-09-08 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":755880000,"raw_latitude":117866608,"longitude_deg":75.588,"latitude_deg":11.7866608,"altitude":28,"angle":4,"satellites":30,"speed":3,"hex_longitude":"2d0dd040","hex_latitude":"07068070","is_valid_coordinates":true} 
[2026-09-08 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942381568001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661926144966656,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995225179078514688,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788837430000,"timestamp_ms":1788837430000,"timestamp_seconds":1788837430,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0502f0"} 
[2026-09-08 08:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942381568001,"66":14428,"167":206,"94":11008,"24":3,"16":30661926144966656,"45":995225179078514688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942381568001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:48:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:48:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661926144966656,"km_value":30661926144966.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":995225179078514688,"description":"Unknown IO ID 45"} 
[2026-09-08 08:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942381568001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":995225179078514688}} 
[2026-09-08 08:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":174462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:48:09] local.INFO: GPS data processed {"connection_id":174462,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:48:09] local.INFO: Acknowledgment sent {"connection_id":174462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:48:29] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:48:29] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:48:29] local.INFO: Packet analysis {"connection_id":175537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:48:29] local.INFO: Extracted packet for processing {"connection_id":175537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:48:29] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:48:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":175537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:48:29] local.INFO: GPS data processed {"connection_id":175537,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:48:29] local.INFO: Acknowledgment sent {"connection_id":175537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:48:41] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f054d28012d0dd080070681b8001b00131e..."} 
[2026-09-08 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f054d28012d0dd080070681b8001b00131e..."} 
[2026-09-08 08:48:41] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f054d28012d0dd080070681b8001b00131e..."} 
[2026-09-08 08:48:41] local.INFO: Packet analysis {"connection_id":174462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f05"} 
[2026-09-08 08:48:41] local.INFO: Extracted packet for processing {"connection_id":174462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f05"} 
[2026-09-08 08:48:41] local.INFO: GPS Element Parsed {"raw_longitude":755880064,"raw_latitude":117866936,"longitude_deg":75.5880064,"latitude_deg":11.7866936,"altitude":27,"angle":19,"satellites":30,"speed":1,"hex_longitude":"2d0dd080","hex_latitude":"070681b8","is_valid_coordinates":true} 
[2026-09-08 08:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942382080001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30661947619803136,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995365916566908928,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788837449000,"timestamp_ms":1788837449000,"timestamp_seconds":1788837449,"priority":1,"record_length":96,"hex_timestamp":"000001a07f054d28"} 
[2026-09-08 08:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942382080001,"66":14428,"167":206,"94":11008,"24":1,"16":30661947619803136,"45":995365916566908928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942382080001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:48:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:48:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30661947619803136,"km_value":30661947619803.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":995365916566908928,"description":"Unknown IO ID 45"} 
[2026-09-08 08:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942382080001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":995365916566908928}} 
[2026-09-08 08:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":174462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:48:41] local.INFO: GPS data processed {"connection_id":174462,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:48:41] local.INFO: Acknowledgment sent {"connection_id":174462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:48:47] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:48:47] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:48:47] local.INFO: IMEI packet received {"connection_id":176965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":176965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:48:52] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:48:52] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:48:52] local.INFO: IMEI packet received {"connection_id":176965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":176965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:48:53] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:48:53] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f01c6d0012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:48:53] local.INFO: Packet analysis {"connection_id":176965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:48:53] local.INFO: Extracted packet for processing {"connection_id":176965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f01"} 
[2026-09-08 08:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788837218000,"timestamp_ms":1788837218000,"timestamp_seconds":1788837218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f01c6d0"} 
[2026-09-08 08:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 08:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942250752001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942250752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":176965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:48:53] local.INFO: GPS data processed {"connection_id":176965,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:48:53] local.INFO: Acknowledgment sent {"connection_id":176965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:48:58] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:58] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:48:58] local.INFO: IMEI packet received {"connection_id":175540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":175540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:49:03] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:49:03] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:49:03] local.INFO: IMEI packet received {"connection_id":175540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":175540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:49:10] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0587c0012d0dd200070685c8001b001f1e..."} 
[2026-09-08 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0587c0012d0dd200070685c8001b001f1e..."} 
[2026-09-08 08:49:10] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0587c0012d0dd200070685c8001b001f1e..."} 
[2026-09-08 08:49:10] local.INFO: Packet analysis {"connection_id":175540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f05"} 
[2026-09-08 08:49:10] local.INFO: Extracted packet for processing {"connection_id":175540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f05"} 
[2026-09-08 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":755880448,"raw_latitude":117867976,"longitude_deg":75.5880448,"latitude_deg":11.7867976,"altitude":27,"angle":31,"satellites":30,"speed":5,"hex_longitude":"2d0dd200","hex_latitude":"070685c8","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942386944001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662003454377984,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995436285311170560,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788837464000,"timestamp_ms":1788837464000,"timestamp_seconds":1788837464,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0587c0"} 
[2026-09-08 08:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 08:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942386944001,"66":14439,"167":206,"94":11008,"24":5,"16":30662003454377984,"45":995436285311170560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 08:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942386944001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:49:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 08:49:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 08:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662003454377984,"km_value":30662003454377.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":995436285311170560,"description":"Unknown IO ID 45"} 
[2026-09-08 08:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942386944001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":995436285311170560}} 
[2026-09-08 08:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":175540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:49:10] local.INFO: GPS data processed {"connection_id":175540,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:49:10] local.INFO: Acknowledgment sent {"connection_id":175540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:49:24] local.INFO: TCP Data received {"connection_id":176965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:49:24] local.INFO: Processing buffer {"connection_id":176965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:49:24] local.INFO: Packet analysis {"connection_id":176965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:49:24] local.INFO: Extracted packet for processing {"connection_id":176965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:49: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:49: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-09-08 08:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":176965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:49:24] local.INFO: GPS data processed {"connection_id":176965,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:49:24] local.INFO: Acknowledgment sent {"connection_id":176965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:49:41] local.INFO: TCP Data received {"connection_id":175540,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f072da0012d0dd58007068f48001b000f1e..."} 
[2026-09-08 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f072da0012d0dd58007068f48001b000f1e..."} 
[2026-09-08 08:49:41] local.INFO: Processing buffer {"connection_id":175540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f072da0012d0dd58007068f48001b000f1e..."} 
[2026-09-08 08:49:41] local.INFO: Packet analysis {"connection_id":175540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:49:41] local.INFO: Extracted packet for processing {"connection_id":175540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":755881344,"raw_latitude":117870408,"longitude_deg":75.5881344,"latitude_deg":11.7870408,"altitude":27,"angle":15,"satellites":30,"speed":9,"hex_longitude":"2d0dd580","hex_latitude":"07068f48","is_valid_coordinates":true} 
[2026-09-08 08:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942417664001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662205317840896,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996702922707130368,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788837572000,"timestamp_ms":1788837572000,"timestamp_seconds":1788837572,"priority":1,"record_length":96,"hex_timestamp":"000001a07f072da0"} 
[2026-09-08 08:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 08:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942417664001,"66":14515,"219":206,"94":10240,"24":9,"16":30662205317840896,"45":996702922707130368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942417664001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:49:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:49:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662205317840896,"km_value":30662205317840.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":996702922707130368,"description":"Unknown IO ID 45"} 
[2026-09-08 08:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942417664001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":996702922707130368}} 
[2026-09-08 08:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":175540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:49:41] local.INFO: GPS data processed {"connection_id":175540,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:49:41] local.INFO: Acknowledgment sent {"connection_id":175540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:49:42] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:49:42] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:49:42] local.INFO: IMEI packet received {"connection_id":174199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":174199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:49:47] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:49:47] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:49:47] local.INFO: IMEI packet received {"connection_id":174199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":174199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:49:49] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:49:49] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:49:49] local.INFO: Packet analysis {"connection_id":174199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:49:49] local.INFO: Extracted packet for processing {"connection_id":174199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:49: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-09-08 08:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":174199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:49:49] local.INFO: GPS data processed {"connection_id":174199,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:49:49] local.INFO: Acknowledgment sent {"connection_id":174199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:49:58] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:49:58] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:49:58] local.INFO: IMEI packet received {"connection_id":174463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":174463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:50:01] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:01] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:01] local.INFO: IMEI packet received {"connection_id":174463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":174463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:50:03] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:03] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:03] local.INFO: IMEI packet received {"connection_id":176968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":176968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:50:04] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:04] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:04] local.INFO: IMEI packet received {"connection_id":174463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":174463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:50:04] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f074510012d0dd680070692b8001c00211e..."} 
[2026-09-08 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f074510012d0dd680070692b8001c00211e..."} 
[2026-09-08 08:50:04] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f074510012d0dd680070692b8001c00211e..."} 
[2026-09-08 08:50:04] local.INFO: Packet analysis {"connection_id":174463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:04] local.INFO: Extracted packet for processing {"connection_id":174463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:04] local.INFO: GPS Element Parsed {"raw_longitude":755881600,"raw_latitude":117871288,"longitude_deg":75.58816,"latitude_deg":11.7871288,"altitude":28,"angle":33,"satellites":30,"speed":3,"hex_longitude":"2d0dd680","hex_latitude":"070692b8","is_valid_coordinates":true} 
[2026-09-08 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942418432001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662252562481152,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996843660195612672,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837578000,"timestamp_ms":1788837578000,"timestamp_seconds":1788837578,"priority":1,"record_length":96,"hex_timestamp":"000001a07f074510"} 
[2026-09-08 08:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942418432001,"66":14439,"219":206,"94":10240,"24":3,"16":30662252562481152,"45":996843660195612672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942418432001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:50:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662252562481152,"km_value":30662252562481.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":996843660195612672,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942418432001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":996843660195612672}} 
[2026-09-08 08:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":174463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:04] local.INFO: GPS data processed {"connection_id":174463,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:04] local.INFO: Acknowledgment sent {"connection_id":174463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:05] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0748f8012d7cbd0005eae718000c010622..."} 
[2026-09-08 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0748f8012d7cbd0005eae718000c010622..."} 
[2026-09-08 08:50:05] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0748f8012d7cbd0005eae718000c010622..."} 
[2026-09-08 08:50:05] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:05] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763149568,"raw_latitude":99280664,"longitude_deg":76.3149568,"latitude_deg":9.9280664,"altitude":12,"angle":262,"satellites":34,"speed":23,"hex_longitude":"2d7cbd00","hex_latitude":"05eae718","is_valid_coordinates":true} 
[2026-09-08 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942415360001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129847916603899904,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998543924623273984,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788837579000,"timestamp_ms":1788837579000,"timestamp_seconds":1788837579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0748f8"} 
[2026-09-08 08:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942415360001,"66":13852,"158":206,"87":13824,"24":23,"16":129847916603899904,"45":8998543924623273984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-08 08:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942415360001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129847916603899904,"km_value":129847916603899.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998543924623273984,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942415360001,"power":13852,"unknown_158":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8998543924623273984}} 
[2026-09-08 08:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:05] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:05] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:06] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0748f8012d0dd6c007069308001c00141e..."} 
[2026-09-08 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0748f8012d0dd6c007069308001c00141e..."} 
[2026-09-08 08:50:06] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0748f8012d0dd6c007069308001c00141e..."} 
[2026-09-08 08:50:06] local.INFO: Packet analysis {"connection_id":174463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:06] local.INFO: Extracted packet for processing {"connection_id":174463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755881664,"raw_latitude":117871368,"longitude_deg":75.5881664,"latitude_deg":11.7871368,"altitude":28,"angle":20,"satellites":30,"speed":3,"hex_longitude":"2d0dd6c0","hex_latitude":"07069308","is_valid_coordinates":true} 
[2026-09-08 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942419968001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662256857448448,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997125135172548608,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788837579000,"timestamp_ms":1788837579000,"timestamp_seconds":1788837579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0748f8"} 
[2026-09-08 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942419968001,"66":14439,"219":206,"94":10240,"24":3,"16":30662256857448448,"45":997125135172548608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942419968001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:50:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662256857448448,"km_value":30662256857448.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":997125135172548608,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942419968001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":997125135172548608}} 
[2026-09-08 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":174463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:06] local.INFO: GPS data processed {"connection_id":174463,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:06] local.INFO: Acknowledgment sent {"connection_id":174463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:20] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:50:20] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:50:20] local.INFO: Packet analysis {"connection_id":174199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:50:20] local.INFO: Extracted packet for processing {"connection_id":174199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50: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-09-08 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:50: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-09-08 08:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":174199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:20] local.INFO: GPS data processed {"connection_id":174199,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:20] local.INFO: Acknowledgment sent {"connection_id":174199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:36] local.INFO: TCP Data received {"connection_id":176968,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f075898012d7cb3c005eae500000b00f921..."} 
[2026-09-08 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f075898012d7cb3c005eae500000b00f921..."} 
[2026-09-08 08:50:36] local.INFO: Processing buffer {"connection_id":176968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f075898012d7cb3c005eae500000b00f921..."} 
[2026-09-08 08:50:36] local.INFO: Packet analysis {"connection_id":176968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:36] local.INFO: Extracted packet for processing {"connection_id":176968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763147200,"raw_latitude":99280128,"longitude_deg":76.31472,"latitude_deg":9.9280128,"altitude":11,"angle":249,"satellites":33,"speed":27,"hex_longitude":"2d7cb3c0","hex_latitude":"05eae500","is_valid_coordinates":true} 
[2026-09-08 08:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942420224001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848032568016896,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988340456717228032,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788837583000,"timestamp_ms":1788837583000,"timestamp_seconds":1788837583,"priority":1,"record_length":96,"hex_timestamp":"000001a07f075898"} 
[2026-09-08 08:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942420224001,"66":13341,"158":206,"87":13824,"24":27,"16":129848032568016896,"45":8988340456717228032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-08 08:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942420224001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848032568016896,"km_value":129848032568016.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988340456717228032,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942420224001,"power":13341,"unknown_158":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8988340456717228032}} 
[2026-09-08 08:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":176968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:36] local.INFO: GPS data processed {"connection_id":176968,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:36] local.INFO: Acknowledgment sent {"connection_id":176968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:37] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f07f4d8012d0ddcc00706a1d8001700241e..."} 
[2026-09-08 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f07f4d8012d0ddcc00706a1d8001700241e..."} 
[2026-09-08 08:50:37] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f07f4d8012d0ddcc00706a1d8001700241e..."} 
[2026-09-08 08:50:37] local.INFO: Packet analysis {"connection_id":174463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:37] local.INFO: Extracted packet for processing {"connection_id":174463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875160,"longitude_deg":75.58832,"latitude_deg":11.787516,"altitude":23,"angle":36,"satellites":30,"speed":2,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a1d8","is_valid_coordinates":true} 
[2026-09-08 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942430976001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662475900780544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998743616289607680,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788837623000,"timestamp_ms":1788837623000,"timestamp_seconds":1788837623,"priority":1,"record_length":96,"hex_timestamp":"000001a07f07f4d8"} 
[2026-09-08 08:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942430976001,"66":14396,"219":206,"94":10240,"24":2,"16":30662475900780544,"45":998743616289607680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942430976001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:50:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662475900780544,"km_value":30662475900780.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":998743616289607680,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942430976001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":998743616289607680}} 
[2026-09-08 08:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":174463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:37] local.INFO: GPS data processed {"connection_id":174463,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:37] local.INFO: Acknowledgment sent {"connection_id":174463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:42] local.INFO: TCP Data received {"connection_id":176969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:50:42] local.INFO: Processing buffer {"connection_id":176969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:50:42] local.INFO: IMEI packet received {"connection_id":176969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":176969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:50:53] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:53] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:53] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:50:58] local.INFO: TCP Data received {"connection_id":175542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:58] local.INFO: Processing buffer {"connection_id":175542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:50:58] local.INFO: IMEI packet received {"connection_id":175542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":175542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:50:58] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:58] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:50:58] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:50:59] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f078778012d7c914005eada28000b00fa22..."} 
[2026-09-08 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f078778012d7c914005eada28000b00fa22..."} 
[2026-09-08 08:50:59] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f078778012d7c914005eada28000b00fa22..."} 
[2026-09-08 08:50:59] local.INFO: Packet analysis {"connection_id":174464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:59] local.INFO: Extracted packet for processing {"connection_id":174464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763138368,"raw_latitude":99277352,"longitude_deg":76.3138368,"latitude_deg":9.9277352,"altitude":11,"angle":250,"satellites":34,"speed":25,"hex_longitude":"2d7c9140","hex_latitude":"05eada28","is_valid_coordinates":true} 
[2026-09-08 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942421248001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848474949648384,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985736813182517248,"note":"Value kept but may cause issues"} 
[2026-09-08 08:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788837595000,"timestamp_ms":1788837595000,"timestamp_seconds":1788837595,"priority":1,"record_length":96,"hex_timestamp":"000001a07f078778"} 
[2026-09-08 08:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 08:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942421248001,"66":13319,"8":206,"87":13824,"24":25,"16":129848474949648384,"45":8985736813182517248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 08:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942421248001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:50:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 08:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848474949648384,"km_value":129848474949648.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985736813182517248,"description":"Unknown IO ID 45"} 
[2026-09-08 08:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942421248001,"power":13319,"unknown_8":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8985736813182517248}} 
[2026-09-08 08:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":174464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:50:59] local.INFO: GPS data processed {"connection_id":174464,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:50:59] local.INFO: Acknowledgment sent {"connection_id":174464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:50:59] local.INFO: TCP Data received {"connection_id":176969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:50:59] local.INFO: Processing buffer {"connection_id":176969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:50:59] local.INFO: IMEI packet received {"connection_id":176969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":176969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:51:02] local.INFO: TCP Data received {"connection_id":176969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:51:02] local.INFO: Processing buffer {"connection_id":176969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:51:02] local.INFO: Packet analysis {"connection_id":176969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:51:02] local.INFO: Extracted packet for processing {"connection_id":176969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":176969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:51:02] local.INFO: GPS data processed {"connection_id":176969,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:51:02] local.INFO: Acknowledgment sent {"connection_id":176969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:51:03] local.INFO: TCP Data received {"connection_id":175542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:51:03] local.INFO: Processing buffer {"connection_id":175542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:51:03] local.INFO: IMEI packet received {"connection_id":175542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":175542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:51:04] local.INFO: TCP Data received {"connection_id":175542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f07fca8012d0ddcc00706a2100016002f1e..."} 
[2026-09-08 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f07fca8012d0ddcc00706a2100016002f1e..."} 
[2026-09-08 08:51:04] local.INFO: Processing buffer {"connection_id":175542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f07fca8012d0ddcc00706a2100016002f1e..."} 
[2026-09-08 08:51:04] local.INFO: Packet analysis {"connection_id":175542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:51:04] local.INFO: Extracted packet for processing {"connection_id":175542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875216,"longitude_deg":75.58832,"latitude_deg":11.7875216,"altitude":22,"angle":47,"satellites":30,"speed":1,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a210","is_valid_coordinates":true} 
[2026-09-08 08:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942431488001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662475900780544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998884353777981440,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837625000,"timestamp_ms":1788837625000,"timestamp_seconds":1788837625,"priority":1,"record_length":96,"hex_timestamp":"000001a07f07fca8"} 
[2026-09-08 08:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942431488001,"66":14298,"219":206,"94":10240,"24":1,"16":30662475900780544,"45":998884353777981440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942431488001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662475900780544,"km_value":30662475900780.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":998884353777981440,"description":"Unknown IO ID 45"} 
[2026-09-08 08:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942431488001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":998884353777981440}} 
[2026-09-08 08:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":175542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:51:04] local.INFO: GPS data processed {"connection_id":175542,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:51:04] local.INFO: Acknowledgment sent {"connection_id":175542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:51:30] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f07aaa0012d7c808005ead328000b00e921..."} 
[2026-09-08 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f07aaa0012d7c808005ead328000b00e921..."} 
[2026-09-08 08:51:30] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f07aaa0012d7c808005ead328000b00e921..."} 
[2026-09-08 08:51:30] local.INFO: Packet analysis {"connection_id":174464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:51:30] local.INFO: Extracted packet for processing {"connection_id":174464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":99275560,"longitude_deg":76.313408,"latitude_deg":9.927556,"altitude":11,"angle":233,"satellites":33,"speed":11,"hex_longitude":"2d7c8080","hex_latitude":"05ead328","is_valid_coordinates":true} 
[2026-09-08 08:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942424320001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848698287947776,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976025926485288960,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788837604000,"timestamp_ms":1788837604000,"timestamp_seconds":1788837604,"priority":1,"record_length":96,"hex_timestamp":"000001a07f07aaa0"} 
[2026-09-08 08:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221613292,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1364590644128178176,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1332084736,"corrected_to":0} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941388288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6001045208589615099,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:30] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,8,87,24,241,157,16,80,160,88,45,192,229,11,33,10,66,158,72,231,12,34,79,254,64,1,240,181,227,127,234,4,113,205,14,188,144,32,239,52,2,5,110,6],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1332084736,"validated":0}]} 
[2026-09-08 08:51:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792908558354677760,"timestamp_seconds":792908558354677.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 08:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942424320001,"66":13798,"8":206,"87":13824,"24":11,"16":129848698287947776,"45":8976025926485288960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 08:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942424320001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:51:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 08:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848698287947776,"km_value":129848698287947.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976025926485288960,"description":"Unknown IO ID 45"} 
[2026-09-08 08:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942424320001,"power":13798,"unknown_8":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8976025926485288960}} 
[2026-09-08 08:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":174464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:51:30] local.INFO: GPS data processed {"connection_id":174464,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:51:30] local.INFO: Acknowledgment sent {"connection_id":174464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:51:34] local.INFO: TCP Data received {"connection_id":175542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f080090012d0ddcc00706a218001600211e..."} 
[2026-09-08 08:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f080090012d0ddcc00706a218001600211e..."} 
[2026-09-08 08:51:34] local.INFO: Processing buffer {"connection_id":175542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f080090012d0ddcc00706a218001600211e..."} 
[2026-09-08 08:51:34] local.INFO: Packet analysis {"connection_id":175542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:51:34] local.INFO: Extracted packet for processing {"connection_id":175542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:51:34] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875224,"longitude_deg":75.58832,"latitude_deg":11.7875224,"altitude":22,"angle":33,"satellites":30,"speed":0,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a218","is_valid_coordinates":true} 
[2026-09-08 08:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942432000001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662475900780544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998884353777995776,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788837626000,"timestamp_ms":1788837626000,"timestamp_seconds":1788837626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f080090"} 
[2026-09-08 08:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 08:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942432000001,"66":14396,"219":206,"94":10240,"24":0,"16":30662475900780544,"45":998884353777995776},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942432000001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:51:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:51:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662475900780544,"km_value":30662475900780.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":998884353777995776,"description":"Unknown IO ID 45"} 
[2026-09-08 08:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942432000001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":998884353777995776}} 
[2026-09-08 08:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":175542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:51:35] local.INFO: GPS data processed {"connection_id":175542,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:51:35] local.INFO: Acknowledgment sent {"connection_id":175542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:51:42] local.INFO: TCP Data received {"connection_id":174465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:51:42] local.INFO: Processing buffer {"connection_id":174465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:51:42] local.INFO: IMEI packet received {"connection_id":174465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":174465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:51:47] local.INFO: TCP Data received {"connection_id":174465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:51:47] local.INFO: Processing buffer {"connection_id":174465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:51:47] local.INFO: IMEI packet received {"connection_id":174465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":174465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:51:48] local.INFO: TCP Data received {"connection_id":174465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:51:48] local.INFO: Processing buffer {"connection_id":174465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:51:48] local.INFO: Packet analysis {"connection_id":174465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:51:48] local.INFO: Extracted packet for processing {"connection_id":174465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:51: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-09-08 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:51: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-09-08 08:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":174465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:51:48] local.INFO: GPS data processed {"connection_id":174465,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:51:48] local.INFO: Acknowledgment sent {"connection_id":174465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:51:58] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:51:58] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:51:58] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:51:58] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:51:58] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:51:58] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:52:03] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:52:03] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:52:03] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:52:03] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:03] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:03] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:52:04] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f084eb0012d0ddcc00706a230001500211e..."} 
[2026-09-08 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f084eb0012d0ddcc00706a230001500211e..."} 
[2026-09-08 08:52:04] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f084eb0012d0ddcc00706a230001500211e..."} 
[2026-09-08 08:52:04] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:04] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875248,"longitude_deg":75.58832,"latitude_deg":11.7875248,"altitude":21,"angle":33,"satellites":30,"speed":0,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a230","is_valid_coordinates":true} 
[2026-09-08 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942432256001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662480195747840,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998884353777997824,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837646000,"timestamp_ms":1788837646000,"timestamp_seconds":1788837646,"priority":1,"record_length":96,"hex_timestamp":"000001a07f084eb0"} 
[2026-09-08 08:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942432256001,"66":14396,"219":206,"94":10240,"24":0,"16":30662480195747840,"45":998884353777997824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942432256001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662480195747840,"km_value":30662480195747.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":998884353777997824,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942432256001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":998884353777997824}} 
[2026-09-08 08:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:04] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:04] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:04] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f07f8c0012d7c7e8005ead1a8000a00e721..."} 
[2026-09-08 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f07f8c0012d7c7e8005ead1a8000a00e721..."} 
[2026-09-08 08:52:04] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f07f8c0012d7c7e8005ead1a8000a00e721..."} 
[2026-09-08 08:52:04] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:52:04] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f07"} 
[2026-09-08 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":99275176,"longitude_deg":76.3133568,"latitude_deg":9.9275176,"altitude":10,"angle":231,"satellites":33,"speed":0,"hex_longitude":"2d7c7e80","hex_latitude":"05ead1a8","is_valid_coordinates":true} 
[2026-09-08 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942426624001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848732647686144,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220624926720,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788837624000,"timestamp_ms":1788837624000,"timestamp_seconds":1788837624,"priority":1,"record_length":96,"hex_timestamp":"000001a07f07f8c0"} 
[2026-09-08 08:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942426624001,"66":13656,"8":206,"87":13824,"24":0,"16":129848732647686144,"45":8971311220624926720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 08:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942426624001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848732647686144,"km_value":129848732647686.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220624926720,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942426624001,"power":13656,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8971311220624926720}} 
[2026-09-08 08:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:04] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:04] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:06] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f081800012d7c7c8005ead0b0000900f624..."} 
[2026-09-08 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f081800012d7c7c8005ead0b0000900f624..."} 
[2026-09-08 08:52:06] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f081800012d7c7c8005ead0b0000900f624..."} 
[2026-09-08 08:52:06] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:06] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763133056,"raw_latitude":99274928,"longitude_deg":76.3133056,"latitude_deg":9.9274928,"altitude":9,"angle":246,"satellites":36,"speed":8,"hex_longitude":"2d7c7c80","hex_latitude":"05ead0b0","is_valid_coordinates":true} 
[2026-09-08 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942431744001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848758417489920,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270671407104,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788837632000,"timestamp_ms":1788837632000,"timestamp_seconds":1788837632,"priority":1,"record_length":96,"hex_timestamp":"000001a07f081800"} 
[2026-09-08 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942431744001,"66":13254,"8":206,"87":13824,"24":8,"16":129848758417489920,"45":8970748270671407104},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942431744001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 08:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848758417489920,"km_value":129848758417489.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270671407104,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942431744001,"power":13254,"unknown_8":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8970748270671407104}} 
[2026-09-08 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:06] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:06] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:20] local.INFO: TCP Data received {"connection_id":174465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:52:20] local.INFO: Processing buffer {"connection_id":174465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:52:20] local.INFO: Packet analysis {"connection_id":174465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:52:20] local.INFO: Extracted packet for processing {"connection_id":174465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08: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-09-08 08:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08: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-09-08 08:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":174465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:20] local.INFO: GPS data processed {"connection_id":174465,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:20] local.INFO: Acknowledgment sent {"connection_id":174465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:35] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f08a0b8012d0ddcc00706a230001500211e..."} 
[2026-09-08 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f08a0b8012d0ddcc00706a230001500211e..."} 
[2026-09-08 08:52:35] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f08a0b8012d0ddcc00706a230001500211e..."} 
[2026-09-08 08:52:35] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:35] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875248,"longitude_deg":75.58832,"latitude_deg":11.7875248,"altitude":21,"angle":33,"satellites":30,"speed":0,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a230","is_valid_coordinates":true} 
[2026-09-08 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942437376001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662480195747840,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998884353778003968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788837667000,"timestamp_ms":1788837667000,"timestamp_seconds":1788837667,"priority":1,"record_length":96,"hex_timestamp":"000001a07f08a0b8"} 
[2026-09-08 08:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942437376001,"66":14537,"219":206,"94":10240,"24":0,"16":30662480195747840,"45":998884353778003968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942437376001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:52:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662480195747840,"km_value":30662480195747.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":998884353778003968,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942437376001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":998884353778003968}} 
[2026-09-08 08:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:35] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:35] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:37] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f081be8012d7c7bc005ead0780009010124..."} 
[2026-09-08 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f081be8012d7c7bc005ead0780009010124..."} 
[2026-09-08 08:52:37] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f081be8012d7c7bc005ead0780009010124..."} 
[2026-09-08 08:52:37] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:37] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":99274872,"longitude_deg":76.3132864,"latitude_deg":9.9274872,"altitude":9,"angle":257,"satellites":36,"speed":8,"hex_longitude":"2d7c7bc0","hex_latitude":"05ead078","is_valid_coordinates":true} 
[2026-09-08 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942433792001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848767007424512,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970185320717922304,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788837633000,"timestamp_ms":1788837633000,"timestamp_seconds":1788837633,"priority":1,"record_length":96,"hex_timestamp":"000001a07f081be8"} 
[2026-09-08 08:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942433792001,"66":13254,"8":206,"87":13824,"24":8,"16":129848767007424512,"45":8970185320717922304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 08:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942433792001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 08:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848767007424512,"km_value":129848767007424.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970185320717922304,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942433792001,"power":13254,"unknown_8":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8970185320717922304}} 
[2026-09-08 08:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:37] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:37] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:42] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:52:42] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:52:42] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:52:48] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:52:48] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:52:48] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:52:49] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:52:49] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:52:49] local.INFO: Packet analysis {"connection_id":174202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:52:49] local.INFO: Extracted packet for processing {"connection_id":174202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:52: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-09-08 08:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":174202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:49] local.INFO: GPS data processed {"connection_id":174202,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:49] local.INFO: Acknowledgment sent {"connection_id":174202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:52:51] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:51] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:51] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:52:53] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:53] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:53] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:52:58] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:58] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:52:58] local.INFO: IMEI packet received {"connection_id":176970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":176970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:52:59] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0827a0012d7c79c005ead000000900f523..."} 
[2026-09-08 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0827a0012d7c79c005ead000000900f523..."} 
[2026-09-08 08:52:59] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0827a0012d7c79c005ead000000900f523..."} 
[2026-09-08 08:52:59] local.INFO: Packet analysis {"connection_id":176970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:59] local.INFO: Extracted packet for processing {"connection_id":176970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763132352,"raw_latitude":99274752,"longitude_deg":76.3132352,"latitude_deg":9.9274752,"altitude":9,"angle":245,"satellites":35,"speed":7,"hex_longitude":"2d7c79c0","hex_latitude":"05ead000","is_valid_coordinates":true} 
[2026-09-08 08:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942434048001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129848792777228288,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214485374976,"note":"Value kept but may cause issues"} 
[2026-09-08 08:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788837636000,"timestamp_ms":1788837636000,"timestamp_seconds":1788837636,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0827a0"} 
[2026-09-08 08:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 08:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942434048001,"66":12689,"8":206,"87":13824,"24":7,"16":129848792777228288,"45":8969974214485374976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 08:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942434048001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:52:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 08:52:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129848792777228288,"km_value":129848792777228.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214485374976,"description":"Unknown IO ID 45"} 
[2026-09-08 08:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942434048001,"power":12689,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8969974214485374976}} 
[2026-09-08 08:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":176970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:52:59] local.INFO: GPS data processed {"connection_id":176970,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:52:59] local.INFO: Acknowledgment sent {"connection_id":176970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:03] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:03] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:03] local.INFO: IMEI packet received {"connection_id":175543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":175543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:53:08] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:08] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:08] local.INFO: IMEI packet received {"connection_id":175543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":175543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:09] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f08f2c0012d0ddcc00706a230001500211f..."} 
[2026-09-08 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f08f2c0012d0ddcc00706a230001500211f..."} 
[2026-09-08 08:53:09] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f08f2c0012d0ddcc00706a230001500211f..."} 
[2026-09-08 08:53:09] local.INFO: Packet analysis {"connection_id":175543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:53:09] local.INFO: Extracted packet for processing {"connection_id":175543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f08"} 
[2026-09-08 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875248,"longitude_deg":75.58832,"latitude_deg":11.7875248,"altitude":21,"angle":33,"satellites":31,"speed":0,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a230","is_valid_coordinates":true} 
[2026-09-08 08:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942442752001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662480195747840,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998884353778003968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788837688000,"timestamp_ms":1788837688000,"timestamp_seconds":1788837688,"priority":1,"record_length":96,"hex_timestamp":"000001a07f08f2c0"} 
[2026-09-08 08:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 08:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942442752001,"66":14559,"219":206,"94":10240,"24":0,"16":30662480195747840,"45":998884353778003968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942442752001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:53:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:53:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662480195747840,"km_value":30662480195747.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":998884353778003968,"description":"Unknown IO ID 45"} 
[2026-09-08 08:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942442752001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":998884353778003968}} 
[2026-09-08 08:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":175543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:53:09] local.INFO: GPS data processed {"connection_id":175543,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:53:09] local.INFO: Acknowledgment sent {"connection_id":175543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:13] local.INFO: TCP Data received {"connection_id":175543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0944c8012d0ddcc00706a230001500211f..."} 
[2026-09-08 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0944c8012d0ddcc00706a230001500211f..."} 
[2026-09-08 08:53:13] local.INFO: Processing buffer {"connection_id":175543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0944c8012d0ddcc00706a230001500211f..."} 
[2026-09-08 08:53:13] local.INFO: Packet analysis {"connection_id":175543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f09"} 
[2026-09-08 08:53:13] local.INFO: Extracted packet for processing {"connection_id":175543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f09"} 
[2026-09-08 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":755883200,"raw_latitude":117875248,"longitude_deg":75.58832,"latitude_deg":11.7875248,"altitude":21,"angle":33,"satellites":31,"speed":0,"hex_longitude":"2d0ddcc0","hex_latitude":"0706a230","is_valid_coordinates":true} 
[2026-09-08 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942448128001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30662480195747840,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998884353778003968,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788837709000,"timestamp_ms":1788837709000,"timestamp_seconds":1788837709,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0944c8"} 
[2026-09-08 08:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 08:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942448128001,"66":14559,"219":206,"94":10240,"24":0,"16":30662480195747840,"45":998884353778003968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942448128001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:53:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30662480195747840,"km_value":30662480195747.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":998884353778003968,"description":"Unknown IO ID 45"} 
[2026-09-08 08:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942448128001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":998884353778003968}} 
[2026-09-08 08:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":175543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:53:14] local.INFO: GPS data processed {"connection_id":175543,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:53:14] local.INFO: Acknowledgment sent {"connection_id":175543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:20] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:20] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:20] local.INFO: Packet analysis {"connection_id":174202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:53:20] local.INFO: Extracted packet for processing {"connection_id":174202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:53: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-09-08 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:53: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-09-08 08:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":174202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:53:20] local.INFO: GPS data processed {"connection_id":174202,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:53:20] local.INFO: Acknowledgment sent {"connection_id":174202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:31] local.INFO: TCP Data received {"connection_id":176970,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0aa458012d7c3ec005eac6b00008013424..."} 
[2026-09-08 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0aa458012d7c3ec005eac6b00008013424..."} 
[2026-09-08 08:53:31] local.INFO: Processing buffer {"connection_id":176970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0aa458012d7c3ec005eac6b00008013424..."} 
[2026-09-08 08:53:31] local.INFO: Packet analysis {"connection_id":176970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:53:31] local.INFO: Extracted packet for processing {"connection_id":176970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99272368,"longitude_deg":76.3117248,"latitude_deg":9.9272368,"altitude":8,"angle":308,"satellites":36,"speed":8,"hex_longitude":"2d7c3ec0","hex_latitude":"05eac6b0","is_valid_coordinates":true} 
[2026-09-08 08:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942476032001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129849535806570496,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715882061824,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788837799000,"timestamp_ms":1788837799000,"timestamp_seconds":1788837799,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0aa458"} 
[2026-09-08 08:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 08:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942476032001,"66":13972,"10":206,"87":13824,"24":8,"16":129849535806570496,"45":8953085715882061824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-08 08:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942476032001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:53:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 08:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129849535806570496,"km_value":129849535806570.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715882061824,"description":"Unknown IO ID 45"} 
[2026-09-08 08:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942476032001,"power":13972,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953085715882061824}} 
[2026-09-08 08:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":176970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:53:31] local.INFO: GPS data processed {"connection_id":176970,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:53:31] local.INFO: Acknowledgment sent {"connection_id":176970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:45] local.INFO: TCP Data received {"connection_id":176971,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:53:45] local.INFO: Processing buffer {"connection_id":176971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:53:45] local.INFO: IMEI packet received {"connection_id":176971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":176971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:53:47] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:53:47] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:53:47] local.INFO: IMEI packet received {"connection_id":175544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":175544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:53:50] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:50] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:50] local.INFO: IMEI packet received {"connection_id":176972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":176972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:53:52] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:53:52] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:53:52] local.INFO: IMEI packet received {"connection_id":175544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":175544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:52] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:52] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:52] local.INFO: IMEI packet received {"connection_id":176972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":176972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:53] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:53] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:53] local.INFO: Packet analysis {"connection_id":175544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:53:53] local.INFO: Extracted packet for processing {"connection_id":175544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":175544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:53:53] local.INFO: GPS data processed {"connection_id":175544,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:53:53] local.INFO: Acknowledgment sent {"connection_id":175544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:53] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:53] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:53] local.INFO: IMEI packet received {"connection_id":176972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":176972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:54] local.INFO: TCP Data received {"connection_id":176972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:54] local.INFO: Processing buffer {"connection_id":176972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:53:54] local.INFO: IMEI packet received {"connection_id":176972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":176972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:55] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:55] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:55] local.INFO: IMEI packet received {"connection_id":174468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":174468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:53:56] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:56] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:56] local.INFO: IMEI packet received {"connection_id":174468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":174468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:58] local.INFO: TCP Data received {"connection_id":175544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:58] local.INFO: Processing buffer {"connection_id":175544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f065e98012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:53:58] local.INFO: Packet analysis {"connection_id":175544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:53:58] local.INFO: Extracted packet for processing {"connection_id":175544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f06"} 
[2026-09-08 08:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942327808001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 08:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 08:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788837519000,"timestamp_ms":1788837519000,"timestamp_seconds":1788837519,"priority":1,"record_length":96,"hex_timestamp":"000001a07f065e98"} 
[2026-09-08 08:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942327808001,"66":25604,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 08:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942327808001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942327808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":175544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:53:58] local.INFO: GPS data processed {"connection_id":175544,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:53:58] local.INFO: Acknowledgment sent {"connection_id":175544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:53:58] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:58] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:58] local.INFO: IMEI packet received {"connection_id":174468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":174468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:53:58] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:58] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:53:58] local.INFO: IMEI packet received {"connection_id":174468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":174468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:54:42] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:54:42] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:54:42] local.INFO: IMEI packet received {"connection_id":176973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":176973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:54:47] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:54:47] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:54:47] local.INFO: IMEI packet received {"connection_id":176973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":176973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:54:48] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:54:48] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:54:48] local.INFO: Packet analysis {"connection_id":176973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:54:48] local.INFO: Extracted packet for processing {"connection_id":176973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:54: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-09-08 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:54: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-09-08 08:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:54:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":176973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:54:48] local.INFO: GPS data processed {"connection_id":176973,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:54:48] local.INFO: Acknowledgment sent {"connection_id":176973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:55:19] local.INFO: TCP Data received {"connection_id":176973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:55:19] local.INFO: Processing buffer {"connection_id":176973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:55:19] local.INFO: Packet analysis {"connection_id":176973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:55:19] local.INFO: Extracted packet for processing {"connection_id":176973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:55: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-09-08 08:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:55: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-09-08 08:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:55:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":176973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:55:19] local.INFO: GPS data processed {"connection_id":176973,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:55:19] local.INFO: Acknowledgment sent {"connection_id":176973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:55:43] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:55:43] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:55:43] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:55:47] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:55:47] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:55:47] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:55:49] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:55:49] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:55:49] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:55:49] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:55: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-09-08 08:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:55:49] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:55:49] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:56:20] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:56:20] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:56:20] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:56:20] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:56: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-09-08 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:56: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-09-08 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:56:20] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:56:20] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:56:42] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:56:42] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:56:42] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:56:47] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:56:47] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:56:47] local.INFO: IMEI packet received {"connection_id":176976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":176976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:56:53] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:56:53] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:56:53] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:56:53] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:56:53] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:56:53] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:57:23] local.INFO: TCP Data received {"connection_id":176976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:57:23] local.INFO: Processing buffer {"connection_id":176976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:57:23] local.INFO: Packet analysis {"connection_id":176976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:57:23] local.INFO: Extracted packet for processing {"connection_id":176976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08: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-09-08 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:57: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-09-08 08:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":176976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:57:23] local.INFO: GPS data processed {"connection_id":176976,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:57:23] local.INFO: Acknowledgment sent {"connection_id":176976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:57:42] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:57:42] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:57:42] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:57:47] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:57:47] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:57:47] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:57:48] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:57:48] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:57:48] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:57:48] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:57: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-09-08 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:57: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-09-08 08:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:57:48] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:57:48] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:58:20] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:20] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:20] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:58:20] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:58: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-09-08 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:58: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-09-08 08:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:58:20] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:58:20] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:58:47] local.INFO: TCP Data received {"connection_id":174472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:58:47] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:58:47] local.INFO: IMEI packet received {"connection_id":174472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:58:52] local.INFO: TCP Data received {"connection_id":174472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:58:52] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:58:52] local.INFO: IMEI packet received {"connection_id":174472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":174472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:58:54] local.INFO: TCP Data received {"connection_id":174472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:54] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:54] local.INFO: Packet analysis {"connection_id":174472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:58:54] local.INFO: Extracted packet for processing {"connection_id":174472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":174472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:58:54] local.INFO: GPS data processed {"connection_id":174472,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:58:54] local.INFO: Acknowledgment sent {"connection_id":174472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:58:54] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:58:54] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:58:54] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:58:55] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0de848012d7c5cc005ec3b880009005725..."} 
[2026-09-08 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0de848012d7c5cc005ec3b880009005725..."} 
[2026-09-08 08:58:55] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0de848012d7c5cc005ec3b880009005725..."} 
[2026-09-08 08:58:55] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0d"} 
[2026-09-08 08:58:55] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0d"} 
[2026-09-08 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763124928,"raw_latitude":99367816,"longitude_deg":76.3124928,"latitude_deg":9.9367816,"altitude":9,"angle":87,"satellites":37,"speed":37,"hex_longitude":"2d7c5cc0","hex_latitude":"05ec3b88","is_valid_coordinates":true} 
[2026-09-08 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942528768001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129855780689018880,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950693178604396544,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788838013000,"timestamp_ms":1788838013000,"timestamp_seconds":1788838013,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0de848"} 
[2026-09-08 08:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 08:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942528768001,"66":13363,"198":206,"87":13824,"24":37,"16":129855780689018880,"45":8950693178604396544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 08:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942528768001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:58:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 08:58:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129855780689018880,"km_value":129855780689018.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950693178604396544,"description":"Unknown IO ID 45"} 
[2026-09-08 08:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942528768001,"power":13363,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8950693178604396544}} 
[2026-09-08 08:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:58:55] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:58:55] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:58:58] local.INFO: TCP Data received {"connection_id":174472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:58] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0af660012d34c44006aa4280000a005c26..."} 
[2026-09-08 08:58:58] local.INFO: Packet analysis {"connection_id":174472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:58:58] local.INFO: Extracted packet for processing {"connection_id":174472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0a"} 
[2026-09-08 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942404864001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788837820000,"timestamp_ms":1788837820000,"timestamp_seconds":1788837820,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0af660"} 
[2026-09-08 08:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942404864001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 08:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942404864001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942404864001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":174472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:58:58] local.INFO: GPS data processed {"connection_id":174472,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:58:58] local.INFO: Acknowledgment sent {"connection_id":174472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:59:00] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:00] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:00] local.INFO: IMEI packet received {"connection_id":175547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":175547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:59:01] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:01] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:01] local.INFO: IMEI packet received {"connection_id":175547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":175547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:59:02] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:02] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:02] local.INFO: IMEI packet received {"connection_id":175547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":175547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:59:03] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:03] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:03] local.INFO: IMEI packet received {"connection_id":175547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":175547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:59:03] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0fc8c0012d0e324007068910002300c220..."} 
[2026-09-08 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0fc8c0012d0e324007068910002300c220..."} 
[2026-09-08 08:59:03] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0fc8c0012d0e324007068910002300c220..."} 
[2026-09-08 08:59:03] local.INFO: Packet analysis {"connection_id":175547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:03] local.INFO: Extracted packet for processing {"connection_id":175547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117868816,"longitude_deg":75.5905088,"latitude_deg":11.7868816,"altitude":35,"angle":194,"satellites":32,"speed":20,"hex_longitude":"2d0e3240","hex_latitude":"07068910","is_valid_coordinates":true} 
[2026-09-08 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942560000001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30666938371801088,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023865257961129984,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788838136000,"timestamp_ms":1788838136000,"timestamp_seconds":1788838136,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0fc8c0"} 
[2026-09-08 08:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 08:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942560000001,"66":14450,"219":206,"94":10240,"24":20,"16":30666938371801088,"45":1023865257961129984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942560000001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:59:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30666938371801088,"km_value":30666938371801.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023865257961129984,"description":"Unknown IO ID 45"} 
[2026-09-08 08:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942560000001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1023865257961129984}} 
[2026-09-08 08:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":175547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:59:03] local.INFO: GPS data processed {"connection_id":175547,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:59:03] local.INFO: Acknowledgment sent {"connection_id":175547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:59:15] local.INFO: TCP Data received {"connection_id":176978,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:59:15] local.INFO: Processing buffer {"connection_id":176978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:59:15] local.INFO: IMEI packet received {"connection_id":176978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":176978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:59:28] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0fc4d8012d7d1e8005ec3ee8000800e228..."} 
[2026-09-08 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0fc4d8012d7d1e8005ec3ee8000800e228..."} 
[2026-09-08 08:59:28] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0fc4d8012d7d1e8005ec3ee8000800e228..."} 
[2026-09-08 08:59:28] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:28] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99368680,"longitude_deg":76.3174528,"latitude_deg":9.936868,"altitude":8,"angle":226,"satellites":40,"speed":4,"hex_longitude":"2d7d1e80","hex_latitude":"05ec3ee8","is_valid_coordinates":true} 
[2026-09-08 08:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942562304001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129858207345541120,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635713255424,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788838135000,"timestamp_ms":1788838135000,"timestamp_seconds":1788838135,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0fc4d8"} 
[2026-09-08 08:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 08:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942562304001,"66":12917,"110":206,"87":13824,"24":4,"16":129858207345541120,"45":9015854635713255424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 08:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942562304001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:59:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 08:59:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129858207345541120,"km_value":129858207345541.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635713255424,"description":"Unknown IO ID 45"} 
[2026-09-08 08:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942562304001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9015854635713255424}} 
[2026-09-08 08:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:59:28] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:59:28] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:59:35] local.INFO: TCP Data received {"connection_id":175547,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0fd090012d0e3100070685f8002300d320..."} 
[2026-09-08 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0fd090012d0e3100070685f8002300d320..."} 
[2026-09-08 08:59:35] local.INFO: Processing buffer {"connection_id":175547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0fd090012d0e3100070685f8002300d320..."} 
[2026-09-08 08:59:35] local.INFO: Packet analysis {"connection_id":175547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:35] local.INFO: Extracted packet for processing {"connection_id":175547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117868024,"longitude_deg":75.5904768,"latitude_deg":11.7868024,"altitude":35,"angle":211,"satellites":32,"speed":14,"hex_longitude":"2d0e3100","hex_latitude":"070685f8","is_valid_coordinates":true} 
[2026-09-08 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942562816001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30666977026506752,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464285118464,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788838138000,"timestamp_ms":1788838138000,"timestamp_seconds":1788838138,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0fd090"} 
[2026-09-08 08:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 08:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 08:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 08:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 08:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942562816001,"66":14363,"219":206,"94":10240,"24":14,"16":30666977026506752,"45":1022950464285118464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 08:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 08:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 08:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942562816001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:59:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 08:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 08:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30666977026506752,"km_value":30666977026506.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464285118464,"description":"Unknown IO ID 45"} 
[2026-09-08 08:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942562816001,"power":14363,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1022950464285118464}} 
[2026-09-08 08:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":175547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:59:35] local.INFO: GPS data processed {"connection_id":175547,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:59:35] local.INFO: Acknowledgment sent {"connection_id":175547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:59:45] local.INFO: TCP Data received {"connection_id":174473,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:59:45] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 08:59:45] local.INFO: IMEI packet received {"connection_id":174473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 08:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:59:52] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:59:52] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:59:52] local.INFO: IMEI packet received {"connection_id":174210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 08:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":174210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:59:53] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:59:53] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:59:53] local.INFO: IMEI packet received {"connection_id":175548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":175548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:59:55] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:59:55] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 08:59:55] local.INFO: IMEI packet received {"connection_id":175548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 08:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":175548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:59:56] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0ff3b8012d7d1cc005ec3d68000800f828..."} 
[2026-09-08 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0ff3b8012d7d1cc005ec3d68000800f828..."} 
[2026-09-08 08:59:56] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0ff3b8012d7d1cc005ec3d68000800f828..."} 
[2026-09-08 08:59:56] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:56] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99368296,"longitude_deg":76.317408,"latitude_deg":9.9368296,"altitude":8,"angle":248,"satellites":40,"speed":3,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec3d68","is_valid_coordinates":true} 
[2026-09-08 08: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-09-08 08:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942562560001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129858237410312192,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266969049088,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788838147000,"timestamp_ms":1788838147000,"timestamp_seconds":1788838147,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0ff3b8"} 
[2026-09-08 08:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 08:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08: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-09-08 08:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 08:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 08:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 08:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942562560001,"66":13341,"110":206,"87":13824,"24":3,"16":129858237410312192,"45":9015784266969049088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 08:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 08:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 08:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942562560001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:59:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 08:59:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 08:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129858237410312192,"km_value":129858237410312.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266969049088,"description":"Unknown IO ID 45"} 
[2026-09-08 08:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942562560001,"power":13341,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9015784266969049088}} 
[2026-09-08 08:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:59:56] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:59:56] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:59:57] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:59:57] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 08:59:57] local.INFO: IMEI packet received {"connection_id":174210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 08:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":174210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:59:58] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:58] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:58] local.INFO: IMEI packet received {"connection_id":174474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 08:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":174474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 08:59:58] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:58] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:58] local.INFO: IMEI packet received {"connection_id":174474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":174474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 08:59:58] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:59:58] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 08:59:58] local.INFO: Packet analysis {"connection_id":174210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:58] local.INFO: Extracted packet for processing {"connection_id":174210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 08:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 08:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 08:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 08:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 08:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 08:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 08:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 08:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 08:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 08:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 08:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 08:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 08:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 08:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 08:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 08:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 08:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 08:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 08:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 08:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 08:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 08:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 08:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":174210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 08:59:58] local.INFO: GPS data processed {"connection_id":174210,"processed":1,"errors":0,"total":1} 
[2026-09-08 08:59:58] local.INFO: Acknowledgment sent {"connection_id":174210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 08:59:59] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:59] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 08:59:59] local.INFO: IMEI packet received {"connection_id":174474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 08:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":174474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:00:00] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:00:00] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:00:00] local.INFO: IMEI packet received {"connection_id":174474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:00:27] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f100358012d7d1ac005ec3cb00008010529..."} 
[2026-09-08 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f100358012d7d1ac005ec3cb00008010529..."} 
[2026-09-08 09:00:27] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f100358012d7d1ac005ec3cb00008010529..."} 
[2026-09-08 09:00:27] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:00:27] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763173568,"raw_latitude":99368112,"longitude_deg":76.3173568,"latitude_deg":9.9368112,"altitude":8,"angle":261,"satellites":41,"speed":6,"hex_longitude":"2d7d1ac0","hex_latitude":"05ec3cb0","is_valid_coordinates":true} 
[2026-09-08 09:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942565632001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129858258885148672,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759707136,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788838151000,"timestamp_ms":1788838151000,"timestamp_seconds":1788838151,"priority":1,"record_length":96,"hex_timestamp":"000001a07f100358"} 
[2026-09-08 09:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 09:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942565632001,"66":13396,"110":206,"87":13824,"24":6,"16":129858258885148672,"45":9015291685759707136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942565632001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:00:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:00:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129858258885148672,"km_value":129858258885148.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759707136,"description":"Unknown IO ID 45"} 
[2026-09-08 09:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942565632001,"power":13396,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015291685759707136}} 
[2026-09-08 09:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:00:27] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:00:27] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:00:42] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:00:42] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:00:42] local.INFO: IMEI packet received {"connection_id":174475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":174475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:00:47] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:00:47] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:00:47] local.INFO: IMEI packet received {"connection_id":174475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:00:48] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:00:48] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:00:48] local.INFO: Packet analysis {"connection_id":174475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:00:48] local.INFO: Extracted packet for processing {"connection_id":174475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:00: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-09-08 09:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:00: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-09-08 09:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:00:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":174475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:00:48] local.INFO: GPS data processed {"connection_id":174475,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:00:48] local.INFO: Acknowledgment sent {"connection_id":174475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:00:53] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:53] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:53] local.INFO: IMEI packet received {"connection_id":175550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":175550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:00:53] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:53] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:53] local.INFO: IMEI packet received {"connection_id":175550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":175550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:00:58] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:58] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:00:58] local.INFO: IMEI packet received {"connection_id":175550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":175550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:00:59] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1041d8012d7cf6c005ec39680009010b27..."} 
[2026-09-08 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1041d8012d7cf6c005ec39680009010b27..."} 
[2026-09-08 09:00:59] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1041d8012d7cf6c005ec39680009010b27..."} 
[2026-09-08 09:00:59] local.INFO: Packet analysis {"connection_id":175550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:00:59] local.INFO: Extracted packet for processing {"connection_id":175550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763164352,"raw_latitude":99367272,"longitude_deg":76.3164352,"latitude_deg":9.9367272,"altitude":9,"angle":267,"satellites":39,"speed":29,"hex_longitude":"2d7cf6c0","hex_latitude":"05ec3968","is_valid_coordinates":true} 
[2026-09-08 09:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942566656001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129858701266780160,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735806238720,"note":"Value kept but may cause issues"} 
[2026-09-08 09:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838167000,"timestamp_ms":1788838167000,"timestamp_seconds":1788838167,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1041d8"} 
[2026-09-08 09:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 09:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942566656001,"66":12863,"110":206,"87":13824,"24":29,"16":129858701266780160,"45":9014728735806238720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942566656001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:00:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129858701266780160,"km_value":129858701266780.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735806238720,"description":"Unknown IO ID 45"} 
[2026-09-08 09:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942566656001,"power":12863,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9014728735806238720}} 
[2026-09-08 09:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":175550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:00:59] local.INFO: GPS data processed {"connection_id":175550,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:00:59] local.INFO: Acknowledgment sent {"connection_id":175550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:01:20] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:01:20] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:01:20] local.INFO: Packet analysis {"connection_id":174475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:01:20] local.INFO: Extracted packet for processing {"connection_id":174475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:01: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-09-08 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:01: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-09-08 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:01:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":174475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:01:20] local.INFO: GPS data processed {"connection_id":174475,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:01:20] local.INFO: Acknowledgment sent {"connection_id":174475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:01:34] local.INFO: TCP Data received {"connection_id":175550,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1070b8012d7cd3c005ec3830000a010e28..."} 
[2026-09-08 09:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1070b8012d7cd3c005ec3830000a010e28..."} 
[2026-09-08 09:01:34] local.INFO: Processing buffer {"connection_id":175550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1070b8012d7cd3c005ec3830000a010e28..."} 
[2026-09-08 09:01:34] local.INFO: Packet analysis {"connection_id":175550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:01:34] local.INFO: Extracted packet for processing {"connection_id":175550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763155392,"raw_latitude":99366960,"longitude_deg":76.3155392,"latitude_deg":9.936696,"altitude":10,"angle":270,"satellites":40,"speed":19,"hex_longitude":"2d7cd3c0","hex_latitude":"05ec3830","is_valid_coordinates":true} 
[2026-09-08 09:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942570752001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129859135058477056,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004595636644440064,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788838179000,"timestamp_ms":1788838179000,"timestamp_seconds":1788838179,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1070b8"} 
[2026-09-08 09:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 09:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942570752001,"66":13559,"110":206,"87":13824,"24":19,"16":129859135058477056,"45":9004595636644440064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942570752001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:01:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:01:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129859135058477056,"km_value":129859135058477.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004595636644440064,"description":"Unknown IO ID 45"} 
[2026-09-08 09:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942570752001,"power":13559,"unknown_110":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9004595636644440064}} 
[2026-09-08 09:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":175550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:01:34] local.INFO: GPS data processed {"connection_id":175550,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:01:34] local.INFO: Acknowledgment sent {"connection_id":175550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:01:42] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:01:42] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:01:42] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:01:47] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:01:47] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:01:47] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:01:48] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:01:48] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:01:48] local.INFO: Packet analysis {"connection_id":174211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:01:48] local.INFO: Extracted packet for processing {"connection_id":174211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:01: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-09-08 09:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:01: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-09-08 09:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:01:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":174211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:01:48] local.INFO: GPS data processed {"connection_id":174211,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:01:48] local.INFO: Acknowledgment sent {"connection_id":174211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:01:53] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:01:53] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:01:53] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:01:58] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:01:58] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:01:58] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:02:17] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f10ab50012d7cae8005ec3748000a010b27..."} 
[2026-09-08 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f10ab50012d7cae8005ec3748000a010b27..."} 
[2026-09-08 09:02:17] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f10ab50012d7cae8005ec3748000a010b27..."} 
[2026-09-08 09:02:17] local.INFO: Packet analysis {"connection_id":174477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:02:17] local.INFO: Extracted packet for processing {"connection_id":174477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f10"} 
[2026-09-08 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763145856,"raw_latitude":99366728,"longitude_deg":76.3145856,"latitude_deg":9.9366728,"altitude":10,"angle":267,"satellites":39,"speed":26,"hex_longitude":"2d7cae80","hex_latitude":"05ec3748","is_valid_coordinates":true} 
[2026-09-08 09:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942573824001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129859590325010432,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994744012459487232,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788838194000,"timestamp_ms":1788838194000,"timestamp_seconds":1788838194,"priority":1,"record_length":96,"hex_timestamp":"000001a07f10ab50"} 
[2026-09-08 09:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 09:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942573824001,"66":13765,"197":206,"87":13824,"24":26,"16":129859590325010432,"45":8994744012459487232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-08 09:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942573824001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:02:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-08 09:02:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129859590325010432,"km_value":129859590325010.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994744012459487232,"description":"Unknown IO ID 45"} 
[2026-09-08 09:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942573824001,"power":13765,"unknown_197":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8994744012459487232}} 
[2026-09-08 09:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":174477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:02:17] local.INFO: GPS data processed {"connection_id":174477,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:02:17] local.INFO: Acknowledgment sent {"connection_id":174477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:02:20] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:02:20] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:02:20] local.INFO: Packet analysis {"connection_id":174211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:02:20] local.INFO: Extracted packet for processing {"connection_id":174211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:02: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-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:02: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-09-08 09:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:02:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":174211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:02:20] local.INFO: GPS data processed {"connection_id":174211,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:02:20] local.INFO: Acknowledgment sent {"connection_id":174211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:02:42] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:02:42] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:02:42] local.INFO: IMEI packet received {"connection_id":175551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":175551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:02:47] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:02:47] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:02:47] local.INFO: IMEI packet received {"connection_id":175551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":175551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:02:49] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:02:49] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:02:49] local.INFO: Packet analysis {"connection_id":175551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:02:49] local.INFO: Extracted packet for processing {"connection_id":175551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:02: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-09-08 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:02:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":175551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:02:49] local.INFO: GPS data processed {"connection_id":175551,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:02:49] local.INFO: Acknowledgment sent {"connection_id":175551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:03:03] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:03] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:03] local.INFO: IMEI packet received {"connection_id":176982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":176982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:03:08] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:08] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:08] local.INFO: IMEI packet received {"connection_id":176982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":176982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:03:09] local.INFO: TCP Data received {"connection_id":176982,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f12be90012d7b044005ebdc20000b00f329..."} 
[2026-09-08 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f12be90012d7b044005ebdc20000b00f329..."} 
[2026-09-08 09:03:09] local.INFO: Processing buffer {"connection_id":176982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f12be90012d7b044005ebdc20000b00f329..."} 
[2026-09-08 09:03:09] local.INFO: Packet analysis {"connection_id":176982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f12"} 
[2026-09-08 09:03:09] local.INFO: Extracted packet for processing {"connection_id":176982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f12"} 
[2026-09-08 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":99343392,"longitude_deg":76.3036736,"latitude_deg":9.9343392,"altitude":11,"angle":243,"satellites":41,"speed":37,"hex_longitude":"2d7b0440","hex_latitude":"05ebdc20","is_valid_coordinates":true} 
[2026-09-08 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942609920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129864993393868800,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878701529088,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788838330000,"timestamp_ms":1788838330000,"timestamp_seconds":1788838330,"priority":1,"record_length":96,"hex_timestamp":"000001a07f12be90"} 
[2026-09-08 09:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 09:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942609920001,"66":13526,"198":206,"87":13824,"24":37,"16":129864993393868800,"45":8873920878701529088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942609920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129864993393868800,"km_value":129864993393868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878701529088,"description":"Unknown IO ID 45"} 
[2026-09-08 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942609920001,"power":13526,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8873920878701529088}} 
[2026-09-08 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":176982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:03:09] local.INFO: GPS data processed {"connection_id":176982,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:03:09] local.INFO: Acknowledgment sent {"connection_id":176982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:03:20] local.INFO: TCP Data received {"connection_id":175551,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:03:20] local.INFO: Processing buffer {"connection_id":175551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:03:20] local.INFO: Packet analysis {"connection_id":175551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:03:20] local.INFO: Extracted packet for processing {"connection_id":175551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:03: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-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:03: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-09-08 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:03:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":175551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:03:20] local.INFO: GPS data processed {"connection_id":175551,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:03:20] local.INFO: Acknowledgment sent {"connection_id":175551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:03:42] local.INFO: TCP Data received {"connection_id":176983,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:03:42] local.INFO: Processing buffer {"connection_id":176983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:03:42] local.INFO: IMEI packet received {"connection_id":176983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":176983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:03:47] local.INFO: TCP Data received {"connection_id":176983,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:03:47] local.INFO: Processing buffer {"connection_id":176983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:03:47] local.INFO: IMEI packet received {"connection_id":176983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":176983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:03:49] local.INFO: TCP Data received {"connection_id":176983,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:03:49] local.INFO: Processing buffer {"connection_id":176983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:03:49] local.INFO: Packet analysis {"connection_id":176983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:03:49] local.INFO: Extracted packet for processing {"connection_id":176983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:03: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-09-08 09:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:03:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":176983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:03:49] local.INFO: GPS data processed {"connection_id":176983,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:03:49] local.INFO: Acknowledgment sent {"connection_id":176983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:03:53] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:53] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:53] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:03:56] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:56] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:56] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:03:58] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:58] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:03:58] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:03:59] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f12e5a0012d7ae4c005ebcc38000b00f32a..."} 
[2026-09-08 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f12e5a0012d7ae4c005ebcc38000b00f32a..."} 
[2026-09-08 09:03:59] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f12e5a0012d7ae4c005ebcc38000b00f32a..."} 
[2026-09-08 09:03:59] local.INFO: Packet analysis {"connection_id":174479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f12"} 
[2026-09-08 09:03:59] local.INFO: Extracted packet for processing {"connection_id":174479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f12"} 
[2026-09-08 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763028672,"raw_latitude":99339320,"longitude_deg":76.3028672,"latitude_deg":9.933932,"altitude":11,"angle":243,"satellites":42,"speed":33,"hex_longitude":"2d7ae4c0","hex_latitude":"05ebcc38","is_valid_coordinates":true} 
[2026-09-08 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942612480001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129865427185565696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360748064768,"note":"Value kept but may cause issues"} 
[2026-09-08 09:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838340000,"timestamp_ms":1788838340000,"timestamp_seconds":1788838340,"priority":1,"record_length":96,"hex_timestamp":"000001a07f12e5a0"} 
[2026-09-08 09:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 09:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942612480001,"66":12906,"198":206,"87":13824,"24":33,"16":129865427185565696,"45":8864280360748064768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 09:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942612480001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129865427185565696,"km_value":129865427185565.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360748064768,"description":"Unknown IO ID 45"} 
[2026-09-08 09:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942612480001,"power":12906,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8864280360748064768}} 
[2026-09-08 09:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":174479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:03:59] local.INFO: GPS data processed {"connection_id":174479,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:03:59] local.INFO: Acknowledgment sent {"connection_id":174479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:04:20] local.INFO: TCP Data received {"connection_id":176983,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:04:20] local.INFO: Processing buffer {"connection_id":176983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f0f8e28012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:04:20] local.INFO: Packet analysis {"connection_id":176983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:04:20] local.INFO: Extracted packet for processing {"connection_id":176983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f0f"} 
[2026-09-08 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942481920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838121000,"timestamp_ms":1788838121000,"timestamp_seconds":1788838121,"priority":1,"record_length":96,"hex_timestamp":"000001a07f0f8e28"} 
[2026-09-08 09:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:04: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-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:04: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-09-08 09:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942481920001,"66":25549,"32":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 09:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942481920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:04:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 09:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942481920001,"power":25549,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":176983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:04:20] local.INFO: GPS data processed {"connection_id":176983,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:04:20] local.INFO: Acknowledgment sent {"connection_id":176983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:04:30] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f131480012d7ac34005ebbbe0000900f52a..."} 
[2026-09-08 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f131480012d7ac34005ebbbe0000900f52a..."} 
[2026-09-08 09:04:30] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f131480012d7ac34005ebbbe0000900f52a..."} 
[2026-09-08 09:04:30] local.INFO: Packet analysis {"connection_id":174479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f13"} 
[2026-09-08 09:04:30] local.INFO: Extracted packet for processing {"connection_id":174479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f13"} 
[2026-09-08 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763020096,"raw_latitude":99335136,"longitude_deg":76.3020096,"latitude_deg":9.9335136,"altitude":9,"angle":245,"satellites":42,"speed":27,"hex_longitude":"2d7ac340","hex_latitude":"05ebbbe0","is_valid_coordinates":true} 
[2026-09-08 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129865882452099072,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855413898980636672,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788838352000,"timestamp_ms":1788838352000,"timestamp_seconds":1788838352,"priority":1,"record_length":96,"hex_timestamp":"000001a07f131480"} 
[2026-09-08 09:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-08 09:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942615040001,"66":13472,"99":206,"87":13824,"24":27,"16":129865882452099072,"45":8855413898980636672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 09:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:04:30] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 09:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129865882452099072,"km_value":129865882452099.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855413898980636672,"description":"Unknown IO ID 45"} 
[2026-09-08 09:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942615040001,"power":13472,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8855413898980636672}} 
[2026-09-08 09:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":174479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:04:30] local.INFO: GPS data processed {"connection_id":174479,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:04:30] local.INFO: Acknowledgment sent {"connection_id":174479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:04:47] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:04:47] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:04:47] local.INFO: IMEI packet received {"connection_id":175552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:04:50] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:04:50] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:04:50] local.INFO: IMEI packet received {"connection_id":174213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":174213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:04:52] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:04:52] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:04:52] local.INFO: IMEI packet received {"connection_id":175552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":175552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:04:53] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:53] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:53] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:04:53] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:53] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:53] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:04:54] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:04:54] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:04:54] local.INFO: Packet analysis {"connection_id":175552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:04:54] local.INFO: Extracted packet for processing {"connection_id":175552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":175552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:04:54] local.INFO: GPS data processed {"connection_id":175552,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:04:54] local.INFO: Acknowledgment sent {"connection_id":175552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:04:55] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:55] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:55] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:04:58] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:58] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:04:58] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:04:59] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f153378012d7a524005eb94100006013624..."} 
[2026-09-08 09:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f153378012d7a524005eb94100006013624..."} 
[2026-09-08 09:04:59] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f153378012d7a524005eb94100006013624..."} 
[2026-09-08 09:04:59] local.INFO: Packet analysis {"connection_id":175553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:04:59] local.INFO: Extracted packet for processing {"connection_id":175553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":762991168,"raw_latitude":99324944,"longitude_deg":76.2991168,"latitude_deg":9.9324944,"altitude":6,"angle":310,"satellites":36,"speed":12,"hex_longitude":"2d7a5240","hex_latitude":"05eb9410","is_valid_coordinates":true} 
[2026-09-08 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942653440001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129867368510783488,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814459289865510912,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838491000,"timestamp_ms":1788838491000,"timestamp_seconds":1788838491,"priority":1,"record_length":96,"hex_timestamp":"000001a07f153378"} 
[2026-09-08 09:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168834555181,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2540699654,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1635450880,"corrected_to":0} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505837,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":163,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952570368,"note":"Value kept but may cause issues"} 
[2026-09-08 09:04:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,161,87,24,241,157,16,97,160,43,45,147,6,36,10,66,28,64,7,34,248,1,240,31,227,127,235,4,113,205,84,99,112,30,239,50,163,2,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1635450880,"validated":0}]} 
[2026-09-08 09:04:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432673373312057344,"timestamp_seconds":432673373312057.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942653440001,"66":13059,"161":206,"87":13824,"24":12,"16":129867368510783488,"45":8814459289865510912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 09:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942653440001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129867368510783488,"km_value":129867368510783.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814459289865510912,"description":"Unknown IO ID 45"} 
[2026-09-08 09:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942653440001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8814459289865510912}} 
[2026-09-08 09:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":175553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:04:59] local.INFO: GPS data processed {"connection_id":175553,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:04:59] local.INFO: Acknowledgment sent {"connection_id":175553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:05:03] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:03] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:03] local.INFO: IMEI packet received {"connection_id":176984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":176984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:05:06] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f148f68012d0da3800706ef800030012021..."} 
[2026-09-08 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f148f68012d0da3800706ef800030012021..."} 
[2026-09-08 09:05:06] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f148f68012d0da3800706ef800030012021..."} 
[2026-09-08 09:05:06] local.INFO: Packet analysis {"connection_id":176984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:05:06] local.INFO: Extracted packet for processing {"connection_id":176984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":755868544,"raw_latitude":117895040,"longitude_deg":75.5868544,"latitude_deg":11.789504,"altitude":48,"angle":288,"satellites":33,"speed":27,"hex_longitude":"2d0da380","hex_latitude":"0706ef80","is_valid_coordinates":true} 
[2026-09-08 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942642432001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30671800274780160,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984247654994016256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788838449000,"timestamp_ms":1788838449000,"timestamp_seconds":1788838449,"priority":1,"record_length":96,"hex_timestamp":"000001a07f148f68"} 
[2026-09-08 09:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942642432001,"66":13852,"219":206,"94":10240,"24":27,"16":30671800274780160,"45":984247654994016256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942642432001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:05:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 09:05:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30671800274780160,"km_value":30671800274780.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":984247654994016256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942642432001,"power":13852,"unknown_219":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":984247654994016256}} 
[2026-09-08 09:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":176984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:05:07] local.INFO: GPS data processed {"connection_id":176984,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:05:07] local.INFO: Acknowledgment sent {"connection_id":176984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:05:25] local.INFO: TCP Data received {"connection_id":175552,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:05:25] local.INFO: Processing buffer {"connection_id":175552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:05:25] local.INFO: Packet analysis {"connection_id":175552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:05:25] local.INFO: Extracted packet for processing {"connection_id":175552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":175552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:05:25] local.INFO: GPS data processed {"connection_id":175552,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:05:25] local.INFO: Acknowledgment sent {"connection_id":175552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:05:30] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f153760012d7a518005eb95380006014625..."} 
[2026-09-08 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f153760012d7a518005eb95380006014625..."} 
[2026-09-08 09:05:30] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f153760012d7a518005eb95380006014625..."} 
[2026-09-08 09:05:30] local.INFO: Packet analysis {"connection_id":175553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:05:30] local.INFO: Extracted packet for processing {"connection_id":175553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":762990976,"raw_latitude":99325240,"longitude_deg":76.2990976,"latitude_deg":9.932524,"altitude":6,"angle":326,"satellites":37,"speed":15,"hex_longitude":"2d7a5180","hex_latitude":"05eb9538","is_valid_coordinates":true} 
[2026-09-08 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942653696001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129867385690652672,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814177814888845312,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788838492000,"timestamp_ms":1788838492000,"timestamp_seconds":1788838492,"priority":1,"record_length":96,"hex_timestamp":"000001a07f153760"} 
[2026-09-08 09:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015597,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2540699654,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1635450880,"corrected_to":0} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":163,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952570368,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,87,24,241,157,16,97,160,47,45,64,147,6,36,10,66,43,28,1,240,63,227,127,235,4,113,205,166,99,112,239,51,163,2,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1635450880,"validated":0}]} 
[2026-09-08 09:05:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432686567451787264,"timestamp_seconds":432686567451787.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942653696001,"66":13646,"161":206,"87":13824,"24":15,"16":129867385690652672,"45":8814177814888845312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 09:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942653696001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:05:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 09:05:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129867385690652672,"km_value":129867385690652.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814177814888845312,"description":"Unknown IO ID 45"} 
[2026-09-08 09:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942653696001,"power":13646,"unknown_161":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8814177814888845312}} 
[2026-09-08 09:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":175553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:05:30] local.INFO: GPS data processed {"connection_id":175553,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:05:30] local.INFO: Acknowledgment sent {"connection_id":175553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:05:37] local.INFO: TCP Data received {"connection_id":176984,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f15b848012d0d2940070740e0002a013520..."} 
[2026-09-08 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f15b848012d0d2940070740e0002a013520..."} 
[2026-09-08 09:05:37] local.INFO: Processing buffer {"connection_id":176984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f15b848012d0d2940070740e0002a013520..."} 
[2026-09-08 09:05:37] local.INFO: Packet analysis {"connection_id":176984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:05:37] local.INFO: Extracted packet for processing {"connection_id":176984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117915872,"longitude_deg":75.5837248,"latitude_deg":11.7915872,"altitude":42,"angle":309,"satellites":32,"speed":19,"hex_longitude":"2d0d2940","hex_latitude":"070740e0","is_valid_coordinates":true} 
[2026-09-08 09:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942662144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30673896218820608,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807933814784,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788838525000,"timestamp_ms":1788838525000,"timestamp_seconds":1788838525,"priority":1,"record_length":96,"hex_timestamp":"000001a07f15b848"} 
[2026-09-08 09:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942662144001,"66":14450,"221":206,"94":10240,"24":19,"16":30673896218820608,"45":948781807933814784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 09:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942662144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:05:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 09:05:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30673896218820608,"km_value":30673896218820.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807933814784,"description":"Unknown IO ID 45"} 
[2026-09-08 09:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942662144001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":948781807933814784}} 
[2026-09-08 09:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":176984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:05:38] local.INFO: GPS data processed {"connection_id":176984,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:05:38] local.INFO: Acknowledgment sent {"connection_id":176984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:05:42] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:05:42] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:05:42] local.INFO: IMEI packet received {"connection_id":174214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":174214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:05:47] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:05:47] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:05:47] local.INFO: IMEI packet received {"connection_id":174214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:05:48] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:05:48] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:05:48] local.INFO: Packet analysis {"connection_id":174214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:05:48] local.INFO: Extracted packet for processing {"connection_id":174214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:05: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-09-08 09:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09: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-09-08 09:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:05:49] local.INFO: GPS data processed {"connection_id":174214,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:05:49] local.INFO: Acknowledgment sent {"connection_id":174214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:05:57] local.INFO: TCP Data received {"connection_id":176985,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176985,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:57] local.INFO: Processing buffer {"connection_id":176985,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:57] local.INFO: IMEI packet received {"connection_id":176985,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":176985,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:05:58] local.INFO: TCP Data received {"connection_id":176985,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176985,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:58] local.INFO: Processing buffer {"connection_id":176985,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:58] local.INFO: IMEI packet received {"connection_id":176985,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":176985,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:05:58] local.INFO: TCP Data received {"connection_id":176985,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176985,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:58] local.INFO: Processing buffer {"connection_id":176985,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:58] local.INFO: IMEI packet received {"connection_id":176985,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":176985,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:05:58] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:05:58] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:05:58] local.INFO: IMEI packet received {"connection_id":174481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":174481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:05:59] local.INFO: TCP Data received {"connection_id":176985,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176985,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:59] local.INFO: Processing buffer {"connection_id":176985,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:05:59] local.INFO: IMEI packet received {"connection_id":176985,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":176985,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:06:03] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:03] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:03] local.INFO: IMEI packet received {"connection_id":174481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":174481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:06:04] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f153f30012d7a500005eb99000006015226..."} 
[2026-09-08 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f153f30012d7a500005eb99000006015226..."} 
[2026-09-08 09:06:04] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f153f30012d7a500005eb99000006015226..."} 
[2026-09-08 09:06:04] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:06:04] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":762990592,"raw_latitude":99326208,"longitude_deg":76.2990592,"latitude_deg":9.9326208,"altitude":6,"angle":338,"satellites":38,"speed":22,"hex_longitude":"2d7a5000","hex_latitude":"05eb9900","is_valid_coordinates":true} 
[2026-09-08 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942653952001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129867437230260224,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708656388096,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788838494000,"timestamp_ms":1788838494000,"timestamp_seconds":1788838494,"priority":1,"record_length":96,"hex_timestamp":"000001a07f153f30"} 
[2026-09-08 09:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 09:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942653952001,"66":13515,"161":206,"87":13824,"24":22,"16":129867437230260224,"45":8813966708656388096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 09:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942653952001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129867437230260224,"km_value":129867437230260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708656388096,"description":"Unknown IO ID 45"} 
[2026-09-08 09:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942653952001,"power":13515,"unknown_161":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8813966708656388096}} 
[2026-09-08 09:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:06:04] local.INFO: GPS data processed {"connection_id":174481,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:06:04] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:06:09] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f158d50012d7a420005ebb8f00002015423..."} 
[2026-09-08 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f158d50012d7a420005ebb8f00002015423..."} 
[2026-09-08 09:06:09] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f158d50012d7a420005ebb8f00002015423..."} 
[2026-09-08 09:06:09] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:06:09] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":762987008,"raw_latitude":99334384,"longitude_deg":76.2987008,"latitude_deg":9.9334384,"altitude":2,"angle":340,"satellites":35,"speed":8,"hex_longitude":"2d7a4200","hex_latitude":"05ebb8f0","is_valid_coordinates":true} 
[2026-09-08 09:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942654464001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129867866726989824,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813544496191569920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788838514000,"timestamp_ms":1788838514000,"timestamp_seconds":1788838514,"priority":1,"record_length":96,"hex_timestamp":"000001a07f158d50"} 
[2026-09-08 09:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 09:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942654464001,"66":13656,"161":206,"87":13824,"24":8,"16":129867866726989824,"45":8813544496191569920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 09:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942654464001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:06:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 09:06:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129867866726989824,"km_value":129867866726989.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813544496191569920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942654464001,"power":13656,"unknown_161":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8813544496191569920}} 
[2026-09-08 09:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:06:09] local.INFO: GPS data processed {"connection_id":174481,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:06:09] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:06:21] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:06:21] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:06:21] local.INFO: Packet analysis {"connection_id":174214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:06:21] local.INFO: Extracted packet for processing {"connection_id":174214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 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-09-08 09:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 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-09-08 09:06: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-09-08 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 09:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:06: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-09-08 09:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:06:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:06:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":174214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:06:21] local.INFO: GPS data processed {"connection_id":174214,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:06:21] local.INFO: Acknowledgment sent {"connection_id":174214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:06:42] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:06:42] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:06:42] local.INFO: IMEI packet received {"connection_id":175555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":175555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:06:47] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:06:47] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:06:47] local.INFO: IMEI packet received {"connection_id":175555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":175555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:06:48] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:06:48] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:06:48] local.INFO: Packet analysis {"connection_id":175555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:06:48] local.INFO: Extracted packet for processing {"connection_id":175555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:06: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-09-08 09:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:06: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-09-08 09:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":175555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:06:48] local.INFO: GPS data processed {"connection_id":175555,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:06:48] local.INFO: Acknowledgment sent {"connection_id":175555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:06:52] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:52] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:52] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:06:53] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:53] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:53] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:06:58] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:58] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:06:58] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:06:59] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f15db70012d7a32c005ebd6600002014f21..."} 
[2026-09-08 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f15db70012d7a32c005ebd6600002014f21..."} 
[2026-09-08 09:06:59] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f15db70012d7a32c005ebd6600002014f21..."} 
[2026-09-08 09:06:59] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:06:59] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f15"} 
[2026-09-08 09:06:59] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":99341920,"longitude_deg":76.2983104,"latitude_deg":9.934192,"altitude":2,"angle":335,"satellites":33,"speed":24,"hex_longitude":"2d7a32c0","hex_latitude":"05ebd660","is_valid_coordinates":true} 
[2026-09-08 09:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942659584001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129868279043850240,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809603846519713792,"note":"Value kept but may cause issues"} 
[2026-09-08 09:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838534000,"timestamp_ms":1788838534000,"timestamp_seconds":1788838534,"priority":1,"record_length":96,"hex_timestamp":"000001a07f15db70"} 
[2026-09-08 09:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 09:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942659584001,"66":13341,"161":206,"87":13824,"24":24,"16":129868279043850240,"45":8809603846519713792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 09:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942659584001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:06:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 09:06:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129868279043850240,"km_value":129868279043850.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809603846519713792,"description":"Unknown IO ID 45"} 
[2026-09-08 09:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942659584001,"power":13341,"unknown_161":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8809603846519713792}} 
[2026-09-08 09:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:06:59] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:06:59] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:07:20] local.INFO: TCP Data received {"connection_id":175555,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:07:20] local.INFO: Processing buffer {"connection_id":175555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:07:20] local.INFO: Packet analysis {"connection_id":175555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:07:20] local.INFO: Extracted packet for processing {"connection_id":175555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:07: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-09-08 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:07: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-09-08 09:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":175555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:07:20] local.INFO: GPS data processed {"connection_id":175555,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:07:20] local.INFO: Acknowledgment sent {"connection_id":175555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:07:31] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f161608012d7a228005ebf6e00003014e1f..."} 
[2026-09-08 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f161608012d7a228005ebf6e00003014e1f..."} 
[2026-09-08 09:07:31] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f161608012d7a228005ebf6e00003014e1f..."} 
[2026-09-08 09:07:31] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:07:31] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:07:31] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":99350240,"longitude_deg":76.2978944,"latitude_deg":9.935024,"altitude":3,"angle":334,"satellites":31,"speed":18,"hex_longitude":"2d7a2280","hex_latitude":"05ebf6e0","is_valid_coordinates":true} 
[2026-09-08 09:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942664704001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129868730015416320,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311353126805504,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788838549000,"timestamp_ms":1788838549000,"timestamp_seconds":1788838549,"priority":1,"record_length":96,"hex_timestamp":"000001a07f161608"} 
[2026-09-08 09:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 09:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942664704001,"66":13015,"99":206,"87":13824,"24":18,"16":129868730015416320,"45":8805311353126805504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 09:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942664704001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:07:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 09:07:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129868730015416320,"km_value":129868730015416.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311353126805504,"description":"Unknown IO ID 45"} 
[2026-09-08 09:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942664704001,"power":13015,"unknown_99":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8805311353126805504}} 
[2026-09-08 09:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:07:31] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:07:31] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:07:42] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:07:42] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:07:42] local.INFO: IMEI packet received {"connection_id":174216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":174216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:07:47] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:07:47] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:07:47] local.INFO: IMEI packet received {"connection_id":174216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:07:49] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:07:49] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:07:49] local.INFO: Packet analysis {"connection_id":174216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:07:49] local.INFO: Extracted packet for processing {"connection_id":174216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:07: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-09-08 09:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":174216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:07:49] local.INFO: GPS data processed {"connection_id":174216,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:07:49] local.INFO: Acknowledgment sent {"connection_id":174216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:07:53] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:07:53] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:07:53] local.INFO: IMEI packet received {"connection_id":175557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":175557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:07:58] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:07:58] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:07:58] local.INFO: IMEI packet received {"connection_id":175557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":175557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:08:00] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f166428012d7a190005ec0ed0000401501d..."} 
[2026-09-08 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f166428012d7a190005ec0ed0000401501d..."} 
[2026-09-08 09:08:00] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f166428012d7a190005ec0ed0000401501d..."} 
[2026-09-08 09:08:00] local.INFO: Packet analysis {"connection_id":175557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:08:00] local.INFO: Extracted packet for processing {"connection_id":175557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:08:00] local.INFO: GPS Element Parsed {"raw_longitude":762976512,"raw_latitude":99356368,"longitude_deg":76.2976512,"latitude_deg":9.9356368,"altitude":4,"angle":336,"satellites":29,"speed":7,"hex_longitude":"2d7a1900","hex_latitude":"05ec0ed0","is_valid_coordinates":true} 
[2026-09-08 09:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942668544001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129869052137963520,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384757387264,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788838569000,"timestamp_ms":1788838569000,"timestamp_seconds":1788838569,"priority":1,"record_length":96,"hex_timestamp":"000001a07f166428"} 
[2026-09-08 09:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 09:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942668544001,"66":13319,"99":206,"87":13824,"24":7,"16":129869052137963520,"45":8800737384757387264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 09:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942668544001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:08:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 09:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129869052137963520,"km_value":129869052137963.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384757387264,"description":"Unknown IO ID 45"} 
[2026-09-08 09:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942668544001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8800737384757387264}} 
[2026-09-08 09:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":175557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:08:00] local.INFO: GPS data processed {"connection_id":175557,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:08:00] local.INFO: Acknowledgment sent {"connection_id":175557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:08:20] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:08:20] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:08:20] local.INFO: Packet analysis {"connection_id":174216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:08:20] local.INFO: Extracted packet for processing {"connection_id":174216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:08: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-09-08 09:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:08: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-09-08 09:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":174216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:08:20] local.INFO: GPS data processed {"connection_id":174216,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:08:20] local.INFO: Acknowledgment sent {"connection_id":174216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:08:31] local.INFO: TCP Data received {"connection_id":175557,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f16b630012d7a108005ec2430000a014c23..."} 
[2026-09-08 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f16b630012d7a108005ec2430000a014c23..."} 
[2026-09-08 09:08:31] local.INFO: Processing buffer {"connection_id":175557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f16b630012d7a108005ec2430000a014c23..."} 
[2026-09-08 09:08:31] local.INFO: Packet analysis {"connection_id":175557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:08:31] local.INFO: Extracted packet for processing {"connection_id":175557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":762974336,"raw_latitude":99361840,"longitude_deg":76.2974336,"latitude_deg":9.936184,"altitude":10,"angle":332,"satellites":35,"speed":17,"hex_longitude":"2d7a1080","hex_latitude":"05ec2430","is_valid_coordinates":true} 
[2026-09-08 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942673664001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129869339900772352,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798063372480204800,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788838590000,"timestamp_ms":1788838590000,"timestamp_seconds":1788838590,"priority":1,"record_length":96,"hex_timestamp":"000001a07f16b630"} 
[2026-09-08 09:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57344,"corrected_to":0} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7827256126580579328,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1639120896,"corrected_to":0} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2147871637,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952349184,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3427240611266379781,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:31] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,99,87,24,241,157,16,160,22,45,128,246,3,31,10,66,98,219,192,214,2,33,161,141,1,240,88,227,127,235,4,113,205,55,81,56,37,239,53,5,6,12,21],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":246,"original":57344,"validated":0},{"io_id":205,"original":1639120896,"validated":0}]} 
[2026-09-08 09:08:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288599936613154816,"timestamp_seconds":288599936613154.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942673664001,"66":13678,"99":206,"87":13824,"24":17,"16":129869339900772352,"45":8798063372480204800},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942673664001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129869339900772352,"km_value":129869339900772.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798063372480204800,"description":"Unknown IO ID 45"} 
[2026-09-08 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942673664001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8798063372480204800}} 
[2026-09-08 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":175557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:08:31] local.INFO: GPS data processed {"connection_id":175557,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:08:31] local.INFO: Acknowledgment sent {"connection_id":175557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:08:42] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:08:42] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:08:42] local.INFO: IMEI packet received {"connection_id":176987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":176987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:08:47] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:08:47] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:08:47] local.INFO: IMEI packet received {"connection_id":176987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":176987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:08:48] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:08:48] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:08:48] local.INFO: Packet analysis {"connection_id":176987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:08:48] local.INFO: Extracted packet for processing {"connection_id":176987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:08: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-09-08 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:08: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-09-08 09:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":176987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:08:48] local.INFO: GPS data processed {"connection_id":176987,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:08:48] local.INFO: Acknowledgment sent {"connection_id":176987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:08:53] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:08:53] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:08:53] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:08:59] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:08:59] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:08:59] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:09:00] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f16e128012d7a0ac005ec30f0000a015724..."} 
[2026-09-08 09:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f16e128012d7a0ac005ec30f0000a015724..."} 
[2026-09-08 09:09:00] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f16e128012d7a0ac005ec30f0000a015724..."} 
[2026-09-08 09:09:00] local.INFO: Packet analysis {"connection_id":175558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:09:00] local.INFO: Extracted packet for processing {"connection_id":175558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f16"} 
[2026-09-08 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762972864,"raw_latitude":99365104,"longitude_deg":76.2972864,"latitude_deg":9.9365104,"altitude":10,"angle":343,"satellites":36,"speed":10,"hex_longitude":"2d7a0ac0","hex_latitude":"05ec30f0","is_valid_coordinates":true} 
[2026-09-08 09:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942679040001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129869511699464192,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795670835179565056,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788838601000,"timestamp_ms":1788838601000,"timestamp_seconds":1788838601,"priority":1,"record_length":96,"hex_timestamp":"000001a07f16e128"} 
[2026-09-08 09:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 09:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942679040001,"66":13678,"99":206,"87":13824,"24":10,"16":129869511699464192,"45":8795670835179565056},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 09:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942679040001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129869511699464192,"km_value":129869511699464.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795670835179565056,"description":"Unknown IO ID 45"} 
[2026-09-08 09:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942679040001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8795670835179565056}} 
[2026-09-08 09:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":175558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:09:00] local.INFO: GPS data processed {"connection_id":175558,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:09:00] local.INFO: Acknowledgment sent {"connection_id":175558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:09:20] local.INFO: TCP Data received {"connection_id":176987,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:09:20] local.INFO: Processing buffer {"connection_id":176987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1425f0012d34c44006aa4280000a005c29..."} 
[2026-09-08 09:09:20] local.INFO: Packet analysis {"connection_id":176987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:09:20] local.INFO: Extracted packet for processing {"connection_id":176987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f14"} 
[2026-09-08 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":41,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942558976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838422000,"timestamp_ms":1788838422000,"timestamp_seconds":1788838422,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1425f0"} 
[2026-09-08 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:09: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-09-08 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:09: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-09-08 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942558976001,"66":25625,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942558976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942558976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":176987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:09:20] local.INFO: GPS data processed {"connection_id":176987,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:09:20] local.INFO: Acknowledgment sent {"connection_id":176987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:09:31] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f196998012d7a1bc005ec84580005014228..."} 
[2026-09-08 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f196998012d7a1bc005ec84580005014228..."} 
[2026-09-08 09:09:31] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f196998012d7a1bc005ec84580005014228..."} 
[2026-09-08 09:09:31] local.INFO: Packet analysis {"connection_id":175558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:09:31] local.INFO: Extracted packet for processing {"connection_id":175558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386456,"longitude_deg":76.2977216,"latitude_deg":9.9386456,"altitude":5,"angle":322,"satellites":40,"speed":9,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec8458","is_valid_coordinates":true} 
[2026-09-08 09:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942724096001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129870903268868096,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797417984000,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788838767000,"timestamp_ms":1788838767000,"timestamp_seconds":1788838767,"priority":1,"record_length":96,"hex_timestamp":"000001a07f196998"} 
[2026-09-08 09:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 09:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942724096001,"66":13798,"100":206,"87":13824,"24":9,"16":129870903268868096,"45":8798907797417984000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942724096001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:09:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:09:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129870903268868096,"km_value":129870903268868.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797417984000,"description":"Unknown IO ID 45"} 
[2026-09-08 09:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942724096001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798907797417984000}} 
[2026-09-08 09:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":175558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:09:31] local.INFO: GPS data processed {"connection_id":175558,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:09:31] local.INFO: Acknowledgment sent {"connection_id":175558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:09:47] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:09:47] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:09:47] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:09:51] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:51] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:51] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:09:52] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:09:52] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:09:52] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:09:53] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:53] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:53] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:09:54] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:09:54] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:09:54] local.INFO: Packet analysis {"connection_id":174485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:09:54] local.INFO: Extracted packet for processing {"connection_id":174485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":174485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:09:54] local.INFO: GPS data processed {"connection_id":174485,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:09:54] local.INFO: Acknowledgment sent {"connection_id":174485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:09:58] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:58] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:09:58] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:09:59] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f196d80012d7a1ac005ec84b80005011e28..."} 
[2026-09-08 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f196d80012d7a1ac005ec84b80005011e28..."} 
[2026-09-08 09:09:59] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f196d80012d7a1ac005ec84b80005011e28..."} 
[2026-09-08 09:09:59] local.INFO: Packet analysis {"connection_id":174486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:09:59] local.INFO: Extracted packet for processing {"connection_id":174486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":762976960,"raw_latitude":99386552,"longitude_deg":76.297696,"latitude_deg":9.9386552,"altitude":5,"angle":286,"satellites":40,"speed":9,"hex_longitude":"2d7a1ac0","hex_latitude":"05ec84b8","is_valid_coordinates":true} 
[2026-09-08 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942724352001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129870916153769984,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673861632,"note":"Value kept but may cause issues"} 
[2026-09-08 09:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838768000,"timestamp_ms":1788838768000,"timestamp_seconds":1788838768,"priority":1,"record_length":96,"hex_timestamp":"000001a07f196d80"} 
[2026-09-08 09:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 09:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942724352001,"66":13798,"100":206,"87":13824,"24":9,"16":129870916153769984,"45":8798837428673861632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942724352001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129870916153769984,"km_value":129870916153769.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673861632,"description":"Unknown IO ID 45"} 
[2026-09-08 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942724352001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798837428673861632}} 
[2026-09-08 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":174486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:09:59] local.INFO: GPS data processed {"connection_id":174486,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:09:59] local.INFO: Acknowledgment sent {"connection_id":174486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:10:25] local.INFO: TCP Data received {"connection_id":174484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:10:25] local.INFO: Processing buffer {"connection_id":174484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:10:25] local.INFO: IMEI packet received {"connection_id":174484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":174484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:10:30] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f197168012d7a1a0005ec8498000500fe29..."} 
[2026-09-08 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f197168012d7a1a0005ec8498000500fe29..."} 
[2026-09-08 09:10:30] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f197168012d7a1a0005ec8498000500fe29..."} 
[2026-09-08 09:10:30] local.INFO: Packet analysis {"connection_id":174486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:10:30] local.INFO: Extracted packet for processing {"connection_id":174486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99386520,"longitude_deg":76.2976768,"latitude_deg":9.938652,"altitude":5,"angle":254,"satellites":41,"speed":11,"hex_longitude":"2d7a1a00","hex_latitude":"05ec8498","is_valid_coordinates":true} 
[2026-09-08 09:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942724608001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129870929038671872,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953697175552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788838769000,"timestamp_ms":1788838769000,"timestamp_seconds":1788838769,"priority":1,"record_length":96,"hex_timestamp":"000001a07f197168"} 
[2026-09-08 09:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 09:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942724608001,"66":13798,"100":206,"87":13824,"24":11,"16":129870929038671872,"45":8798555953697175552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942724608001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129870929038671872,"km_value":129870929038671.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953697175552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942724608001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8798555953697175552}} 
[2026-09-08 09:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":174486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:10:30] local.INFO: GPS data processed {"connection_id":174486,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:10:30] local.INFO: Acknowledgment sent {"connection_id":174486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:10:42] local.INFO: TCP Data received {"connection_id":175560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:10:42] local.INFO: Processing buffer {"connection_id":175560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:10:42] local.INFO: IMEI packet received {"connection_id":175560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":175560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:10:45] local.INFO: TCP Data received {"connection_id":176989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:10:45] local.INFO: Processing buffer {"connection_id":176989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:10:45] local.INFO: IMEI packet received {"connection_id":176989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":176989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:10:47] local.INFO: TCP Data received {"connection_id":175560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:10:47] local.INFO: Processing buffer {"connection_id":175560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:10:47] local.INFO: IMEI packet received {"connection_id":175560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":175560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:10:48] local.INFO: TCP Data received {"connection_id":175560,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:10:48] local.INFO: Processing buffer {"connection_id":175560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:10:48] local.INFO: Packet analysis {"connection_id":175560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:10:48] local.INFO: Extracted packet for processing {"connection_id":175560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09: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-09-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:10: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-09-08 09:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":175560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:10:49] local.INFO: GPS data processed {"connection_id":175560,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:10:49] local.INFO: Acknowledgment sent {"connection_id":175560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:10:53] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:53] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:53] local.INFO: IMEI packet received {"connection_id":174218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":174218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:10:54] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:54] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:54] local.INFO: IMEI packet received {"connection_id":174218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":174218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:10:58] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:58] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:10:58] local.INFO: IMEI packet received {"connection_id":174218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":174218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:10:59] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f197550012d7a188005ec83d8000500f229..."} 
[2026-09-08 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f197550012d7a188005ec83d8000500f229..."} 
[2026-09-08 09:10:59] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f197550012d7a188005ec83d8000500f229..."} 
[2026-09-08 09:10:59] local.INFO: Packet analysis {"connection_id":174218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:10:59] local.INFO: Extracted packet for processing {"connection_id":174218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99386328,"longitude_deg":76.2976384,"latitude_deg":9.9386328,"altitude":5,"angle":242,"satellites":41,"speed":16,"hex_longitude":"2d7a1880","hex_latitude":"05ec83d8","is_valid_coordinates":true} 
[2026-09-08 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942724864001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129870950513508352,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847464634368,"note":"Value kept but may cause issues"} 
[2026-09-08 09:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838770000,"timestamp_ms":1788838770000,"timestamp_seconds":1788838770,"priority":1,"record_length":96,"hex_timestamp":"000001a07f197550"} 
[2026-09-08 09:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 09:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942724864001,"66":13646,"100":206,"87":13824,"24":16,"16":129870950513508352,"45":8798344847464634368},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942724864001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129870950513508352,"km_value":129870950513508.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847464634368,"description":"Unknown IO ID 45"} 
[2026-09-08 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942724864001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8798344847464634368}} 
[2026-09-08 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":174218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:10:59] local.INFO: GPS data processed {"connection_id":174218,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:10:59] local.INFO: Acknowledgment sent {"connection_id":174218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:11:03] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:11:03] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:11:03] local.INFO: IMEI packet received {"connection_id":175561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":175561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:11:04] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1aa600012d0b4c800705ff100011007121..."} 
[2026-09-08 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1aa600012d0b4c800705ff100011007121..."} 
[2026-09-08 09:11:04] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1aa600012d0b4c800705ff100011007121..."} 
[2026-09-08 09:11:04] local.INFO: Packet analysis {"connection_id":175561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:11:04] local.INFO: Extracted packet for processing {"connection_id":175561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":755715200,"raw_latitude":117833488,"longitude_deg":75.57152,"latitude_deg":11.7833488,"altitude":17,"angle":113,"satellites":33,"speed":12,"hex_longitude":"2d0b4c80","hex_latitude":"0705ff10","is_valid_coordinates":true} 
[2026-09-08 09:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942744576001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30685114673397760,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813392344115109888,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788838848000,"timestamp_ms":1788838848000,"timestamp_seconds":1788838848,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1aa600"} 
[2026-09-08 09:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942744576001,"66":13820,"165":206,"94":10240,"24":12,"16":30685114673397760,"45":813392344115109888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942744576001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:11:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:11:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30685114673397760,"km_value":30685114673397.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":813392344115109888,"description":"Unknown IO ID 45"} 
[2026-09-08 09:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942744576001,"power":13820,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":813392344115109888}} 
[2026-09-08 09:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":175561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:11:04] local.INFO: GPS data processed {"connection_id":175561,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:11:04] local.INFO: Acknowledgment sent {"connection_id":175561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:11:20] local.INFO: TCP Data received {"connection_id":175560,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:11:20] local.INFO: Processing buffer {"connection_id":175560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:11:20] local.INFO: Packet analysis {"connection_id":175560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:11:20] local.INFO: Extracted packet for processing {"connection_id":175560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:11: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-09-08 09:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:11: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-09-08 09:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":175560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:11:20] local.INFO: GPS data processed {"connection_id":175560,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:11:20] local.INFO: Acknowledgment sent {"connection_id":175560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:11:30] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f19c370012d79f84005ec7660000600f729..."} 
[2026-09-08 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f19c370012d79f84005ec7660000600f729..."} 
[2026-09-08 09:11:30] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f19c370012d79f84005ec7660000600f729..."} 
[2026-09-08 09:11:30] local.INFO: Packet analysis {"connection_id":174218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:11:30] local.INFO: Extracted packet for processing {"connection_id":174218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f19"} 
[2026-09-08 09:11:30] local.INFO: GPS Element Parsed {"raw_longitude":762968128,"raw_latitude":99382880,"longitude_deg":76.2968128,"latitude_deg":9.938288,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d79f840","hex_latitude":"05ec7660","is_valid_coordinates":true} 
[2026-09-08 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942725120001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129871375715270656,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634999519232,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788838790000,"timestamp_ms":1788838790000,"timestamp_seconds":1788838790,"priority":1,"record_length":96,"hex_timestamp":"000001a07f19c370"} 
[2026-09-08 09:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 09:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942725120001,"66":13461,"100":206,"87":13824,"24":0,"16":129871375715270656,"45":8797922634999519232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942725120001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129871375715270656,"km_value":129871375715270.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634999519232,"description":"Unknown IO ID 45"} 
[2026-09-08 09:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942725120001,"power":13461,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797922634999519232}} 
[2026-09-08 09:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":174218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:11:31] local.INFO: GPS data processed {"connection_id":174218,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:11:31] local.INFO: Acknowledgment sent {"connection_id":174218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:11:35] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1aa9e8012d0b4d400705fef0001100601f..."} 
[2026-09-08 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1aa9e8012d0b4d400705fef0001100601f..."} 
[2026-09-08 09:11:35] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1aa9e8012d0b4d400705fef0001100601f..."} 
[2026-09-08 09:11:35] local.INFO: Packet analysis {"connection_id":175561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:11:35] local.INFO: Extracted packet for processing {"connection_id":175561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:11:35] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833456,"longitude_deg":75.5715392,"latitude_deg":11.7833456,"altitude":17,"angle":96,"satellites":31,"speed":8,"hex_longitude":"2d0b4d40","hex_latitude":"0705fef0","is_valid_coordinates":true} 
[2026-09-08 09:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942745088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30685123263332352,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814166400300945408,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788838849000,"timestamp_ms":1788838849000,"timestamp_seconds":1788838849,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1aa9e8"} 
[2026-09-08 09:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 09:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942745088001,"66":13820,"165":206,"94":10240,"24":8,"16":30685123263332352,"45":814166400300945408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942745088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:11:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:11:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30685123263332352,"km_value":30685123263332.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":814166400300945408,"description":"Unknown IO ID 45"} 
[2026-09-08 09:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942745088001,"power":13820,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":814166400300945408}} 
[2026-09-08 09:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":175561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:11:35] local.INFO: GPS data processed {"connection_id":175561,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:11:35] local.INFO: Acknowledgment sent {"connection_id":175561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:11:42] local.INFO: TCP Data received {"connection_id":175562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:11:42] local.INFO: Processing buffer {"connection_id":175562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:11:42] local.INFO: IMEI packet received {"connection_id":175562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":175562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:11:47] local.INFO: TCP Data received {"connection_id":175562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:11:47] local.INFO: Processing buffer {"connection_id":175562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:11:47] local.INFO: IMEI packet received {"connection_id":175562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:11:49] local.INFO: TCP Data received {"connection_id":175562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:11:49] local.INFO: Processing buffer {"connection_id":175562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:11:49] local.INFO: Packet analysis {"connection_id":175562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:11:49] local.INFO: Extracted packet for processing {"connection_id":175562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:11: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-09-08 09:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:11:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":175562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:11:49] local.INFO: GPS data processed {"connection_id":175562,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:11:49] local.INFO: Acknowledgment sent {"connection_id":175562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:11:53] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:11:53] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:11:53] local.INFO: IMEI packet received {"connection_id":175563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":175563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:11:58] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:11:58] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:11:58] local.INFO: IMEI packet received {"connection_id":175564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":175564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:11:58] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:11:58] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:11:58] local.INFO: IMEI packet received {"connection_id":175563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":175563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:11:59] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1a1578012d79f58005ec7768000600f729..."} 
[2026-09-08 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1a1578012d79f58005ec7768000600f729..."} 
[2026-09-08 09:11:59] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1a1578012d79f58005ec7768000600f729..."} 
[2026-09-08 09:11:59] local.INFO: Packet analysis {"connection_id":175563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:11:59] local.INFO: Extracted packet for processing {"connection_id":175563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":762967424,"raw_latitude":99383144,"longitude_deg":76.2967424,"latitude_deg":9.9383144,"altitude":6,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d79f580","hex_latitude":"05ec7768","is_valid_coordinates":true} 
[2026-09-08 09:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942730240001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129871418664943616,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788845066999717888,"note":"Value kept but may cause issues"} 
[2026-09-08 09:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838811000,"timestamp_ms":1788838811000,"timestamp_seconds":1788838811,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1a1578"} 
[2026-09-08 09:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-08 09:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942730240001,"66":13450,"100":206,"87":13824,"24":0,"16":129871418664943616,"45":8788845066999717888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942730240001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:11:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:11:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129871418664943616,"km_value":129871418664943.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788845066999717888,"description":"Unknown IO ID 45"} 
[2026-09-08 09:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942730240001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788845066999717888}} 
[2026-09-08 09:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":175563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:11:59] local.INFO: GPS data processed {"connection_id":175563,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:11:59] local.INFO: Acknowledgment sent {"connection_id":175563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:12:03] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:03] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:03] local.INFO: IMEI packet received {"connection_id":175564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":175564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:12:04] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1aadd0012d0b4e000705ff100010004b1f..."} 
[2026-09-08 09:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1aadd0012d0b4e000705ff100010004b1f..."} 
[2026-09-08 09:12:04] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1aadd0012d0b4e000705ff100010004b1f..."} 
[2026-09-08 09:12:04] local.INFO: Packet analysis {"connection_id":175564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:12:04] local.INFO: Extracted packet for processing {"connection_id":175564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:12:04] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833488,"longitude_deg":75.5715584,"latitude_deg":11.7833488,"altitude":16,"angle":75,"satellites":31,"speed":5,"hex_longitude":"2d0b4e00","hex_latitude":"0705ff10","is_valid_coordinates":true} 
[2026-09-08 09:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942745344001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30685131853266944,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533470208,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788838850000,"timestamp_ms":1788838850000,"timestamp_seconds":1788838850,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1aadd0"} 
[2026-09-08 09:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 09:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942745344001,"66":14396,"165":206,"94":10240,"24":5,"16":30685131853266944,"45":814377506533470208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942745344001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:12:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:12:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30685131853266944,"km_value":30685131853266.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533470208,"description":"Unknown IO ID 45"} 
[2026-09-08 09:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942745344001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814377506533470208}} 
[2026-09-08 09:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":175564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:12:04] local.INFO: GPS data processed {"connection_id":175564,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:12:04] local.INFO: Acknowledgment sent {"connection_id":175564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:12:20] local.INFO: TCP Data received {"connection_id":175562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:12:20] local.INFO: Processing buffer {"connection_id":175562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:12:20] local.INFO: Packet analysis {"connection_id":175562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:12:20] local.INFO: Extracted packet for processing {"connection_id":175562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:12: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-09-08 09:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:12: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-09-08 09:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":175562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:12:20] local.INFO: GPS data processed {"connection_id":175562,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:12:20] local.INFO: Acknowledgment sent {"connection_id":175562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:12:30] local.INFO: TCP Data received {"connection_id":175563,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1c20e8012d79f2c005ecaf000008003d24..."} 
[2026-09-08 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1c20e8012d79f2c005ecaf000008003d24..."} 
[2026-09-08 09:12:30] local.INFO: Processing buffer {"connection_id":175563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1c20e8012d79f2c005ecaf000008003d24..."} 
[2026-09-08 09:12:30] local.INFO: Packet analysis {"connection_id":175563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:12:30] local.INFO: Extracted packet for processing {"connection_id":175563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397376,"longitude_deg":76.296672,"latitude_deg":9.9397376,"altitude":8,"angle":61,"satellites":36,"speed":8,"hex_longitude":"2d79f2c0","hex_latitude":"05ecaf00","is_valid_coordinates":true} 
[2026-09-08 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942769664001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872363557748736,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787015479654787072,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788838945000,"timestamp_ms":1788838945000,"timestamp_seconds":1788838945,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1c20e8"} 
[2026-09-08 09:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-08 09:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942769664001,"66":13298,"100":206,"87":13824,"24":8,"16":129872363557748736,"45":8787015479654787072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942769664001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872363557748736,"km_value":129872363557748.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787015479654787072,"description":"Unknown IO ID 45"} 
[2026-09-08 09:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942769664001,"power":13298,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8787015479654787072}} 
[2026-09-08 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":175563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:12:30] local.INFO: GPS data processed {"connection_id":175563,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:12:30] local.INFO: Acknowledgment sent {"connection_id":175563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:12:34] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1ab1b8012d0b4e400705ff600010003120..."} 
[2026-09-08 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1ab1b8012d0b4e400705ff600010003120..."} 
[2026-09-08 09:12:34] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1ab1b8012d0b4e400705ff600010003120..."} 
[2026-09-08 09:12:34] local.INFO: Packet analysis {"connection_id":175564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:12:34] local.INFO: Extracted packet for processing {"connection_id":175564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1a"} 
[2026-09-08 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833568,"longitude_deg":75.5715648,"latitude_deg":11.7833568,"altitude":16,"angle":49,"satellites":32,"speed":5,"hex_longitude":"2d0b4e40","hex_latitude":"0705ff60","is_valid_coordinates":true} 
[2026-09-08 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942745600001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30685136148234240,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612766011392,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788838851000,"timestamp_ms":1788838851000,"timestamp_seconds":1788838851,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1ab1b8"} 
[2026-09-08 09:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 09:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942745600001,"66":14396,"165":206,"94":10240,"24":5,"16":30685136148234240,"45":814588612766011392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942745600001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:12:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:12:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30685136148234240,"km_value":30685136148234.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612766011392,"description":"Unknown IO ID 45"} 
[2026-09-08 09:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942745600001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814588612766011392}} 
[2026-09-08 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":175564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:12:35] local.INFO: GPS data processed {"connection_id":175564,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:12:35] local.INFO: Acknowledgment sent {"connection_id":175564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:12:42] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:12:42] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:12:42] local.INFO: IMEI packet received {"connection_id":176990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":176990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:12:47] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:12:47] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:12:47] local.INFO: IMEI packet received {"connection_id":176990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":176990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:12:48] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:12:48] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:12:48] local.INFO: Packet analysis {"connection_id":176990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:12:48] local.INFO: Extracted packet for processing {"connection_id":176990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:12: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-09-08 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:12: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-09-08 09:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":176990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:12:48] local.INFO: GPS data processed {"connection_id":176990,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:12:48] local.INFO: Acknowledgment sent {"connection_id":176990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:12:53] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:12:53] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:12:53] local.INFO: IMEI packet received {"connection_id":174220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":174220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:12:56] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:56] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:56] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:12:57] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:57] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:57] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:12:58] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:58] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:12:58] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:12:58] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:12:58] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:12:58] local.INFO: IMEI packet received {"connection_id":174220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":174220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:12:59] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1c24d0012d79f34005ecaf800008002a24..."} 
[2026-09-08 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1c24d0012d79f34005ecaf800008002a24..."} 
[2026-09-08 09:12:59] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1c24d0012d79f34005ecaf800008002a24..."} 
[2026-09-08 09:12:59] local.INFO: Packet analysis {"connection_id":174220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:12:59] local.INFO: Extracted packet for processing {"connection_id":174220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":762966848,"raw_latitude":99397504,"longitude_deg":76.2966848,"latitude_deg":9.9397504,"altitude":8,"angle":42,"satellites":36,"speed":8,"hex_longitude":"2d79f340","hex_latitude":"05ecaf80","is_valid_coordinates":true} 
[2026-09-08 09:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942769920001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872376442650624,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631520256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788838946000,"timestamp_ms":1788838946000,"timestamp_seconds":1788838946,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1c24d0"} 
[2026-09-08 09:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-08 09:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942769920001,"66":13254,"100":206,"87":13824,"24":8,"16":129872376442650624,"45":8787296954631520256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942769920001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872376442650624,"km_value":129872376442650.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631520256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942769920001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8787296954631520256}} 
[2026-09-08 09:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":174220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:12:59] local.INFO: GPS data processed {"connection_id":174220,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:12:59] local.INFO: Acknowledgment sent {"connection_id":174220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:13:03] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:13:03] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:13:03] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:13:04] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1c3c40012d0b4380070603f00013013522..."} 
[2026-09-08 09:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1c3c40012d0b4380070603f00013013522..."} 
[2026-09-08 09:13:04] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1c3c40012d0b4380070603f00013013522..."} 
[2026-09-08 09:13:04] local.INFO: Packet analysis {"connection_id":175566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:13:04] local.INFO: Extracted packet for processing {"connection_id":175566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:13:04] local.INFO: GPS Element Parsed {"raw_longitude":755712896,"raw_latitude":117834736,"longitude_deg":75.5712896,"latitude_deg":11.7834736,"altitude":19,"angle":309,"satellites":34,"speed":22,"hex_longitude":"2d0b4380","hex_latitude":"070603f0","is_valid_coordinates":true} 
[2026-09-08 09:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942770432001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30685621479538688,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813321975370954752,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788838952000,"timestamp_ms":1788838952000,"timestamp_seconds":1788838952,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1c3c40"} 
[2026-09-08 09:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4785938429379072,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639878905227173,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504067848732672,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174247,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.WARNING: Large IO value detected {"io_id":11,"raw_value":6016816824715313169,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,165,94,24,241,157,16,4,160,17,45,128,255,18,33,10,66,234,64,156,1,240,125,227,127,6,113,205,148,78,224,34,239,56,2,109,7,3,206,11],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-09-08 09:13:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369418784385269760,"timestamp_seconds":1369418784385269.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942770432001,"66":14396,"165":206,"94":10240,"24":22,"16":30685621479538688,"45":813321975370954752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942770432001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:13:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:13:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30685621479538688,"km_value":30685621479538.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":813321975370954752,"description":"Unknown IO ID 45"} 
[2026-09-08 09:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942770432001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":813321975370954752}} 
[2026-09-08 09:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":175566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:13:04] local.INFO: GPS data processed {"connection_id":175566,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:13:04] local.INFO: Acknowledgment sent {"connection_id":175566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:13:19] local.INFO: TCP Data received {"connection_id":176990,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:13:19] local.INFO: Processing buffer {"connection_id":176990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:13:19] local.INFO: Packet analysis {"connection_id":176990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:13:19] local.INFO: Extracted packet for processing {"connection_id":176990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:13: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-09-08 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:13: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-09-08 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":176990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:13:19] local.INFO: GPS data processed {"connection_id":176990,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:13:19] local.INFO: Acknowledgment sent {"connection_id":176990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:13:31] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1c28b8012d79f38005ecb0280009000f22..."} 
[2026-09-08 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1c28b8012d79f38005ecb0280009000f22..."} 
[2026-09-08 09:13:31] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1c28b8012d79f38005ecb0280009000f22..."} 
[2026-09-08 09:13:31] local.INFO: Packet analysis {"connection_id":174220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:13:31] local.INFO: Extracted packet for processing {"connection_id":174220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762966912,"raw_latitude":99397672,"longitude_deg":76.2966912,"latitude_deg":9.9397672,"altitude":9,"angle":15,"satellites":34,"speed":7,"hex_longitude":"2d79f380","hex_latitude":"05ecb028","is_valid_coordinates":true} 
[2026-09-08 09:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872385032585216,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787437692119908352,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788838947000,"timestamp_ms":1788838947000,"timestamp_seconds":1788838947,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1c28b8"} 
[2026-09-08 09:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 09:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942770176001,"66":13254,"100":206,"87":13824,"24":7,"16":129872385032585216,"45":8787437692119908352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872385032585216,"km_value":129872385032585.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787437692119908352,"description":"Unknown IO ID 45"} 
[2026-09-08 09:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942770176001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8787437692119908352}} 
[2026-09-08 09:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":174220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:13:31] local.INFO: GPS data processed {"connection_id":174220,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:13:31] local.INFO: Acknowledgment sent {"connection_id":174220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:13:35] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d0f30012d0b210007059b18001400e020..."} 
[2026-09-08 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d0f30012d0b210007059b18001400e020..."} 
[2026-09-08 09:13:35] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d0f30012d0b210007059b18001400e020..."} 
[2026-09-08 09:13:35] local.INFO: Packet analysis {"connection_id":175566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:13:35] local.INFO: Extracted packet for processing {"connection_id":175566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:13:35] local.INFO: GPS Element Parsed {"raw_longitude":755704064,"raw_latitude":117807896,"longitude_deg":75.5704064,"latitude_deg":11.7807896,"altitude":20,"angle":224,"satellites":32,"speed":11,"hex_longitude":"2d0b2100","hex_latitude":"07059b18","is_valid_coordinates":true} 
[2026-09-08 09:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942785280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30687519855083520,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802133345040041984,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839006000,"timestamp_ms":1788839006000,"timestamp_seconds":1788839006,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d0f30"} 
[2026-09-08 09:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 09:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942785280001,"66":14439,"165":206,"94":10240,"24":11,"16":30687519855083520,"45":802133345040041984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942785280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:13:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:13:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30687519855083520,"km_value":30687519855083.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":802133345040041984,"description":"Unknown IO ID 45"} 
[2026-09-08 09:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942785280001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":802133345040041984}} 
[2026-09-08 09:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":175566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:13:35] local.INFO: GPS data processed {"connection_id":175566,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:13:35] local.INFO: Acknowledgment sent {"connection_id":175566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:13:42] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:13:42] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:13:42] local.INFO: IMEI packet received {"connection_id":174487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":174487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:13:47] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:13:47] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:13:47] local.INFO: IMEI packet received {"connection_id":174487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:13:48] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:13:48] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:13:48] local.INFO: Packet analysis {"connection_id":174487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:13:48] local.INFO: Extracted packet for processing {"connection_id":174487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:13: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-09-08 09:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":174487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:13:48] local.INFO: GPS data processed {"connection_id":174487,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:13:48] local.INFO: Acknowledgment sent {"connection_id":174487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:13:57] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:13:57] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:13:57] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:13:58] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:13:58] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:13:58] local.INFO: IMEI packet received {"connection_id":176991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":176991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:13:58] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:13:58] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:13:58] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:14:03] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:14:03] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:14:03] local.INFO: IMEI packet received {"connection_id":176991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":176991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:14:03] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:03] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:03] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:14:04] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d1318012d0b1f8007059b10001400fd20..."} 
[2026-09-08 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d1318012d0b1f8007059b10001400fd20..."} 
[2026-09-08 09:14:04] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d1318012d0b1f8007059b10001400fd20..."} 
[2026-09-08 09:14:04] local.INFO: Packet analysis {"connection_id":176991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:04] local.INFO: Extracted packet for processing {"connection_id":176991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":755703680,"raw_latitude":117807888,"longitude_deg":75.570368,"latitude_deg":11.7807888,"altitude":20,"angle":253,"satellites":32,"speed":13,"hex_longitude":"2d0b1f80","hex_latitude":"07059b10","is_valid_coordinates":true} 
[2026-09-08 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942785536001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30687541329920000,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801922238807480320,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839007000,"timestamp_ms":1788839007000,"timestamp_seconds":1788839007,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d1318"} 
[2026-09-08 09:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942785536001,"66":14439,"165":206,"94":10240,"24":13,"16":30687541329920000,"45":801922238807480320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942785536001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30687541329920000,"km_value":30687541329920,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":801922238807480320,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942785536001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":801922238807480320}} 
[2026-09-08 09:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":176991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782782,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:04] local.INFO: GPS data processed {"connection_id":176991,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:04] local.INFO: Acknowledgment sent {"connection_id":176991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:14:04] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1c76d8012d79f34005ecae88000a000f27..."} 
[2026-09-08 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1c76d8012d79f34005ecae88000a000f27..."} 
[2026-09-08 09:14:04] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1c76d8012d79f34005ecae88000a000f27..."} 
[2026-09-08 09:14:04] local.INFO: Packet analysis {"connection_id":174488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:14:04] local.INFO: Extracted packet for processing {"connection_id":174488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1c"} 
[2026-09-08 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":762966848,"raw_latitude":99397256,"longitude_deg":76.2966848,"latitude_deg":9.9397256,"altitude":10,"angle":15,"satellites":39,"speed":0,"hex_longitude":"2d79f340","hex_latitude":"05ecae88","is_valid_coordinates":true} 
[2026-09-08 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942770432001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872458047029248,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787508060864129024,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788838967000,"timestamp_ms":1788838967000,"timestamp_seconds":1788838967,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1c76d8"} 
[2026-09-08 09:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942770432001,"66":12863,"118":206,"87":13824,"24":0,"16":129872458047029248,"45":8787508060864129024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 09:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942770432001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872458047029248,"km_value":129872458047029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787508060864129024,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942770432001,"power":12863,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787508060864129024}} 
[2026-09-08 09:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":174488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:04] local.INFO: GPS data processed {"connection_id":174488,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:04] local.INFO: Acknowledgment sent {"connection_id":174488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:14:20] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:14:20] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f18bdb8012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:14:20] local.INFO: Packet analysis {"connection_id":174487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:14:20] local.INFO: Extracted packet for processing {"connection_id":174487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f18"} 
[2026-09-08 09:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942636032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788838723000,"timestamp_ms":1788838723000,"timestamp_seconds":1788838723,"priority":1,"record_length":96,"hex_timestamp":"000001a07f18bdb8"} 
[2026-09-08 09:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14: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-09-08 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942636032001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942636032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942636032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":174487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:20] local.INFO: GPS data processed {"connection_id":174487,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:20] local.INFO: Acknowledgment sent {"connection_id":174487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:14:35] local.INFO: TCP Data received {"connection_id":176991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d1ae8012d0b1bc007059ae80014010c20..."} 
[2026-09-08 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d1ae8012d0b1bc007059ae80014010c20..."} 
[2026-09-08 09:14:35] local.INFO: Processing buffer {"connection_id":176991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d1ae8012d0b1bc007059ae80014010c20..."} 
[2026-09-08 09:14:35] local.INFO: Packet analysis {"connection_id":176991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:35] local.INFO: Extracted packet for processing {"connection_id":176991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":755702720,"raw_latitude":117807848,"longitude_deg":75.570272,"latitude_deg":11.7807848,"altitude":20,"angle":268,"satellites":32,"speed":20,"hex_longitude":"2d0b1bc0","hex_latitude":"07059ae8","is_valid_coordinates":true} 
[2026-09-08 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942785792001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30687584279592960,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026342412288,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839009000,"timestamp_ms":1788839009000,"timestamp_seconds":1788839009,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d1ae8"} 
[2026-09-08 09:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942785792001,"66":14396,"165":206,"94":10240,"24":20,"16":30687584279592960,"45":801500026342412288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942785792001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30687584279592960,"km_value":30687584279592.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026342412288,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942785792001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":801500026342412288}} 
[2026-09-08 09:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":176991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:35] local.INFO: GPS data processed {"connection_id":176991,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:35] local.INFO: Acknowledgment sent {"connection_id":176991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:14:35] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1dcab0012d79e2c005eca8a8000b00e525..."} 
[2026-09-08 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1dcab0012d79e2c005eca8a8000b00e525..."} 
[2026-09-08 09:14:35] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1dcab0012d79e2c005eca8a8000b00e525..."} 
[2026-09-08 09:14:35] local.INFO: Packet analysis {"connection_id":174488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:35] local.INFO: Extracted packet for processing {"connection_id":174488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":99395752,"longitude_deg":76.2962624,"latitude_deg":9.9395752,"altitude":11,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d79e2c0","hex_latitude":"05eca8a8","is_valid_coordinates":true} 
[2026-09-08 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942797312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872720040034304,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092492089344,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839054000,"timestamp_ms":1788839054000,"timestamp_seconds":1788839054,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1dcab0"} 
[2026-09-08 09:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942797312001,"66":13580,"118":206,"87":13824,"24":0,"16":129872720040034304,"45":8782934092492089344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 09:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942797312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872720040034304,"km_value":129872720040034.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092492089344,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942797312001,"power":13580,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782934092492089344}} 
[2026-09-08 09:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":174488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:36] local.INFO: GPS data processed {"connection_id":174488,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:36] local.INFO: Acknowledgment sent {"connection_id":174488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:14:47] local.INFO: TCP Data received {"connection_id":174221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:14:47] local.INFO: Processing buffer {"connection_id":174221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:14:47] local.INFO: IMEI packet received {"connection_id":174221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:14:52] local.INFO: TCP Data received {"connection_id":174221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:14:52] local.INFO: Processing buffer {"connection_id":174221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:14:52] local.INFO: IMEI packet received {"connection_id":174221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":174221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:14:53] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:53] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:53] local.INFO: IMEI packet received {"connection_id":175569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":175569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:14:54] local.INFO: TCP Data received {"connection_id":174221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:14:54] local.INFO: Processing buffer {"connection_id":174221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:14:54] local.INFO: Packet analysis {"connection_id":174221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:54] local.INFO: Extracted packet for processing {"connection_id":174221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":174221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:54] local.INFO: GPS data processed {"connection_id":174221,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:54] local.INFO: Acknowledgment sent {"connection_id":174221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:14:58] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:14:58] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:14:58] local.INFO: IMEI packet received {"connection_id":175570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":175570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:14:58] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:58] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:14:58] local.INFO: IMEI packet received {"connection_id":175569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":175569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:14:59] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1dda50012d79e24005eca848000b00c327..."} 
[2026-09-08 09:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1dda50012d79e24005eca848000b00c327..."} 
[2026-09-08 09:14:59] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1dda50012d79e24005eca848000b00c327..."} 
[2026-09-08 09:14:59] local.INFO: Packet analysis {"connection_id":175569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:59] local.INFO: Extracted packet for processing {"connection_id":175569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99395656,"longitude_deg":76.2962496,"latitude_deg":9.9395656,"altitude":11,"angle":195,"satellites":39,"speed":3,"hex_longitude":"2d79e240","hex_latitude":"05eca848","is_valid_coordinates":true} 
[2026-09-08 09:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942797824001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872728629968896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793355003734016,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839058000,"timestamp_ms":1788839058000,"timestamp_seconds":1788839058,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1dda50"} 
[2026-09-08 09:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631718,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221613740,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3646130091286593536,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2887254026,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634694879691126,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1717239808,"corrected_to":0} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970768896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-990785403949154294,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089895908136242775,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-08 09:14:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,118,87,24,241,157,16,102,160,194,45,64,168,11,33,10,66,187,192,169,132,128,1,240,56,227,127,236,4,113,205,7,93,176,38,239,53,2,5,121,52,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1717239808,"validated":0}]} 
[2026-09-08 09:14:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792885481493757952,"timestamp_seconds":792885481493758.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942797824001,"66":13678,"118":206,"87":13824,"24":3,"16":129872728629968896,"45":8782793355003734016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 09:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942797824001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:14:59] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 09:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872728629968896,"km_value":129872728629968.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793355003734016,"description":"Unknown IO ID 45"} 
[2026-09-08 09:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942797824001,"power":13678,"unknown_118":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8782793355003734016}} 
[2026-09-08 09:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":175569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:14:59] local.INFO: GPS data processed {"connection_id":175569,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:14:59] local.INFO: Acknowledgment sent {"connection_id":175569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:15:03] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:15:03] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:15:03] local.INFO: IMEI packet received {"connection_id":175570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":175570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:15:04] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1e3428012d0aa5c0070584e0002000f81e..."} 
[2026-09-08 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1e3428012d0aa5c0070584e0002000f81e..."} 
[2026-09-08 09:15:04] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1e3428012d0aa5c0070584e0002000f81e..."} 
[2026-09-08 09:15:04] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:15:04] local.INFO: Extracted packet for processing {"connection_id":175570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:15:04] local.INFO: GPS Element Parsed {"raw_longitude":755672512,"raw_latitude":117802208,"longitude_deg":75.5672512,"latitude_deg":11.7802208,"altitude":32,"angle":248,"satellites":30,"speed":22,"hex_longitude":"2d0aa5c0","hex_latitude":"070584e0","is_valid_coordinates":true} 
[2026-09-08 09:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942800640001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30689070338277376,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776800597135216640,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839081000,"timestamp_ms":1788839081000,"timestamp_seconds":1788839081,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1e3428"} 
[2026-09-08 09:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 09:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942800640001,"66":14537,"165":206,"94":10240,"24":22,"16":30689070338277376,"45":776800597135216640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942800640001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:15:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:15:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30689070338277376,"km_value":30689070338277.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":776800597135216640,"description":"Unknown IO ID 45"} 
[2026-09-08 09:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942800640001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":776800597135216640}} 
[2026-09-08 09:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":175570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:15:04] local.INFO: GPS data processed {"connection_id":175570,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:15:04] local.INFO: Acknowledgment sent {"connection_id":175570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:15:25] local.INFO: TCP Data received {"connection_id":174221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:15:25] local.INFO: Processing buffer {"connection_id":174221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:15:25] local.INFO: Packet analysis {"connection_id":174221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:15:25] local.INFO: Extracted packet for processing {"connection_id":174221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:15:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":174221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:15:25] local.INFO: GPS data processed {"connection_id":174221,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:15:25] local.INFO: Acknowledgment sent {"connection_id":174221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:15:30] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1dde38012d79e24005eca7d0000b00a329..."} 
[2026-09-08 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1dde38012d79e24005eca7d0000b00a329..."} 
[2026-09-08 09:15:30] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1dde38012d79e24005eca7d0000b00a329..."} 
[2026-09-08 09:15:30] local.INFO: Packet analysis {"connection_id":175569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:15:30] local.INFO: Extracted packet for processing {"connection_id":175569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:15:30] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99395536,"longitude_deg":76.2962496,"latitude_deg":9.9395536,"altitude":11,"angle":163,"satellites":41,"speed":7,"hex_longitude":"2d79e240","hex_latitude":"05eca7d0","is_valid_coordinates":true} 
[2026-09-08 09:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942798848001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872737219903488,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515354112,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788839059000,"timestamp_ms":1788839059000,"timestamp_seconds":1788839059,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1dde38"} 
[2026-09-08 09:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 09:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942798848001,"66":13678,"118":206,"87":13824,"24":7,"16":129872737219903488,"45":8782652617515354112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 09:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942798848001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:15:30] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 09:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872737219903488,"km_value":129872737219903.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515354112,"description":"Unknown IO ID 45"} 
[2026-09-08 09:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942798848001,"power":13678,"unknown_118":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782652617515354112}} 
[2026-09-08 09:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":175569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:15:30] local.INFO: GPS data processed {"connection_id":175569,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:15:30] local.INFO: Acknowledgment sent {"connection_id":175569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:15:35] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1e3bf8012d0aa20007058388002001041f..."} 
[2026-09-08 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1e3bf8012d0aa20007058388002001041f..."} 
[2026-09-08 09:15:35] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1e3bf8012d0aa20007058388002001041f..."} 
[2026-09-08 09:15:35] local.INFO: Packet analysis {"connection_id":175570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:15:35] local.INFO: Extracted packet for processing {"connection_id":175570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:15:35] local.INFO: GPS Element Parsed {"raw_longitude":755671552,"raw_latitude":117801864,"longitude_deg":75.5671552,"latitude_deg":11.7801864,"altitude":32,"angle":260,"satellites":31,"speed":19,"hex_longitude":"2d0aa200","hex_latitude":"07058388","is_valid_coordinates":true} 
[2026-09-08 09:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942804736001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30689121877884928,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767230447926435840,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839083000,"timestamp_ms":1788839083000,"timestamp_seconds":1788839083,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1e3bf8"} 
[2026-09-08 09:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 09:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942804736001,"66":14537,"165":206,"94":10240,"24":19,"16":30689121877884928,"45":767230447926435840},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942804736001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:15:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:15:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30689121877884928,"km_value":30689121877884.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":767230447926435840,"description":"Unknown IO ID 45"} 
[2026-09-08 09:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942804736001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":767230447926435840}} 
[2026-09-08 09:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":175570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:15:35] local.INFO: GPS data processed {"connection_id":175570,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:15:35] local.INFO: Acknowledgment sent {"connection_id":175570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:15:42] local.INFO: TCP Data received {"connection_id":174489,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:15:42] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:15:42] local.INFO: IMEI packet received {"connection_id":174489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":174489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:15:47] local.INFO: TCP Data received {"connection_id":174489,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:15:47] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:15:47] local.INFO: IMEI packet received {"connection_id":174489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":174489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:15:48] local.INFO: TCP Data received {"connection_id":174489,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:15:48] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:15:48] local.INFO: Packet analysis {"connection_id":174489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:15:48] local.INFO: Extracted packet for processing {"connection_id":174489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:15: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-09-08 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":174489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:15:48] local.INFO: GPS data processed {"connection_id":174489,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:15:48] local.INFO: Acknowledgment sent {"connection_id":174489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:15:53] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:53] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:53] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:15:54] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:54] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:54] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:15:58] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:15:58] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:15:58] local.INFO: IMEI packet received {"connection_id":174223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":174223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:15:58] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:58] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:15:58] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:15:59] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1e2c58012d79e80005ec96d80006009c2b..."} 
[2026-09-08 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1e2c58012d79e80005ec96d80006009c2b..."} 
[2026-09-08 09:15:59] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1e2c58012d79e80005ec96d80006009c2b..."} 
[2026-09-08 09:15:59] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:15:59] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:15:59] local.INFO: GPS Element Parsed {"raw_longitude":762963968,"raw_latitude":99391192,"longitude_deg":76.2963968,"latitude_deg":9.9391192,"altitude":6,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d79e800","hex_latitude":"05ec96d8","is_valid_coordinates":true} 
[2026-09-08 09:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942799104001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129872960558202880,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515323392,"note":"Value kept but may cause issues"} 
[2026-09-08 09:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839079000,"timestamp_ms":1788839079000,"timestamp_seconds":1788839079,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1e2c58"} 
[2026-09-08 09:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 09:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942799104001,"66":13830,"118":206,"87":13824,"24":13,"16":129872960558202880,"45":8782652617515323392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 09:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942799104001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129872960558202880,"km_value":129872960558202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515323392,"description":"Unknown IO ID 45"} 
[2026-09-08 09:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942799104001,"power":13830,"unknown_118":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8782652617515323392}} 
[2026-09-08 09:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:15:59] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:15:59] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:16:03] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:16:03] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:16:03] local.INFO: IMEI packet received {"connection_id":174223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":174223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:16:04] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1ee7d8012d0a76800705c120001c016220..."} 
[2026-09-08 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1ee7d8012d0a76800705c120001c016220..."} 
[2026-09-08 09:16:04] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1ee7d8012d0a76800705c120001c016220..."} 
[2026-09-08 09:16:04] local.INFO: Packet analysis {"connection_id":174223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:16:04] local.INFO: Extracted packet for processing {"connection_id":174223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117817632,"longitude_deg":75.5660416,"latitude_deg":11.7817632,"altitude":28,"angle":354,"satellites":32,"speed":17,"hex_longitude":"2d0a7680","hex_latitude":"0705c120","is_valid_coordinates":true} 
[2026-09-08 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942816000001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30690088245526528,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754282599001425920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839127000,"timestamp_ms":1788839127000,"timestamp_seconds":1788839127,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1ee7d8"} 
[2026-09-08 09:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 09:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942816000001,"66":14515,"165":206,"94":10240,"24":17,"16":30690088245526528,"45":754282599001425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942816000001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:16:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:16:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30690088245526528,"km_value":30690088245526.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":754282599001425920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942816000001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":754282599001425920}} 
[2026-09-08 09:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":174223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:16:04] local.INFO: GPS data processed {"connection_id":174223,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:16:04] local.INFO: Acknowledgment sent {"connection_id":174223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:16:19] local.INFO: TCP Data received {"connection_id":174489,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:16:19] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:16:19] local.INFO: Packet analysis {"connection_id":174489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:16:19] local.INFO: Extracted packet for processing {"connection_id":174489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09: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-09-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":174489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:16:19] local.INFO: GPS data processed {"connection_id":174489,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:16:19] local.INFO: Acknowledgment sent {"connection_id":174489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:16:30] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1e7e60012d79f30005ec7e88000600972a..."} 
[2026-09-08 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1e7e60012d79f30005ec7e88000600972a..."} 
[2026-09-08 09:16:30] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1e7e60012d79f30005ec7e88000600972a..."} 
[2026-09-08 09:16:30] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:16:30] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:16:30] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99384968,"longitude_deg":76.2966784,"latitude_deg":9.9384968,"altitude":6,"angle":151,"satellites":42,"speed":9,"hex_longitude":"2d79f300","hex_latitude":"05ec7e88","is_valid_coordinates":true} 
[2026-09-08 09:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942804224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129873295565651968,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784271098630297600,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788839100000,"timestamp_ms":1788839100000,"timestamp_seconds":1788839100,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1e7e60"} 
[2026-09-08 09:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627172852736,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":45057,"corrected_to":0} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3221613737,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2829582347,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1720320000,"corrected_to":0} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970539520,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2306174485939619308,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.WARNING: Large IO value detected {"io_id":172,"raw_value":1729393256357298183,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,118,87,24,241,157,16,102,160,222,45,64,167,11,41,10,66,218,168,39,202,192,1,240,12,227,127,236,4,113,205,2,187,33,239,52,5,6,101,172],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":202,"original":45057,"validated":0},{"io_id":205,"original":1720320000,"validated":0}]} 
[2026-09-08 09:16:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432517272725946368,"timestamp_seconds":432517272725946.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942804224001,"66":13526,"100":206,"87":13824,"24":9,"16":129873295565651968,"45":8784271098630297600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942804224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:16:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129873295565651968,"km_value":129873295565651.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784271098630297600,"description":"Unknown IO ID 45"} 
[2026-09-08 09:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942804224001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8784271098630297600}} 
[2026-09-08 09:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:16:30] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:16:30] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:16:35] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1f0ee8012d0a75400705c558001b01571f..."} 
[2026-09-08 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1f0ee8012d0a75400705c558001b01571f..."} 
[2026-09-08 09:16:35] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1f0ee8012d0a75400705c558001b01571f..."} 
[2026-09-08 09:16:35] local.INFO: Packet analysis {"connection_id":174223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1f"} 
[2026-09-08 09:16:35] local.INFO: Extracted packet for processing {"connection_id":174223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1f"} 
[2026-09-08 09:16:35] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117818712,"longitude_deg":75.5660096,"latitude_deg":11.7818712,"altitude":27,"angle":343,"satellites":31,"speed":1,"hex_longitude":"2d0a7540","hex_latitude":"0705c558","is_valid_coordinates":true} 
[2026-09-08 09:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942816512001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30690144080101376,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755280805888,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839137000,"timestamp_ms":1788839137000,"timestamp_seconds":1788839137,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1f0ee8"} 
[2026-09-08 09:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 09:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942816512001,"66":14407,"165":206,"94":10240,"24":1,"16":30690144080101376,"45":753930755280805888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942816512001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:16:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:16:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30690144080101376,"km_value":30690144080101.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755280805888,"description":"Unknown IO ID 45"} 
[2026-09-08 09:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942816512001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753930755280805888}} 
[2026-09-08 09:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":174223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:16:35] local.INFO: GPS data processed {"connection_id":174223,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:16:35] local.INFO: Acknowledgment sent {"connection_id":174223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:16:42] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:16:42] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:16:42] local.INFO: IMEI packet received {"connection_id":175571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":175571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:16:44] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:16:44] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:16:44] local.INFO: IMEI packet received {"connection_id":174224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":174224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:16:47] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:16:47] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:16:47] local.INFO: IMEI packet received {"connection_id":175571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:16:49] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:16:49] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:16:49] local.INFO: Packet analysis {"connection_id":175571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:16:49] local.INFO: Extracted packet for processing {"connection_id":175571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:16:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:16:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":175571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:16:49] local.INFO: GPS data processed {"connection_id":175571,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:16:49] local.INFO: Acknowledgment sent {"connection_id":175571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:16:53] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:16:53] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:16:53] local.INFO: IMEI packet received {"connection_id":174225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":174225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:16:57] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:16:57] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:16:57] local.INFO: IMEI packet received {"connection_id":174225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":174225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:16:58] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:16:58] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:16:58] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:16:59] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1eb510012d79f90005ec7360000700a72a..."} 
[2026-09-08 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1eb510012d79f90005ec7360000700a72a..."} 
[2026-09-08 09:16:59] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1eb510012d79f90005ec7360000700a72a..."} 
[2026-09-08 09:16:59] local.INFO: Packet analysis {"connection_id":174225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:16:59] local.INFO: Extracted packet for processing {"connection_id":174225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99382112,"longitude_deg":76.296832,"latitude_deg":9.9382112,"altitude":7,"angle":167,"satellites":42,"speed":11,"hex_longitude":"2d79f900","hex_latitude":"05ec7360","is_valid_coordinates":true} 
[2026-09-08 09:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942809600001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129873450184474624,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323372521472,"note":"Value kept but may cause issues"} 
[2026-09-08 09:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839114000,"timestamp_ms":1788839114000,"timestamp_seconds":1788839114,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1eb510"} 
[2026-09-08 09:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 09:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942809600001,"66":13678,"100":206,"87":13824,"24":11,"16":129873450184474624,"45":8787367323372521472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942809600001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:16:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129873450184474624,"km_value":129873450184474.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323372521472,"description":"Unknown IO ID 45"} 
[2026-09-08 09:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942809600001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8787367323372521472}} 
[2026-09-08 09:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":174225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:16:59] local.INFO: GPS data processed {"connection_id":174225,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:16:59] local.INFO: Acknowledgment sent {"connection_id":174225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:17:03] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:17:03] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:17:03] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:17:04] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1f3dc8012d0a75000705c670001b016720..."} 
[2026-09-08 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1f3dc8012d0a75000705c670001b016720..."} 
[2026-09-08 09:17:04] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1f3dc8012d0a75000705c670001b016720..."} 
[2026-09-08 09:17:04] local.INFO: Packet analysis {"connection_id":175572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1f"} 
[2026-09-08 09:17:04] local.INFO: Extracted packet for processing {"connection_id":175572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1f"} 
[2026-09-08 09:17:04] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117818992,"longitude_deg":75.5660032,"latitude_deg":11.7818992,"altitude":27,"angle":359,"satellites":32,"speed":3,"hex_longitude":"2d0a7500","hex_latitude":"0705c670","is_valid_coordinates":true} 
[2026-09-08 09:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942819072001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30690161259970560,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911560194048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839149000,"timestamp_ms":1788839149000,"timestamp_seconds":1788839149,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1f3dc8"} 
[2026-09-08 09:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 09:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942819072001,"66":14298,"165":206,"94":10240,"24":3,"16":30690161259970560,"45":753578911560194048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 09:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942819072001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:17:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 09:17:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30690161259970560,"km_value":30690161259970.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911560194048,"description":"Unknown IO ID 45"} 
[2026-09-08 09:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942819072001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":753578911560194048}} 
[2026-09-08 09:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":175572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:17:04] local.INFO: GPS data processed {"connection_id":175572,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:17:04] local.INFO: Acknowledgment sent {"connection_id":175572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:17:20] local.INFO: TCP Data received {"connection_id":175571,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:17:20] local.INFO: Processing buffer {"connection_id":175571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:17:20] local.INFO: Packet analysis {"connection_id":175571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:17:20] local.INFO: Extracted packet for processing {"connection_id":175571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:17: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-09-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":175571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:17:20] local.INFO: GPS data processed {"connection_id":175571,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:17:20] local.INFO: Acknowledgment sent {"connection_id":175571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:17:31] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1efb60012d7a000005ec5b400007009b2b..."} 
[2026-09-08 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1efb60012d7a000005ec5b400007009b2b..."} 
[2026-09-08 09:17:31] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1efb60012d7a000005ec5b400007009b2b..."} 
[2026-09-08 09:17:31] local.INFO: Packet analysis {"connection_id":174225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:17:31] local.INFO: Extracted packet for processing {"connection_id":174225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1e"} 
[2026-09-08 09:17:31] local.INFO: GPS Element Parsed {"raw_longitude":762970112,"raw_latitude":99375936,"longitude_deg":76.2970112,"latitude_deg":9.9375936,"altitude":7,"angle":155,"satellites":43,"speed":6,"hex_longitude":"2d7a0000","hex_latitude":"05ec5b40","is_valid_coordinates":true} 
[2026-09-08 09:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942813184001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129873768012054528,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173232054272,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839132000,"timestamp_ms":1788839132000,"timestamp_seconds":1788839132,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1efb60"} 
[2026-09-08 09:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 09:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942813184001,"66":13906,"100":206,"87":13824,"24":6,"16":129873768012054528,"45":8789056173232054272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942813184001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129873768012054528,"km_value":129873768012054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173232054272,"description":"Unknown IO ID 45"} 
[2026-09-08 09:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942813184001,"power":13906,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789056173232054272}} 
[2026-09-08 09:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":174225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:17:31] local.INFO: GPS data processed {"connection_id":174225,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:17:31] local.INFO: Acknowledgment sent {"connection_id":174225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:17:35] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f20b8b0012d0a85c0070614480011003a1e..."} 
[2026-09-08 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f20b8b0012d0a85c0070614480011003a1e..."} 
[2026-09-08 09:17:35] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f20b8b0012d0a85c0070614480011003a1e..."} 
[2026-09-08 09:17:35] local.INFO: Packet analysis {"connection_id":175572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:17:35] local.INFO: Extracted packet for processing {"connection_id":175572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:17:35] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117838920,"longitude_deg":75.566432,"latitude_deg":11.783892,"altitude":17,"angle":58,"satellites":30,"speed":7,"hex_longitude":"2d0a85c0","hex_latitude":"07061448","is_valid_coordinates":true} 
[2026-09-08 09:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942846720001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30691402505519104,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142448537600,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839246000,"timestamp_ms":1788839246000,"timestamp_seconds":1788839246,"priority":1,"record_length":96,"hex_timestamp":"000001a07f20b8b0"} 
[2026-09-08 09:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 09:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942846720001,"66":14309,"153":206,"94":10240,"24":7,"16":30691402505519104,"45":758012142448537600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942846720001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:17:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:17:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30691402505519104,"km_value":30691402505519.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142448537600,"description":"Unknown IO ID 45"} 
[2026-09-08 09:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942846720001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758012142448537600}} 
[2026-09-08 09:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":175572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:17:35] local.INFO: GPS data processed {"connection_id":175572,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:17:35] local.INFO: Acknowledgment sent {"connection_id":175572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:17:42] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:17:42] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:17:42] local.INFO: IMEI packet received {"connection_id":175573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":175573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:17:47] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:17:47] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:17:47] local.INFO: IMEI packet received {"connection_id":175573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":175573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:17:49] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:17:49] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:17:49] local.INFO: Packet analysis {"connection_id":175573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:17:49] local.INFO: Extracted packet for processing {"connection_id":175573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":175573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:17:49] local.INFO: GPS data processed {"connection_id":175573,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:17:49] local.INFO: Acknowledgment sent {"connection_id":175573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:17:54] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:17:54] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:17:54] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:17:58] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:17:58] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:17:58] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:17:59] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1f4980012d7a064005ec49a0000700a32a..."} 
[2026-09-08 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1f4980012d7a064005ec49a0000700a32a..."} 
[2026-09-08 09:17:59] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1f4980012d7a064005ec49a0000700a32a..."} 
[2026-09-08 09:17:59] local.INFO: Packet analysis {"connection_id":174492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1f"} 
[2026-09-08 09:17:59] local.INFO: Extracted packet for processing {"connection_id":174492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1f"} 
[2026-09-08 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":762971712,"raw_latitude":99371424,"longitude_deg":76.2971712,"latitude_deg":9.9371424,"altitude":7,"angle":163,"satellites":42,"speed":3,"hex_longitude":"2d7a0640","hex_latitude":"05ec49a0","is_valid_coordinates":true} 
[2026-09-08 09:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942817792001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129873999940288512,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791026498067447808,"note":"Value kept but may cause issues"} 
[2026-09-08 09:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839152000,"timestamp_ms":1788839152000,"timestamp_seconds":1788839152,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1f4980"} 
[2026-09-08 09:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 09:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942817792001,"66":13515,"100":206,"87":13824,"24":3,"16":129873999940288512,"45":8791026498067447808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 09:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942817792001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129873999940288512,"km_value":129873999940288.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791026498067447808,"description":"Unknown IO ID 45"} 
[2026-09-08 09:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942817792001,"power":13515,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8791026498067447808}} 
[2026-09-08 09:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":174492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:17:59] local.INFO: GPS data processed {"connection_id":174492,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:17:59] local.INFO: Acknowledgment sent {"connection_id":174492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:00] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:00] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:00] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:18:03] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:03] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:03] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:18:06] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:06] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:06] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:18:06] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f20bc98012d0a8640070614e8001200261e..."} 
[2026-09-08 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f20bc98012d0a8640070614e8001200261e..."} 
[2026-09-08 09:18:06] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f20bc98012d0a8640070614e8001200261e..."} 
[2026-09-08 09:18:06] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:18:06] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117839080,"longitude_deg":75.5664448,"latitude_deg":11.783908,"altitude":18,"angle":38,"satellites":30,"speed":7,"hex_longitude":"2d0a8640","hex_latitude":"070614e8","is_valid_coordinates":true} 
[2026-09-08 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942846976001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30691411095453696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758223248681093120,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788839247000,"timestamp_ms":1788839247000,"timestamp_seconds":1788839247,"priority":1,"record_length":96,"hex_timestamp":"000001a07f20bc98"} 
[2026-09-08 09:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942846976001,"66":14309,"153":206,"94":10240,"24":7,"16":30691411095453696,"45":758223248681093120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942846976001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:18:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30691411095453696,"km_value":30691411095453.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":758223248681093120,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942846976001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758223248681093120}} 
[2026-09-08 09:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:07] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:07] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:08] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f20c468012d0a8740070616500012001b20..."} 
[2026-09-08 09:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f20c468012d0a8740070616500012001b20..."} 
[2026-09-08 09:18:08] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f20c468012d0a8740070616500012001b20..."} 
[2026-09-08 09:18:08] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:18:08] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":755664704,"raw_latitude":117839440,"longitude_deg":75.5664704,"latitude_deg":11.783944,"altitude":18,"angle":27,"satellites":32,"speed":7,"hex_longitude":"2d0a8740","hex_latitude":"07061650","is_valid_coordinates":true} 
[2026-09-08 09:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30691432570290176,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169489408,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788839249000,"timestamp_ms":1788839249000,"timestamp_seconds":1788839249,"priority":1,"record_length":96,"hex_timestamp":"000001a07f20c468"} 
[2026-09-08 09:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942847232001,"66":14515,"153":206,"94":10240,"24":7,"16":30691432570290176,"45":758363986169489408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:18:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30691432570290176,"km_value":30691432570290.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169489408,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942847232001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758363986169489408}} 
[2026-09-08 09:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:08] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:08] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:20] local.INFO: TCP Data received {"connection_id":175573,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:18:20] local.INFO: Processing buffer {"connection_id":175573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:18:20] local.INFO: Packet analysis {"connection_id":175573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:18:20] local.INFO: Extracted packet for processing {"connection_id":175573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18: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-09-08 09:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":175573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:20] local.INFO: GPS data processed {"connection_id":175573,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:20] local.INFO: Acknowledgment sent {"connection_id":175573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:32] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f215cc0012d7a5a4005eb95780000005025..."} 
[2026-09-08 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f215cc0012d7a5a4005eb95780000005025..."} 
[2026-09-08 09:18:32] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f215cc0012d7a5a4005eb95780000005025..."} 
[2026-09-08 09:18:32] local.INFO: Packet analysis {"connection_id":174492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:18:32] local.INFO: Extracted packet for processing {"connection_id":174492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99325304,"longitude_deg":76.2993216,"latitude_deg":9.9325304,"altitude":0,"angle":80,"satellites":37,"speed":18,"hex_longitude":"2d7a5a40","hex_latitude":"05eb9578","is_valid_coordinates":true} 
[2026-09-08 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942857472001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129876516791123968,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815937033493366784,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788839288000,"timestamp_ms":1788839288000,"timestamp_seconds":1788839288,"priority":1,"record_length":96,"hex_timestamp":"000001a07f215cc0"} 
[2026-09-08 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942857472001,"66":13787,"163":206,"87":13824,"24":18,"16":129876516791123968,"45":8815937033493366784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942857472001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 09:18:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129876516791123968,"km_value":129876516791123.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815937033493366784,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942857472001,"power":13787,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8815937033493366784}} 
[2026-09-08 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":174492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:32] local.INFO: GPS data processed {"connection_id":174492,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:32] local.INFO: Acknowledgment sent {"connection_id":174492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:39] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f20f348012d0a864007061528001100d121..."} 
[2026-09-08 09:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f20f348012d0a864007061528001100d121..."} 
[2026-09-08 09:18:39] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f20f348012d0a864007061528001100d121..."} 
[2026-09-08 09:18:39] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:18:39] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f20"} 
[2026-09-08 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117839144,"longitude_deg":75.5664448,"latitude_deg":11.7839144,"altitude":17,"angle":209,"satellites":33,"speed":1,"hex_longitude":"2d0a8640","hex_latitude":"07061528","is_valid_coordinates":true} 
[2026-09-08 09:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942847744001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30691475519963136,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461146292224,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788839261000,"timestamp_ms":1788839261000,"timestamp_seconds":1788839261,"priority":1,"record_length":96,"hex_timestamp":"000001a07f20f348"} 
[2026-09-08 09:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942847744001,"66":14450,"153":206,"94":10240,"24":1,"16":30691475519963136,"45":758645461146292224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942847744001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:18:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30691475519963136,"km_value":30691475519963.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461146292224,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942847744001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":758645461146292224}} 
[2026-09-08 09:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:39] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:39] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:42] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:18:42] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:18:42] local.INFO: IMEI packet received {"connection_id":176993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":176993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:18:47] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:18:47] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:18:47] local.INFO: IMEI packet received {"connection_id":176993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":176993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:18:49] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:18:49] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:18:49] local.INFO: Packet analysis {"connection_id":176993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:18:49] local.INFO: Extracted packet for processing {"connection_id":176993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":176993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:49] local.INFO: GPS data processed {"connection_id":176993,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:49] local.INFO: Acknowledgment sent {"connection_id":176993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:18:52] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:52] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:52] local.INFO: IMEI packet received {"connection_id":176994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":176994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:18:53] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:53] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:53] local.INFO: IMEI packet received {"connection_id":176994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":176994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:18:58] local.INFO: TCP Data received {"connection_id":175574,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:58] local.INFO: Processing buffer {"connection_id":175574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:18:58] local.INFO: IMEI packet received {"connection_id":175574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":175574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:18:58] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:58] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:18:58] local.INFO: IMEI packet received {"connection_id":176994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":176994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:18:59] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f217430012d7a6ac005eb9b380003004523..."} 
[2026-09-08 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f217430012d7a6ac005eb9b380003004523..."} 
[2026-09-08 09:18:59] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f217430012d7a6ac005eb9b380003004523..."} 
[2026-09-08 09:18:59] local.INFO: Packet analysis {"connection_id":176994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:18:59] local.INFO: Extracted packet for processing {"connection_id":176994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:18:59] local.INFO: GPS Element Parsed {"raw_longitude":762997440,"raw_latitude":99326776,"longitude_deg":76.299744,"latitude_deg":9.9326776,"altitude":3,"angle":69,"satellites":35,"speed":31,"hex_longitude":"2d7a6ac0","hex_latitude":"05eb9b38","is_valid_coordinates":true} 
[2026-09-08 09:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942857728001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129876727244521472,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702622720,"note":"Value kept but may cause issues"} 
[2026-09-08 09:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839294000,"timestamp_ms":1788839294000,"timestamp_seconds":1788839294,"priority":1,"record_length":96,"hex_timestamp":"000001a07f217430"} 
[2026-09-08 09:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-08 09:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942857728001,"66":13656,"163":206,"87":13824,"24":31,"16":129876727244521472,"45":8816429614702622720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 09:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942857728001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:18:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 09:18:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129876727244521472,"km_value":129876727244521.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702622720,"description":"Unknown IO ID 45"} 
[2026-09-08 09:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942857728001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8816429614702622720}} 
[2026-09-08 09:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":176994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:18:59] local.INFO: GPS data processed {"connection_id":176994,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:18:59] local.INFO: Acknowledgment sent {"connection_id":176994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:19:03] local.INFO: TCP Data received {"connection_id":175574,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:19:03] local.INFO: Processing buffer {"connection_id":175574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:19:03] local.INFO: IMEI packet received {"connection_id":175574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":175574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:19:03] local.INFO: TCP Data received {"connection_id":175574,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21d1f0012d0a76400705e558001400c11e..."} 
[2026-09-08 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21d1f0012d0a76400705e558001400c11e..."} 
[2026-09-08 09:19:03] local.INFO: Processing buffer {"connection_id":175574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21d1f0012d0a76400705e558001400c11e..."} 
[2026-09-08 09:19:03] local.INFO: Packet analysis {"connection_id":175574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:03] local.INFO: Extracted packet for processing {"connection_id":175574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117826904,"longitude_deg":75.5660352,"latitude_deg":11.7826904,"altitude":20,"angle":193,"satellites":30,"speed":17,"hex_longitude":"2d0a7640","hex_latitude":"0705e558","is_valid_coordinates":true} 
[2026-09-08 09:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942861056001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30692317333553152,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587771904,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788839318000,"timestamp_ms":1788839318000,"timestamp_seconds":1788839318,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21d1f0"} 
[2026-09-08 09:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 09:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942861056001,"66":14407,"153":206,"94":10240,"24":17,"16":30692317333553152,"45":753297436587771904},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942861056001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:19:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:19:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30692317333553152,"km_value":30692317333553.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587771904,"description":"Unknown IO ID 45"} 
[2026-09-08 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942861056001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":753297436587771904}} 
[2026-09-08 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":175574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:19:04] local.INFO: GPS data processed {"connection_id":175574,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:19:04] local.INFO: Acknowledgment sent {"connection_id":175574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:19:20] local.INFO: TCP Data received {"connection_id":176993,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:19:20] local.INFO: Processing buffer {"connection_id":176993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f1d5580012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:19:20] local.INFO: Packet analysis {"connection_id":176993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:19:20] local.INFO: Extracted packet for processing {"connection_id":176993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f1d"} 
[2026-09-08 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839024000,"timestamp_ms":1788839024000,"timestamp_seconds":1788839024,"priority":1,"record_length":96,"hex_timestamp":"000001a07f1d5580"} 
[2026-09-08 09:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:19: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-09-08 09:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942713088001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942713088001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":176993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:19:20] local.INFO: GPS data processed {"connection_id":176993,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:19:20] local.INFO: Acknowledgment sent {"connection_id":176993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:19:31] local.INFO: TCP Data received {"connection_id":176994,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21a310012d7a8bc005eba6d80004004628..."} 
[2026-09-08 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21a310012d7a8bc005eba6d80004004628..."} 
[2026-09-08 09:19:31] local.INFO: Processing buffer {"connection_id":176994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21a310012d7a8bc005eba6d80004004628..."} 
[2026-09-08 09:19:31] local.INFO: Packet analysis {"connection_id":176994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:31] local.INFO: Extracted packet for processing {"connection_id":176994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763005888,"raw_latitude":99329752,"longitude_deg":76.3005888,"latitude_deg":9.9329752,"altitude":4,"angle":70,"satellites":40,"speed":28,"hex_longitude":"2d7a8bc0","hex_latitude":"05eba6d8","is_valid_coordinates":true} 
[2026-09-08 09:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942859264001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129877156741251072,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821073951818725376,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839306000,"timestamp_ms":1788839306000,"timestamp_seconds":1788839306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21a310"} 
[2026-09-08 09:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 09:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942859264001,"66":14102,"163":206,"87":13824,"24":28,"16":129877156741251072,"45":8821073951818725376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 09:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942859264001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:19:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 09:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129877156741251072,"km_value":129877156741251.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821073951818725376,"description":"Unknown IO ID 45"} 
[2026-09-08 09:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942859264001,"power":14102,"unknown_163":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8821073951818725376}} 
[2026-09-08 09:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":176994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:19:31] local.INFO: GPS data processed {"connection_id":176994,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:19:31] local.INFO: Acknowledgment sent {"connection_id":176994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:19:35] local.INFO: TCP Data received {"connection_id":175574,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21d9c0012d0a75000705e270001500cc1e..."} 
[2026-09-08 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21d9c0012d0a75000705e270001500cc1e..."} 
[2026-09-08 09:19:35] local.INFO: Processing buffer {"connection_id":175574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21d9c0012d0a75000705e270001500cc1e..."} 
[2026-09-08 09:19:35] local.INFO: Packet analysis {"connection_id":175574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:35] local.INFO: Extracted packet for processing {"connection_id":175574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117826160,"longitude_deg":75.5660032,"latitude_deg":11.782616,"altitude":21,"angle":204,"satellites":30,"speed":14,"hex_longitude":"2d0a7500","hex_latitude":"0705e270","is_valid_coordinates":true} 
[2026-09-08 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942865408001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30692355988258816,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386539001856,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839320000,"timestamp_ms":1788839320000,"timestamp_seconds":1788839320,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21d9c0"} 
[2026-09-08 09:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 09:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942865408001,"66":14439,"153":206,"94":10240,"24":14,"16":30692355988258816,"45":753860386539001856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942865408001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:19:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:19:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30692355988258816,"km_value":30692355988258.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386539001856,"description":"Unknown IO ID 45"} 
[2026-09-08 09:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942865408001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753860386539001856}} 
[2026-09-08 09:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":175574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:19:35] local.INFO: GPS data processed {"connection_id":175574,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:19:35] local.INFO: Acknowledgment sent {"connection_id":175574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:19:42] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:19:42] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:19:42] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:19:47] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:19:47] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:19:47] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:19:48] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:19:48] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:19:48] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:48] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:19: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-09-08 09:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:19:48] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:19:48] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:19:58] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:19:58] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:19:58] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:20:02] local.INFO: TCP Data received {"connection_id":176995,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:02] local.INFO: Processing buffer {"connection_id":176995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:02] local.INFO: IMEI packet received {"connection_id":176995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":176995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:20:03] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:20:03] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:20:03] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:20:03] local.INFO: TCP Data received {"connection_id":176995,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:03] local.INFO: Processing buffer {"connection_id":176995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:03] local.INFO: IMEI packet received {"connection_id":176995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":176995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:20:04] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f22c038012d0a52c007057b20001100ff1f..."} 
[2026-09-08 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f22c038012d0a52c007057b20001100ff1f..."} 
[2026-09-08 09:20:04] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f22c038012d0a52c007057b20001100ff1f..."} 
[2026-09-08 09:20:04] local.INFO: Packet analysis {"connection_id":174227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:20:04] local.INFO: Extracted packet for processing {"connection_id":174227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":755651264,"raw_latitude":117799712,"longitude_deg":75.5651264,"latitude_deg":11.7799712,"altitude":17,"angle":255,"satellites":31,"speed":15,"hex_longitude":"2d0a52c0","hex_latitude":"07057b20","is_valid_coordinates":true} 
[2026-09-08 09:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942878720001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30693949421125632,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749356786905384960,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839379000,"timestamp_ms":1788839379000,"timestamp_seconds":1788839379,"priority":1,"record_length":96,"hex_timestamp":"000001a07f22c038"} 
[2026-09-08 09:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942878720001,"66":14428,"153":206,"94":10240,"24":15,"16":30693949421125632,"45":749356786905384960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942878720001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:20:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:20:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30693949421125632,"km_value":30693949421125.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":749356786905384960,"description":"Unknown IO ID 45"} 
[2026-09-08 09:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942878720001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":749356786905384960}} 
[2026-09-08 09:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":174227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:20:04] local.INFO: GPS data processed {"connection_id":174227,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:20:04] local.INFO: Acknowledgment sent {"connection_id":174227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:20:21] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:20:21] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:20:21] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:20:21] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:20: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-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:20:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:20:21] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:20:21] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:20:35] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f22c420012d0a514007057b10001201151f..."} 
[2026-09-08 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f22c420012d0a514007057b10001201151f..."} 
[2026-09-08 09:20:35] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f22c420012d0a514007057b10001201151f..."} 
[2026-09-08 09:20:35] local.INFO: Packet analysis {"connection_id":174227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:20:35] local.INFO: Extracted packet for processing {"connection_id":174227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755650880,"raw_latitude":117799696,"longitude_deg":75.565088,"latitude_deg":11.7799696,"altitude":18,"angle":277,"satellites":31,"speed":13,"hex_longitude":"2d0a5140","hex_latitude":"07057b10","is_valid_coordinates":true} 
[2026-09-08 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942881024001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30693966600994816,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743868024858812416,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839380000,"timestamp_ms":1788839380000,"timestamp_seconds":1788839380,"priority":1,"record_length":96,"hex_timestamp":"000001a07f22c420"} 
[2026-09-08 09:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942881024001,"66":14428,"153":206,"94":10240,"24":13,"16":30693966600994816,"45":743868024858812416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 09:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942881024001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:20:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 09:20:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30693966600994816,"km_value":30693966600994.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":743868024858812416,"description":"Unknown IO ID 45"} 
[2026-09-08 09:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942881024001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":743868024858812416}} 
[2026-09-08 09:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":174227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:20:35] local.INFO: GPS data processed {"connection_id":174227,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:20:35] local.INFO: Acknowledgment sent {"connection_id":174227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:20:36] local.INFO: TCP Data received {"connection_id":176995,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:36] local.INFO: Processing buffer {"connection_id":176995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:36] local.INFO: IMEI packet received {"connection_id":176995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":176995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:20:38] local.INFO: TCP Data received {"connection_id":176995,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ce08012d7aad4005ebb488000800442a..."} 
[2026-09-08 09:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ce08012d7aad4005ebb488000800442a..."} 
[2026-09-08 09:20:38] local.INFO: Processing buffer {"connection_id":176995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ce08012d7aad4005ebb488000800442a..."} 
[2026-09-08 09:20:38] local.INFO: Packet analysis {"connection_id":176995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:20:38] local.INFO: Extracted packet for processing {"connection_id":176995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763014464,"raw_latitude":99333256,"longitude_deg":76.3014464,"latitude_deg":9.9333256,"altitude":8,"angle":68,"satellites":42,"speed":30,"hex_longitude":"2d7aad40","hex_latitude":"05ebb488","is_valid_coordinates":true} 
[2026-09-08 09:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942862336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129877599122882560,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830362626050938880,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788839317000,"timestamp_ms":1788839317000,"timestamp_seconds":1788839317,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ce08"} 
[2026-09-08 09:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 09:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942862336001,"66":13972,"163":206,"87":13824,"24":30,"16":129877599122882560,"45":8830362626050938880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 09:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942862336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:20:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 09:20:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129877599122882560,"km_value":129877599122882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830362626050938880,"description":"Unknown IO ID 45"} 
[2026-09-08 09:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942862336001,"power":13972,"unknown_163":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8830362626050938880}} 
[2026-09-08 09:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":176995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:20:38] local.INFO: GPS data processed {"connection_id":176995,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:20:38] local.INFO: Acknowledgment sent {"connection_id":176995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:20:42] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:20:42] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:20:42] local.INFO: IMEI packet received {"connection_id":176996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":176996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:20:47] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:20:47] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:20:47] local.INFO: IMEI packet received {"connection_id":176996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":176996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:20:49] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:20:49] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:20:49] local.INFO: Packet analysis {"connection_id":176996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:20:49] local.INFO: Extracted packet for processing {"connection_id":176996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":176996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:20:49] local.INFO: GPS data processed {"connection_id":176996,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:20:49] local.INFO: Acknowledgment sent {"connection_id":176996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:20:53] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:53] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:53] local.INFO: IMEI packet received {"connection_id":174495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":174495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:20:58] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:20:58] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:20:58] local.INFO: IMEI packet received {"connection_id":174229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":174229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:20:58] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:58] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:20:58] local.INFO: IMEI packet received {"connection_id":174495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":174495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:20:59] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2204b8012d7acec005ebc348000b004229..."} 
[2026-09-08 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2204b8012d7acec005ebc348000b004229..."} 
[2026-09-08 09:20:59] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2204b8012d7acec005ebc348000b004229..."} 
[2026-09-08 09:20:59] local.INFO: Packet analysis {"connection_id":174495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:20:59] local.INFO: Extracted packet for processing {"connection_id":174495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":99337032,"longitude_deg":76.302304,"latitude_deg":9.9337032,"altitude":11,"angle":66,"satellites":41,"speed":22,"hex_longitude":"2d7acec0","hex_latitude":"05ebc348","is_valid_coordinates":true} 
[2026-09-08 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942865152001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129878050094448640,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839792037771642880,"note":"Value kept but may cause issues"} 
[2026-09-08 09:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839331000,"timestamp_ms":1788839331000,"timestamp_seconds":1788839331,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2204b8"} 
[2026-09-08 09:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 09:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942865152001,"66":13993,"161":206,"87":13824,"24":22,"16":129878050094448640,"45":8839792037771642880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942865152001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129878050094448640,"km_value":129878050094448.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839792037771642880,"description":"Unknown IO ID 45"} 
[2026-09-08 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942865152001,"power":13993,"unknown_161":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8839792037771642880}} 
[2026-09-08 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":174495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:20:59] local.INFO: GPS data processed {"connection_id":174495,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:20:59] local.INFO: Acknowledgment sent {"connection_id":174495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:21:00] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:00] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:00] local.INFO: IMEI packet received {"connection_id":174229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":174229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:21:03] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:03] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:03] local.INFO: IMEI packet received {"connection_id":174229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":174229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:21:04] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f23aa98012d0a298007058470001301041f..."} 
[2026-09-08 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f23aa98012d0a298007058470001301041f..."} 
[2026-09-08 09:21:04] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f23aa98012d0a298007058470001301041f..."} 
[2026-09-08 09:21:04] local.INFO: Packet analysis {"connection_id":174229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f23"} 
[2026-09-08 09:21:04] local.INFO: Extracted packet for processing {"connection_id":174229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f23"} 
[2026-09-08 09:21:04] local.INFO: GPS Element Parsed {"raw_longitude":755640704,"raw_latitude":117802096,"longitude_deg":75.5640704,"latitude_deg":11.7802096,"altitude":19,"angle":260,"satellites":31,"speed":26,"hex_longitude":"2d0a2980","hex_latitude":"07058470","is_valid_coordinates":true} 
[2026-09-08 09:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942895872001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30694555011514368,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":733664556953698304,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839439000,"timestamp_ms":1788839439000,"timestamp_seconds":1788839439,"priority":1,"record_length":96,"hex_timestamp":"000001a07f23aa98"} 
[2026-09-08 09:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 09:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942895872001,"66":14450,"177":206,"94":10240,"24":26,"16":30694555011514368,"45":733664556953698304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942895872001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:21:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:21:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30694555011514368,"km_value":30694555011514.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":733664556953698304,"description":"Unknown IO ID 45"} 
[2026-09-08 09:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942895872001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":733664556953698304}} 
[2026-09-08 09:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":174229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:21:04] local.INFO: GPS data processed {"connection_id":174229,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:21:04] local.INFO: Acknowledgment sent {"connection_id":174229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:21:20] local.INFO: TCP Data received {"connection_id":176996,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:21:20] local.INFO: Processing buffer {"connection_id":176996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:21:20] local.INFO: Packet analysis {"connection_id":176996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:21:20] local.INFO: Extracted packet for processing {"connection_id":176996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:21: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-09-08 09:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":176996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:21:20] local.INFO: GPS data processed {"connection_id":176996,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:21:20] local.INFO: Acknowledgment sent {"connection_id":176996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:21:30] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f224ef0012d7aee8005ebd330000d003f29..."} 
[2026-09-08 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f224ef0012d7aee8005ebd330000d003f29..."} 
[2026-09-08 09:21:30] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f224ef0012d7aee8005ebd330000d003f29..."} 
[2026-09-08 09:21:30] local.INFO: Packet analysis {"connection_id":174495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:21:30] local.INFO: Extracted packet for processing {"connection_id":174495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f22"} 
[2026-09-08 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":99341104,"longitude_deg":76.3031168,"latitude_deg":9.9341104,"altitude":13,"angle":63,"satellites":41,"speed":21,"hex_longitude":"2d7aee80","hex_latitude":"05ebd330","is_valid_coordinates":true} 
[2026-09-08 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942868736001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129878483886145536,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449492416512,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788839350000,"timestamp_ms":1788839350000,"timestamp_seconds":1788839350,"priority":1,"record_length":96,"hex_timestamp":"000001a07f224ef0"} 
[2026-09-08 09:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 09:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942868736001,"66":13374,"99":206,"87":13824,"24":21,"16":129878483886145536,"45":8849221449492416512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 09:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942868736001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129878483886145536,"km_value":129878483886145.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449492416512,"description":"Unknown IO ID 45"} 
[2026-09-08 09:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942868736001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8849221449492416512}} 
[2026-09-08 09:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":174495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:21:30] local.INFO: GPS data processed {"connection_id":174495,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:21:30] local.INFO: Acknowledgment sent {"connection_id":174495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:21:36] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f23e148012d0a068007057d50001500ff1f..."} 
[2026-09-08 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f23e148012d0a068007057d50001500ff1f..."} 
[2026-09-08 09:21:36] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f23e148012d0a068007057d50001500ff1f..."} 
[2026-09-08 09:21:36] local.INFO: Packet analysis {"connection_id":174229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f23"} 
[2026-09-08 09:21:36] local.INFO: Extracted packet for processing {"connection_id":174229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f23"} 
[2026-09-08 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":755631744,"raw_latitude":117800272,"longitude_deg":75.5631744,"latitude_deg":11.7800272,"altitude":21,"angle":255,"satellites":31,"speed":17,"hex_longitude":"2d0a0680","hex_latitude":"07057d50","is_valid_coordinates":true} 
[2026-09-08 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942896384001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30694988803211264,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":732257182070108160,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788839453000,"timestamp_ms":1788839453000,"timestamp_seconds":1788839453,"priority":1,"record_length":96,"hex_timestamp":"000001a07f23e148"} 
[2026-09-08 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942896384001,"66":14461,"177":206,"94":10240,"24":17,"16":30694988803211264,"45":732257182070108160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942896384001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:21:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:21:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30694988803211264,"km_value":30694988803211.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":732257182070108160,"description":"Unknown IO ID 45"} 
[2026-09-08 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942896384001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":732257182070108160}} 
[2026-09-08 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":174229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:21:36] local.INFO: GPS data processed {"connection_id":174229,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:21:36] local.INFO: Acknowledgment sent {"connection_id":174229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:21:42] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:21:42] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:21:42] local.INFO: IMEI packet received {"connection_id":175575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":175575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:21:47] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:21:47] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:21:47] local.INFO: IMEI packet received {"connection_id":175575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:21:49] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:21:49] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:21:49] local.INFO: Packet analysis {"connection_id":175575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:21:49] local.INFO: Extracted packet for processing {"connection_id":175575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":175575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:21:49] local.INFO: GPS data processed {"connection_id":175575,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:21:49] local.INFO: Acknowledgment sent {"connection_id":175575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:21:53] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:21:53] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:21:53] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:21:58] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:58] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:58] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:21:58] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:58] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:21:58] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:21:58] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:21:58] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:21:58] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:22:00] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:00] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:00] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:22:00] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f245e48012d7c6b0005ec3770000e00582d..."} 
[2026-09-08 09:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f245e48012d7c6b0005ec3770000e00582d..."} 
[2026-09-08 09:22:00] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f245e48012d7c6b0005ec3770000e00582d..."} 
[2026-09-08 09:22:00] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:00] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763128576,"raw_latitude":99366768,"longitude_deg":76.3128576,"latitude_deg":9.9366768,"altitude":14,"angle":88,"satellites":45,"speed":47,"hex_longitude":"2d7c6b00","hex_latitude":"05ec3770","is_valid_coordinates":true} 
[2026-09-08 09:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942906112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129883367263961088,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955056040743165952,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788839485000,"timestamp_ms":1788839485000,"timestamp_seconds":1788839485,"priority":1,"record_length":96,"hex_timestamp":"000001a07f245e48"} 
[2026-09-08 09:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631725,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3644139975240318976,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435105891,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1842216960,"corrected_to":0} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960440832,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5818657229787103250,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:00] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,111,160,31,45,64,53,10,66,252,128,51,170,192,1,240,78,227,110,127,236,4,113,205,28,65,148,136,42,239,54,99,2,5,19,33,123],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1842216960,"validated":0}]} 
[2026-09-08 09:22:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080960856573804544,"timestamp_seconds":1080960856573804.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942906112001,"66":13830,"198":206,"87":13824,"24":47,"16":129883367263961088,"45":8955056040743165952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 09:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942906112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 09:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129883367263961088,"km_value":129883367263961.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955056040743165952,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942906112001,"power":13830,"unknown_198":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8955056040743165952}} 
[2026-09-08 09:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:00] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:00] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:22:03] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:03] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:03] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:22:04] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f24c7c0012d09e980070570a0001500de20..."} 
[2026-09-08 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f24c7c0012d09e980070570a0001500de20..."} 
[2026-09-08 09:22:04] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f24c7c0012d09e980070570a0001500de20..."} 
[2026-09-08 09:22:04] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:04] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":755624320,"raw_latitude":117797024,"longitude_deg":75.562432,"latitude_deg":11.7797024,"altitude":21,"angle":222,"satellites":32,"speed":9,"hex_longitude":"2d09e980","hex_latitude":"070570a0","is_valid_coordinates":true} 
[2026-09-08 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942914816001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30695525674123264,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714383521047732224,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839512000,"timestamp_ms":1788839512000,"timestamp_seconds":1788839512,"priority":1,"record_length":96,"hex_timestamp":"000001a07f24c7c0"} 
[2026-09-08 09:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942914816001,"66":14407,"177":206,"94":10240,"24":9,"16":30695525674123264,"45":714383521047732224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942914816001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:22:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30695525674123264,"km_value":30695525674123.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":714383521047732224,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942914816001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":714383521047732224}} 
[2026-09-08 09:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:04] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:04] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:22:10] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:22:10] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:22:10] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:22:21] local.INFO: TCP Data received {"connection_id":175575,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:22:21] local.INFO: Processing buffer {"connection_id":175575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:22:21] local.INFO: Packet analysis {"connection_id":175575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:22:21] local.INFO: Extracted packet for processing {"connection_id":175575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22: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-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":175575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:21] local.INFO: GPS data processed {"connection_id":175575,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:21] local.INFO: Acknowledgment sent {"connection_id":175575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:22:31] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f248558012d7c904005ec3888000d00582c..."} 
[2026-09-08 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f248558012d7c904005ec3888000d00582c..."} 
[2026-09-08 09:22:31] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f248558012d7c904005ec3888000d00582c..."} 
[2026-09-08 09:22:31] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:31] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763138112,"raw_latitude":99367048,"longitude_deg":76.3138112,"latitude_deg":9.9367048,"altitude":13,"angle":88,"satellites":44,"speed":35,"hex_longitude":"2d7c9040","hex_latitude":"05ec3888","is_valid_coordinates":true} 
[2026-09-08 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942908160001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129883822530494464,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965259508648996864,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839495000,"timestamp_ms":1788839495000,"timestamp_seconds":1788839495,"priority":1,"record_length":96,"hex_timestamp":"000001a07f248558"} 
[2026-09-08 09:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8444257907048448,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627172372992,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-8646890392602869727,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1849163776,"corrected_to":0} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961096192,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2882635244719048172,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,112,160,63,45,192,54,15,44,10,66,111,31,64,53,252,128,1,240,230,227,127,236,4,113,205,20,119,184,43,239,99,2,5,30,22],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1849163776,"validated":0}]} 
[2026-09-08 09:22:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008903266830843904,"timestamp_seconds":1008903266830843.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942908160001,"66":13580,"198":206,"87":13824,"24":35,"16":129883822530494464,"45":8965259508648996864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 09:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942908160001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129883822530494464,"km_value":129883822530494.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965259508648996864,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942908160001,"power":13580,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8965259508648996864}} 
[2026-09-08 09:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:31] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:31] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:22:35] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f255c30012d09c000070569280017005d1e..."} 
[2026-09-08 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f255c30012d09c000070569280017005d1e..."} 
[2026-09-08 09:22:35] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f255c30012d09c000070569280017005d1e..."} 
[2026-09-08 09:22:35] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f25"} 
[2026-09-08 09:22:35] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f25"} 
[2026-09-08 09:22:35] local.INFO: GPS Element Parsed {"raw_longitude":755613696,"raw_latitude":117795112,"longitude_deg":75.5613696,"latitude_deg":11.7795112,"altitude":23,"angle":93,"satellites":30,"speed":11,"hex_longitude":"2d09c000","hex_latitude":"07056928","is_valid_coordinates":true} 
[2026-09-08 09:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942924544001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30696230048759808,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702209728304463872,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839550000,"timestamp_ms":1788839550000,"timestamp_seconds":1788839550,"priority":1,"record_length":96,"hex_timestamp":"000001a07f255c30"} 
[2026-09-08 09:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84734694671189364,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1449877660871163914,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504068012310528,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600090033,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3221685617,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7038000202519808,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.WARNING: Large IO value detected {"io_id":9,"raw_value":-3656915177409871847,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,177,94,24,241,157,16,14,160,84,45,105,23,30,10,66,80,64,106,76,1,240,223,227,127,5,4,113,205,18,57,189,168,31,239,56,2,109,7,25,15,206,120,9],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-09-08 09:22:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657441339954429952,"timestamp_seconds":1657441339954430.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942924544001,"66":14428,"177":206,"94":10240,"24":11,"16":30696230048759808,"45":702209728304463872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942924544001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:22:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30696230048759808,"km_value":30696230048759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":702209728304463872,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942924544001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":702209728304463872}} 
[2026-09-08 09:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:35] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:35] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:22:42] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:22:42] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:22:42] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:22:47] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:22:47] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:22:47] local.INFO: IMEI packet received {"connection_id":176997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":176997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:22:48] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:22:48] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:22:48] local.INFO: Packet analysis {"connection_id":176997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:22:48] local.INFO: Extracted packet for processing {"connection_id":176997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22: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-09-08 09:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:22: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-09-08 09:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":176997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:48] local.INFO: GPS data processed {"connection_id":176997,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:48] local.INFO: Acknowledgment sent {"connection_id":176997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:22:53] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:22:53] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:22:53] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:22:58] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:58] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:22:58] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:22:58] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:22:58] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:22:58] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:22:59] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f24b438012d7cb40005ec39c0000c00562e..."} 
[2026-09-08 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f24b438012d7cb40005ec39c0000c00562e..."} 
[2026-09-08 09:22:59] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f24b438012d7cb40005ec39c0000c00562e..."} 
[2026-09-08 09:22:59] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:59] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763147264,"raw_latitude":99367360,"longitude_deg":76.3147264,"latitude_deg":9.936736,"altitude":12,"angle":86,"satellites":46,"speed":22,"hex_longitude":"2d7cb400","hex_latitude":"05ec39c0","is_valid_coordinates":true} 
[2026-09-08 09:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942910720001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129884256322191360,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975744451531540480,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839507000,"timestamp_ms":1788839507000,"timestamp_seconds":1788839507,"priority":1,"record_length":96,"hex_timestamp":"000001a07f24b438"} 
[2026-09-08 09:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631725,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3643913475844997120,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670627,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1855979520,"corrected_to":0} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3221613614,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961798656,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-7764199245987971052,"note":"Value kept but may cause issues"} 
[2026-09-08 09:22:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,112,160,94,45,55,14,10,66,63,192,54,15,44,111,31,64,1,240,154,227,127,236,4,113,205,33,170,218,239,53,99,2,5,19,28,123],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1855979520,"validated":0}]} 
[2026-09-08 09:22:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936845668497162240,"timestamp_seconds":936845668497162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942910720001,"66":13917,"198":206,"87":13824,"24":22,"16":129884256322191360,"45":8975744451531540480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 09:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942910720001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:22:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 09:22:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129884256322191360,"km_value":129884256322191.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975744451531540480,"description":"Unknown IO ID 45"} 
[2026-09-08 09:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942910720001,"power":13917,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8975744451531540480}} 
[2026-09-08 09:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:22:59] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:22:59] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:23:03] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:23:03] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:23:03] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:23:04] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f256400012d09c280070568b8001700741e..."} 
[2026-09-08 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f256400012d09c280070568b8001700741e..."} 
[2026-09-08 09:23:04] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f256400012d09c280070568b8001700741e..."} 
[2026-09-08 09:23:04] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f25"} 
[2026-09-08 09:23:04] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f25"} 
[2026-09-08 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":755614336,"raw_latitude":117795000,"longitude_deg":75.5614336,"latitude_deg":11.7795,"altitude":23,"angle":116,"satellites":30,"speed":14,"hex_longitude":"2d09c280","hex_latitude":"070568b8","is_valid_coordinates":true} 
[2026-09-08 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942924800001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30696260113530880,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702561572025346048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839552000,"timestamp_ms":1788839552000,"timestamp_seconds":1788839552,"priority":1,"record_length":96,"hex_timestamp":"000001a07f256400"} 
[2026-09-08 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942924800001,"66":14461,"177":206,"94":10240,"24":14,"16":30696260113530880,"45":702561572025346048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942924800001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30696260113530880,"km_value":30696260113530.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":702561572025346048,"description":"Unknown IO ID 45"} 
[2026-09-08 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942924800001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":702561572025346048}} 
[2026-09-08 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:23:04] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:23:04] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:23:20] local.INFO: TCP Data received {"connection_id":176997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:23:20] local.INFO: Processing buffer {"connection_id":176997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:23:20] local.INFO: Packet analysis {"connection_id":176997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:23:20] local.INFO: Extracted packet for processing {"connection_id":176997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:23: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-09-08 09:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09: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-09-08 09:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":176997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:23:20] local.INFO: GPS data processed {"connection_id":176997,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:23:20] local.INFO: Acknowledgment sent {"connection_id":176997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:23:31] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f24eae8012d7cd94005ec3aa8000b00582d..."} 
[2026-09-08 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f24eae8012d7cd94005ec3aa8000b00582d..."} 
[2026-09-08 09:23:31] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f24eae8012d7cd94005ec3aa8000b00582d..."} 
[2026-09-08 09:23:31] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:23:31] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f24"} 
[2026-09-08 09:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763156800,"raw_latitude":99367592,"longitude_deg":76.31568,"latitude_deg":9.9367592,"altitude":11,"angle":88,"satellites":45,"speed":37,"hex_longitude":"2d7cd940","hex_latitude":"05ec3aa8","is_valid_coordinates":true} 
[2026-09-08 09:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942913792001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129884715883692032,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985807181949026304,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839521000,"timestamp_ms":1788839521000,"timestamp_seconds":1788839521,"priority":1,"record_length":96,"hex_timestamp":"000001a07f24eae8"} 
[2026-09-08 09:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 09:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942913792001,"66":13689,"198":206,"87":13824,"24":37,"16":129884715883692032,"45":8985807181949026304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 09:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942913792001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:23:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 09:23:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129884715883692032,"km_value":129884715883692.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985807181949026304,"description":"Unknown IO ID 45"} 
[2026-09-08 09:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942913792001,"power":13689,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8985807181949026304}} 
[2026-09-08 09:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:23:31] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:23:31] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:23:35] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2567e8012d09c3c0070567e8001700841e..."} 
[2026-09-08 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2567e8012d09c3c0070567e8001700841e..."} 
[2026-09-08 09:23:35] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2567e8012d09c3c0070567e8001700841e..."} 
[2026-09-08 09:23:35] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f25"} 
[2026-09-08 09:23:35] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f25"} 
[2026-09-08 09:23:35] local.INFO: GPS Element Parsed {"raw_longitude":755614656,"raw_latitude":117794792,"longitude_deg":75.5614656,"latitude_deg":11.7794792,"altitude":23,"angle":132,"satellites":30,"speed":15,"hex_longitude":"2d09c3c0","hex_latitude":"070567e8","is_valid_coordinates":true} 
[2026-09-08 09:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942925312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30696277293400064,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703265259467094016,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839553000,"timestamp_ms":1788839553000,"timestamp_seconds":1788839553,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2567e8"} 
[2026-09-08 09:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 09:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942925312001,"66":14461,"177":206,"94":10240,"24":15,"16":30696277293400064,"45":703265259467094016},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942925312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:23:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:23:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30696277293400064,"km_value":30696277293400.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":703265259467094016,"description":"Unknown IO ID 45"} 
[2026-09-08 09:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942925312001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":703265259467094016}} 
[2026-09-08 09:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:23:36] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:23:36] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:23:42] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:23:42] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:23:42] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:23:47] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:23:47] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:23:47] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:23:48] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:23:48] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:23:48] local.INFO: Packet analysis {"connection_id":174498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:23:48] local.INFO: Extracted packet for processing {"connection_id":174498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:23: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-09-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:23: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-09-08 09:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":174498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:23:48] local.INFO: GPS data processed {"connection_id":174498,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:23:48] local.INFO: Acknowledgment sent {"connection_id":174498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:23:53] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:53] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:53] local.INFO: IMEI packet received {"connection_id":175578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":175578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:23:53] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:53] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:53] local.INFO: IMEI packet received {"connection_id":175578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":175578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:23:58] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:23:58] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:23:58] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:23:58] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:58] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:23:58] local.INFO: IMEI packet received {"connection_id":175578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":175578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:23:59] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f264e60012d7d374005ec32f0000700b025..."} 
[2026-09-08 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f264e60012d7d374005ec32f0000700b025..."} 
[2026-09-08 09:23:59] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f264e60012d7d374005ec32f0000700b025..."} 
[2026-09-08 09:23:59] local.INFO: Packet analysis {"connection_id":175578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:23:59] local.INFO: Extracted packet for processing {"connection_id":175578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99365616,"longitude_deg":76.3180864,"latitude_deg":9.9365616,"altitude":7,"angle":176,"satellites":37,"speed":3,"hex_longitude":"2d7d3740","hex_latitude":"05ec32f0","is_valid_coordinates":true} 
[2026-09-08 09:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942936832001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886047323553792,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141386086400,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839612000,"timestamp_ms":1788839612000,"timestamp_seconds":1788839612,"priority":1,"record_length":96,"hex_timestamp":"000001a07f264e60"} 
[2026-09-08 09:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631730,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3642696316473049088,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633389209635182,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1921843200,"corrected_to":0} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871804,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802121,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963439104,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4089274973861969927,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303312379228585,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-08 09:23:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,114,160,8,45,128,51,44,10,66,240,192,55,7,213,1,133,227,127,236,4,113,205,57,120,43,239,50,2,5,125,52,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1921843200,"validated":0}]} 
[2026-09-08 09:23:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650737360306176,"timestamp_seconds":504650737360306.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942936832001,"66":13830,"109":206,"87":13824,"24":3,"16":129886047323553792,"45":9022821141386086400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942936832001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886047323553792,"km_value":129886047323553.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141386086400,"description":"Unknown IO ID 45"} 
[2026-09-08 09:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942936832001,"power":13830,"unknown_109":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9022821141386086400}} 
[2026-09-08 09:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":175578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:23:59] local.INFO: GPS data processed {"connection_id":175578,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:23:59] local.INFO: Acknowledgment sent {"connection_id":175578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:02] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:24:02] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:24:02] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:24:03] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:24:03] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:24:03] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:24:03] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d09bd4007050380000e006920..."} 
[2026-09-08 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d09bd4007050380000e006920..."} 
[2026-09-08 09:24:03] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d09bd4007050380000e006920..."} 
[2026-09-08 09:24:03] local.INFO: Packet analysis {"connection_id":174232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:03] local.INFO: Extracted packet for processing {"connection_id":174232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":755612992,"raw_latitude":117769088,"longitude_deg":75.5612992,"latitude_deg":11.7769088,"altitude":14,"angle":105,"satellites":32,"speed":10,"hex_longitude":"2d09bd40","hex_latitude":"07050380","is_valid_coordinates":true} 
[2026-09-08 09:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942944000001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30697574373523456,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701576409600208896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942944000001,"66":14450,"179":206,"94":10240,"24":10,"16":30697574373523456,"45":701576409600208896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-08 09:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942944000001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-08 09:24:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30697574373523456,"km_value":30697574373523.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":701576409600208896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942944000001,"power":14450,"unknown_179":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":701576409600208896}} 
[2026-09-08 09:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":174232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:03] local.INFO: GPS data processed {"connection_id":174232,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:03] local.INFO: Acknowledgment sent {"connection_id":174232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:04] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2688f8012d09bf40070503d8000e005320..."} 
[2026-09-08 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2688f8012d09bf40070503d8000e005320..."} 
[2026-09-08 09:24:04] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2688f8012d09bf40070503d8000e005320..."} 
[2026-09-08 09:24:04] local.INFO: Packet analysis {"connection_id":174232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:04] local.INFO: Extracted packet for processing {"connection_id":174232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:04] local.INFO: GPS Element Parsed {"raw_longitude":755613504,"raw_latitude":117769176,"longitude_deg":75.5613504,"latitude_deg":11.7769176,"altitude":14,"angle":83,"satellites":32,"speed":16,"hex_longitude":"2d09bf40","hex_latitude":"070503d8","is_valid_coordinates":true} 
[2026-09-08 09:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942944256001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30697595848359936,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701787515832729600,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839627000,"timestamp_ms":1788839627000,"timestamp_seconds":1788839627,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2688f8"} 
[2026-09-08 09:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942944256001,"66":14450,"179":206,"94":10240,"24":16,"16":30697595848359936,"45":701787515832729600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-08 09:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942944256001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-08 09:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30697595848359936,"km_value":30697595848359.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":701787515832729600,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942944256001,"power":14450,"unknown_179":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":701787515832729600}} 
[2026-09-08 09:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":174232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:04] local.INFO: GPS data processed {"connection_id":174232,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:04] local.INFO: Acknowledgment sent {"connection_id":174232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:20] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:20] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f21ed48012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:20] local.INFO: Packet analysis {"connection_id":174498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:24:20] local.INFO: Extracted packet for processing {"connection_id":174498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f21"} 
[2026-09-08 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942790144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839325000,"timestamp_ms":1788839325000,"timestamp_seconds":1788839325,"priority":1,"record_length":96,"hex_timestamp":"000001a07f21ed48"} 
[2026-09-08 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24: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-09-08 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09: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-09-08 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942790144001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942790144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942790144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:20] local.INFO: GPS data processed {"connection_id":174498,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:20] local.INFO: Acknowledgment sent {"connection_id":174498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:32] local.INFO: TCP Data received {"connection_id":175578,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f265a18012d7d378005ec31980007009829..."} 
[2026-09-08 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f265a18012d7d378005ec31980007009829..."} 
[2026-09-08 09:24:32] local.INFO: Processing buffer {"connection_id":175578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f265a18012d7d378005ec31980007009829..."} 
[2026-09-08 09:24:32] local.INFO: Packet analysis {"connection_id":175578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:32] local.INFO: Extracted packet for processing {"connection_id":175578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99365272,"longitude_deg":76.3180928,"latitude_deg":9.9365272,"altitude":7,"angle":152,"satellites":41,"speed":5,"hex_longitude":"2d7d3780","hex_latitude":"05ec3198","is_valid_coordinates":true} 
[2026-09-08 09:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942940672001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886068798390272,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772641853440,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788839615000,"timestamp_ms":1788839615000,"timestamp_seconds":1788839615,"priority":1,"record_length":96,"hex_timestamp":"000001a07f265a18"} 
[2026-09-08 09:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2533283396124672,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627172061952,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422281,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1922039808,"corrected_to":0} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963385856,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613627,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":201,"raw_value":-8070119041416559124,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.WARNING: Large IO value detected {"io_id":61,"raw_value":5188154469596659719,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,114,160,19,45,128,51,7,44,10,66,110,8,240,192,1,6,227,127,236,4,113,205,5,209,57,43,239,2,9,201,61],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1922039808,"validated":0}]} 
[2026-09-08 09:24:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504596831225970688,"timestamp_seconds":504596831225970.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942940672001,"66":13559,"109":206,"87":13824,"24":5,"16":129886068798390272,"45":9022750772641853440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942940672001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:24:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886068798390272,"km_value":129886068798390.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772641853440,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942940672001,"power":13559,"unknown_109":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9022750772641853440}} 
[2026-09-08 09:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":175578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:32] local.INFO: GPS data processed {"connection_id":175578,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:32] local.INFO: Acknowledgment sent {"connection_id":175578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:35] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f272150012d09d3000704ca58001300641f..."} 
[2026-09-08 09:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f272150012d09d3000704ca58001300641f..."} 
[2026-09-08 09:24:35] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f272150012d09d3000704ca58001300641f..."} 
[2026-09-08 09:24:35] local.INFO: Packet analysis {"connection_id":174232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:24:35] local.INFO: Extracted packet for processing {"connection_id":174232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:24:35] local.INFO: GPS Element Parsed {"raw_longitude":755618560,"raw_latitude":117754456,"longitude_deg":75.561856,"latitude_deg":11.7754456,"altitude":19,"angle":100,"satellites":31,"speed":14,"hex_longitude":"2d09d300","hex_latitude":"0704ca58","is_valid_coordinates":true} 
[2026-09-08 09:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942954240001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30698437661949952,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707557752851570688,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839666000,"timestamp_ms":1788839666000,"timestamp_seconds":1788839666,"priority":1,"record_length":96,"hex_timestamp":"000001a07f272150"} 
[2026-09-08 09:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942954240001,"66":14407,"179":206,"94":10240,"24":14,"16":30698437661949952,"45":707557752851570688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-09-08 09:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942954240001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-08 09:24:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30698437661949952,"km_value":30698437661949.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":707557752851570688,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942954240001,"power":14407,"unknown_179":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":707557752851570688}} 
[2026-09-08 09:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":174232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:35] local.INFO: GPS data processed {"connection_id":174232,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:35] local.INFO: Acknowledgment sent {"connection_id":174232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:47] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:24:47] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:24:47] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:24:52] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:24:52] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:24:52] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:24:53] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:24:53] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:24:53] local.INFO: IMEI packet received {"connection_id":176999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":176999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:24:54] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:54] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:54] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:54] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:54] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:54] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:58] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:58] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:24:58] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:58] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:24:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:24:58] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:24:58] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:24:59] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:24:59] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:24:59] local.INFO: IMEI packet received {"connection_id":176999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":176999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:25:00] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f274860012d7d34c005ec13400005010b1d..."} 
[2026-09-08 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f274860012d7d34c005ec13400005010b1d..."} 
[2026-09-08 09:25:00] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f274860012d7d34c005ec13400005010b1d..."} 
[2026-09-08 09:25:00] local.INFO: Packet analysis {"connection_id":176999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:00] local.INFO: Extracted packet for processing {"connection_id":176999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99357504,"longitude_deg":76.3180224,"latitude_deg":9.9357504,"altitude":5,"angle":267,"satellites":29,"speed":1,"hex_longitude":"2d7d34c0","hex_latitude":"05ec1340","is_valid_coordinates":true} 
[2026-09-08 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942955008001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886506885054464,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085197996032,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788839676000,"timestamp_ms":1788839676000,"timestamp_seconds":1788839676,"priority":1,"record_length":96,"hex_timestamp":"000001a07f274860"} 
[2026-09-08 09:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 09:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942955008001,"66":13080,"110":206,"87":13824,"24":1,"16":129886506885054464,"45":9022047085197996032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942955008001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:25:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886506885054464,"km_value":129886506885054.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085197996032,"description":"Unknown IO ID 45"} 
[2026-09-08 09:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942955008001,"power":13080,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022047085197996032}} 
[2026-09-08 09:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":176999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:25:00] local.INFO: GPS data processed {"connection_id":176999,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:25:00] local.INFO: Acknowledgment sent {"connection_id":176999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:25:04] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:04] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:04] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:25:05] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:05] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:05] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:25:31] local.INFO: TCP Data received {"connection_id":176999,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f274c48012d7d348005ec1350000501181e..."} 
[2026-09-08 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f274c48012d7d348005ec1350000501181e..."} 
[2026-09-08 09:25:31] local.INFO: Processing buffer {"connection_id":176999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f274c48012d7d348005ec1350000501181e..."} 
[2026-09-08 09:25:31] local.INFO: Packet analysis {"connection_id":176999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:31] local.INFO: Extracted packet for processing {"connection_id":176999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99357520,"longitude_deg":76.318016,"latitude_deg":9.935752,"altitude":5,"angle":280,"satellites":30,"speed":1,"hex_longitude":"2d7d3480","hex_latitude":"05ec1350","is_valid_coordinates":true} 
[2026-09-08 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942957056001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886511180021760,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085198000128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839677000,"timestamp_ms":1788839677000,"timestamp_seconds":1788839677,"priority":1,"record_length":96,"hex_timestamp":"000001a07f274c48"} 
[2026-09-08 09:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 09:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942957056001,"66":13243,"110":206,"87":13824,"24":1,"16":129886511180021760,"45":9022047085198000128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942957056001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886511180021760,"km_value":129886511180021.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085198000128,"description":"Unknown IO ID 45"} 
[2026-09-08 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942957056001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022047085198000128}} 
[2026-09-08 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":176999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:25:31] local.INFO: GPS data processed {"connection_id":176999,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:25:31] local.INFO: Acknowledgment sent {"connection_id":176999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:25:38] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:38] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:25:38] local.INFO: IMEI packet received {"connection_id":177000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":177000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:25:42] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:25:42] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:25:42] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:25:45] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.31","data_length":1340,"data_hex":"000000000000030f8e0a000001a07f276f70012d09f5800704dfc8001700561f..."} 
[2026-09-08 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a07f276f70012d09f5800704dfc8001700561f..."} 
[2026-09-08 09:25:45] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a07f276f70012d09f5800704dfc8001700561f..."} 
[2026-09-08 09:25:45] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:45] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":755627392,"raw_latitude":117759944,"longitude_deg":75.5627392,"latitude_deg":11.7759944,"altitude":23,"angle":86,"satellites":31,"speed":19,"hex_longitude":"2d09f580","hex_latitude":"0704dfc8","is_valid_coordinates":true} 
[2026-09-08 09:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942959360001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30698987417763840,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716987164572770304,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788839686000,"timestamp_ms":1788839686000,"timestamp_seconds":1788839686,"priority":1,"record_length":96,"hex_timestamp":"000001a07f276f70"} 
[2026-09-08 09:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 09:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942959360001,"66":14439,"177":206,"94":10240,"24":19,"16":30698987417763840,"45":716987164572770304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942959360001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:25:45] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:25:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30698987417763840,"km_value":30698987417763.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":716987164572770304,"description":"Unknown IO ID 45"} 
[2026-09-08 09:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942959360001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":716987164572770304}} 
[2026-09-08 09:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782852,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:25:45] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:25:45] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:25:45] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:45] local.INFO: Incomplete packet, waiting for more data {"connection_id":177000,"needed":795,"available":545} 
[2026-09-08 09:25:48] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:25:48] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:25:48] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:25:49] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:25:49] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:25:49] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:25:49] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:25: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-09-08 09:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:25:49] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:25:49] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:25:53] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:53] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:53] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:25:53] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:25:53] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:25:53] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:25:53] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:25:53] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:25:53] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:25:54] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:54] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:54] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:25:58] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:58] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:25:58] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:25:59] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f275418012d7d344005ec1368000501291f..."} 
[2026-09-08 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f275418012d7d344005ec1368000501291f..."} 
[2026-09-08 09:25:59] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f275418012d7d344005ec1368000501291f..."} 
[2026-09-08 09:25:59] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:59] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99357544,"longitude_deg":76.3180096,"latitude_deg":9.9357544,"altitude":5,"angle":297,"satellites":31,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1368","is_valid_coordinates":true} 
[2026-09-08 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942957312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886515474989056,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453826560,"note":"Value kept but may cause issues"} 
[2026-09-08 09:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839679000,"timestamp_ms":1788839679000,"timestamp_seconds":1788839679,"priority":1,"record_length":96,"hex_timestamp":"000001a07f275418"} 
[2026-09-08 09:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 09:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942957312001,"66":13243,"110":206,"87":13824,"24":0,"16":129886515474989056,"45":9021976716453826560},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942957312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886515474989056,"km_value":129886515474989.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453826560,"description":"Unknown IO ID 45"} 
[2026-09-08 09:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942957312001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453826560}} 
[2026-09-08 09:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:25:59] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:25:59] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:26:05] local.INFO: TCP Data received {"connection_id":177000,"ip":"42.106.6.31","data_length":1045,"data_hex":"e30010006d106900000000000001a07f275030012d09edc00704d3f000150022..."} 
[2026-09-08 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177000,"packet_length":1045,"packet_hex":"e30010006d106900000000000001a07f275030012d09edc00704d3f000150022..."} 
[2026-09-08 09:26:05] local.INFO: Processing buffer {"connection_id":177000,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07f2786e0012d0a06800704e0b80019004a1e..."} 
[2026-09-08 09:26:05] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:26:05] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755631744,"raw_latitude":117760184,"longitude_deg":75.5631744,"latitude_deg":11.7760184,"altitude":25,"angle":74,"satellites":30,"speed":34,"hex_longitude":"2d0a0680","hex_latitude":"0704e0b8","is_valid_coordinates":true} 
[2026-09-08 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942959616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30699197871161344,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":717620483270363136,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788839692000,"timestamp_ms":1788839692000,"timestamp_seconds":1788839692,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2786e0"} 
[2026-09-08 09:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 09:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942959616001,"66":14450,"177":206,"94":10240,"24":34,"16":30699197871161344,"45":717620483270363136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942959616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:26:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:26:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30699197871161344,"km_value":30699197871161.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":717620483270363136,"description":"Unknown IO ID 45"} 
[2026-09-08 09:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942959616001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":717620483270363136}} 
[2026-09-08 09:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:26:06] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:26:06] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:26:06] local.INFO: Packet analysis {"connection_id":177000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:26:06] local.INFO: Extracted packet for processing {"connection_id":177000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":755640896,"raw_latitude":117762376,"longitude_deg":75.5640896,"latitude_deg":11.7762376,"altitude":27,"angle":83,"satellites":30,"speed":44,"hex_longitude":"2d0a2a40","hex_latitude":"0704e948","is_valid_coordinates":true} 
[2026-09-08 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942961152001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30699644547760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":722405557874505728,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788839701000,"timestamp_ms":1788839701000,"timestamp_seconds":1788839701,"priority":1,"record_length":96,"hex_timestamp":"000001a07f27aa08"} 
[2026-09-08 09:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177000,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942961152001,"66":14439,"177":206,"94":10240,"24":44,"16":30699644547760128,"45":722405557874505728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 09:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942961152001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:26:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 09:26:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30699644547760128,"km_value":30699644547760.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":722405557874505728,"description":"Unknown IO ID 45"} 
[2026-09-08 09:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942961152001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":722405557874505728}} 
[2026-09-08 09:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":177000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:26:06] local.INFO: GPS data processed {"connection_id":177000,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:26:06] local.INFO: Acknowledgment sent {"connection_id":177000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:26:08] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:26:08] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:26:08] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:26:08] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:26:08] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:26:08] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:26:09] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:26:09] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:26:09] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:26:24] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:26:24] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:26:24] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:26:24] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:26: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-09-08 09:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:26:24] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:26:24] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:26:30] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f27a238012d7d344005ec13580005012920..."} 
[2026-09-08 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f27a238012d7d344005ec13580005012920..."} 
[2026-09-08 09:26:30] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f27a238012d7d344005ec13580005012920..."} 
[2026-09-08 09:26:30] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:26:30] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99357528,"longitude_deg":76.3180096,"latitude_deg":9.9357528,"altitude":5,"angle":297,"satellites":32,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec1358","is_valid_coordinates":true} 
[2026-09-08 09:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942957824001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886515474989056,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709655040,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788839699000,"timestamp_ms":1788839699000,"timestamp_seconds":1788839699,"priority":1,"record_length":96,"hex_timestamp":"000001a07f27a238"} 
[2026-09-08 09:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 09:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942957824001,"66":13961,"110":206,"87":13824,"24":0,"16":129886515474989056,"45":9021906347709655040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942957824001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886515474989056,"km_value":129886515474989.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709655040,"description":"Unknown IO ID 45"} 
[2026-09-08 09:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942957824001,"power":13961,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709655040}} 
[2026-09-08 09:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:26:30] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:26:30] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:26:42] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:26:42] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:26:42] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:26:47] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:26:47] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:26:47] local.INFO: IMEI packet received {"connection_id":177001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":177001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:26:48] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:26:48] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:26:48] local.INFO: Packet analysis {"connection_id":177001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:26:48] local.INFO: Extracted packet for processing {"connection_id":177001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:26: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-09-08 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09: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-09-08 09:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":177001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:26:48] local.INFO: GPS data processed {"connection_id":177001,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:26:48] local.INFO: Acknowledgment sent {"connection_id":177001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:26:58] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:26:58] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:26:58] local.INFO: IMEI packet received {"connection_id":177003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":177003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:27:03] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:03] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:03] local.INFO: IMEI packet received {"connection_id":177003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":177003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:27:04] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f27aa08012d7d348005ec13e00005000e25..."} 
[2026-09-08 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f27aa08012d7d348005ec13e00005000e25..."} 
[2026-09-08 09:27:04] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f27aa08012d7d348005ec13e00005000e25..."} 
[2026-09-08 09:27:04] local.INFO: Packet analysis {"connection_id":177003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:27:04] local.INFO: Extracted packet for processing {"connection_id":177003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99357664,"longitude_deg":76.318016,"latitude_deg":9.9357664,"altitude":5,"angle":14,"satellites":37,"speed":2,"hex_longitude":"2d7d3480","hex_latitude":"05ec13e0","is_valid_coordinates":true} 
[2026-09-08 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942962944001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886524064923648,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709650944,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839701000,"timestamp_ms":1788839701000,"timestamp_seconds":1788839701,"priority":1,"record_length":96,"hex_timestamp":"000001a07f27aa08"} 
[2026-09-08 09:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 09:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942962944001,"66":13798,"110":206,"87":13824,"24":2,"16":129886524064923648,"45":9021906347709650944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942962944001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886524064923648,"km_value":129886524064923.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709650944,"description":"Unknown IO ID 45"} 
[2026-09-08 09:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942962944001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021906347709650944}} 
[2026-09-08 09:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":177003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:27:04] local.INFO: GPS data processed {"connection_id":177003,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:27:04] local.INFO: Acknowledgment sent {"connection_id":177003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:27:19] local.INFO: TCP Data received {"connection_id":177001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:27:19] local.INFO: Processing buffer {"connection_id":177001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:27:19] local.INFO: Packet analysis {"connection_id":177001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:27:19] local.INFO: Extracted packet for processing {"connection_id":177001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:27: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-09-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:27: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-09-08 09:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":177001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:27:19] local.INFO: GPS data processed {"connection_id":177001,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:27:19] local.INFO: Acknowledgment sent {"connection_id":177001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:27:35] local.INFO: TCP Data received {"connection_id":177003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f27adf0012d7d348005ec14100005016724..."} 
[2026-09-08 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f27adf0012d7d348005ec14100005016724..."} 
[2026-09-08 09:27:35] local.INFO: Processing buffer {"connection_id":177003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f27adf0012d7d348005ec14100005016724..."} 
[2026-09-08 09:27:35] local.INFO: Packet analysis {"connection_id":177003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:27:35] local.INFO: Extracted packet for processing {"connection_id":177003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99357712,"longitude_deg":76.318016,"latitude_deg":9.9357712,"altitude":5,"angle":359,"satellites":36,"speed":1,"hex_longitude":"2d7d3480","hex_latitude":"05ec1410","is_valid_coordinates":true} 
[2026-09-08 09:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942963456001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886524064923648,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453863424,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788839702000,"timestamp_ms":1788839702000,"timestamp_seconds":1788839702,"priority":1,"record_length":96,"hex_timestamp":"000001a07f27adf0"} 
[2026-09-08 09:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 09:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942963456001,"66":13580,"110":206,"87":13824,"24":1,"16":129886524064923648,"45":9021976716453863424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942963456001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:27:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886524064923648,"km_value":129886524064923.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453863424,"description":"Unknown IO ID 45"} 
[2026-09-08 09:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942963456001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021976716453863424}} 
[2026-09-08 09:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":177003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:27:35] local.INFO: GPS data processed {"connection_id":177003,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:27:35] local.INFO: Acknowledgment sent {"connection_id":177003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:27:42] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:27:42] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:27:42] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:27:47] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:27:47] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:27:47] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:27:48] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:27:48] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:27:48] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:27:48] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:27: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-09-08 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:27: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-09-08 09:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:27:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:27:48] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:27:48] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:27:50] local.INFO: TCP Data received {"connection_id":175581,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:27:50] local.INFO: Processing buffer {"connection_id":175581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:27:50] local.INFO: IMEI packet received {"connection_id":175581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":175581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:27:53] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:53] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:53] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:27:58] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:58] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:27:58] local.INFO: IMEI packet received {"connection_id":177004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":177004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:27:59] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f27d500012d7d350005ec13680005009a25..."} 
[2026-09-08 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f27d500012d7d350005ec13680005009a25..."} 
[2026-09-08 09:27:59] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f27d500012d7d350005ec13680005009a25..."} 
[2026-09-08 09:27:59] local.INFO: Packet analysis {"connection_id":177004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:27:59] local.INFO: Extracted packet for processing {"connection_id":177004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f27"} 
[2026-09-08 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99357544,"longitude_deg":76.3180288,"latitude_deg":9.9357544,"altitude":5,"angle":154,"satellites":37,"speed":1,"hex_longitude":"2d7d3500","hex_latitude":"05ec1368","is_valid_coordinates":true} 
[2026-09-08 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942963712001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886536949825536,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453875712,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839712000,"timestamp_ms":1788839712000,"timestamp_seconds":1788839712,"priority":1,"record_length":96,"hex_timestamp":"000001a07f27d500"} 
[2026-09-08 09:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631731,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3107483751475576842,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039031662,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1930887168,"corrected_to":0} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826768765104553,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3819058995498844165,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-08 09:27:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,115,160,170,45,128,19,5,37,10,66,162,64,32,84,1,240,187,227,127,236,4,113,205,72,52,29,239,51,2,125,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1930887168,"validated":0}]} 
[2026-09-08 09:27:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360682849482899456,"timestamp_seconds":360682849482899.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942963712001,"66":13374,"110":206,"87":13824,"24":1,"16":129886536949825536,"45":9021976716453875712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942963712001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:27:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:27:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886536949825536,"km_value":129886536949825.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453875712,"description":"Unknown IO ID 45"} 
[2026-09-08 09:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942963712001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021976716453875712}} 
[2026-09-08 09:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":177004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:27:59] local.INFO: GPS data processed {"connection_id":177004,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:27:59] local.INFO: Acknowledgment sent {"connection_id":177004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:28:20] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:28:20] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:28:20] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:28:20] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:28: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-09-08 09:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09: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-09-08 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:28:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:28:20] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:28:20] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:28:31] local.INFO: TCP Data received {"connection_id":177004,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f282320012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f282320012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:28:31] local.INFO: Processing buffer {"connection_id":177004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f282320012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:28:31] local.INFO: Packet analysis {"connection_id":177004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f28"} 
[2026-09-08 09:28:31] local.INFO: Extracted packet for processing {"connection_id":177004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f28"} 
[2026-09-08 09:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942966272001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453942188032,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839732000,"timestamp_ms":1788839732000,"timestamp_seconds":1788839732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f282320"} 
[2026-09-08 09:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 09:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942966272001,"66":13820,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022117453942188032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942966272001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:28:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453942188032,"description":"Unknown IO ID 45"} 
[2026-09-08 09:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942966272001,"power":13820,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453942188032}} 
[2026-09-08 09:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":177004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:28:31] local.INFO: GPS data processed {"connection_id":177004,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:28:31] local.INFO: Acknowledgment sent {"connection_id":177004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:28:42] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:28:42] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:28:42] local.INFO: IMEI packet received {"connection_id":174236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":174236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:28:45] local.INFO: TCP Data received {"connection_id":174237,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:28:45] local.INFO: Processing buffer {"connection_id":174237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:28:45] local.INFO: IMEI packet received {"connection_id":174237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":174237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:28:47] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:28:47] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:28:47] local.INFO: IMEI packet received {"connection_id":174236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:28:48] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:28:48] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:28:48] local.INFO: Packet analysis {"connection_id":174236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:28:48] local.INFO: Extracted packet for processing {"connection_id":174236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:28: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-09-08 09:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:28: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-09-08 09:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":174236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:28:48] local.INFO: GPS data processed {"connection_id":174236,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:28:48] local.INFO: Acknowledgment sent {"connection_id":174236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:28:53] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:28:53] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:28:53] local.INFO: IMEI packet received {"connection_id":175582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":175582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:28:58] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:28:58] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:28:58] local.INFO: IMEI packet received {"connection_id":175582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":175582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:28:59] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f287528012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f287528012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:28:59] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f287528012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:28:59] local.INFO: Packet analysis {"connection_id":175582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f28"} 
[2026-09-08 09:28:59] local.INFO: Extracted packet for processing {"connection_id":175582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f28"} 
[2026-09-08 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942971392001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-08 09:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839753000,"timestamp_ms":1788839753000,"timestamp_seconds":1788839753,"priority":1,"record_length":96,"hex_timestamp":"000001a07f287528"} 
[2026-09-08 09:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 09:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:28: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-09-08 09:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942971392001,"66":13319,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022258191430510592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942971392001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-08 09:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942971392001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-08 09:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":175582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:28:59] local.INFO: GPS data processed {"connection_id":175582,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:28:59] local.INFO: Acknowledgment sent {"connection_id":175582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:29:19] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:29:19] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f268510012d34c44006aa4280000a005c2b..."} 
[2026-09-08 09:29:19] local.INFO: Packet analysis {"connection_id":174236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:29:19] local.INFO: Extracted packet for processing {"connection_id":174236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f26"} 
[2026-09-08 09:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942867200001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788839626000,"timestamp_ms":1788839626000,"timestamp_seconds":1788839626,"priority":1,"record_length":96,"hex_timestamp":"000001a07f268510"} 
[2026-09-08 09:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:29: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-09-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 09:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:29: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-09-08 09:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942867200001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942867200001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942867200001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":174236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:29:19] local.INFO: GPS data processed {"connection_id":174236,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:29:19] local.INFO: Acknowledgment sent {"connection_id":174236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:29:31] local.INFO: TCP Data received {"connection_id":175582,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f28c730012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f28c730012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:29:31] local.INFO: Processing buffer {"connection_id":175582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f28c730012d7d358005ec12e8000500921d..."} 
[2026-09-08 09:29:31] local.INFO: Packet analysis {"connection_id":175582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f28"} 
[2026-09-08 09:29:31] local.INFO: Extracted packet for processing {"connection_id":175582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f28"} 
[2026-09-08 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942976768001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839774000,"timestamp_ms":1788839774000,"timestamp_seconds":1788839774,"priority":1,"record_length":96,"hex_timestamp":"000001a07f28c730"} 
[2026-09-08 09:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1391612306350677504,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1931018240,"corrected_to":0} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531145,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.WARNING: Large IO value detected {"io_id":39,"raw_value":5496644640091439109,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,115,160,35,45,128,18,5,29,10,66,213,19,37,173,1,240,12,227,127,236,4,113,205,2,162,52,88,32,239,54,187,39],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1931018240,"validated":0}]} 
[2026-09-08 09:29:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360448623441346560,"timestamp_seconds":360448623441346.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 09:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:29: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-09-08 09:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942976768001,"66":13341,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022258191430510592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942976768001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:29:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-08 09:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942976768001,"power":13341,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-08 09:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":175582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:29:31] local.INFO: GPS data processed {"connection_id":175582,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:29:31] local.INFO: Acknowledgment sent {"connection_id":175582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:29:42] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:29:42] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:29:42] local.INFO: IMEI packet received {"connection_id":174238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":174238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:29:47] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:29:47] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:29:47] local.INFO: IMEI packet received {"connection_id":174238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:29:48] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2b1cd8012d34c44006aa4280000a005c2d..."} 
[2026-09-08 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2b1cd8012d34c44006aa4280000a005c2d..."} 
[2026-09-08 09:29:48] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2b1cd8012d34c44006aa4280000a005c2d..."} 
[2026-09-08 09:29:48] local.INFO: Packet analysis {"connection_id":174238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:29:48] local.INFO: Extracted packet for processing {"connection_id":174238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821440,"longitude_deg":75.8432832,"latitude_deg":11.182144,"altitude":10,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4280","is_valid_coordinates":true} 
[2026-09-08 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942944256001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839927000,"timestamp_ms":1788839927000,"timestamp_seconds":1788839927,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2b1cd8"} 
[2026-09-08 09:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:29: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-09-08 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:29: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-09-08 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942944256001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942944256001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942944256001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":174238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:29:48] local.INFO: GPS data processed {"connection_id":174238,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:29:48] local.INFO: Acknowledgment sent {"connection_id":174238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:29:54] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:29:54] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:29:54] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:29:58] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:29:58] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:29:58] local.INFO: IMEI packet received {"connection_id":177005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":177005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:30:00] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f291938012d7d358005ec12e80005009221..."} 
[2026-09-08 09:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f291938012d7d358005ec12e80005009221..."} 
[2026-09-08 09:30:00] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f291938012d7d358005ec12e80005009221..."} 
[2026-09-08 09:30:00] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:30:00] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942982144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788839795000,"timestamp_ms":1788839795000,"timestamp_seconds":1788839795,"priority":1,"record_length":96,"hex_timestamp":"000001a07f291938"} 
[2026-09-08 09:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 09:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:30: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-09-08 09:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942982144001,"66":13352,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022258191430510592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942982144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:30:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-08 09:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942982144001,"power":13352,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-08 09:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:30:00] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:30:00] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:30:19] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:19] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:19] local.INFO: Packet analysis {"connection_id":174238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:30:19] local.INFO: Extracted packet for processing {"connection_id":174238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:30: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-09-08 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:30: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-09-08 09:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":174238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:30:19] local.INFO: GPS data processed {"connection_id":174238,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:30:19] local.INFO: Acknowledgment sent {"connection_id":174238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:30:31] local.INFO: TCP Data received {"connection_id":177005,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2924f0012d7d358005ec12e80005009221..."} 
[2026-09-08 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2924f0012d7d358005ec12e80005009221..."} 
[2026-09-08 09:30:31] local.INFO: Processing buffer {"connection_id":177005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2924f0012d7d358005ec12e80005009221..."} 
[2026-09-08 09:30:31] local.INFO: Packet analysis {"connection_id":177005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:30:31] local.INFO: Extracted packet for processing {"connection_id":177005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942987520001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788839798000,"timestamp_ms":1788839798000,"timestamp_seconds":1788839798,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2924f0"} 
[2026-09-08 09:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 09:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:30: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-09-08 09:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942987520001,"66":13689,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022258191430510592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942987520001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-08 09:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942987520001,"power":13689,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-08 09:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":177005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:30:31] local.INFO: GPS data processed {"connection_id":177005,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:30:31] local.INFO: Acknowledgment sent {"connection_id":177005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:30:47] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:30:47] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:30:47] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:30:52] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:30:52] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:30:52] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:30:53] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:53] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:53] local.INFO: Packet analysis {"connection_id":175585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:30:53] local.INFO: Extracted packet for processing {"connection_id":175585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":175585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:30:53] local.INFO: GPS data processed {"connection_id":175585,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:30:53] local.INFO: Acknowledgment sent {"connection_id":175585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:30:58] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:58] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:30:58] local.INFO: Packet analysis {"connection_id":175585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:30:58] local.INFO: Extracted packet for processing {"connection_id":175585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:30:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:30:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":175585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:30:58] local.INFO: GPS data processed {"connection_id":175585,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:30:58] local.INFO: Acknowledgment sent {"connection_id":175585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:30:58] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:30:58] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:30:58] local.INFO: IMEI packet received {"connection_id":174503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":174503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:31:03] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:03] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:03] local.INFO: IMEI packet received {"connection_id":174503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":174503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:31:04] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2924f0012d7d358005ec12e80005009221..."} 
[2026-09-08 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2924f0012d7d358005ec12e80005009221..."} 
[2026-09-08 09:31:04] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2924f0012d7d358005ec12e80005009221..."} 
[2026-09-08 09:31:04] local.INFO: Packet analysis {"connection_id":174503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:31:04] local.INFO: Extracted packet for processing {"connection_id":174503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942988288001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788839798000,"timestamp_ms":1788839798000,"timestamp_seconds":1788839798,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2924f0"} 
[2026-09-08 09:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 09:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942988288001,"66":13689,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022258191430510592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942988288001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:31:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:31:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-08 09:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942988288001,"power":13689,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-08 09:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":174503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:31:04] local.INFO: GPS data processed {"connection_id":174503,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:31:04] local.INFO: Acknowledgment sent {"connection_id":174503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:31:09] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2957b8012d7d35c005ec12e8000500921d..."} 
[2026-09-08 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2957b8012d7d35c005ec12e8000500921d..."} 
[2026-09-08 09:31:09] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2957b8012d7d35c005ec12e8000500921d..."} 
[2026-09-08 09:31:09] local.INFO: Packet analysis {"connection_id":174503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:31:09] local.INFO: Extracted packet for processing {"connection_id":174503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357416,"longitude_deg":76.318048,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942988288001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788839811000,"timestamp_ms":1788839811000,"timestamp_seconds":1788839811,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2957b8"} 
[2026-09-08 09:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 09:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:31: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-09-08 09:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942988288001,"66":13493,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022258191430510592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942988288001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:31:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:31:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-08 09:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942988288001,"power":13493,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-08 09:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":174503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:31:09] local.INFO: GPS data processed {"connection_id":174503,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:31:09] local.INFO: Acknowledgment sent {"connection_id":174503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:31:33] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:33] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:33] local.INFO: IMEI packet received {"connection_id":174240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":174240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:31:33] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:33] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:33] local.INFO: IMEI packet received {"connection_id":174240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":174240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:31:34] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:34] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:31:34] local.INFO: IMEI packet received {"connection_id":174240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":174240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:31:34] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2ce9c8012d0ba880070506d8001f00801c..."} 
[2026-09-08 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2ce9c8012d0ba880070506d8001f00801c..."} 
[2026-09-08 09:31:34] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2ce9c8012d0ba880070506d8001f00801c..."} 
[2026-09-08 09:31:34] local.INFO: Packet analysis {"connection_id":174240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2c"} 
[2026-09-08 09:31:34] local.INFO: Extracted packet for processing {"connection_id":174240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2c"} 
[2026-09-08 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":755738752,"raw_latitude":117769944,"longitude_deg":75.5738752,"latitude_deg":11.7769944,"altitude":31,"angle":128,"satellites":28,"speed":16,"hex_longitude":"2d0ba880","hex_latitude":"070506d8","is_valid_coordinates":true} 
[2026-09-08 09:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943051264001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30709913814564864,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839710254421221376,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788840045000,"timestamp_ms":1788840045000,"timestamp_seconds":1788840045,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2ce9c8"} 
[2026-09-08 09:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 09:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943051264001,"66":14396,"229":206,"94":11008,"24":16,"16":30709913814564864,"45":839710254421221376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-09-08 09:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943051264001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30709913814564864,"km_value":30709913814564.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":839710254421221376,"description":"Unknown IO ID 45"} 
[2026-09-08 09:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943051264001,"power":14396,"unknown_229":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":839710254421221376}} 
[2026-09-08 09:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":174240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:31:35] local.INFO: GPS data processed {"connection_id":174240,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:31:35] local.INFO: Acknowledgment sent {"connection_id":174240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:31:35] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2cedb0012d0ba9c0070505c0001f008f1c..."} 
[2026-09-08 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2cedb0012d0ba9c0070505c0001f008f1c..."} 
[2026-09-08 09:31:35] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2cedb0012d0ba9c0070505c0001f008f1c..."} 
[2026-09-08 09:31:35] local.INFO: Packet analysis {"connection_id":174240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2c"} 
[2026-09-08 09:31:35] local.INFO: Extracted packet for processing {"connection_id":174240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2c"} 
[2026-09-08 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117769664,"longitude_deg":75.5739072,"latitude_deg":11.7769664,"altitude":31,"angle":143,"satellites":28,"speed":15,"hex_longitude":"2d0ba9c0","hex_latitude":"070505c0","is_valid_coordinates":true} 
[2026-09-08 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943051520001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30709935289401344,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840062098142058496,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788840046000,"timestamp_ms":1788840046000,"timestamp_seconds":1788840046,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2cedb0"} 
[2026-09-08 09:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 09:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943051520001,"66":14428,"229":206,"94":11008,"24":15,"16":30709935289401344,"45":840062098142058496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,94,24,16,45]} 
[2026-09-08 09:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943051520001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:31:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 09:31:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30709935289401344,"km_value":30709935289401.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":840062098142058496,"description":"Unknown IO ID 45"} 
[2026-09-08 09:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943051520001,"power":14428,"unknown_229":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":840062098142058496}} 
[2026-09-08 09:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":174240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:31:35] local.INFO: GPS data processed {"connection_id":174240,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:31:35] local.INFO: Acknowledgment sent {"connection_id":174240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:31:42] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:31:42] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:31:42] local.INFO: IMEI packet received {"connection_id":177007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":177007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:31:47] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:31:47] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:31:47] local.INFO: IMEI packet received {"connection_id":177007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":177007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:31:48] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:31:48] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:31:48] local.INFO: Packet analysis {"connection_id":177007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:31:48] local.INFO: Extracted packet for processing {"connection_id":177007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:31: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-09-08 09:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:31: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-09-08 09:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":177007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:31:48] local.INFO: GPS data processed {"connection_id":177007,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:31:48] local.INFO: Acknowledgment sent {"connection_id":177007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:31:53] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:53] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:53] local.INFO: IMEI packet received {"connection_id":174241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":174241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:31:58] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:58] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:31:58] local.INFO: IMEI packet received {"connection_id":174241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":174241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:31:59] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2957b8012d7d35c005ec12e8000500921d..."} 
[2026-09-08 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2957b8012d7d35c005ec12e8000500921d..."} 
[2026-09-08 09:31:59] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2957b8012d7d35c005ec12e8000500921d..."} 
[2026-09-08 09:31:59] local.INFO: Packet analysis {"connection_id":174241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:31:59] local.INFO: Extracted packet for processing {"connection_id":174241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f29"} 
[2026-09-08 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357416,"longitude_deg":76.318048,"latitude_deg":9.9357416,"altitude":5,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-08 09:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788839811000,"timestamp_ms":1788839811000,"timestamp_seconds":1788839811,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2957b8"} 
[2026-09-08 09:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:31:59] 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-09-08 09:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":13493,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":13493,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":174241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:31:59] local.INFO: GPS data processed {"connection_id":174241,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:31:59] local.INFO: Acknowledgment sent {"connection_id":174241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:32:03] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:32:03] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:32:03] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:32:08] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:32:08] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:32:08] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:32:09] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2db8d0012d0bbec007050828002300011e..."} 
[2026-09-08 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2db8d0012d0bbec007050828002300011e..."} 
[2026-09-08 09:32:09] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2db8d0012d0bbec007050828002300011e..."} 
[2026-09-08 09:32:09] local.INFO: Packet analysis {"connection_id":174242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:32:09] local.INFO: Extracted packet for processing {"connection_id":174242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755744448,"raw_latitude":117770280,"longitude_deg":75.5744448,"latitude_deg":11.777028,"altitude":35,"angle":1,"satellites":30,"speed":27,"hex_longitude":"2d0bbec0","hex_latitude":"07050828","is_valid_coordinates":true} 
[2026-09-08 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943064320001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30710429210640384,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846184178885132288,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788840098000,"timestamp_ms":1788840098000,"timestamp_seconds":1788840098,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2db8d0"} 
[2026-09-08 09:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 09:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943064320001,"66":14439,"97":206,"94":10240,"24":27,"16":30710429210640384,"45":846184178885132288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-08 09:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943064320001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30710429210640384,"km_value":30710429210640.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":846184178885132288,"description":"Unknown IO ID 45"} 
[2026-09-08 09:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943064320001,"power":14439,"unknown_97":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":846184178885132288}} 
[2026-09-08 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":174242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:32:09] local.INFO: GPS data processed {"connection_id":174242,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:32:09] local.INFO: Acknowledgment sent {"connection_id":174242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:32:20] local.INFO: TCP Data received {"connection_id":177007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:32:20] local.INFO: Processing buffer {"connection_id":177007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:32:20] local.INFO: Packet analysis {"connection_id":177007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:32:20] local.INFO: Extracted packet for processing {"connection_id":177007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:32: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-09-08 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:32: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-09-08 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":177007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:32:20] local.INFO: GPS data processed {"connection_id":177007,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:32:20] local.INFO: Acknowledgment sent {"connection_id":177007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:32:31] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:32:31] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:32:31] local.INFO: Packet analysis {"connection_id":174241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:32:31] local.INFO: Extracted packet for processing {"connection_id":174241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:32:31] 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-09-08 09:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":174241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:32:31] local.INFO: GPS data processed {"connection_id":174241,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:32:31] local.INFO: Acknowledgment sent {"connection_id":174241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:32:42] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:32:42] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:32:42] local.INFO: IMEI packet received {"connection_id":175586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":175586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:32:47] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:32:47] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:32:47] local.INFO: IMEI packet received {"connection_id":175586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":175586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:32:48] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:32:48] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:32:48] local.INFO: Packet analysis {"connection_id":175586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:32:48] local.INFO: Extracted packet for processing {"connection_id":175586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:32: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-09-08 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:32: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-09-08 09:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":175586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:32:48] local.INFO: GPS data processed {"connection_id":175586,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:32:48] local.INFO: Acknowledgment sent {"connection_id":175586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:32:53] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:32:53] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:32:53] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:32:58] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:32:58] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:32:58] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:33:00] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:00] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:00] local.INFO: Packet analysis {"connection_id":175588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:33:00] local.INFO: Extracted packet for processing {"connection_id":175588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:33: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-09-08 09:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:33:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":175588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:33:00] local.INFO: GPS data processed {"connection_id":175588,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:33:00] local.INFO: Acknowledgment sent {"connection_id":175588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:33:19] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:33:19] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:33:19] local.INFO: Packet analysis {"connection_id":175586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:33:19] local.INFO: Extracted packet for processing {"connection_id":175586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:33: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-09-08 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:33: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-09-08 09:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":175586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:33:19] local.INFO: GPS data processed {"connection_id":175586,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:33:19] local.INFO: Acknowledgment sent {"connection_id":175586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:33:31] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:31] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:31] local.INFO: Packet analysis {"connection_id":175588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:33:31] local.INFO: Extracted packet for processing {"connection_id":175588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:33: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-09-08 09:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":175588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:33:31] local.INFO: GPS data processed {"connection_id":175588,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:33:31] local.INFO: Acknowledgment sent {"connection_id":175588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:33:42] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:33:42] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:33:42] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:33:47] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:33:47] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:33:47] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:33:49] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:33:49] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:33:49] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:33:49] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:33: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-09-08 09:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:33:49] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:33:49] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:33:50] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:33:50] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:33:50] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:33:53] local.INFO: TCP Data received {"connection_id":177010,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:33:53] local.INFO: Processing buffer {"connection_id":177010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:33:53] local.INFO: IMEI packet received {"connection_id":177010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":177010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:33:58] local.INFO: TCP Data received {"connection_id":177010,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:33:58] local.INFO: Processing buffer {"connection_id":177010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:33:58] local.INFO: IMEI packet received {"connection_id":177010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":177010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:33:59] local.INFO: TCP Data received {"connection_id":177010,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:59] local.INFO: Processing buffer {"connection_id":177010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:33:59] local.INFO: Packet analysis {"connection_id":177010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:33:59] local.INFO: Extracted packet for processing {"connection_id":177010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":177010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:33:59] local.INFO: GPS data processed {"connection_id":177010,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:33:59] local.INFO: Acknowledgment sent {"connection_id":177010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:34:10] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:10] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:10] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:34:13] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:13] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:13] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:34:18] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:18] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:18] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:34:19] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2f6a68012d0bd8800705f2d0001b00031b..."} 
[2026-09-08 09:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2f6a68012d0bd8800705f2d0001b00031b..."} 
[2026-09-08 09:34:19] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2f6a68012d0bd8800705f2d0001b00031b..."} 
[2026-09-08 09:34:19] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2f"} 
[2026-09-08 09:34:19] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2f"} 
[2026-09-08 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":755751040,"raw_latitude":117830352,"longitude_deg":75.575104,"latitude_deg":11.7830352,"altitude":27,"angle":3,"satellites":27,"speed":9,"hex_longitude":"2d0bd880","hex_latitude":"0705f2d0","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943092992001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30713478637420544,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853643265783656448,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840209000,"timestamp_ms":1788840209000,"timestamp_seconds":1788840209,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2f6a68"} 
[2026-09-08 09:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 09:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943092992001,"66":14428,"164":206,"94":10240,"24":9,"16":30713478637420544,"45":853643265783656448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 09:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943092992001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:34:19] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 09:34:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30713478637420544,"km_value":30713478637420.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":853643265783656448,"description":"Unknown IO ID 45"} 
[2026-09-08 09:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943092992001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":853643265783656448}} 
[2026-09-08 09:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:34:19] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:34:19] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:34:20] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:34:20] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:34:20] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:34:20] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:34: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-09-08 09:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:34: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-09-08 09:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:34:20] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:34:20] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:34:23] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2f6e50012d0bd8c00705f3b8001b000f1b..."} 
[2026-09-08 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2f6e50012d0bd8c00705f3b8001b000f1b..."} 
[2026-09-08 09:34:23] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2f6e50012d0bd8c00705f3b8001b000f1b..."} 
[2026-09-08 09:34:23] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2f"} 
[2026-09-08 09:34:23] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2f"} 
[2026-09-08 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755751104,"raw_latitude":117830584,"longitude_deg":75.5751104,"latitude_deg":11.7830584,"altitude":27,"angle":15,"satellites":27,"speed":8,"hex_longitude":"2d0bd8c0","hex_latitude":"0705f3b8","is_valid_coordinates":true} 
[2026-09-08 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943093504001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30713491522322432,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853572897039634432,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788840210000,"timestamp_ms":1788840210000,"timestamp_seconds":1788840210,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2f6e50"} 
[2026-09-08 09:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943093504001,"66":14407,"164":206,"94":10240,"24":8,"16":30713491522322432,"45":853572897039634432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 09:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943093504001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:34:23] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 09:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30713491522322432,"km_value":30713491522322.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":853572897039634432,"description":"Unknown IO ID 45"} 
[2026-09-08 09:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943093504001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":853572897039634432}} 
[2026-09-08 09:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:34:23] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:34:23] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:34:31] local.INFO: TCP Data received {"connection_id":177010,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:34:31] local.INFO: Processing buffer {"connection_id":177010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:34:31] local.INFO: Packet analysis {"connection_id":177010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:34:31] local.INFO: Extracted packet for processing {"connection_id":177010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":177010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:34:31] local.INFO: GPS data processed {"connection_id":177010,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:34:31] local.INFO: Acknowledgment sent {"connection_id":177010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:34:42] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:34:42] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:34:42] local.INFO: IMEI packet received {"connection_id":175591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":175591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:34:47] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:34:47] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:34:47] local.INFO: IMEI packet received {"connection_id":175591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":175591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:34:48] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:34:48] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2be028012d34bf4006aa42e8000a010b2d..."} 
[2026-09-08 09:34:48] local.INFO: Packet analysis {"connection_id":175591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:34:48] local.INFO: Extracted packet for processing {"connection_id":175591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2b"} 
[2026-09-08 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778007552,"note":"Value kept but may cause issues"} 
[2026-09-08 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788839977000,"timestamp_ms":1788839977000,"timestamp_seconds":1788839977,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2be028"} 
[2026-09-08 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:34: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-09-08 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:34: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-09-08 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943021312001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3802234382778007552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778007552,"description":"Unknown IO ID 45"} 
[2026-09-08 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943021312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778007552}} 
[2026-09-08 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":175591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:34:48] local.INFO: GPS data processed {"connection_id":175591,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:34:48] local.INFO: Acknowledgment sent {"connection_id":175591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:34:58] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:58] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:34:58] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:34:58] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:34:58] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:34:58] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:35:03] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:03] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:03] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:35:03] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:35:03] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:35:03] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:35:05] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:05] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:05] local.INFO: Packet analysis {"connection_id":174243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:35:05] local.INFO: Extracted packet for processing {"connection_id":174243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:35:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":174243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:35:05] local.INFO: GPS data processed {"connection_id":174243,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:35:05] local.INFO: Acknowledgment sent {"connection_id":174243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:35:19] local.INFO: TCP Data received {"connection_id":175591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:35:19] local.INFO: Processing buffer {"connection_id":175591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:35:19] local.INFO: Packet analysis {"connection_id":175591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:35:19] local.INFO: Extracted packet for processing {"connection_id":175591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:35: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-09-08 09:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:35: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-09-08 09:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":175591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:35:19] local.INFO: GPS data processed {"connection_id":175591,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:35:19] local.INFO: Acknowledgment sent {"connection_id":175591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:35:36] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:36] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:36] local.INFO: Packet analysis {"connection_id":174243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:35:36] local.INFO: Extracted packet for processing {"connection_id":174243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:35:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:35:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":174243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:35:36] local.INFO: GPS data processed {"connection_id":174243,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:35:36] local.INFO: Acknowledgment sent {"connection_id":174243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:35:47] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:35:47] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:35:47] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:35:52] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:35:52] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:35:52] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:35:53] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:35:53] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:35:53] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:35:53] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:35:53] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:35:53] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:35:53] local.INFO: TCP Data received {"connection_id":174507,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:53] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:53] local.INFO: IMEI packet received {"connection_id":174507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":174507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:35:58] local.INFO: TCP Data received {"connection_id":174507,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:58] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:35:58] local.INFO: IMEI packet received {"connection_id":174507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":174507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:35:58] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:35:58] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:35:58] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:35:59] local.INFO: TCP Data received {"connection_id":174507,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:59] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:35:59] local.INFO: Packet analysis {"connection_id":174507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:35:59] local.INFO: Extracted packet for processing {"connection_id":174507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":174507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:35:59] local.INFO: GPS data processed {"connection_id":174507,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:35:59] local.INFO: Acknowledgment sent {"connection_id":174507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:36:08] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:36:08] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:36:08] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:36:24] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:24] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:24] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:36:24] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:36: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-09-08 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:36:24] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:36:24] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:36:31] local.INFO: TCP Data received {"connection_id":174507,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:36:31] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f2dc870012d7d35c005ec12b00006009223..."} 
[2026-09-08 09:36:31] local.INFO: Packet analysis {"connection_id":174507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:36:31] local.INFO: Extracted packet for processing {"connection_id":174507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f2d"} 
[2026-09-08 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457942991616001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174688256,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788840102000,"timestamp_ms":1788840102000,"timestamp_seconds":1788840102,"priority":1,"record_length":96,"hex_timestamp":"000001a07f2dc870"} 
[2026-09-08 09:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 09:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457942991616001,"66":2470,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174688256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457942991616001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:36:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174688256,"description":"Unknown IO ID 45"} 
[2026-09-08 09:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457942991616001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174688256}} 
[2026-09-08 09:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":174507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:36:31] local.INFO: GPS data processed {"connection_id":174507,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:36:31] local.INFO: Acknowledgment sent {"connection_id":174507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:36:47] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:36:47] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:36:47] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:36:52] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:36:52] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:36:52] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:36:53] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:53] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:53] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:36:53] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:36:53] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:36:53] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:36:54] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:36:54] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:36:54] local.INFO: IMEI packet received {"connection_id":177011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":177011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:36:58] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:58] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:36:58] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:36:58] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:36:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:36:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:36:58] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:36:58] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:36:58] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:36:58] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:36:58] local.INFO: IMEI packet received {"connection_id":177011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":177011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:36:59] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:36:59] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:36:59] local.INFO: Packet analysis {"connection_id":177011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:36:59] local.INFO: Extracted packet for processing {"connection_id":177011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":177011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:36:59] local.INFO: GPS data processed {"connection_id":177011,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:36:59] local.INFO: Acknowledgment sent {"connection_id":177011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:37:31] local.INFO: TCP Data received {"connection_id":177011,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:37:31] local.INFO: Processing buffer {"connection_id":177011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:37:31] local.INFO: Packet analysis {"connection_id":177011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:37:31] local.INFO: Extracted packet for processing {"connection_id":177011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":177011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:37:31] local.INFO: GPS data processed {"connection_id":177011,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:37:31] local.INFO: Acknowledgment sent {"connection_id":177011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:37:42] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:37:42] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:37:42] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:37:48] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:37:48] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:37:48] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:37:50] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:37:50] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:37:50] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:37:50] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:37:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:37:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:37:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:37:50] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:37:50] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:37:53] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:37:53] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:37:53] local.INFO: IMEI packet received {"connection_id":177013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":177013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:37:58] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:37:58] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:37:58] local.INFO: IMEI packet received {"connection_id":177013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":177013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:37:59] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:37:59] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:37:59] local.INFO: Packet analysis {"connection_id":177013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:37:59] local.INFO: Extracted packet for processing {"connection_id":177013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":177013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:38:00] local.INFO: GPS data processed {"connection_id":177013,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:38:00] local.INFO: Acknowledgment sent {"connection_id":177013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:38:21] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:38:21] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:38:21] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:38:21] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 09:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 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-09-08 09:38: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-09-08 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 09:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:38: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-09-08 09:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:38:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:38:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:38:21] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:38:21] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:38:31] local.INFO: TCP Data received {"connection_id":177013,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:38:31] local.INFO: Processing buffer {"connection_id":177013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:38:31] local.INFO: Packet analysis {"connection_id":177013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:38:31] local.INFO: Extracted packet for processing {"connection_id":177013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:38:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":177013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:38:31] local.INFO: GPS data processed {"connection_id":177013,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:38:31] local.INFO: Acknowledgment sent {"connection_id":177013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:38:42] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:38:42] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:38:42] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:38:47] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:38:47] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:38:47] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:38:48] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:38:48] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:38:48] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:38:48] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:38: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-09-08 09:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:38: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-09-08 09:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:38:48] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:38:48] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:38:53] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:38:53] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:38:53] local.INFO: IMEI packet received {"connection_id":177014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":177014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:38:58] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:38:58] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:38:58] local.INFO: IMEI packet received {"connection_id":177014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":177014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:38:59] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:38:59] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:38:59] local.INFO: Packet analysis {"connection_id":177014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:38:59] local.INFO: Extracted packet for processing {"connection_id":177014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":177014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:38:59] local.INFO: GPS data processed {"connection_id":177014,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:38:59] local.INFO: Acknowledgment sent {"connection_id":177014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:39:19] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:39:19] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:39:19] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:39:19] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:39: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-09-08 09:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:39: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-09-08 09:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:39:19] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:39:19] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:39:24] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:39:24] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:39:24] local.INFO: IMEI packet received {"connection_id":175594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":175594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:39:30] local.INFO: TCP Data received {"connection_id":177014,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:39:30] local.INFO: Processing buffer {"connection_id":177014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:39:30] local.INFO: Packet analysis {"connection_id":177014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:39:30] local.INFO: Extracted packet for processing {"connection_id":177014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:39:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":177014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:39:30] local.INFO: GPS data processed {"connection_id":177014,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:39:30] local.INFO: Acknowledgment sent {"connection_id":177014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:39:42] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:39:42] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:39:42] local.INFO: IMEI packet received {"connection_id":177015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":177015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:39:47] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:39:47] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:39:47] local.INFO: IMEI packet received {"connection_id":177015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":177015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:39:48] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:39:48] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3077f0012d34c14006aa42b8000a010b2d..."} 
[2026-09-08 09:39:48] local.INFO: Packet analysis {"connection_id":177015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:39:48] local.INFO: Extracted packet for processing {"connection_id":177015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f30"} 
[2026-09-08 09:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943034112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 09:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840278000,"timestamp_ms":1788840278000,"timestamp_seconds":1788840278,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3077f0"} 
[2026-09-08 09:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:39: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-09-08 09:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:39: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-09-08 09:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943034112001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943034112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 09:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943034112001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 09:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":177015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:39:48] local.INFO: GPS data processed {"connection_id":177015,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:39:48] local.INFO: Acknowledgment sent {"connection_id":177015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:39:49] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:39:49] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:39:49] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:39:53] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:39:53] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:39:53] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:39:58] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:39:58] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:39:58] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:40:01] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:40:01] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:40:01] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:40:01] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:40: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-09-08 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:40:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:40:01] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:40:01] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:40:19] local.INFO: TCP Data received {"connection_id":177015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:40:19] local.INFO: Processing buffer {"connection_id":177015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:40:19] local.INFO: Packet analysis {"connection_id":177015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:40:19] local.INFO: Extracted packet for processing {"connection_id":177015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:40: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-09-08 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:40: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-09-08 09:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":177015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:40:19] local.INFO: GPS data processed {"connection_id":177015,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:40:19] local.INFO: Acknowledgment sent {"connection_id":177015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:40:32] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:40:32] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:40:32] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:40:32] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:40:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:40:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:40:32] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:40:32] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:40:42] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:40:42] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:40:42] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:40:47] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:40:47] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:40:47] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:40:48] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:40:48] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:40:48] local.INFO: Packet analysis {"connection_id":174248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:40:48] local.INFO: Extracted packet for processing {"connection_id":174248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:40: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-09-08 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:40: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-09-08 09:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":174248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:40:48] local.INFO: GPS data processed {"connection_id":174248,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:40:48] local.INFO: Acknowledgment sent {"connection_id":174248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:40:58] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:40:58] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:40:58] local.INFO: IMEI packet received {"connection_id":177016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":177016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:41:03] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:03] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:03] local.INFO: IMEI packet received {"connection_id":177016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":177016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:41:04] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:41:04] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:41:04] local.INFO: Packet analysis {"connection_id":177016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:41:04] local.INFO: Extracted packet for processing {"connection_id":177016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":177016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:41:04] local.INFO: GPS data processed {"connection_id":177016,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:41:04] local.INFO: Acknowledgment sent {"connection_id":177016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:41:19] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:41:20] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:41:20] local.INFO: Packet analysis {"connection_id":174248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:41:20] local.INFO: Extracted packet for processing {"connection_id":174248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:41: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-09-08 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:41: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-09-08 09:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":174248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:41:20] local.INFO: GPS data processed {"connection_id":174248,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:41:20] local.INFO: Acknowledgment sent {"connection_id":174248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:41:36] local.INFO: TCP Data received {"connection_id":177016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:41:36] local.INFO: Processing buffer {"connection_id":177016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f326038012d7d35c005ec12b0000600921b..."} 
[2026-09-08 09:41:36] local.INFO: Packet analysis {"connection_id":177016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:41:36] local.INFO: Extracted packet for processing {"connection_id":177016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f32"} 
[2026-09-08 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":6,"angle":146,"satellites":27,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943066112001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788840403000,"timestamp_ms":1788840403000,"timestamp_seconds":1788840403,"priority":1,"record_length":96,"hex_timestamp":"000001a07f326038"} 
[2026-09-08 09:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 09:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943066112001,"66":2253,"110":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 09:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943066112001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:41:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 09:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943066112001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":177016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:41:36] local.INFO: GPS data processed {"connection_id":177016,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:41:36] local.INFO: Acknowledgment sent {"connection_id":177016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:41:38] local.INFO: TCP Data received {"connection_id":177017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177017,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:41:38] local.INFO: Processing buffer {"connection_id":177017,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:41:38] local.INFO: IMEI packet received {"connection_id":177017,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":177017,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:41:42] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:41:42] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:41:42] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:41:47] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:41:47] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:41:47] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:41:48] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:41:48] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:41:48] local.INFO: Packet analysis {"connection_id":174249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:41:48] local.INFO: Extracted packet for processing {"connection_id":174249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09: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-09-08 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:41: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-09-08 09:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":174249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:41:48] local.INFO: GPS data processed {"connection_id":174249,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:41:48] local.INFO: Acknowledgment sent {"connection_id":174249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:41:54] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:54] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:54] local.INFO: IMEI packet received {"connection_id":174514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":174514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:41:58] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:58] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:41:58] local.INFO: IMEI packet received {"connection_id":174514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":174514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:41:59] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:41:59] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:41:59] local.INFO: Packet analysis {"connection_id":174514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:41:59] local.INFO: Extracted packet for processing {"connection_id":174514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":174514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:41:59] local.INFO: GPS data processed {"connection_id":174514,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:41:59] local.INFO: Acknowledgment sent {"connection_id":174514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:42:08] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:42:08] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:42:08] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:42:13] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:42:13] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:42:13] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:42:14] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36ffd0012d0c80c007060a10001d007e1f..."} 
[2026-09-08 09:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36ffd0012d0c80c007060a10001d007e1f..."} 
[2026-09-08 09:42:14] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36ffd0012d0c80c007060a10001d007e1f..."} 
[2026-09-08 09:42:14] local.INFO: Packet analysis {"connection_id":174251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:42:14] local.INFO: Extracted packet for processing {"connection_id":174251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:42:14] local.INFO: GPS Element Parsed {"raw_longitude":755794112,"raw_latitude":117836304,"longitude_deg":75.5794112,"latitude_deg":11.7836304,"altitude":29,"angle":126,"satellites":31,"speed":11,"hex_longitude":"2d0c80c0","hex_latitude":"07060a10","is_valid_coordinates":true} 
[2026-09-08 09:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943217408001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30721213873520640,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896779305967239168,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788840706000,"timestamp_ms":1788840706000,"timestamp_seconds":1788840706,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36ffd0"} 
[2026-09-08 09:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 09:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943217408001,"66":14298,"220":206,"94":10240,"24":11,"16":30721213873520640,"45":896779305967239168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 09:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943217408001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:42:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 09:42:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30721213873520640,"km_value":30721213873520.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":896779305967239168,"description":"Unknown IO ID 45"} 
[2026-09-08 09:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943217408001,"power":14298,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":896779305967239168}} 
[2026-09-08 09:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":174251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:42:14] local.INFO: GPS data processed {"connection_id":174251,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:42:14] local.INFO: Acknowledgment sent {"connection_id":174251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:42:19] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:42:19] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:42:19] local.INFO: Packet analysis {"connection_id":174249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:42:19] local.INFO: Extracted packet for processing {"connection_id":174249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:42: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-09-08 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:42: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-09-08 09:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":174249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:42:19] local.INFO: GPS data processed {"connection_id":174249,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:42:19] local.INFO: Acknowledgment sent {"connection_id":174249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:42:30] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:42:30] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:42:30] local.INFO: Packet analysis {"connection_id":174514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:42:30] local.INFO: Extracted packet for processing {"connection_id":174514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:42:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":174514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:42:30] local.INFO: GPS data processed {"connection_id":174514,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:42:30] local.INFO: Acknowledgment sent {"connection_id":174514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:42:42] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:42:42] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:42:42] local.INFO: IMEI packet received {"connection_id":177018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":177018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:42:47] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:42:47] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:42:47] local.INFO: IMEI packet received {"connection_id":177018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":177018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:42:48] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:42:48] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:42:48] local.INFO: Packet analysis {"connection_id":177018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:42:48] local.INFO: Extracted packet for processing {"connection_id":177018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:42: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-09-08 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:42: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-09-08 09:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":177018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:42:48] local.INFO: GPS data processed {"connection_id":177018,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:42:48] local.INFO: Acknowledgment sent {"connection_id":177018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:42:53] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:42:53] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:42:53] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:42:58] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:42:58] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:42:58] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:42:59] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:42:59] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:42:59] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:42:59] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:42:59] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:42:59] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:01] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:01] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:01] local.INFO: IMEI packet received {"connection_id":175597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":175597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:43:03] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:03] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:03] local.INFO: IMEI packet received {"connection_id":175597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":175597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:43:08] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:08] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:43:08] local.INFO: IMEI packet received {"connection_id":175597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":175597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:43:11] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f380970012d0cb9c00705b4f0001600fc1d..."} 
[2026-09-08 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f380970012d0cb9c00705b4f0001600fc1d..."} 
[2026-09-08 09:43:11] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f380970012d0cb9c00705b4f0001600fc1d..."} 
[2026-09-08 09:43:11] local.INFO: Packet analysis {"connection_id":175597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f38"} 
[2026-09-08 09:43:11] local.INFO: Extracted packet for processing {"connection_id":175597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f38"} 
[2026-09-08 09:43:11] local.INFO: GPS Element Parsed {"raw_longitude":755808704,"raw_latitude":117814512,"longitude_deg":75.5808704,"latitude_deg":11.7814512,"altitude":22,"angle":252,"satellites":29,"speed":9,"hex_longitude":"2d0cb9c0","hex_latitude":"0705b4f0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 09:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943237888001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30722549608349696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241772212224,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788840774000,"timestamp_ms":1788840774000,"timestamp_seconds":1788840774,"priority":1,"record_length":96,"hex_timestamp":"000001a07f380970"} 
[2026-09-08 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-09-08 09:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 09:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943237888001,"66":14396,"220":206,"94":10240,"24":9,"16":30722549608349696,"45":917186241772212224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 09:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943237888001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 09:43:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30722549608349696,"km_value":30722549608349.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241772212224,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943237888001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":917186241772212224}} 
[2026-09-08 09:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":175597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:12] local.INFO: GPS data processed {"connection_id":175597,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:12] local.INFO: Acknowledgment sent {"connection_id":175597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:14] local.INFO: TCP Data received {"connection_id":175597,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f380d58012d0cb8800705b4c00016010d1c..."} 
[2026-09-08 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f380d58012d0cb8800705b4c00016010d1c..."} 
[2026-09-08 09:43:14] local.INFO: Processing buffer {"connection_id":175597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f380d58012d0cb8800705b4c00016010d1c..."} 
[2026-09-08 09:43:14] local.INFO: Packet analysis {"connection_id":175597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f38"} 
[2026-09-08 09:43:14] local.INFO: Extracted packet for processing {"connection_id":175597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f38"} 
[2026-09-08 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":755808384,"raw_latitude":117814464,"longitude_deg":75.5808384,"latitude_deg":11.7814464,"altitude":22,"angle":269,"satellites":28,"speed":12,"hex_longitude":"2d0cb880","hex_latitude":"0705b4c0","is_valid_coordinates":true} 
[2026-09-08 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943238144001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30722562493251584,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135539654656,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788840775000,"timestamp_ms":1788840775000,"timestamp_seconds":1788840775,"priority":1,"record_length":96,"hex_timestamp":"000001a07f380d58"} 
[2026-09-08 09:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943238144001,"66":14396,"220":206,"94":10240,"24":12,"16":30722562493251584,"45":916975135539654656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 09:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943238144001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 09:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30722562493251584,"km_value":30722562493251.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135539654656,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943238144001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":916975135539654656}} 
[2026-09-08 09:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":175597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:14] local.INFO: GPS data processed {"connection_id":175597,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:14] local.INFO: Acknowledgment sent {"connection_id":175597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:19] local.INFO: TCP Data received {"connection_id":177018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:19] local.INFO: Processing buffer {"connection_id":177018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:19] local.INFO: Packet analysis {"connection_id":177018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:43:19] local.INFO: Extracted packet for processing {"connection_id":177018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:43: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-09-08 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:43: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-09-08 09:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":177018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:19] local.INFO: GPS data processed {"connection_id":177018,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:19] local.INFO: Acknowledgment sent {"connection_id":177018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:30] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:43:30] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:43:30] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:43:30] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:31] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:31] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:47] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:43:47] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:43:47] local.INFO: IMEI packet received {"connection_id":174252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:43:52] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:43:52] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:43:52] local.INFO: IMEI packet received {"connection_id":174252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:43:53] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:43:53] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:43:53] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:43:53] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:53] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:53] local.INFO: Packet analysis {"connection_id":174252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:43:53] local.INFO: Extracted packet for processing {"connection_id":174252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":174252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:53] local.INFO: GPS data processed {"connection_id":174252,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:53] local.INFO: Acknowledgment sent {"connection_id":174252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:58] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:58] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:43:58] local.INFO: Packet analysis {"connection_id":174252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:43:58] local.INFO: Extracted packet for processing {"connection_id":174252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:43:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":174252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:58] local.INFO: GPS data processed {"connection_id":174252,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:58] local.INFO: Acknowledgment sent {"connection_id":174252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:43:58] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:43:58] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:43:58] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:43:59] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:43:59] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:43:59] local.INFO: Packet analysis {"connection_id":174253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:43:59] local.INFO: Extracted packet for processing {"connection_id":174253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":174253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:43:59] local.INFO: GPS data processed {"connection_id":174253,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:43:59] local.INFO: Acknowledgment sent {"connection_id":174253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:44:30] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:44:30] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:44:30] local.INFO: Packet analysis {"connection_id":174253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:44:30] local.INFO: Extracted packet for processing {"connection_id":174253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:44:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":174253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:44:31] local.INFO: GPS data processed {"connection_id":174253,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:44:31] local.INFO: Acknowledgment sent {"connection_id":174253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:44:42] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:44:42] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:44:42] local.INFO: IMEI packet received {"connection_id":177019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":177019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:44:47] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:44:47] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:44:47] local.INFO: IMEI packet received {"connection_id":177019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":177019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:44:48] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:44:48] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f350fb8012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:44:48] local.INFO: Packet analysis {"connection_id":177019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:44:48] local.INFO: Extracted packet for processing {"connection_id":177019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f35"} 
[2026-09-08 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943111168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840579000,"timestamp_ms":1788840579000,"timestamp_seconds":1788840579,"priority":1,"record_length":96,"hex_timestamp":"000001a07f350fb8"} 
[2026-09-08 09:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:44: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-09-08 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 09:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:44: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-09-08 09:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943111168001,"66":25560,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943111168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943111168001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":177019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:44:48] local.INFO: GPS data processed {"connection_id":177019,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:44:48] local.INFO: Acknowledgment sent {"connection_id":177019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:44:58] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:44:58] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:44:58] local.INFO: IMEI packet received {"connection_id":174254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":174254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:45:03] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:03] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:03] local.INFO: IMEI packet received {"connection_id":174254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":174254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:45:05] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:05] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:05] local.INFO: Packet analysis {"connection_id":174254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:45:05] local.INFO: Extracted packet for processing {"connection_id":174254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:45:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":174254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:45:05] local.INFO: GPS data processed {"connection_id":174254,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:45:05] local.INFO: Acknowledgment sent {"connection_id":174254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:45:09] local.INFO: TCP Data received {"connection_id":174254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:09] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:09] local.INFO: Packet analysis {"connection_id":174254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:45:09] local.INFO: Extracted packet for processing {"connection_id":174254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:45:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:45:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":174254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:45:09] local.INFO: GPS data processed {"connection_id":174254,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:45:09] local.INFO: Acknowledgment sent {"connection_id":174254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:45:19] local.INFO: TCP Data received {"connection_id":177019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:45:19] local.INFO: Processing buffer {"connection_id":177019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:45:19] local.INFO: Packet analysis {"connection_id":177019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:45:19] local.INFO: Extracted packet for processing {"connection_id":177019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:45: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-09-08 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:45: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-09-08 09:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":177019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:45:19] local.INFO: GPS data processed {"connection_id":177019,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:45:19] local.INFO: Acknowledgment sent {"connection_id":177019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:45:42] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:45:42] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:45:42] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:45:46] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:45:46] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:45:46] local.INFO: IMEI packet received {"connection_id":174255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:45:47] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:45:47] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:45:47] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:45:48] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:45:48] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:45:48] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:45:48] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:45: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-09-08 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:45: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-09-08 09:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:45:48] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:45:48] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:45:53] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:53] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:53] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:45:58] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:58] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:45:58] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:45:59] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:59] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:45:59] local.INFO: Packet analysis {"connection_id":174518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:45:59] local.INFO: Extracted packet for processing {"connection_id":174518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":174518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:45:59] local.INFO: GPS data processed {"connection_id":174518,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:45:59] local.INFO: Acknowledgment sent {"connection_id":174518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:46:20] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:46:20] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:46:20] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:46:20] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:46: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-09-08 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:46: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-09-08 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:46:20] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:46:20] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:46:30] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:46:30] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f36f800012d7d35c005ec12b00007009223..."} 
[2026-09-08 09:46:30] local.INFO: Packet analysis {"connection_id":174518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:46:30] local.INFO: Extracted packet for processing {"connection_id":174518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f36"} 
[2026-09-08 09:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943143168001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788840704000,"timestamp_ms":1788840704000,"timestamp_seconds":1788840704,"priority":1,"record_length":96,"hex_timestamp":"000001a07f36f800"} 
[2026-09-08 09:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943143168001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943143168001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943143168001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":174518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:46:30] local.INFO: GPS data processed {"connection_id":174518,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:46:30] local.INFO: Acknowledgment sent {"connection_id":174518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:46:42] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:46:42] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:46:42] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:46:47] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:46:47] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:46:47] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:46:48] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:46:48] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:46:48] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:46:48] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:46: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-09-08 09:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:46: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-09-08 09:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:46:48] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:46:48] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:46:53] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:46:53] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:46:53] local.INFO: IMEI packet received {"connection_id":177021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":177021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:46:58] local.INFO: TCP Data received {"connection_id":177022,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:46:58] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:46:58] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:46:59] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:46:59] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:46:59] local.INFO: IMEI packet received {"connection_id":177021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":177021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:47:03] local.INFO: TCP Data received {"connection_id":177022,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:47:03] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:47:03] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:47:03] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:03] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:03] local.INFO: Packet analysis {"connection_id":177021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:03] local.INFO: Extracted packet for processing {"connection_id":177021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":177021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:03] local.INFO: GPS data processed {"connection_id":177021,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:03] local.INFO: Acknowledgment sent {"connection_id":177021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:05] local.INFO: TCP Data received {"connection_id":177022,"ip":"117.225.238.159","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:47:05] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 09:47:05] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:47:15] local.INFO: TCP Data received {"connection_id":177022,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b4d60012d0cd2400704bfc80020005f1d..."} 
[2026-09-08 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b4d60012d0cd2400704bfc80020005f1d..."} 
[2026-09-08 09:47:15] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 09:47:15] local.INFO: IMEI packet received {"connection_id":177022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":177022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:47:20] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:47:20] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:47:20] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:47:20] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47: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-09-08 09: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":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:47: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-09-08 09:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:20] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:20] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:35] local.INFO: TCP Data received {"connection_id":177021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:35] local.INFO: Processing buffer {"connection_id":177021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:35] local.INFO: Packet analysis {"connection_id":177021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:35] local.INFO: Extracted packet for processing {"connection_id":177021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:47:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":177021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:35] local.INFO: GPS data processed {"connection_id":177021,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:35] local.INFO: Acknowledgment sent {"connection_id":177021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:42] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:47:42] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:47:42] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:47:45] local.INFO: TCP Data received {"connection_id":177022,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b64d0012d0ce5400704bf18001e004a1e..."} 
[2026-09-08 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b64d0012d0ce5400704bf18001e004a1e..."} 
[2026-09-08 09:47:45] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07f3b4d60012d0cd2400704bfc80020005f1d..."} 
[2026-09-08 09:47:45] local.INFO: Packet analysis {"connection_id":177022,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:45] local.INFO: Extracted packet for processing {"connection_id":177022,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":755814976,"raw_latitude":117751752,"longitude_deg":75.5814976,"latitude_deg":11.7751752,"altitude":32,"angle":95,"satellites":29,"speed":36,"hex_longitude":"2d0cd240","hex_latitude":"0704bfc8","is_valid_coordinates":true} 
[2026-09-08 09:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943291648001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30727798058385408,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918945460360349696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788840988000,"timestamp_ms":1788840988000,"timestamp_seconds":1788840988,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b4d60"} 
[2026-09-08 09:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943291648001,"66":14439,"18":206,"28":32256,"24":36,"16":30727798058385408,"45":918945460360349696},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943291648001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30727798058385408,"km_value":30727798058385.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":918945460360349696,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943291648001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":918945460360349696}} 
[2026-09-08 09:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":177022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:45] local.INFO: GPS data processed {"connection_id":177022,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:45] local.INFO: Acknowledgment sent {"connection_id":177022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:45] local.INFO: Packet analysis {"connection_id":177022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:45] local.INFO: Extracted packet for processing {"connection_id":177022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":755819840,"raw_latitude":117751576,"longitude_deg":75.581984,"latitude_deg":11.7751576,"altitude":30,"angle":74,"satellites":30,"speed":19,"hex_longitude":"2d0ce540","hex_latitude":"0704bf18","is_valid_coordinates":true} 
[2026-09-08 09:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943292928001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30728029986619392,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":923871272452999168,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788840994000,"timestamp_ms":1788840994000,"timestamp_seconds":1788840994,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b64d0"} 
[2026-09-08 09:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943292928001,"66":14515,"18":206,"28":32256,"24":19,"16":30728029986619392,"45":923871272452999168},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943292928001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30728029986619392,"km_value":30728029986619.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":923871272452999168,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943292928001,"power":14515,"unknown_18":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":923871272452999168}} 
[2026-09-08 09:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":177022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:45] local.INFO: GPS data processed {"connection_id":177022,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:45] local.INFO: Acknowledgment sent {"connection_id":177022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:46] local.INFO: TCP Data received {"connection_id":177022,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b6ca0012d0ce9000704bff8001f00571e..."} 
[2026-09-08 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b6ca0012d0ce9000704bff8001f00571e..."} 
[2026-09-08 09:47:46] local.INFO: Processing buffer {"connection_id":177022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b6ca0012d0ce9000704bff8001f00571e..."} 
[2026-09-08 09:47:46] local.INFO: Packet analysis {"connection_id":177022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:46] local.INFO: Extracted packet for processing {"connection_id":177022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755820800,"raw_latitude":117751800,"longitude_deg":75.58208,"latitude_deg":11.77518,"altitude":31,"angle":87,"satellites":30,"speed":19,"hex_longitude":"2d0ce900","hex_latitude":"0704bff8","is_valid_coordinates":true} 
[2026-09-08 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943294464001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30728072936292352,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929219297010456576,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788840996000,"timestamp_ms":1788840996000,"timestamp_seconds":1788840996,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b6ca0"} 
[2026-09-08 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943294464001,"66":14396,"18":206,"28":32256,"24":19,"16":30728072936292352,"45":929219297010456576},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943294464001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:46] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30728072936292352,"km_value":30728072936292.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":929219297010456576,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943294464001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":929219297010456576}} 
[2026-09-08 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":177022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:46] local.INFO: GPS data processed {"connection_id":177022,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:46] local.ERROR: TCP Connection error {"connection_id":177022,"code":2,"message":"client closed"} 
[2026-09-08 09:47:46] local.INFO: Acknowledgment sent {"connection_id":177022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:47] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:47:47] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:47:47] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:47:49] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:47:49] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:47:49] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:47:49] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:47: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-09-08 09:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:49] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:49] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:47:53] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:47:53] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:47:53] local.INFO: IMEI packet received {"connection_id":175600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":175600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:47:58] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:47:58] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:47:58] local.INFO: IMEI packet received {"connection_id":175600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":175600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:47:59] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:59] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:47:59] local.INFO: Packet analysis {"connection_id":175600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:59] local.INFO: Extracted packet for processing {"connection_id":175600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":175600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:47:59] local.INFO: GPS data processed {"connection_id":175600,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:47:59] local.INFO: Acknowledgment sent {"connection_id":175600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:48:04] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:04] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:04] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:48:06] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:06] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:06] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:48:08] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3c2438012d0d3a400704b608001b00b91e..."} 
[2026-09-08 09:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3c2438012d0d3a400704b608001b00b91e..."} 
[2026-09-08 09:48:08] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3c2438012d0d3a400704b608001b00b91e..."} 
[2026-09-08 09:48:08] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:48:08] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:48:08] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117749256,"longitude_deg":75.58416,"latitude_deg":11.7749256,"altitude":27,"angle":185,"satellites":30,"speed":14,"hex_longitude":"2d0d3a40","hex_latitude":"0704b608","is_valid_coordinates":true} 
[2026-09-08 09:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943306240001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30729159563018240,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670030514176,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788841043000,"timestamp_ms":1788841043000,"timestamp_seconds":1788841043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3c2438"} 
[2026-09-08 09:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943306240001,"66":14363,"18":206,"28":32256,"24":14,"16":30729159563018240,"45":953144670030514176},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943306240001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:48:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30729159563018240,"km_value":30729159563018.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670030514176,"description":"Unknown IO ID 45"} 
[2026-09-08 09:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943306240001,"power":14363,"unknown_18":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":953144670030514176}} 
[2026-09-08 09:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:48:08] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:48:08] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:48:13] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3c7258012d0d39c0070495e0001c00b41f..."} 
[2026-09-08 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3c7258012d0d39c0070495e0001c00b41f..."} 
[2026-09-08 09:48:13] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3c7258012d0d39c0070495e0001c00b41f..."} 
[2026-09-08 09:48:13] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:48:13] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117741024,"longitude_deg":75.5841472,"latitude_deg":11.7741024,"altitude":28,"angle":180,"satellites":31,"speed":18,"hex_longitude":"2d0d39c0","hex_latitude":"070495e0","is_valid_coordinates":true} 
[2026-09-08 09:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943307008001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30729558994976768,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670030268416,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788841063000,"timestamp_ms":1788841063000,"timestamp_seconds":1788841063,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3c7258"} 
[2026-09-08 09:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 09:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943307008001,"66":14450,"18":206,"28":32256,"24":18,"16":30729558994976768,"45":953144670030268416},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943307008001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:48:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:48:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30729558994976768,"km_value":30729558994976.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670030268416,"description":"Unknown IO ID 45"} 
[2026-09-08 09:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943307008001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":953144670030268416}} 
[2026-09-08 09:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:48:14] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:48:14] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:48:21] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:48:21] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:48:21] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:48:21] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09: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-09-08 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:48: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-09-08 09:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:48:21] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:48:21] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:48:30] local.INFO: TCP Data received {"connection_id":175600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:48:30] local.INFO: Processing buffer {"connection_id":175600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:48:30] local.INFO: Packet analysis {"connection_id":175600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:48:30] local.INFO: Extracted packet for processing {"connection_id":175600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:48:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:48:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":175600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:48:30] local.INFO: GPS data processed {"connection_id":175600,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:48:30] local.INFO: Acknowledgment sent {"connection_id":175600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:48:53] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:48:53] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:48:53] local.INFO: IMEI packet received {"connection_id":174258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":174258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:48:58] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:58] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:48:58] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:48:58] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:48:58] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:48:58] local.INFO: IMEI packet received {"connection_id":174258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":174258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:48:59] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:48:59] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:48:59] local.INFO: Packet analysis {"connection_id":174258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:48:59] local.INFO: Extracted packet for processing {"connection_id":174258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":174258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:48:59] local.INFO: GPS data processed {"connection_id":174258,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:48:59] local.INFO: Acknowledgment sent {"connection_id":174258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:49:03] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:49:03] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:49:03] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:49:04] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3cc460012d0d36c007047500001900bb1e..."} 
[2026-09-08 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3cc460012d0d36c007047500001900bb1e..."} 
[2026-09-08 09:49:04] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3cc460012d0d36c007047500001900bb1e..."} 
[2026-09-08 09:49:04] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:49:04] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":755840704,"raw_latitude":117732608,"longitude_deg":75.5840704,"latitude_deg":11.7732608,"altitude":25,"angle":187,"satellites":30,"speed":16,"hex_longitude":"2d0d36c0","hex_latitude":"07047500","is_valid_coordinates":true} 
[2026-09-08 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943312128001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30729971311837184,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932539805696,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788841084000,"timestamp_ms":1788841084000,"timestamp_seconds":1788841084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3cc460"} 
[2026-09-08 09:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943312128001,"66":14450,"18":206,"28":32256,"24":16,"16":30729971311837184,"45":953003932539805696},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943312128001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30729971311837184,"km_value":30729971311837.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932539805696,"description":"Unknown IO ID 45"} 
[2026-09-08 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943312128001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":953003932539805696}} 
[2026-09-08 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:49:04] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:49:04] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:49:22] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:22] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:22] local.INFO: IMEI packet received {"connection_id":175601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":175601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:49:30] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:49:30] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:49:30] local.INFO: Packet analysis {"connection_id":174258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:49:30] local.INFO: Extracted packet for processing {"connection_id":174258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:49:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":174258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:49:30] local.INFO: GPS data processed {"connection_id":174258,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:49:30] local.INFO: Acknowledgment sent {"connection_id":174258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:49:36] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3cd018012d0d354007046fc8001800ca1e..."} 
[2026-09-08 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3cd018012d0d354007046fc8001800ca1e..."} 
[2026-09-08 09:49:36] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3cd018012d0d354007046fc8001800ca1e..."} 
[2026-09-08 09:49:36] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:49:36] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":755840320,"raw_latitude":117731272,"longitude_deg":75.584032,"latitude_deg":11.7731272,"altitude":24,"angle":202,"satellites":30,"speed":19,"hex_longitude":"2d0d3540","hex_latitude":"07046fc8","is_valid_coordinates":true} 
[2026-09-08 09:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943317504001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30730040031313920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952159507607519232,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788841087000,"timestamp_ms":1788841087000,"timestamp_seconds":1788841087,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3cd018"} 
[2026-09-08 09:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943317504001,"66":13678,"18":206,"28":32256,"24":19,"16":30730040031313920,"45":952159507607519232},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943317504001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:49:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30730040031313920,"km_value":30730040031313.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":952159507607519232,"description":"Unknown IO ID 45"} 
[2026-09-08 09:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943317504001,"power":13678,"unknown_18":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":952159507607519232}} 
[2026-09-08 09:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:49:36] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:49:36] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:49:52] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:52] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:52] local.INFO: IMEI packet received {"connection_id":175603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":175603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:49:53] local.INFO: TCP Data received {"connection_id":175604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:49:53] local.INFO: Processing buffer {"connection_id":175604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:49:53] local.INFO: IMEI packet received {"connection_id":175604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":175604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:49:57] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:57] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:49:57] local.INFO: IMEI packet received {"connection_id":175603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":175603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:49:58] local.INFO: TCP Data received {"connection_id":174260,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:49:58] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:49:58] local.INFO: IMEI packet received {"connection_id":174260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":174260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:49:58] local.INFO: TCP Data received {"connection_id":175604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:49:58] local.INFO: Processing buffer {"connection_id":175604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:49:58] local.INFO: IMEI packet received {"connection_id":175604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":175604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:49:59] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:49:59] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f39a780012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 09:49:59] local.INFO: Packet analysis {"connection_id":175603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:49:59] local.INFO: Extracted packet for processing {"connection_id":175603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f39"} 
[2026-09-08 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943188224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788840880000,"timestamp_ms":1788840880000,"timestamp_seconds":1788840880,"priority":1,"record_length":96,"hex_timestamp":"000001a07f39a780"} 
[2026-09-08 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 09:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943188224001,"66":25604,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943188224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943188224001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":175603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:49:59] local.INFO: GPS data processed {"connection_id":175603,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:49:59] local.INFO: Acknowledgment sent {"connection_id":175603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:49:59] local.INFO: TCP Data received {"connection_id":175604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:49:59] local.INFO: Processing buffer {"connection_id":175604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:49:59] local.INFO: Packet analysis {"connection_id":175604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:49:59] local.INFO: Extracted packet for processing {"connection_id":175604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":175604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:49:59] local.INFO: GPS data processed {"connection_id":175604,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:49:59] local.INFO: Acknowledgment sent {"connection_id":175604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:50:03] local.INFO: TCP Data received {"connection_id":174260,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:03] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:03] local.INFO: IMEI packet received {"connection_id":174260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":174260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:50:05] local.INFO: TCP Data received {"connection_id":174260,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3ce788012d0d320007046500001500bd1d..."} 
[2026-09-08 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3ce788012d0d320007046500001500bd1d..."} 
[2026-09-08 09:50:05] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3ce788012d0d320007046500001500bd1d..."} 
[2026-09-08 09:50:05] local.INFO: Packet analysis {"connection_id":174260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:50:05] local.INFO: Extracted packet for processing {"connection_id":174260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":755839488,"raw_latitude":117728512,"longitude_deg":75.5839488,"latitude_deg":11.7728512,"altitude":21,"angle":189,"satellites":29,"speed":20,"hex_longitude":"2d0d3200","hex_latitude":"07046500","is_valid_coordinates":true} 
[2026-09-08 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943318272001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30730177470267392,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951737295142111232,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788841093000,"timestamp_ms":1788841093000,"timestamp_seconds":1788841093,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3ce788"} 
[2026-09-08 09:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 09:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943318272001,"66":14439,"18":206,"28":32256,"24":20,"16":30730177470267392,"45":951737295142111232},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943318272001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:50:05] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30730177470267392,"km_value":30730177470267.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":951737295142111232,"description":"Unknown IO ID 45"} 
[2026-09-08 09:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943318272001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":951737295142111232}} 
[2026-09-08 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":174260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:50:06] local.INFO: GPS data processed {"connection_id":174260,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:50:06] local.INFO: Acknowledgment sent {"connection_id":174260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:50:31] local.INFO: TCP Data received {"connection_id":175604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:50:31] local.INFO: Processing buffer {"connection_id":175604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:50:31] local.INFO: Packet analysis {"connection_id":175604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:50:31] local.INFO: Extracted packet for processing {"connection_id":175604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:50:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":175604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:50:31] local.INFO: GPS data processed {"connection_id":175604,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:50:31] local.INFO: Acknowledgment sent {"connection_id":175604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:50:37] local.INFO: TCP Data received {"connection_id":174260,"ip":"117.225.238.159","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3cf340012d0d310007046028001400ca1e..."} 
[2026-09-08 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3cf340012d0d310007046028001400ca1e..."} 
[2026-09-08 09:50:37] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3cf340012d0d310007046028001400ca1e..."} 
[2026-09-08 09:50:37] local.INFO: Packet analysis {"connection_id":174260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:50:37] local.INFO: Extracted packet for processing {"connection_id":174260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3c"} 
[2026-09-08 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":755839232,"raw_latitude":117727272,"longitude_deg":75.5839232,"latitude_deg":11.7727272,"altitude":20,"angle":202,"satellites":30,"speed":14,"hex_longitude":"2d0d3100","hex_latitude":"07046028","is_valid_coordinates":true} 
[2026-09-08 09:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943319808001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30730241894776832,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950822501467095040,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788841096000,"timestamp_ms":1788841096000,"timestamp_seconds":1788841096,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3cf340"} 
[2026-09-08 09:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 09:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.238.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943319808001,"66":14407,"18":206,"28":32256,"24":14,"16":30730241894776832,"45":950822501467095040},"client_ip":"117.225.238.159","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943319808001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:50:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30730241894776832,"km_value":30730241894776.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":950822501467095040,"description":"Unknown IO ID 45"} 
[2026-09-08 09:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943319808001,"power":14407,"unknown_18":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":950822501467095040}} 
[2026-09-08 09:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":174260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:50:37] local.INFO: GPS data processed {"connection_id":174260,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:50:37] local.INFO: Acknowledgment sent {"connection_id":174260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:50:48] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:50:48] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:50:48] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:50:53] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:50:53] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:50:53] local.INFO: IMEI packet received {"connection_id":177024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":177024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:50:54] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:50:54] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:50:54] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:50:57] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:50:57] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:50:57] local.INFO: Packet analysis {"connection_id":174522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:50:57] local.INFO: Extracted packet for processing {"connection_id":174522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:50:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":174522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:50:57] local.INFO: GPS data processed {"connection_id":174522,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:50:57] local.INFO: Acknowledgment sent {"connection_id":174522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:50:57] local.INFO: TCP Data received {"connection_id":174523,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:57] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:57] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:50:58] local.INFO: TCP Data received {"connection_id":174523,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:58] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:58] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:50:58] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:50:58] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:50:58] local.INFO: IMEI packet received {"connection_id":177024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":177024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:50:59] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:50:59] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:50:59] local.INFO: Packet analysis {"connection_id":177024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:50:59] local.INFO: Extracted packet for processing {"connection_id":177024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":177024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:50:59] local.INFO: GPS data processed {"connection_id":177024,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:50:59] local.INFO: Acknowledgment sent {"connection_id":177024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:50:59] local.INFO: TCP Data received {"connection_id":174523,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:59] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:50:59] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:51:00] local.INFO: TCP Data received {"connection_id":174523,"ip":"117.225.238.159","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:51:00] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:51:00] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:51:04] local.INFO: TCP Data received {"connection_id":177023,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:51:04] local.INFO: Processing buffer {"connection_id":177023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:51:04] local.INFO: IMEI packet received {"connection_id":177023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":177023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:51:30] local.INFO: TCP Data received {"connection_id":177024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:51:30] local.INFO: Processing buffer {"connection_id":177024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3b8fc8012d7d35c005ec12b0000700921f..."} 
[2026-09-08 09:51:30] local.INFO: Packet analysis {"connection_id":177024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:51:30] local.INFO: Extracted packet for processing {"connection_id":177024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3b"} 
[2026-09-08 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":31,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943220224001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841005000,"timestamp_ms":1788841005000,"timestamp_seconds":1788841005,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3b8fc8"} 
[2026-09-08 09:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 09:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943220224001,"66":2242,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943220224001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943220224001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":177024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:51:30] local.INFO: GPS data processed {"connection_id":177024,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:51:30] local.INFO: Acknowledgment sent {"connection_id":177024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:51:48] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:51:48] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:51:48] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:51:52] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:51:52] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:51:52] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:51:54] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:51:54] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:51:54] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:51:54] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:51:54] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:51:54] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:51:58] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:51:58] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:51:58] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:51:58] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:51:58] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:51:58] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:51:58] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:51:58] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:51:58] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:52:03] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:03] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:03] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:52:04] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:04] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:04] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:52:04] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:52:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:52:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:52:04] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:52:04] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:52:35] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:35] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:35] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:52:35] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:52:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:52:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:52:35] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:52:35] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:52:44] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:52:44] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:52:44] local.INFO: IMEI packet received {"connection_id":175606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":175606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:52:47] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:52:47] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:52:47] local.INFO: IMEI packet received {"connection_id":175606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":175606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:52:48] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:52:48] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:52:48] local.INFO: Packet analysis {"connection_id":175606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:52:48] local.INFO: Extracted packet for processing {"connection_id":175606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:52: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-09-08 09:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:52: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-09-08 09:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":175606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:52:48] local.INFO: GPS data processed {"connection_id":175606,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:52:48] local.INFO: Acknowledgment sent {"connection_id":175606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:52:53] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:52:53] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:52:53] local.INFO: Packet analysis {"connection_id":175606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:52:53] local.INFO: Extracted packet for processing {"connection_id":175606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":175606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:52:53] local.INFO: GPS data processed {"connection_id":175606,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:52:53] local.INFO: Acknowledgment sent {"connection_id":175606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:52:53] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:53] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:53] local.INFO: IMEI packet received {"connection_id":177026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":177026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:52:58] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:58] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:52:58] local.INFO: IMEI packet received {"connection_id":177026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":177026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:52:59] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:59] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:52:59] local.INFO: Packet analysis {"connection_id":177026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:52:59] local.INFO: Extracted packet for processing {"connection_id":177026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:52:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:52:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":177026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:52:59] local.INFO: GPS data processed {"connection_id":177026,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:52:59] local.INFO: Acknowledgment sent {"connection_id":177026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:53:24] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:53:24] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:53:24] local.INFO: Packet analysis {"connection_id":175606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:53:24] local.INFO: Extracted packet for processing {"connection_id":175606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:53: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-09-08 09:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":175606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:53:24] local.INFO: GPS data processed {"connection_id":175606,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:53:24] local.INFO: Acknowledgment sent {"connection_id":175606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:53:30] local.INFO: TCP Data received {"connection_id":177026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:53:30] local.INFO: Processing buffer {"connection_id":177026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:53:30] local.INFO: Packet analysis {"connection_id":177026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:53:30] local.INFO: Extracted packet for processing {"connection_id":177026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:53:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":177026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:53:30] local.INFO: GPS data processed {"connection_id":177026,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:53:30] local.INFO: Acknowledgment sent {"connection_id":177026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:53:42] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:53:42] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:53:42] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:53:47] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:53:47] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:53:47] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:53:48] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:53:48] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:53:48] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:53:48] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:53: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-09-08 09:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:53: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-09-08 09:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:53:48] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:53:48] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:53:53] local.INFO: TCP Data received {"connection_id":177028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:53:53] local.INFO: Processing buffer {"connection_id":177028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:53:53] local.INFO: IMEI packet received {"connection_id":177028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":177028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:53:58] local.INFO: TCP Data received {"connection_id":177028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:53:58] local.INFO: Processing buffer {"connection_id":177028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:53:58] local.INFO: IMEI packet received {"connection_id":177028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":177028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:53:59] local.INFO: TCP Data received {"connection_id":177028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:53:59] local.INFO: Processing buffer {"connection_id":177028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:53:59] local.INFO: Packet analysis {"connection_id":177028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:53:59] local.INFO: Extracted packet for processing {"connection_id":177028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":177028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:53:59] local.INFO: GPS data processed {"connection_id":177028,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:53:59] local.INFO: Acknowledgment sent {"connection_id":177028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:54:20] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:54:20] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:54:20] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:54:20] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:54: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-09-08 09:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:54: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-09-08 09:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:54:20] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:54:20] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:54:30] local.INFO: TCP Data received {"connection_id":177028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:54:30] local.INFO: Processing buffer {"connection_id":177028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:54:30] local.INFO: Packet analysis {"connection_id":177028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:54:30] local.INFO: Extracted packet for processing {"connection_id":177028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:54:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:54:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":177028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:54:30] local.INFO: GPS data processed {"connection_id":177028,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:54:30] local.INFO: Acknowledgment sent {"connection_id":177028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:54:42] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:54:42] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:54:42] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:54:47] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:54:47] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:54:47] local.INFO: IMEI packet received {"connection_id":175607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":175607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:54:48] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:54:48] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:54:48] local.INFO: Packet analysis {"connection_id":175607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:54:48] local.INFO: Extracted packet for processing {"connection_id":175607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:54: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-09-08 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:54: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-09-08 09:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":175607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:54:48] local.INFO: GPS data processed {"connection_id":175607,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:54:48] local.INFO: Acknowledgment sent {"connection_id":175607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:54:53] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:54:53] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:54:53] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:54:59] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:54:59] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:54:59] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:54:59] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:54:59] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:54:59] local.INFO: Packet analysis {"connection_id":175608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:54:59] local.INFO: Extracted packet for processing {"connection_id":175608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":175608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:54:59] local.INFO: GPS data processed {"connection_id":175608,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:54:59] local.INFO: Acknowledgment sent {"connection_id":175608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:55:20] local.INFO: TCP Data received {"connection_id":175607,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:55:20] local.INFO: Processing buffer {"connection_id":175607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f3e3f48012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 09:55:20] local.INFO: Packet analysis {"connection_id":175607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:55:20] local.INFO: Extracted packet for processing {"connection_id":175607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f3e"} 
[2026-09-08 09:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943265280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788841181000,"timestamp_ms":1788841181000,"timestamp_seconds":1788841181,"priority":1,"record_length":96,"hex_timestamp":"000001a07f3e3f48"} 
[2026-09-08 09:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:55: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-09-08 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 09:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:55: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-09-08 09:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943265280001,"66":25495,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943265280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943265280001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":175607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:55:20] local.INFO: GPS data processed {"connection_id":175607,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:55:20] local.INFO: Acknowledgment sent {"connection_id":175607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:55:31] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:55:31] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:55:31] local.INFO: Packet analysis {"connection_id":175608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:55:31] local.INFO: Extracted packet for processing {"connection_id":175608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":175608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:55:31] local.INFO: GPS data processed {"connection_id":175608,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:55:31] local.INFO: Acknowledgment sent {"connection_id":175608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:55:47] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:55:47] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:55:47] local.INFO: IMEI packet received {"connection_id":175609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":175609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:55:52] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:55:52] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:55:52] local.INFO: IMEI packet received {"connection_id":175609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":175609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:55:53] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:55:53] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:55:53] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:55:54] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:55:54] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:55:54] local.INFO: Packet analysis {"connection_id":175609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:55:54] local.INFO: Extracted packet for processing {"connection_id":175609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":175609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:55:54] local.INFO: GPS data processed {"connection_id":175609,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:55:54] local.INFO: Acknowledgment sent {"connection_id":175609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:55:58] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:55:58] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:55:58] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:55:59] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:55:59] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:55:59] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:55:59] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:55:59] 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-09-08 09:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:55:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:55:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:55:59] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:55:59] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:56:00] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:56:00] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:56:00] local.INFO: Packet analysis {"connection_id":175609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:56:00] local.INFO: Extracted packet for processing {"connection_id":175609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:56: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-09-08 09:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":175609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:56:00] local.INFO: GPS data processed {"connection_id":175609,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:56:00] local.INFO: Acknowledgment sent {"connection_id":175609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:56:30] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:56:30] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f402790012d7d35c005ec12b0000700921d..."} 
[2026-09-08 09:56:30] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:56:30] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f40"} 
[2026-09-08 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":29,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943297280001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841306000,"timestamp_ms":1788841306000,"timestamp_seconds":1788841306,"priority":1,"record_length":96,"hex_timestamp":"000001a07f402790"} 
[2026-09-08 09:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 09:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:56:30] 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-09-08 09:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943297280001,"66":2231,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943297280001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:56:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943297280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:56:30] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:56:30] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:56:42] local.INFO: TCP Data received {"connection_id":175610,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:56:42] local.INFO: Processing buffer {"connection_id":175610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:56:42] local.INFO: IMEI packet received {"connection_id":175610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":175610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:56:44] local.INFO: TCP Data received {"connection_id":174264,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:56:44] local.INFO: Processing buffer {"connection_id":174264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 09:56:44] local.INFO: IMEI packet received {"connection_id":174264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 09:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:56:49] local.INFO: TCP Data received {"connection_id":175610,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:56:49] local.INFO: Processing buffer {"connection_id":175610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:56:49] local.INFO: IMEI packet received {"connection_id":175610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":175610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:56:50] local.INFO: TCP Data received {"connection_id":175610,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:56:50] local.INFO: Processing buffer {"connection_id":175610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:56:50] local.INFO: Packet analysis {"connection_id":175610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:56:50] local.INFO: Extracted packet for processing {"connection_id":175610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:56: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-09-08 09:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":175610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:56:50] local.INFO: GPS data processed {"connection_id":175610,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:56:50] local.INFO: Acknowledgment sent {"connection_id":175610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:56:53] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:56:53] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:56:53] local.INFO: IMEI packet received {"connection_id":177031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":177031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:56:58] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:56:58] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:56:58] local.INFO: IMEI packet received {"connection_id":177031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":177031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:56:59] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:56:59] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:56:59] local.INFO: Packet analysis {"connection_id":177031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:56:59] local.INFO: Extracted packet for processing {"connection_id":177031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 09:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 09:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:56:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:56:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":177031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:56:59] local.INFO: GPS data processed {"connection_id":177031,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:56:59] local.INFO: Acknowledgment sent {"connection_id":177031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:57:21] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:21] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:21] local.INFO: IMEI packet received {"connection_id":174265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":174265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:57:21] local.INFO: TCP Data received {"connection_id":175610,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:57:21] local.INFO: Processing buffer {"connection_id":175610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:57:21] local.INFO: Packet analysis {"connection_id":175610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:57:21] local.INFO: Extracted packet for processing {"connection_id":175610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:57: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-09-08 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:57: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-09-08 09:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":175610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:57:21] local.INFO: GPS data processed {"connection_id":175610,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:57:21] local.INFO: Acknowledgment sent {"connection_id":175610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:57:23] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:23] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:23] local.INFO: IMEI packet received {"connection_id":174265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":174265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:57:26] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:26] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:26] local.INFO: IMEI packet received {"connection_id":174265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":174265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:57:27] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4484c0012d0c53c00703e1300014006f1e..."} 
[2026-09-08 09:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4484c0012d0c53c00703e1300014006f1e..."} 
[2026-09-08 09:57:27] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4484c0012d0c53c00703e1300014006f1e..."} 
[2026-09-08 09:57:27] local.INFO: Packet analysis {"connection_id":174265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:57:27] local.INFO: Extracted packet for processing {"connection_id":174265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:57:27] local.INFO: GPS Element Parsed {"raw_longitude":755782592,"raw_latitude":117694768,"longitude_deg":75.5782592,"latitude_deg":11.7694768,"altitude":20,"angle":111,"satellites":30,"speed":6,"hex_longitude":"2d0c53c0","hex_latitude":"0703e130","is_valid_coordinates":true} 
[2026-09-08 09: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-09-08 09:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943446784001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30740940658311168,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888053581652047872,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788841592000,"timestamp_ms":1788841592000,"timestamp_seconds":1788841592,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4484c0"} 
[2026-09-08 09:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:57: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-09-08 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09: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-09-08 09:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943446784001,"66":14461,"18":206,"28":32256,"24":6,"16":30740940658311168,"45":888053581652047872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-08 09:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943446784001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:57:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-08 09:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-08 09:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30740940658311168,"km_value":30740940658311.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":888053581652047872,"description":"Unknown IO ID 45"} 
[2026-09-08 09:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943446784001,"power":14461,"unknown_18":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":888053581652047872}} 
[2026-09-08 09:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":174265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782997,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:57:27] local.INFO: GPS data processed {"connection_id":174265,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:57:27] local.INFO: Acknowledgment sent {"connection_id":174265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:57:31] local.INFO: TCP Data received {"connection_id":177031,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:57:31] local.INFO: Processing buffer {"connection_id":177031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:57:31] local.INFO: Packet analysis {"connection_id":177031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:57:31] local.INFO: Extracted packet for processing {"connection_id":177031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 09:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 09:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:57:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:57:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":177031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:57:31] local.INFO: GPS data processed {"connection_id":177031,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:57:31] local.INFO: Acknowledgment sent {"connection_id":177031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:57:42] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:57:42] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:57:42] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:57:47] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:57:47] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:57:47] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:57:48] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:57:48] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:57:48] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:57:48] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:57: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-09-08 09:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:57: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-09-08 09:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:57:48] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:57:48] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:57:53] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:57:53] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:57:53] local.INFO: IMEI packet received {"connection_id":175611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":175611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:57:58] local.INFO: TCP Data received {"connection_id":177032,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:58] local.INFO: Processing buffer {"connection_id":177032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:57:58] local.INFO: IMEI packet received {"connection_id":177032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":177032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:57:58] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:57:58] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:57:58] local.INFO: IMEI packet received {"connection_id":175611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":175611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:57:59] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:57:59] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:57:59] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:57:59] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 09:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 09:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:57:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:57:59] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:57:59] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:00] local.INFO: TCP Data received {"connection_id":177032,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:00] local.INFO: Processing buffer {"connection_id":177032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:00] local.INFO: IMEI packet received {"connection_id":177032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":177032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:58:03] local.INFO: TCP Data received {"connection_id":177032,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:03] local.INFO: Processing buffer {"connection_id":177032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:03] local.INFO: IMEI packet received {"connection_id":177032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":177032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:58:04] local.INFO: TCP Data received {"connection_id":177032,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f45b958012d0c63c007039358001a00bc1d..."} 
[2026-09-08 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f45b958012d0c63c007039358001a00bc1d..."} 
[2026-09-08 09:58:04] local.INFO: Processing buffer {"connection_id":177032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f45b958012d0c63c007039358001a00bc1d..."} 
[2026-09-08 09:58:04] local.INFO: Packet analysis {"connection_id":177032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f45"} 
[2026-09-08 09:58:04] local.INFO: Extracted packet for processing {"connection_id":177032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f45"} 
[2026-09-08 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755786688,"raw_latitude":117674840,"longitude_deg":75.5786688,"latitude_deg":11.767484,"altitude":26,"angle":188,"satellites":29,"speed":9,"hex_longitude":"2d0c63c0","hex_latitude":"07039358","is_valid_coordinates":true} 
[2026-09-08 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943467264001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30742207673663488,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909024995241984,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788841671000,"timestamp_ms":1788841671000,"timestamp_seconds":1788841671,"priority":1,"record_length":96,"hex_timestamp":"000001a07f45b958"} 
[2026-09-08 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943467264001,"66":14428,"16":30742207673663488,"94":11008,"24":9,"45":892909024995241984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943467264001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30742207673663488,"km_value":30742207673663.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909024995241984,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457943467264001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":892909024995241984}} 
[2026-09-08 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":177032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:04] local.INFO: GPS data processed {"connection_id":177032,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:04] local.INFO: Acknowledgment sent {"connection_id":177032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:04] local.INFO: TCP Data received {"connection_id":177032,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f45bd40012d0c63c007039220001a00b01d..."} 
[2026-09-08 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f45bd40012d0c63c007039220001a00b01d..."} 
[2026-09-08 09:58:04] local.INFO: Processing buffer {"connection_id":177032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f45bd40012d0c63c007039220001a00b01d..."} 
[2026-09-08 09:58:04] local.INFO: Packet analysis {"connection_id":177032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f45"} 
[2026-09-08 09:58:04] local.INFO: Extracted packet for processing {"connection_id":177032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f45"} 
[2026-09-08 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755786688,"raw_latitude":117674528,"longitude_deg":75.5786688,"latitude_deg":11.7674528,"altitude":26,"angle":176,"satellites":29,"speed":12,"hex_longitude":"2d0c63c0","hex_latitude":"07039220","is_valid_coordinates":true} 
[2026-09-08 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943467776001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30742220558565376,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892768287506782208,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788841672000,"timestamp_ms":1788841672000,"timestamp_seconds":1788841672,"priority":1,"record_length":96,"hex_timestamp":"000001a07f45bd40"} 
[2026-09-08 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943467776001,"66":14428,"16":30742220558565376,"94":11008,"24":12,"45":892768287506782208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943467776001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30742220558565376,"km_value":30742220558565.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":892768287506782208,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457943467776001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":892768287506782208}} 
[2026-09-08 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":177032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:04] local.INFO: GPS data processed {"connection_id":177032,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:04] local.INFO: Acknowledgment sent {"connection_id":177032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:26] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:58:26] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:58:26] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:58:26] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58: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-09-08 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:26] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:26] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:30] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:58:30] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:58:30] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:58:30] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 09:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:30] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:30] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:36] local.INFO: TCP Data received {"connection_id":177032,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f45d4b0012d0c634007038a78001b00bf1e..."} 
[2026-09-08 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f45d4b0012d0c634007038a78001b00bf1e..."} 
[2026-09-08 09:58:36] local.INFO: Processing buffer {"connection_id":177032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f45d4b0012d0c634007038a78001b00bf1e..."} 
[2026-09-08 09:58:36] local.INFO: Packet analysis {"connection_id":177032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f45"} 
[2026-09-08 09:58:36] local.INFO: Extracted packet for processing {"connection_id":177032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f45"} 
[2026-09-08 09:58:36] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117672568,"longitude_deg":75.578656,"latitude_deg":11.7672568,"altitude":27,"angle":191,"satellites":30,"speed":14,"hex_longitude":"2d0c6340","hex_latitude":"07038a78","is_valid_coordinates":true} 
[2026-09-08 09:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943468032001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30742315047845888,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892768287506702336,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 09:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788841678000,"timestamp_ms":1788841678000,"timestamp_seconds":1788841678,"priority":1,"record_length":96,"hex_timestamp":"000001a07f45d4b0"} 
[2026-09-08 09:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943468032001,"66":14135,"16":30742315047845888,"94":11008,"24":14,"45":892768287506702336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 09:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943468032001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30742315047845888,"km_value":30742315047845.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":892768287506702336,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457943468032001,"power":14135,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":892768287506702336}} 
[2026-09-08 09:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":177032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:36] local.INFO: GPS data processed {"connection_id":177032,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:36] local.INFO: Acknowledgment sent {"connection_id":177032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:47] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:58:47] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:58:47] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:58:52] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:58:52] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:58:52] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:58:54] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:58:54] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:58:54] local.INFO: IMEI packet received {"connection_id":177033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":177033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:58:55] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:58:55] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:58:55] local.INFO: Packet analysis {"connection_id":174267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:58:55] local.INFO: Extracted packet for processing {"connection_id":174267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58: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-09-08 09:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":174267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:55] local.INFO: GPS data processed {"connection_id":174267,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:55] local.INFO: Acknowledgment sent {"connection_id":174267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:58:57] local.INFO: TCP Data received {"connection_id":177034,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:57] local.INFO: Processing buffer {"connection_id":177034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:58:57] local.INFO: IMEI packet received {"connection_id":177034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":177034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:58:58] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:58:58] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:58:58] local.INFO: IMEI packet received {"connection_id":177033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":177033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:58:59] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:58:59] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:58:59] local.INFO: Packet analysis {"connection_id":177033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:58:59] local.INFO: Extracted packet for processing {"connection_id":177033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 09:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 09:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":177033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:58:59] local.INFO: GPS data processed {"connection_id":177033,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:58:59] local.INFO: Acknowledgment sent {"connection_id":177033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:59:03] local.INFO: TCP Data received {"connection_id":177034,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:59:03] local.INFO: Processing buffer {"connection_id":177034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:59:03] local.INFO: IMEI packet received {"connection_id":177034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 09:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":177034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:59:04] local.INFO: TCP Data received {"connection_id":177034,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4678c0012d0c39c007035f08001b00e11e..."} 
[2026-09-08 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4678c0012d0c39c007035f08001b00e11e..."} 
[2026-09-08 09:59:04] local.INFO: Processing buffer {"connection_id":177034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4678c0012d0c39c007035f08001b00e11e..."} 
[2026-09-08 09:59:04] local.INFO: Packet analysis {"connection_id":177034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f46"} 
[2026-09-08 09:59:04] local.INFO: Extracted packet for processing {"connection_id":177034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f46"} 
[2026-09-08 09:59:04] local.INFO: GPS Element Parsed {"raw_longitude":755775936,"raw_latitude":117661448,"longitude_deg":75.5775936,"latitude_deg":11.7661448,"altitude":27,"angle":225,"satellites":30,"speed":11,"hex_longitude":"2d0c39c0","hex_latitude":"07035f08","is_valid_coordinates":true} 
[2026-09-08 09:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943479552001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30743186926206976,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132155938816,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 09:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788841720000,"timestamp_ms":1788841720000,"timestamp_seconds":1788841720,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4678c0"} 
[2026-09-08 09:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 09:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943479552001,"66":14265,"16":30743186926206976,"94":11008,"24":11,"45":881861132155938816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 09:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943479552001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30743186926206976,"km_value":30743186926206.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:59:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132155938816,"description":"Unknown IO ID 45"} 
[2026-09-08 09:59:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457943479552001,"power":14265,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":881861132155938816}} 
[2026-09-08 09:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":177034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:59:04] local.INFO: GPS data processed {"connection_id":177034,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:59:04] local.INFO: Acknowledgment sent {"connection_id":177034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:59:27] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:59:27] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:59:27] local.INFO: Packet analysis {"connection_id":174267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:59:27] local.INFO: Extracted packet for processing {"connection_id":174267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:59:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":174267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:59:27] local.INFO: GPS data processed {"connection_id":174267,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:59:27] local.INFO: Acknowledgment sent {"connection_id":174267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:59:32] local.INFO: TCP Data received {"connection_id":177033,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:59:32] local.INFO: Processing buffer {"connection_id":177033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 09:59:32] local.INFO: Packet analysis {"connection_id":177033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:59:32] local.INFO: Extracted packet for processing {"connection_id":177033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 09:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 09:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":177033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:59:32] local.INFO: GPS data processed {"connection_id":177033,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:59:32] local.INFO: Acknowledgment sent {"connection_id":177033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:59:35] local.INFO: TCP Data received {"connection_id":177034,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f467ca8012d0c394007035e20001b00cd1e..."} 
[2026-09-08 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f467ca8012d0c394007035e20001b00cd1e..."} 
[2026-09-08 09:59:35] local.INFO: Processing buffer {"connection_id":177034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f467ca8012d0c394007035e20001b00cd1e..."} 
[2026-09-08 09:59:35] local.INFO: Packet analysis {"connection_id":177034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f46"} 
[2026-09-08 09:59:35] local.INFO: Extracted packet for processing {"connection_id":177034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f46"} 
[2026-09-08 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":755775808,"raw_latitude":117661216,"longitude_deg":75.5775808,"latitude_deg":11.7661216,"altitude":27,"angle":205,"satellites":30,"speed":10,"hex_longitude":"2d0c3940","hex_latitude":"07035e20","is_valid_coordinates":true} 
[2026-09-08 09:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943480320001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30743195516141568,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481506304,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 09:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788841721000,"timestamp_ms":1788841721000,"timestamp_seconds":1788841721,"priority":1,"record_length":96,"hex_timestamp":"000001a07f467ca8"} 
[2026-09-08 09:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 09:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 09:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 09:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 09:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 09:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 09:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943480320001,"66":14298,"16":30743195516141568,"94":11008,"24":10,"45":880946338481506304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 09:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 09:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 09:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943480320001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30743195516141568,"km_value":30743195516141.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:59:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 09:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481506304,"description":"Unknown IO ID 45"} 
[2026-09-08 09:59:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457943480320001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":880946338481506304}} 
[2026-09-08 09:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":177034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:59:35] local.INFO: GPS data processed {"connection_id":177034,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:59:35] local.INFO: Acknowledgment sent {"connection_id":177034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:59:42] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:59:42] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:59:42] local.INFO: IMEI packet received {"connection_id":174268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 09:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":174268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:59:47] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:59:47] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 09:59:47] local.INFO: IMEI packet received {"connection_id":174268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 09:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 09:59:48] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:59:48] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 09:59:48] local.INFO: Packet analysis {"connection_id":174268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:59:48] local.INFO: Extracted packet for processing {"connection_id":174268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 09:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 09:59: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-09-08 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 09:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 09:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 09:59: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-09-08 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 09:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":174268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 09:59:48] local.INFO: GPS data processed {"connection_id":174268,"processed":1,"errors":0,"total":1} 
[2026-09-08 09:59:48] local.INFO: Acknowledgment sent {"connection_id":174268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 09:59:53] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:59:53] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:59:53] local.INFO: IMEI packet received {"connection_id":175613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 09:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":175613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:59:58] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:59:58] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 09:59:58] local.INFO: IMEI packet received {"connection_id":174270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 09:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":174270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 09:59:59] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:59:59] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 09:59:59] local.INFO: IMEI packet received {"connection_id":175613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 09:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":175613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:00:00] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:00:00] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:00:00] local.INFO: IMEI packet received {"connection_id":174270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:00:03] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:03] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:03] local.INFO: Packet analysis {"connection_id":175613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:00:03] local.INFO: Extracted packet for processing {"connection_id":175613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 10:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:00:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":175613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:03] local.INFO: GPS data processed {"connection_id":175613,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:03] local.INFO: Acknowledgment sent {"connection_id":175613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:00:06] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:00:06] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:00:06] local.INFO: IMEI packet received {"connection_id":174270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":174270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:00:06] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f468090012d0c390007035d18001b00c01e..."} 
[2026-09-08 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f468090012d0c390007035d18001b00c01e..."} 
[2026-09-08 10:00:06] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f468090012d0c390007035d18001b00c01e..."} 
[2026-09-08 10:00:06] local.INFO: Packet analysis {"connection_id":174270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f46"} 
[2026-09-08 10:00:06] local.INFO: Extracted packet for processing {"connection_id":174270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f46"} 
[2026-09-08 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117660952,"longitude_deg":75.5775744,"latitude_deg":11.7660952,"altitude":27,"angle":192,"satellites":30,"speed":11,"hex_longitude":"2d0c3900","hex_latitude":"07035d18","is_valid_coordinates":true} 
[2026-09-08 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943480576001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30743208401043456,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880805600993091584,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 10:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788841722000,"timestamp_ms":1788841722000,"timestamp_seconds":1788841722,"priority":1,"record_length":96,"hex_timestamp":"000001a07f468090"} 
[2026-09-08 10:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00: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-09-08 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943480576001,"66":14298,"16":30743208401043456,"94":11008,"24":11,"45":880805600993091584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 10:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943480576001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30743208401043456,"km_value":30743208401043.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":880805600993091584,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457943480576001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":880805600993091584}} 
[2026-09-08 10:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":174270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:07] local.INFO: GPS data processed {"connection_id":174270,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:07] local.INFO: Acknowledgment sent {"connection_id":174270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:00:20] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 10:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 10:00:20] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f42d710012d34c14006aa42b8000a010b28..."} 
[2026-09-08 10:00:20] local.INFO: Packet analysis {"connection_id":174268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 10:00:20] local.INFO: Extracted packet for processing {"connection_id":174268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f42"} 
[2026-09-08 10:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943342336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 10:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 10:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788841482000,"timestamp_ms":1788841482000,"timestamp_seconds":1788841482,"priority":1,"record_length":96,"hex_timestamp":"000001a07f42d710"} 
[2026-09-08 10:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00: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-09-08 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:00: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-09-08 10:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943342336001,"66":25582,"200":0,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 10:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943342336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943342336001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:20] local.INFO: GPS data processed {"connection_id":174268,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:20] local.INFO: Acknowledgment sent {"connection_id":174268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:00:35] local.INFO: TCP Data received {"connection_id":175613,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:35] local.INFO: Processing buffer {"connection_id":175613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:35] local.INFO: Packet analysis {"connection_id":175613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:00:35] local.INFO: Extracted packet for processing {"connection_id":175613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 10:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:00:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":175613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:35] local.INFO: GPS data processed {"connection_id":175613,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:35] local.INFO: Acknowledgment sent {"connection_id":175613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:00:38] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f480f00012d0c1800070340f8001600e420..."} 
[2026-09-08 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f480f00012d0c1800070340f8001600e420..."} 
[2026-09-08 10:00:38] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f480f00012d0c1800070340f8001600e420..."} 
[2026-09-08 10:00:38] local.INFO: Packet analysis {"connection_id":174270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f48"} 
[2026-09-08 10:00:38] local.INFO: Extracted packet for processing {"connection_id":174270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f48"} 
[2026-09-08 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":755767296,"raw_latitude":117653752,"longitude_deg":75.5767296,"latitude_deg":11.7653752,"altitude":22,"angle":228,"satellites":32,"speed":11,"hex_longitude":"2d0c1800","hex_latitude":"070340f8","is_valid_coordinates":true} 
[2026-09-08 10:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943506688001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30743826876334080,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871657664248143872,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788841824000,"timestamp_ms":1788841824000,"timestamp_seconds":1788841824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f480f00"} 
[2026-09-08 10:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943506688001,"66":14428,"37":206,"94":11008,"24":11,"16":30743826876334080,"45":871657664248143872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943506688001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:00:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30743826876334080,"km_value":30743826876334.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":871657664248143872,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943506688001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":871657664248143872}} 
[2026-09-08 10:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":174270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:38] local.INFO: GPS data processed {"connection_id":174270,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:38] local.INFO: Acknowledgment sent {"connection_id":174270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:00:47] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:00:47] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:00:47] local.INFO: IMEI packet received {"connection_id":174530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:00:52] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:00:52] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:00:52] local.INFO: IMEI packet received {"connection_id":174530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":174530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:00:53] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:00:53] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:00:53] local.INFO: Packet analysis {"connection_id":174530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:00:53] local.INFO: Extracted packet for processing {"connection_id":174530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":174530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:53] local.INFO: GPS data processed {"connection_id":174530,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:53] local.INFO: Acknowledgment sent {"connection_id":174530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:00:53] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:00:53] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:00:53] local.INFO: IMEI packet received {"connection_id":175615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 10:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":175615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:00:58] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:00:58] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:00:58] local.INFO: IMEI packet received {"connection_id":175615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":175615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:00:59] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:59] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:00:59] local.INFO: Packet analysis {"connection_id":175615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:00:59] local.INFO: Extracted packet for processing {"connection_id":175615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 10:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 10:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:00:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":175615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:00:59] local.INFO: GPS data processed {"connection_id":175615,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:00:59] local.INFO: Acknowledgment sent {"connection_id":175615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:01:03] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:03] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:03] local.INFO: IMEI packet received {"connection_id":174531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":174531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:01:08] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:08] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:08] local.INFO: IMEI packet received {"connection_id":174531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":174531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:01:09] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4812e8012d0c16c007034060001600fe21..."} 
[2026-09-08 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4812e8012d0c16c007034060001600fe21..."} 
[2026-09-08 10:01:09] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4812e8012d0c16c007034060001600fe21..."} 
[2026-09-08 10:01:09] local.INFO: Packet analysis {"connection_id":174531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f48"} 
[2026-09-08 10:01:09] local.INFO: Extracted packet for processing {"connection_id":174531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f48"} 
[2026-09-08 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":755766976,"raw_latitude":117653600,"longitude_deg":75.5766976,"latitude_deg":11.76536,"altitude":22,"angle":254,"satellites":33,"speed":12,"hex_longitude":"2d0c16c0","hex_latitude":"07034060","is_valid_coordinates":true} 
[2026-09-08 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943506944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30743844056203264,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871446558015551488,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788841825000,"timestamp_ms":1788841825000,"timestamp_seconds":1788841825,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4812e8"} 
[2026-09-08 10:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 10:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943506944001,"66":14439,"37":206,"94":11008,"24":12,"16":30743844056203264,"45":871446558015551488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943506944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30743844056203264,"km_value":30743844056203.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":871446558015551488,"description":"Unknown IO ID 45"} 
[2026-09-08 10:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943506944001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":871446558015551488}} 
[2026-09-08 10:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":174531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:01:09] local.INFO: GPS data processed {"connection_id":174531,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:01:09] local.INFO: Acknowledgment sent {"connection_id":174531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:01:13] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4816d0012d0c1580070340280016010e21..."} 
[2026-09-08 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4816d0012d0c1580070340280016010e21..."} 
[2026-09-08 10:01:13] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4816d0012d0c1580070340280016010e21..."} 
[2026-09-08 10:01:13] local.INFO: Packet analysis {"connection_id":174531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f48"} 
[2026-09-08 10:01:13] local.INFO: Extracted packet for processing {"connection_id":174531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f48"} 
[2026-09-08 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":755766656,"raw_latitude":117653544,"longitude_deg":75.5766656,"latitude_deg":11.7653544,"altitude":22,"angle":270,"satellites":33,"speed":15,"hex_longitude":"2d0c1580","hex_latitude":"07034028","is_valid_coordinates":true} 
[2026-09-08 10:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943507200001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30743861236072448,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871094714294624256,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788841826000,"timestamp_ms":1788841826000,"timestamp_seconds":1788841826,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4816d0"} 
[2026-09-08 10:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 10:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943507200001,"66":14439,"37":206,"94":11008,"24":15,"16":30743861236072448,"45":871094714294624256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943507200001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:01:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:01:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30743861236072448,"km_value":30743861236072.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":871094714294624256,"description":"Unknown IO ID 45"} 
[2026-09-08 10:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943507200001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":871094714294624256}} 
[2026-09-08 10:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":174531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783021,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:01:13] local.INFO: GPS data processed {"connection_id":174531,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:01:13] local.INFO: Acknowledgment sent {"connection_id":174531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:01:24] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:01:24] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:01:24] local.INFO: Packet analysis {"connection_id":174530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:01:24] local.INFO: Extracted packet for processing {"connection_id":174530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:01: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-09-08 10:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":174530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:01:24] local.INFO: GPS data processed {"connection_id":174530,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:01:24] local.INFO: Acknowledgment sent {"connection_id":174530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:01:30] local.INFO: TCP Data received {"connection_id":175615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:01:30] local.INFO: Processing buffer {"connection_id":175615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f44bf58012d7d35c005ec12b00007009221..."} 
[2026-09-08 10:01:30] local.INFO: Packet analysis {"connection_id":175615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:01:30] local.INFO: Extracted packet for processing {"connection_id":175615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f44"} 
[2026-09-08 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943374336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841607000,"timestamp_ms":1788841607000,"timestamp_seconds":1788841607,"priority":1,"record_length":96,"hex_timestamp":"000001a07f44bf58"} 
[2026-09-08 10:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 10:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943374336001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943374336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:01:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943374336001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":175615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:01:30] local.INFO: GPS data processed {"connection_id":175615,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:01:30] local.INFO: Acknowledgment sent {"connection_id":175615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:01:42] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:01:42] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:01:42] local.INFO: IMEI packet received {"connection_id":175616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":175616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:01:47] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:01:47] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:01:47] local.INFO: IMEI packet received {"connection_id":175616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":175616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:01:49] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:01:49] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:01:49] local.INFO: Packet analysis {"connection_id":175616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:01:49] local.INFO: Extracted packet for processing {"connection_id":175616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:01: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-09-08 10:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":175616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:01:49] local.INFO: GPS data processed {"connection_id":175616,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:01:49] local.INFO: Acknowledgment sent {"connection_id":175616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:01:53] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:01:53] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:01:53] local.INFO: IMEI packet received {"connection_id":177036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 10:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":177036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:01:55] local.INFO: TCP Data received {"connection_id":174271,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:55] local.INFO: Processing buffer {"connection_id":174271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:55] local.INFO: IMEI packet received {"connection_id":174271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":174271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:01:58] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:01:58] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:01:58] local.INFO: IMEI packet received {"connection_id":177036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 10:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":177036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:01:58] local.INFO: TCP Data received {"connection_id":174271,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:58] local.INFO: Processing buffer {"connection_id":174271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:01:58] local.INFO: IMEI packet received {"connection_id":174271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":174271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:01:59] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:01:59] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:01:59] local.INFO: Packet analysis {"connection_id":177036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:01:59] local.INFO: Extracted packet for processing {"connection_id":177036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":25,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943451392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841908000,"timestamp_ms":1788841908000,"timestamp_seconds":1788841908,"priority":1,"record_length":96,"hex_timestamp":"000001a07f495720"} 
[2026-09-08 10:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 10:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943451392001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943451392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943451392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":177036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:01:59] local.INFO: GPS data processed {"connection_id":177036,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:01:59] local.INFO: Acknowledgment sent {"connection_id":177036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:02] local.INFO: TCP Data received {"connection_id":174271,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:02:02] local.INFO: Processing buffer {"connection_id":174271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:02:02] local.INFO: IMEI packet received {"connection_id":174271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":174271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:02:03] local.INFO: TCP Data received {"connection_id":174271,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f490ce8012d0be9c0070359f80013010420..."} 
[2026-09-08 10:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f490ce8012d0be9c0070359f80013010420..."} 
[2026-09-08 10:02:03] local.INFO: Processing buffer {"connection_id":174271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f490ce8012d0be9c0070359f80013010420..."} 
[2026-09-08 10:02:03] local.INFO: Packet analysis {"connection_id":174271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:03] local.INFO: Extracted packet for processing {"connection_id":174271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:03] local.INFO: GPS Element Parsed {"raw_longitude":755755456,"raw_latitude":117660152,"longitude_deg":75.5755456,"latitude_deg":11.7660152,"altitude":19,"angle":260,"satellites":32,"speed":19,"hex_longitude":"2d0be9c0","hex_latitude":"070359f8","is_valid_coordinates":true} 
[2026-09-08 10:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943522048001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30744638625153024,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861594933832386560,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788841889000,"timestamp_ms":1788841889000,"timestamp_seconds":1788841889,"priority":1,"record_length":96,"hex_timestamp":"000001a07f490ce8"} 
[2026-09-08 10:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943522048001,"66":14537,"37":206,"94":11008,"24":19,"16":30744638625153024,"45":861594933832386560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943522048001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:02:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30744638625153024,"km_value":30744638625153.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":861594933832386560,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943522048001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":861594933832386560}} 
[2026-09-08 10:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":174271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:03] local.INFO: GPS data processed {"connection_id":174271,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:03] local.INFO: Acknowledgment sent {"connection_id":174271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:05] local.INFO: TCP Data received {"connection_id":177035,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:02:05] local.INFO: Processing buffer {"connection_id":177035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:02:05] local.INFO: IMEI packet received {"connection_id":177035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":177035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:02:08] local.INFO: TCP Data received {"connection_id":174271,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4914b8012d0be640070359a80014011121..."} 
[2026-09-08 10:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4914b8012d0be640070359a80014011121..."} 
[2026-09-08 10:02:08] local.INFO: Processing buffer {"connection_id":174271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4914b8012d0be640070359a80014011121..."} 
[2026-09-08 10:02:08] local.INFO: Packet analysis {"connection_id":174271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:08] local.INFO: Extracted packet for processing {"connection_id":174271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:08] local.INFO: GPS Element Parsed {"raw_longitude":755754560,"raw_latitude":117660072,"longitude_deg":75.575456,"latitude_deg":11.7660072,"altitude":20,"angle":273,"satellites":33,"speed":18,"hex_longitude":"2d0be640","hex_latitude":"070359a8","is_valid_coordinates":true} 
[2026-09-08 10:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943523584001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30744681574825984,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858428340344322048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788841891000,"timestamp_ms":1788841891000,"timestamp_seconds":1788841891,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4914b8"} 
[2026-09-08 10:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943523584001,"66":14537,"37":206,"94":11008,"24":18,"16":30744681574825984,"45":858428340344322048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943523584001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:02:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30744681574825984,"km_value":30744681574825.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":858428340344322048,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943523584001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":858428340344322048}} 
[2026-09-08 10:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":174271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:08] local.INFO: GPS data processed {"connection_id":174271,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:08] local.INFO: Acknowledgment sent {"connection_id":174271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:20] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:02:20] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:02:20] local.INFO: Packet analysis {"connection_id":175616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:02:20] local.INFO: Extracted packet for processing {"connection_id":175616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02: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-09-08 10:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:02: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-09-08 10:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":175616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:20] local.INFO: GPS data processed {"connection_id":175616,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:20] local.INFO: Acknowledgment sent {"connection_id":175616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:30] local.INFO: TCP Data received {"connection_id":177036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:02:30] local.INFO: Processing buffer {"connection_id":177036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:02:30] local.INFO: Packet analysis {"connection_id":177036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:30] local.INFO: Extracted packet for processing {"connection_id":177036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":25,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943451392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841908000,"timestamp_ms":1788841908000,"timestamp_seconds":1788841908,"priority":1,"record_length":96,"hex_timestamp":"000001a07f495720"} 
[2026-09-08 10:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":177036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":177036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943451392001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943451392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943451392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":177036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:30] local.INFO: GPS data processed {"connection_id":177036,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:30] local.INFO: Acknowledgment sent {"connection_id":177036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:39] local.INFO: TCP Data received {"connection_id":174271,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4918a0012d0be48007035a000014012021..."} 
[2026-09-08 10:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4918a0012d0be48007035a000014012021..."} 
[2026-09-08 10:02:39] local.INFO: Processing buffer {"connection_id":174271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4918a0012d0be48007035a000014012021..."} 
[2026-09-08 10:02:39] local.INFO: Packet analysis {"connection_id":174271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:39] local.INFO: Extracted packet for processing {"connection_id":174271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:39] local.INFO: GPS Element Parsed {"raw_longitude":755754112,"raw_latitude":117660160,"longitude_deg":75.5754112,"latitude_deg":11.766016,"altitude":20,"angle":288,"satellites":33,"speed":18,"hex_longitude":"2d0be480","hex_latitude":"07035a00","is_valid_coordinates":true} 
[2026-09-08 10:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943524096001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30744707344629760,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857443177925814272,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788841892000,"timestamp_ms":1788841892000,"timestamp_seconds":1788841892,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4918a0"} 
[2026-09-08 10:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943524096001,"66":14450,"37":206,"94":11008,"24":18,"16":30744707344629760,"45":857443177925814272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943524096001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:02:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30744707344629760,"km_value":30744707344629.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":857443177925814272,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943524096001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":857443177925814272}} 
[2026-09-08 10:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":174271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:39] local.INFO: GPS data processed {"connection_id":174271,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:39] local.INFO: Acknowledgment sent {"connection_id":174271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:42] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:02:42] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:02:42] local.INFO: IMEI packet received {"connection_id":174532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":174532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:02:47] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:02:47] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:02:47] local.INFO: IMEI packet received {"connection_id":174532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:02:48] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:02:48] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:02:48] local.INFO: Packet analysis {"connection_id":174532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:02:48] local.INFO: Extracted packet for processing {"connection_id":174532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02: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-09-08 10:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:02: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-09-08 10:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":174532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:48] local.INFO: GPS data processed {"connection_id":174532,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:48] local.INFO: Acknowledgment sent {"connection_id":174532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:02:53] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:02:53] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:02:53] local.INFO: IMEI packet received {"connection_id":174272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 10:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":174272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:02:58] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:02:58] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:02:58] local.INFO: IMEI packet received {"connection_id":175617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":175617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:02:58] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:02:58] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:02:58] local.INFO: IMEI packet received {"connection_id":174272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":174272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:02:59] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:02:59] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:02:59] local.INFO: Packet analysis {"connection_id":174272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:59] local.INFO: Extracted packet for processing {"connection_id":174272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":25,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943451392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788841908000,"timestamp_ms":1788841908000,"timestamp_seconds":1788841908,"priority":1,"record_length":96,"hex_timestamp":"000001a07f495720"} 
[2026-09-08 10:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 10:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943451392001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943451392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943451392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":174272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:02:59] local.INFO: GPS data processed {"connection_id":174272,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:02:59] local.INFO: Acknowledgment sent {"connection_id":174272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:03:00] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:00] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:00] local.INFO: IMEI packet received {"connection_id":175617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":175617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:03:01] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f494b68012d0bdcc007035c600014010d21..."} 
[2026-09-08 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f494b68012d0bdcc007035c600014010d21..."} 
[2026-09-08 10:03:01] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f494b68012d0bdcc007035c600014010d21..."} 
[2026-09-08 10:03:01] local.INFO: Packet analysis {"connection_id":175617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:03:01] local.INFO: Extracted packet for processing {"connection_id":175617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755752128,"raw_latitude":117660768,"longitude_deg":75.5752128,"latitude_deg":11.7660768,"altitude":20,"angle":269,"satellites":33,"speed":9,"hex_longitude":"2d0bdcc0","hex_latitude":"07035c60","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943524352001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30744810423844864,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856950596716593152,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788841905000,"timestamp_ms":1788841905000,"timestamp_seconds":1788841905,"priority":1,"record_length":96,"hex_timestamp":"000001a07f494b68"} 
[2026-09-08 10:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 10:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943524352001,"66":14450,"37":206,"94":11008,"24":9,"16":30744810423844864,"45":856950596716593152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943524352001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:03:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:03:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30744810423844864,"km_value":30744810423844.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":856950596716593152,"description":"Unknown IO ID 45"} 
[2026-09-08 10:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943524352001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":856950596716593152}} 
[2026-09-08 10:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":175617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:03:01] local.INFO: GPS data processed {"connection_id":175617,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:03:01] local.INFO: Acknowledgment sent {"connection_id":175617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:03:20] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:03:20] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:03:20] local.INFO: Packet analysis {"connection_id":174532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:03:20] local.INFO: Extracted packet for processing {"connection_id":174532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:03: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-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:03: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-09-08 10:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":174532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:03:20] local.INFO: GPS data processed {"connection_id":174532,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:03:20] local.INFO: Acknowledgment sent {"connection_id":174532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:03:30] local.INFO: TCP Data received {"connection_id":174272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:03:30] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f495720012d7d35c005ec12b00007009219..."} 
[2026-09-08 10:03:30] local.INFO: Packet analysis {"connection_id":174272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:03:30] local.INFO: Extracted packet for processing {"connection_id":174272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f49"} 
[2026-09-08 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":7,"angle":146,"satellites":25,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-08 10:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943451392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788841908000,"timestamp_ms":1788841908000,"timestamp_seconds":1788841908,"priority":1,"record_length":96,"hex_timestamp":"000001a07f495720"} 
[2026-09-08 10:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 10:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 10:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 10:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 10:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943451392001,"66":2253,"109":206,"87":13824,"24":0,"16":129886545539760128,"45":9022328560174673920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-08 10:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 10:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 10:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943451392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:03:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 10:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 10:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943451392001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-08 10:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":174272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:03:30] local.INFO: GPS data processed {"connection_id":174272,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:03:30] local.INFO: Acknowledgment sent {"connection_id":174272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:03:32] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4a8fa0012d0b8080070343e0001201001e..."} 
[2026-09-08 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4a8fa0012d0b8080070343e0001201001e..."} 
[2026-09-08 10:03:32] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4a8fa0012d0b8080070343e0001201001e..."} 
[2026-09-08 10:03:32] local.INFO: Packet analysis {"connection_id":175617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4a"} 
[2026-09-08 10:03:32] local.INFO: Extracted packet for processing {"connection_id":175617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4a"} 
[2026-09-08 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":755728512,"raw_latitude":117654496,"longitude_deg":75.5728512,"latitude_deg":11.7654496,"altitude":18,"angle":256,"satellites":30,"speed":14,"hex_longitude":"2d0b8080","hex_latitude":"070343e0","is_valid_coordinates":true} 
[2026-09-08 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943548672001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746073144229888,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829225311509159936,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788841988000,"timestamp_ms":1788841988000,"timestamp_seconds":1788841988,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4a8fa0"} 
[2026-09-08 10:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 10:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943548672001,"66":14439,"37":206,"94":11008,"24":14,"16":30746073144229888,"45":829225311509159936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943548672001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:03:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:03:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746073144229888,"km_value":30746073144229.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":829225311509159936,"description":"Unknown IO ID 45"} 
[2026-09-08 10:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943548672001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":829225311509159936}} 
[2026-09-08 10:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":175617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:03:32] local.INFO: GPS data processed {"connection_id":175617,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:03:32] local.INFO: Acknowledgment sent {"connection_id":175617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:03:42] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:03:42] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:03:42] local.INFO: IMEI packet received {"connection_id":177037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":177037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:03:47] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:03:47] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:03:47] local.INFO: IMEI packet received {"connection_id":177037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":177037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:03:48] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:03:48] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:03:48] local.INFO: Packet analysis {"connection_id":177037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:03:48] local.INFO: Extracted packet for processing {"connection_id":177037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:03: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-09-08 10:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:03: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-09-08 10:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":177037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:03:48] local.INFO: GPS data processed {"connection_id":177037,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:03:48] local.INFO: Acknowledgment sent {"connection_id":177037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:03:53] local.INFO: TCP Data received {"connection_id":177039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:03:53] local.INFO: Processing buffer {"connection_id":177039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 10:03:53] local.INFO: IMEI packet received {"connection_id":177039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 10:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":177039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:03:58] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:58] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:58] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:03:59] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:59] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:03:59] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:04:02] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:04:02] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:04:02] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:04:02] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4a9388012d0b7ec0070343f00012010c1f..."} 
[2026-09-08 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4a9388012d0b7ec0070343f00012010c1f..."} 
[2026-09-08 10:04:02] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4a9388012d0b7ec0070343f00012010c1f..."} 
[2026-09-08 10:04:02] local.INFO: Packet analysis {"connection_id":174534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4a"} 
[2026-09-08 10:04:02] local.INFO: Extracted packet for processing {"connection_id":174534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4a"} 
[2026-09-08 10:04:02] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":117654512,"longitude_deg":75.5728064,"latitude_deg":11.7654512,"altitude":18,"angle":268,"satellites":31,"speed":16,"hex_longitude":"2d0b7ec0","hex_latitude":"070343f0","is_valid_coordinates":true} 
[2026-09-08 10:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943548928001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746094619066368,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828803099044077568,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788841989000,"timestamp_ms":1788841989000,"timestamp_seconds":1788841989,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4a9388"} 
[2026-09-08 10:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 10:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943548928001,"66":14439,"37":206,"94":11008,"24":16,"16":30746094619066368,"45":828803099044077568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943548928001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:04:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:04:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746094619066368,"km_value":30746094619066.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":828803099044077568,"description":"Unknown IO ID 45"} 
[2026-09-08 10:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943548928001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":828803099044077568}} 
[2026-09-08 10:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":174534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:04:02] local.INFO: GPS data processed {"connection_id":174534,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:04:02] local.INFO: Acknowledgment sent {"connection_id":174534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:04:22] local.INFO: TCP Data received {"connection_id":177037,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:04:22] local.INFO: Processing buffer {"connection_id":177037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:04:22] local.INFO: Packet analysis {"connection_id":177037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:04:22] local.INFO: Extracted packet for processing {"connection_id":177037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10: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-09-08 10:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":177037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:04:22] local.INFO: GPS data processed {"connection_id":177037,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:04:22] local.INFO: Acknowledgment sent {"connection_id":177037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:04:33] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4ae1a8012d0b6f00070344700012010c20..."} 
[2026-09-08 10:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4ae1a8012d0b6f00070344700012010c20..."} 
[2026-09-08 10:04:33] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4ae1a8012d0b6f00070344700012010c20..."} 
[2026-09-08 10:04:33] local.INFO: Packet analysis {"connection_id":174534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4a"} 
[2026-09-08 10:04:33] local.INFO: Extracted packet for processing {"connection_id":174534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4a"} 
[2026-09-08 10:04:33] local.INFO: GPS Element Parsed {"raw_longitude":755724032,"raw_latitude":117654640,"longitude_deg":75.5724032,"latitude_deg":11.765464,"altitude":18,"angle":268,"satellites":32,"speed":0,"hex_longitude":"2d0b6f00","hex_latitude":"07034470","is_valid_coordinates":true} 
[2026-09-08 10:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943549184001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746287892594688,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310517834838016,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788842009000,"timestamp_ms":1788842009000,"timestamp_seconds":1788842009,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4ae1a8"} 
[2026-09-08 10:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 10:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943549184001,"66":14439,"37":206,"94":11008,"24":0,"16":30746287892594688,"45":828310517834838016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943549184001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:04:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:04:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746287892594688,"km_value":30746287892594.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310517834838016,"description":"Unknown IO ID 45"} 
[2026-09-08 10:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943549184001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":828310517834838016}} 
[2026-09-08 10:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":174534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:04:33] local.INFO: GPS data processed {"connection_id":174534,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:04:33] local.INFO: Acknowledgment sent {"connection_id":174534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:04:42] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:04:42] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:04:42] local.INFO: IMEI packet received {"connection_id":174535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":174535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:04:48] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:04:48] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:04:48] local.INFO: IMEI packet received {"connection_id":174535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:04:49] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:04:49] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:04:49] local.INFO: Packet analysis {"connection_id":174535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:04:49] local.INFO: Extracted packet for processing {"connection_id":174535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:04: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-09-08 10:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":174535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:04:49] local.INFO: GPS data processed {"connection_id":174535,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:04:49] local.INFO: Acknowledgment sent {"connection_id":174535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:04:59] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:04:59] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:04:59] local.INFO: IMEI packet received {"connection_id":177040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":177040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:05:02] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:05:02] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:05:02] local.INFO: IMEI packet received {"connection_id":177040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":177040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:05:04] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.106.6.27","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 10:05:04] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 10:05:04] local.INFO: IMEI packet received {"connection_id":177040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":177040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:05:05] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4bf318012d0b4cc0070350d8001400fb21..."} 
[2026-09-08 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4bf318012d0b4cc0070350d8001400fb21..."} 
[2026-09-08 10:05:05] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07f4beb48012d0b5080070351980015010b21..."} 
[2026-09-08 10:05:05] local.INFO: Packet analysis {"connection_id":177040,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07f4b"} 
[2026-09-08 10:05:05] local.INFO: Extracted packet for processing {"connection_id":177040,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4b"} 
[2026-09-08 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":755716224,"raw_latitude":117658008,"longitude_deg":75.5716224,"latitude_deg":11.7658008,"altitude":21,"angle":267,"satellites":33,"speed":17,"hex_longitude":"2d0b5080","hex_latitude":"07035198","is_valid_coordinates":true} 
[2026-09-08 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943570176001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746743159128064,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818529262394912768,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788842077000,"timestamp_ms":1788842077000,"timestamp_seconds":1788842077,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4beb48"} 
[2026-09-08 10:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 10:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943570176001,"66":14352,"37":206,"94":11008,"24":17,"16":30746743159128064,"45":818529262394912768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943570176001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746743159128064,"km_value":30746743159128.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":818529262394912768,"description":"Unknown IO ID 45"} 
[2026-09-08 10:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943570176001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":818529262394912768}} 
[2026-09-08 10:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":177040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:05:05] local.INFO: GPS data processed {"connection_id":177040,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:05:05] local.INFO: Acknowledgment sent {"connection_id":177040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:05:05] local.INFO: Packet analysis {"connection_id":177040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4b"} 
[2026-09-08 10:05:05] local.INFO: Extracted packet for processing {"connection_id":177040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4b"} 
[2026-09-08 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":755715264,"raw_latitude":117657816,"longitude_deg":75.5715264,"latitude_deg":11.7657816,"altitude":20,"angle":251,"satellites":33,"speed":20,"hex_longitude":"2d0b4cc0","hex_latitude":"070350d8","is_valid_coordinates":true} 
[2026-09-08 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943571712001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746790403768320,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815292300162865152,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788842079000,"timestamp_ms":1788842079000,"timestamp_seconds":1788842079,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4bf318"} 
[2026-09-08 10:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6710081999870099466,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504068779868160,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639969099537189,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84736528622224200,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5066571575723520,"corrected_to":0} 
[2026-09-08 10:05:05] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7818256663781048338,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:05] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,37,94,24,241,157,16,60,160,211,45,79,21,32,10,66,59,133,192,78,19,118,128,1,240,34,227,127,3,4,113,205,9,110,108,33,239,56,2,109,7,18,206,144,200,11],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0},{"io_id":200,"original":5066571575723520,"validated":0}]} 
[2026-09-08 10:05:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513503186136137728,"timestamp_seconds":1513503186136137.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 10:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943571712001,"66":14330,"37":206,"94":11008,"24":20,"16":30746790403768320,"45":815292300162865152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943571712001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746790403768320,"km_value":30746790403768.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":815292300162865152,"description":"Unknown IO ID 45"} 
[2026-09-08 10:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943571712001,"power":14330,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":815292300162865152}} 
[2026-09-08 10:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":177040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:05:06] local.INFO: GPS data processed {"connection_id":177040,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:05:06] local.INFO: Acknowledgment sent {"connection_id":177040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:05:07] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4bfed0012d0b464007034f900014010921..."} 
[2026-09-08 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4bfed0012d0b464007034f900014010921..."} 
[2026-09-08 10:05:07] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4bfed0012d0b464007034f900014010921..."} 
[2026-09-08 10:05:07] local.INFO: Packet analysis {"connection_id":177040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4b"} 
[2026-09-08 10:05:07] local.INFO: Extracted packet for processing {"connection_id":177040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4b"} 
[2026-09-08 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":755713600,"raw_latitude":117657488,"longitude_deg":75.57136,"latitude_deg":11.7657488,"altitude":20,"angle":265,"satellites":33,"speed":20,"hex_longitude":"2d0b4640","hex_latitude":"07034f90","is_valid_coordinates":true} 
[2026-09-08 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943572224001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746872008146944,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769000151040,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788842082000,"timestamp_ms":1788842082000,"timestamp_seconds":1788842082,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4bfed0"} 
[2026-09-08 10:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-08 10:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943572224001,"66":14428,"37":206,"94":11008,"24":20,"16":30746872008146944,"45":814236769000151040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943572224001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:05:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:05:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746872008146944,"km_value":30746872008146.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769000151040,"description":"Unknown IO ID 45"} 
[2026-09-08 10:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943572224001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":814236769000151040}} 
[2026-09-08 10:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":177040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:05:07] local.INFO: GPS data processed {"connection_id":177040,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:05:07] local.INFO: Acknowledgment sent {"connection_id":177040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:05:21] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:05:21] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f476ed8012d34c14006aa42b8000a010b2c..."} 
[2026-09-08 10:05:21] local.INFO: Packet analysis {"connection_id":174535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:05:21] local.INFO: Extracted packet for processing {"connection_id":174535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f47"} 
[2026-09-08 10:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788841783000,"timestamp_ms":1788841783000,"timestamp_seconds":1788841783,"priority":1,"record_length":96,"hex_timestamp":"000001a07f476ed8"} 
[2026-09-08 10:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:05: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-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:05: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-09-08 10:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943419392001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:05:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943419392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":174535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:05:21] local.INFO: GPS data processed {"connection_id":174535,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:05:21] local.INFO: Acknowledgment sent {"connection_id":174535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:05:47] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:05:47] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:05:47] local.INFO: IMEI packet received {"connection_id":174536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:05:52] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:05:52] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:05:52] local.INFO: IMEI packet received {"connection_id":174536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":174536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:05:52] local.INFO: TCP Data received {"connection_id":177040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c02b8012d0b444007034fd80014011720..."} 
[2026-09-08 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c02b8012d0b444007034fd80014011720..."} 
[2026-09-08 10:05:52] local.INFO: Processing buffer {"connection_id":177040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c02b8012d0b444007034fd80014011720..."} 
[2026-09-08 10:05:52] local.INFO: Packet analysis {"connection_id":177040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:05:52] local.INFO: Extracted packet for processing {"connection_id":177040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755713088,"raw_latitude":117657560,"longitude_deg":75.5713088,"latitude_deg":11.765756,"altitude":20,"angle":279,"satellites":32,"speed":19,"hex_longitude":"2d0b4440","hex_latitude":"07034fd8","is_valid_coordinates":true} 
[2026-09-08 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943572992001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746897777950720,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812407181651447808,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788842083000,"timestamp_ms":1788842083000,"timestamp_seconds":1788842083,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c02b8"} 
[2026-09-08 10:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 10:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943572992001,"66":14428,"37":206,"94":11008,"24":19,"16":30746897777950720,"45":812407181651447808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943572992001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:05:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746897777950720,"km_value":30746897777950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":812407181651447808,"description":"Unknown IO ID 45"} 
[2026-09-08 10:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943572992001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":812407181651447808}} 
[2026-09-08 10:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":177040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:05:52] local.INFO: GPS data processed {"connection_id":177040,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:05:52] local.INFO: Acknowledgment sent {"connection_id":177040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:05:53] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:05:53] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:05:53] local.INFO: Packet analysis {"connection_id":174536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:05:53] local.INFO: Extracted packet for processing {"connection_id":174536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":174536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:05:53] local.INFO: GPS data processed {"connection_id":174536,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:05:53] local.INFO: Acknowledgment sent {"connection_id":174536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:06:13] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:13] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:13] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:06:19] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:19] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:19] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:06:20] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d0b428007035060001501231f..."} 
[2026-09-08 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d0b428007035060001501231f..."} 
[2026-09-08 10:06:20] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d0b428007035060001501231f..."} 
[2026-09-08 10:06:20] local.INFO: Packet analysis {"connection_id":174274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:20] local.INFO: Extracted packet for processing {"connection_id":174274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:20] local.INFO: GPS Element Parsed {"raw_longitude":755712640,"raw_latitude":117657696,"longitude_deg":75.571264,"latitude_deg":11.7657696,"altitude":21,"angle":291,"satellites":31,"speed":19,"hex_longitude":"2d0b4280","hex_latitude":"07035060","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573248001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30746919252787200,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811844231698044928,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 10:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573248001,"66":14396,"37":206,"94":11008,"24":19,"16":30746919252787200,"45":811844231698044928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573248001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:06:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:06:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30746919252787200,"km_value":30746919252787.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":811844231698044928,"description":"Unknown IO ID 45"} 
[2026-09-08 10:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573248001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":811844231698044928}} 
[2026-09-08 10:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":174274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783048,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:06:20] local.INFO: GPS data processed {"connection_id":174274,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:06:20] local.INFO: Acknowledgment sent {"connection_id":174274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:06:23] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c29c8012d0b2dc0070357d8001401171f..."} 
[2026-09-08 10:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c29c8012d0b2dc0070357d8001401171f..."} 
[2026-09-08 10:06:23] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c29c8012d0b2dc0070357d8001401171f..."} 
[2026-09-08 10:06:23] local.INFO: Packet analysis {"connection_id":174274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:23] local.INFO: Extracted packet for processing {"connection_id":174274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755707328,"raw_latitude":117659608,"longitude_deg":75.5707328,"latitude_deg":11.7659608,"altitude":20,"angle":279,"satellites":31,"speed":26,"hex_longitude":"2d0b2dc0","hex_latitude":"070357d8","is_valid_coordinates":true} 
[2026-09-08 10:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30747189835726848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811351650488836096,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788842093000,"timestamp_ms":1788842093000,"timestamp_seconds":1788842093,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c29c8"} 
[2026-09-08 10:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 10:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":14428,"37":206,"94":11008,"24":26,"16":30747189835726848,"45":811351650488836096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 10:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:06:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 10:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30747189835726848,"km_value":30747189835726.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":811351650488836096,"description":"Unknown IO ID 45"} 
[2026-09-08 10:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":811351650488836096}} 
[2026-09-08 10:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":174274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:06:23] local.INFO: GPS data processed {"connection_id":174274,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:06:23] local.INFO: Acknowledgment sent {"connection_id":174274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:06:25] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:06:25] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:06:25] local.INFO: Packet analysis {"connection_id":174536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:25] local.INFO: Extracted packet for processing {"connection_id":174536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":174536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:06:25] local.INFO: GPS data processed {"connection_id":174536,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:06:25] local.INFO: Acknowledgment sent {"connection_id":174536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:06:43] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:06:43] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:06:43] local.INFO: IMEI packet received {"connection_id":175619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":175619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:06:47] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:06:47] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:06:47] local.INFO: IMEI packet received {"connection_id":175619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":175619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:06:49] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:06:49] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:06:49] local.INFO: Packet analysis {"connection_id":175619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:49] local.INFO: Extracted packet for processing {"connection_id":175619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:06: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-09-08 10:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":175619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:06:49] local.INFO: GPS data processed {"connection_id":175619,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:06:49] local.INFO: Acknowledgment sent {"connection_id":175619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:06:59] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:59] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:06:59] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:06:59] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 10:07:00] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 10:07:00] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:07:01] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 10:07:01] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 10:07:01] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:07:01] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4dfaa0012d0b118007033348000d00c720..."} 
[2026-09-08 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4dfaa0012d0b118007033348000d00c720..."} 
[2026-09-08 10:07:01] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07f..."} 
[2026-09-08 10:07:01] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:07:03] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4e0658012d0b0e4007032c80000c00d720..."} 
[2026-09-08 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4e0658012d0b0e4007032c80000c00d720..."} 
[2026-09-08 10:07:03] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a07f4dcfa8012d0b208007035598000f00ce21..."} 
[2026-09-08 10:07:03] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a07f4d"} 
[2026-09-08 10:07:03] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07f4d"} 
[2026-09-08 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":755703936,"raw_latitude":117659032,"longitude_deg":75.5703936,"latitude_deg":11.7659032,"altitude":15,"angle":206,"satellites":33,"speed":20,"hex_longitude":"2d0b2080","hex_latitude":"07035598","is_valid_coordinates":true} 
[2026-09-08 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943602944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30747756771409920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802344451234654208,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788842201000,"timestamp_ms":1788842201000,"timestamp_seconds":1788842201,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4dcfa8"} 
[2026-09-08 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943602944001,"66":14461,"17":206,"94":11008,"24":20,"16":30747756771409920,"45":802344451234654208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943602944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30747756771409920,"km_value":30747756771409.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":802344451234654208,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943602944001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":802344451234654208}} 
[2026-09-08 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:03] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:03] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:03] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07f4d"} 
[2026-09-08 10:07:03] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4d"} 
[2026-09-08 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":117650248,"longitude_deg":75.5700096,"latitude_deg":11.7650248,"altitude":13,"angle":199,"satellites":32,"speed":31,"hex_longitude":"2d0b1180","hex_latitude":"07033348","is_valid_coordinates":true} 
[2026-09-08 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943603456001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30748220627877888,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801781501281015808,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788842212000,"timestamp_ms":1788842212000,"timestamp_seconds":1788842212,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4dfaa0"} 
[2026-09-08 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943603456001,"66":14352,"17":206,"94":11008,"24":31,"16":30748220627877888,"45":801781501281015808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943603456001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30748220627877888,"km_value":30748220627877.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":801781501281015808,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943603456001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":801781501281015808}} 
[2026-09-08 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783053,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:03] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:03] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:03] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4e"} 
[2026-09-08 10:07:03] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4e"} 
[2026-09-08 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117648512,"longitude_deg":75.5699264,"latitude_deg":11.7648512,"altitude":12,"angle":215,"satellites":32,"speed":22,"hex_longitude":"2d0b0e40","hex_latitude":"07032c80","is_valid_coordinates":true} 
[2026-09-08 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943606272001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30748315117158400,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376628107264,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788842215000,"timestamp_ms":1788842215000,"timestamp_seconds":1788842215,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4e0658"} 
[2026-09-08 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504068796645376,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336274961,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147943264,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84736250523091815,"corrected_to":0} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":5066644590166016,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2900325871097217044,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,17,94,24,241,157,16,61,160,207,45,128,85,15,33,10,66,60,199,88,32,192,1,240,114,227,127,3,4,113,205,63,38,72,31,239,56,37,2,109,7,206,200,104,11],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0},{"io_id":200,"original":84736250523091815,"validated":0}]} 
[2026-09-08 10:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936967662747975680,"timestamp_seconds":936967662747975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943606272001,"66":14515,"17":206,"94":11008,"24":22,"16":30748315117158400,"45":797559376628107264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943606272001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30748315117158400,"km_value":30748315117158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376628107264,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943606272001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":797559376628107264}} 
[2026-09-08 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:03] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:03] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:08] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4e0a40012d0b0cc007032b10000c00e322..."} 
[2026-09-08 10:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4e0a40012d0b0cc007032b10000c00e322..."} 
[2026-09-08 10:07:08] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4e0a40012d0b0cc007032b10000c00e322..."} 
[2026-09-08 10:07:08] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4e"} 
[2026-09-08 10:07:08] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4e"} 
[2026-09-08 10:07:08] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117648144,"longitude_deg":75.569888,"latitude_deg":11.7648144,"altitude":12,"angle":227,"satellites":34,"speed":21,"hex_longitude":"2d0b0cc0","hex_latitude":"07032b10","is_valid_coordinates":true} 
[2026-09-08 10:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943607040001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30748340886962176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582953353216,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788842216000,"timestamp_ms":1788842216000,"timestamp_seconds":1788842216,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4e0a40"} 
[2026-09-08 10:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943607040001,"66":14494,"17":206,"94":11008,"24":21,"16":30748340886962176,"45":796644582953353216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 10:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943607040001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30748340886962176,"km_value":30748340886962.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582953353216,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943607040001,"power":14494,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":796644582953353216}} 
[2026-09-08 10:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:08] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:08] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:21] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:07:21] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:07:21] local.INFO: Packet analysis {"connection_id":175619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:07:21] local.INFO: Extracted packet for processing {"connection_id":175619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07: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-09-08 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:07: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-09-08 10:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":175619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:21] local.INFO: GPS data processed {"connection_id":175619,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:21] local.INFO: Acknowledgment sent {"connection_id":175619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:39] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4e1210012d0b0900070327c8000b00d823..."} 
[2026-09-08 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4e1210012d0b0900070327c8000b00d823..."} 
[2026-09-08 10:07:39] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4e1210012d0b0900070327c8000b00d823..."} 
[2026-09-08 10:07:39] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4e"} 
[2026-09-08 10:07:39] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4e"} 
[2026-09-08 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":755697920,"raw_latitude":117647304,"longitude_deg":75.569792,"latitude_deg":11.7647304,"altitude":11,"angle":216,"satellites":35,"speed":23,"hex_longitude":"2d0b0900","hex_latitude":"070327c8","is_valid_coordinates":true} 
[2026-09-08 10:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943607296001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30748401016504320,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370488193024,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788842218000,"timestamp_ms":1788842218000,"timestamp_seconds":1788842218,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4e1210"} 
[2026-09-08 10:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 10:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 10:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 10:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943607296001,"66":14559,"17":206,"94":11008,"24":23,"16":30748401016504320,"45":796222370488193024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 10:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 10:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 10:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943607296001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 10:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30748401016504320,"km_value":30748401016504.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370488193024,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943607296001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":796222370488193024}} 
[2026-09-08 10:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:39] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:39] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:42] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:07:42] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:07:42] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:07:45] local.INFO: TCP Data received {"connection_id":174538,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:07:45] local.INFO: Processing buffer {"connection_id":174538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:07:45] local.INFO: IMEI packet received {"connection_id":174538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:07:47] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:07:47] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:07:47] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:07:48] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:07:48] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:07:48] local.INFO: Packet analysis {"connection_id":174537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:07:48] local.INFO: Extracted packet for processing {"connection_id":174537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:07: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-09-08 10:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":174537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:07:48] local.INFO: GPS data processed {"connection_id":174537,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:07:48] local.INFO: Acknowledgment sent {"connection_id":174537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:07:56] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:56] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:56] local.INFO: IMEI packet received {"connection_id":177041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":177041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:07:57] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:57] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:57] local.INFO: IMEI packet received {"connection_id":177041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":177041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:07:58] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:58] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:58] local.INFO: IMEI packet received {"connection_id":177041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":177041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:07:58] local.INFO: TCP Data received {"connection_id":177041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177041,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:58] local.INFO: Processing buffer {"connection_id":177041,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 10:07:58] local.INFO: IMEI packet received {"connection_id":177041,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 10:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":177041,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:08:20] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:08:20] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:08:20] local.INFO: Packet analysis {"connection_id":174537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:08:20] local.INFO: Extracted packet for processing {"connection_id":174537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:08: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-09-08 10: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":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:08: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-09-08 10:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":174537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:08:20] local.INFO: GPS data processed {"connection_id":174537,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:08:20] local.INFO: Acknowledgment sent {"connection_id":174537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:08:48] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:08:48] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:08:48] local.INFO: IMEI packet received {"connection_id":174276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":174276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:08:52] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:08:52] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:08:52] local.INFO: IMEI packet received {"connection_id":174276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":174276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:08:54] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:08:54] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:08:54] local.INFO: Packet analysis {"connection_id":174276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:08:54] local.INFO: Extracted packet for processing {"connection_id":174276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:08:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":174276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:08:54] local.INFO: GPS data processed {"connection_id":174276,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:08:54] local.INFO: Acknowledgment sent {"connection_id":174276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:09:00] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:09:00] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:09:00] local.INFO: Packet analysis {"connection_id":174276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:09:00] local.INFO: Extracted packet for processing {"connection_id":174276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:09: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-09-08 10:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:09:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:09:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":174276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:09:00] local.INFO: GPS data processed {"connection_id":174276,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:09:00] local.INFO: Acknowledgment sent {"connection_id":174276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:09:42] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:09:42] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:09:42] local.INFO: IMEI packet received {"connection_id":174277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":174277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:09:47] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:09:47] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:09:47] local.INFO: IMEI packet received {"connection_id":174277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":174277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:09:49] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:09:49] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:09:49] local.INFO: Packet analysis {"connection_id":174277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:09:49] local.INFO: Extracted packet for processing {"connection_id":174277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:09: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-09-08 10:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":174277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:09:49] local.INFO: GPS data processed {"connection_id":174277,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:09:49] local.INFO: Acknowledgment sent {"connection_id":174277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:10:21] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:10:21] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f4c06a0012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:10:21] local.INFO: Packet analysis {"connection_id":174277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:10:21] local.INFO: Extracted packet for processing {"connection_id":174277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f4c"} 
[2026-09-08 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943496448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788842084000,"timestamp_ms":1788842084000,"timestamp_seconds":1788842084,"priority":1,"record_length":96,"hex_timestamp":"000001a07f4c06a0"} 
[2026-09-08 10:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:10: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-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:10: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-09-08 10:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943496448001,"66":25582,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943496448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943496448001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":174277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:10:21] local.INFO: GPS data processed {"connection_id":174277,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:10:21] local.INFO: Acknowledgment sent {"connection_id":174277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:10:42] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:10:42] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:10:42] local.INFO: IMEI packet received {"connection_id":174278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":174278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:10:47] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:10:47] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:10:47] local.INFO: IMEI packet received {"connection_id":174278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":174278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:10:49] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:10:49] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:10:49] local.INFO: Packet analysis {"connection_id":174278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:10:49] local.INFO: Extracted packet for processing {"connection_id":174278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:10: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-09-08 10:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":174278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:10:49] local.INFO: GPS data processed {"connection_id":174278,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:10:49] local.INFO: Acknowledgment sent {"connection_id":174278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:11:21] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:21] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:21] local.INFO: Packet analysis {"connection_id":174278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:11:21] local.INFO: Extracted packet for processing {"connection_id":174278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:11: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-09-08 10:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:11: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-09-08 10:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:11:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":174278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:11:21] local.INFO: GPS data processed {"connection_id":174278,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:11:21] local.INFO: Acknowledgment sent {"connection_id":174278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:11:47] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:11:47] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:11:47] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:11:52] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:11:52] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:11:52] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:11:54] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:54] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:54] local.INFO: Packet analysis {"connection_id":175624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:11:54] local.INFO: Extracted packet for processing {"connection_id":175624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":175624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:11:54] local.INFO: GPS data processed {"connection_id":175624,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:11:54] local.INFO: Acknowledgment sent {"connection_id":175624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:11:58] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:58] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:11:58] local.INFO: Packet analysis {"connection_id":175624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:11:58] local.INFO: Extracted packet for processing {"connection_id":175624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:11:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:11:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":175624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:11:58] local.INFO: GPS data processed {"connection_id":175624,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:11:58] local.INFO: Acknowledgment sent {"connection_id":175624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:12:42] local.INFO: TCP Data received {"connection_id":177043,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:12:42] local.INFO: Processing buffer {"connection_id":177043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:12:42] local.INFO: IMEI packet received {"connection_id":177043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":177043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:12:47] local.INFO: TCP Data received {"connection_id":177043,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:12:47] local.INFO: Processing buffer {"connection_id":177043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:12:47] local.INFO: IMEI packet received {"connection_id":177043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":177043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:12:48] local.INFO: TCP Data received {"connection_id":177043,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:12:48] local.INFO: Processing buffer {"connection_id":177043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:12:48] local.INFO: Packet analysis {"connection_id":177043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:12:48] local.INFO: Extracted packet for processing {"connection_id":177043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:12: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-09-08 10:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":177043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:12:48] local.INFO: GPS data processed {"connection_id":177043,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:12:48] local.INFO: Acknowledgment sent {"connection_id":177043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:13:10] local.INFO: TCP Data received {"connection_id":174542,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:13:10] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:13:10] local.INFO: IMEI packet received {"connection_id":174542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":174542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:13:20] local.INFO: TCP Data received {"connection_id":177043,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:13:20] local.INFO: Processing buffer {"connection_id":177043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:13:20] local.INFO: Packet analysis {"connection_id":177043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:13:20] local.INFO: Extracted packet for processing {"connection_id":177043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:13: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-09-08 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:13: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-09-08 10:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":177043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:13:20] local.INFO: GPS data processed {"connection_id":177043,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:13:20] local.INFO: Acknowledgment sent {"connection_id":177043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:13:43] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:13:43] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:13:43] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:13:47] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:13:47] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:13:47] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:13:49] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:13:49] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:13:49] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:13:49] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:13:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:13:49] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:13:49] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:14:22] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:14:22] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:14:22] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:14:22] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:14: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-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:14:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:14:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:14:22] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:14:22] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:14:42] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:14:42] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:14:42] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:14:47] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:14:47] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:14:47] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:14:50] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:14:50] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:14:50] local.INFO: Packet analysis {"connection_id":175625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:14:50] local.INFO: Extracted packet for processing {"connection_id":175625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:14:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":175625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:14:50] local.INFO: GPS data processed {"connection_id":175625,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:14:50] local.INFO: Acknowledgment sent {"connection_id":175625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:15:23] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:15:23] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f509e68012d34c14006aa42b8000a010b2b..."} 
[2026-09-08 10:15:23] local.INFO: Packet analysis {"connection_id":175625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:15:23] local.INFO: Extracted packet for processing {"connection_id":175625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f50"} 
[2026-09-08 10:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943573504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788842385000,"timestamp_ms":1788842385000,"timestamp_seconds":1788842385,"priority":1,"record_length":96,"hex_timestamp":"000001a07f509e68"} 
[2026-09-08 10:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:15: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-09-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 10:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943573504001,"66":25549,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943573504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943573504001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":175625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:15:23] local.INFO: GPS data processed {"connection_id":175625,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:15:23] local.INFO: Acknowledgment sent {"connection_id":175625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:15:42] local.INFO: TCP Data received {"connection_id":177045,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:15:42] local.INFO: Processing buffer {"connection_id":177045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:15:42] local.INFO: IMEI packet received {"connection_id":177045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":177045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:15:47] local.INFO: TCP Data received {"connection_id":177045,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:15:47] local.INFO: Processing buffer {"connection_id":177045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:15:47] local.INFO: IMEI packet received {"connection_id":177045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":177045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:15:49] local.INFO: TCP Data received {"connection_id":177045,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f553630012d34c14006aa42b8000a010b29..."} 
[2026-09-08 10:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f553630012d34c14006aa42b8000a010b29..."} 
[2026-09-08 10:15:49] local.INFO: Processing buffer {"connection_id":177045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f553630012d34c14006aa42b8000a010b29..."} 
[2026-09-08 10:15:49] local.INFO: Packet analysis {"connection_id":177045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f55"} 
[2026-09-08 10:15:49] local.INFO: Extracted packet for processing {"connection_id":177045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f55"} 
[2026-09-08 10:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943650560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842686000,"timestamp_ms":1788842686000,"timestamp_seconds":1788842686,"priority":1,"record_length":96,"hex_timestamp":"000001a07f553630"} 
[2026-09-08 10:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 10:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943650560001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943650560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943650560001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":177045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:15:49] local.INFO: GPS data processed {"connection_id":177045,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:15:49] local.INFO: Acknowledgment sent {"connection_id":177045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:16:20] local.INFO: TCP Data received {"connection_id":177045,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f553630012d34c14006aa42b8000a010b29..."} 
[2026-09-08 10:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f553630012d34c14006aa42b8000a010b29..."} 
[2026-09-08 10:16:20] local.INFO: Processing buffer {"connection_id":177045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f553630012d34c14006aa42b8000a010b29..."} 
[2026-09-08 10:16:20] local.INFO: Packet analysis {"connection_id":177045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f55"} 
[2026-09-08 10:16:20] local.INFO: Extracted packet for processing {"connection_id":177045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f55"} 
[2026-09-08 10:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943650560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842686000,"timestamp_ms":1788842686000,"timestamp_seconds":1788842686,"priority":1,"record_length":96,"hex_timestamp":"000001a07f553630"} 
[2026-09-08 10:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:16: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-09-08 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 10:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943650560001,"66":25593,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943650560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943650560001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":177045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:16:20] local.INFO: GPS data processed {"connection_id":177045,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:16:20] local.INFO: Acknowledgment sent {"connection_id":177045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:16:47] local.INFO: TCP Data received {"connection_id":175626,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:16:47] local.INFO: Processing buffer {"connection_id":175626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:16:47] local.INFO: IMEI packet received {"connection_id":175626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:16:52] local.INFO: TCP Data received {"connection_id":175626,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:16:52] local.INFO: Processing buffer {"connection_id":175626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:16:52] local.INFO: IMEI packet received {"connection_id":175626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":175626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:17:00] local.INFO: TCP Data received {"connection_id":175626,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f565358012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f565358012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:17:00] local.INFO: Processing buffer {"connection_id":175626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f565358012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:17:00] local.INFO: Packet analysis {"connection_id":175626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f56"} 
[2026-09-08 10:17:00] local.INFO: Extracted packet for processing {"connection_id":175626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f56"} 
[2026-09-08 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943727616001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788842759000,"timestamp_ms":1788842759000,"timestamp_seconds":1788842759,"priority":1,"record_length":96,"hex_timestamp":"000001a07f565358"} 
[2026-09-08 10:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 10:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943727616001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943727616001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943727616001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":175626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:17:00] local.INFO: GPS data processed {"connection_id":175626,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:17:00] local.INFO: Acknowledgment sent {"connection_id":175626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:17:03] local.INFO: TCP Data received {"connection_id":175626,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f565358012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f565358012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:17:03] local.INFO: Processing buffer {"connection_id":175626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f565358012d34c14006aa42b8000a010b2a..."} 
[2026-09-08 10:17:03] local.INFO: Packet analysis {"connection_id":175626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f56"} 
[2026-09-08 10:17:03] local.INFO: Extracted packet for processing {"connection_id":175626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f56"} 
[2026-09-08 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821496,"longitude_deg":75.8432064,"latitude_deg":11.1821496,"altitude":10,"angle":267,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa42b8","is_valid_coordinates":true} 
[2026-09-08 10:17: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-09-08 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943727616001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788842759000,"timestamp_ms":1788842759000,"timestamp_seconds":1788842759,"priority":1,"record_length":96,"hex_timestamp":"000001a07f565358"} 
[2026-09-08 10:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 10:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943727616001,"66":25615,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943727616001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943727616001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":175626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:17:03] local.INFO: GPS data processed {"connection_id":175626,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:17:03] local.INFO: Acknowledgment sent {"connection_id":175626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:17:42] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:17:42] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:17:42] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:17:43] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:17:43] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:17:43] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:17:44] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f56b8e8012d34bf4006aa42e8000a010b28..."} 
[2026-09-08 10:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f56b8e8012d34bf4006aa42e8000a010b28..."} 
[2026-09-08 10:17:44] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f56b8e8012d34bf4006aa42e8000a010b28..."} 
[2026-09-08 10:17:44] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f56"} 
[2026-09-08 10:17:44] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f56"} 
[2026-09-08 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 10:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943746304001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847889920,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788842785000,"timestamp_ms":1788842785000,"timestamp_seconds":1788842785,"priority":1,"record_length":96,"hex_timestamp":"000001a07f56b8e8"} 
[2026-09-08 10:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 10:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943746304001,"66":27908,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3801389957847889920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943746304001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847889920,"description":"Unknown IO ID 45"} 
[2026-09-08 10:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943746304001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847889920}} 
[2026-09-08 10:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:17:44] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:17:44] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:17:48] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f570af0012d34bf4006aa42e8000a010b2c..."} 
[2026-09-08 10:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f570af0012d34bf4006aa42e8000a010b2c..."} 
[2026-09-08 10:17:48] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f570af0012d34bf4006aa42e8000a010b2c..."} 
[2026-09-08 10:17:48] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:17:48] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111821544,"longitude_deg":75.8431552,"latitude_deg":11.1821544,"altitude":10,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-09-08 10:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943752960001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624570927874048,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 10:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788842806000,"timestamp_ms":1788842806000,"timestamp_seconds":1788842806,"priority":1,"record_length":96,"hex_timestamp":"000001a07f570af0"} 
[2026-09-08 10:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 10:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943752960001,"66":27919,"97":206,"81":23296,"24":0,"16":402624570927874048,"45":3800827007894480896},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943752960001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624570927874048,"km_value":402624570927874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 10:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943752960001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 10:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:17:48] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:17:48] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:18:19] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f573200012d34bf8006aa4318000800582d..."} 
[2026-09-08 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f573200012d34bf8006aa4318000800582d..."} 
[2026-09-08 10:18:19] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f573200012d34bf8006aa4318000800582d..."} 
[2026-09-08 10:18:19] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:18:19] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111821592,"longitude_deg":75.8431616,"latitude_deg":11.1821592,"altitude":8,"angle":88,"satellites":45,"speed":2,"hex_longitude":"2d34bf80","hex_latitude":"06aa4318","is_valid_coordinates":true} 
[2026-09-08 10:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943758336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624575222841344,"note":"Value kept but may cause issues"} 
[2026-09-08 10:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894480896,"note":"Value kept but may cause issues"} 
[2026-09-08 10:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788842816000,"timestamp_ms":1788842816000,"timestamp_seconds":1788842816,"priority":1,"record_length":96,"hex_timestamp":"000001a07f573200"} 
[2026-09-08 10:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 10:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943758336001,"66":27865,"97":206,"81":23296,"24":2,"16":402624575222841344,"45":3800827007894480896},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943758336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624575222841344,"km_value":402624575222841.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894480896,"description":"Unknown IO ID 45"} 
[2026-09-08 10:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943758336001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3800827007894480896}} 
[2026-09-08 10:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:18:20] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:18:20] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:18:43] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:18:43] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:18:43] local.INFO: IMEI packet received {"connection_id":174280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":174280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:18:47] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:18:47] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:18:47] local.INFO: IMEI packet received {"connection_id":174280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":174280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:18:49] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:18:49] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:18:49] local.INFO: Packet analysis {"connection_id":174280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:18:49] local.INFO: Extracted packet for processing {"connection_id":174280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":174280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:18:49] local.INFO: GPS data processed {"connection_id":174280,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:18:49] local.INFO: Acknowledgment sent {"connection_id":174280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:18:50] local.INFO: TCP Data received {"connection_id":177046,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:18:50] local.INFO: Processing buffer {"connection_id":177046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:18:50] local.INFO: IMEI packet received {"connection_id":177046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":177046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:19:20] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:19:20] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:19:20] local.INFO: Packet analysis {"connection_id":174280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:19:20] local.INFO: Extracted packet for processing {"connection_id":174280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":174280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:19:20] local.INFO: GPS data processed {"connection_id":174280,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:19:20] local.INFO: Acknowledgment sent {"connection_id":174280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:19:42] local.INFO: TCP Data received {"connection_id":177047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:19:42] local.INFO: Processing buffer {"connection_id":177047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:19:42] local.INFO: IMEI packet received {"connection_id":177047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":177047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:19:47] local.INFO: TCP Data received {"connection_id":177047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:19:47] local.INFO: Processing buffer {"connection_id":177047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:19:47] local.INFO: IMEI packet received {"connection_id":177047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":177047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:19:48] local.INFO: TCP Data received {"connection_id":177047,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:19:48] local.INFO: Processing buffer {"connection_id":177047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:19:48] local.INFO: Packet analysis {"connection_id":177047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:19:48] local.INFO: Extracted packet for processing {"connection_id":177047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:19: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-09-08 10:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":177047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:19:48] local.INFO: GPS data processed {"connection_id":177047,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:19:48] local.INFO: Acknowledgment sent {"connection_id":177047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:20:20] local.INFO: TCP Data received {"connection_id":177047,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:20] local.INFO: Processing buffer {"connection_id":177047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:20] local.INFO: Packet analysis {"connection_id":177047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:20:20] local.INFO: Extracted packet for processing {"connection_id":177047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:20: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-09-08 10:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":177047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:20:20] local.INFO: GPS data processed {"connection_id":177047,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:20:20] local.INFO: Acknowledgment sent {"connection_id":177047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:20:47] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:20:47] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:20:47] local.INFO: IMEI packet received {"connection_id":174547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:20:52] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:20:52] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:20:52] local.INFO: IMEI packet received {"connection_id":174547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":174547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:20:53] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:53] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:53] local.INFO: Packet analysis {"connection_id":174547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:20:53] local.INFO: Extracted packet for processing {"connection_id":174547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":174547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:20:53] local.INFO: GPS data processed {"connection_id":174547,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:20:53] local.INFO: Acknowledgment sent {"connection_id":174547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:20:59] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:59] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:20:59] local.INFO: Packet analysis {"connection_id":174547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:20:59] local.INFO: Extracted packet for processing {"connection_id":174547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:20: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-09-08 10:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:20:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:20:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":174547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:20:59] local.INFO: GPS data processed {"connection_id":174547,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:20:59] local.INFO: Acknowledgment sent {"connection_id":174547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:21:42] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:21:42] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:21:42] local.INFO: IMEI packet received {"connection_id":175628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":175628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:21:47] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:21:47] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:21:47] local.INFO: IMEI packet received {"connection_id":175628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:21:49] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:21:49] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:21:49] local.INFO: Packet analysis {"connection_id":175628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:21:49] local.INFO: Extracted packet for processing {"connection_id":175628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":175628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:21:49] local.INFO: GPS data processed {"connection_id":175628,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:21:49] local.INFO: Acknowledgment sent {"connection_id":175628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:22:20] local.INFO: TCP Data received {"connection_id":175628,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:22:20] local.INFO: Processing buffer {"connection_id":175628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:22:20] local.INFO: Packet analysis {"connection_id":175628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:22:20] local.INFO: Extracted packet for processing {"connection_id":175628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:22: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-09-08 10:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":175628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:22:20] local.INFO: GPS data processed {"connection_id":175628,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:22:20] local.INFO: Acknowledgment sent {"connection_id":175628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:22:42] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:22:42] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:22:42] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:22:47] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:22:47] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:22:47] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:22:48] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:22:48] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f575140012d34c18006aa43380008005a2c..."} 
[2026-09-08 10:22:48] local.INFO: Packet analysis {"connection_id":174550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:22:48] local.INFO: Extracted packet for processing {"connection_id":174550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f57"} 
[2026-09-08 10:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111821624,"longitude_deg":75.8432128,"latitude_deg":11.1821624,"altitude":8,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4338","is_valid_coordinates":true} 
[2026-09-08 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943760896001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376638670848,"note":"Value kept but may cause issues"} 
[2026-09-08 10:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788842824000,"timestamp_ms":1788842824000,"timestamp_seconds":1788842824,"priority":1,"record_length":96,"hex_timestamp":"000001a07f575140"} 
[2026-09-08 10:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 10:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:22: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-09-08 10:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943760896001,"66":27876,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3800897376638670848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943760896001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376638670848,"description":"Unknown IO ID 45"} 
[2026-09-08 10:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943760896001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800897376638670848}} 
[2026-09-08 10:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":174550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:22:48] local.INFO: GPS data processed {"connection_id":174550,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:22:48] local.INFO: Acknowledgment sent {"connection_id":174550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:23:20] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:23:20] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:23:20] local.INFO: Packet analysis {"connection_id":174550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:23:20] local.INFO: Extracted packet for processing {"connection_id":174550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:23: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-09-08 10:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":174550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:23:20] local.INFO: GPS data processed {"connection_id":174550,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:23:20] local.INFO: Acknowledgment sent {"connection_id":174550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:23:42] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:23:42] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:23:42] local.INFO: IMEI packet received {"connection_id":174281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":174281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:23:47] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:23:47] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:23:47] local.INFO: IMEI packet received {"connection_id":174281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":174281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:23:49] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:23:49] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:23:49] local.INFO: Packet analysis {"connection_id":174281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:23:49] local.INFO: Extracted packet for processing {"connection_id":174281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:23:49] local.INFO: GPS data processed {"connection_id":174281,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:23:49] local.INFO: Acknowledgment sent {"connection_id":174281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:24:10] local.INFO: TCP Data received {"connection_id":177049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:24:10] local.INFO: Processing buffer {"connection_id":177049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:24:10] local.INFO: IMEI packet received {"connection_id":177049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":177049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:24:23] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:23] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:23] local.INFO: Packet analysis {"connection_id":174281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:24:23] local.INFO: Extracted packet for processing {"connection_id":174281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":174281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:24:23] local.INFO: GPS data processed {"connection_id":174281,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:24:23] local.INFO: Acknowledgment sent {"connection_id":174281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:24:47] local.INFO: TCP Data received {"connection_id":177050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:24:47] local.INFO: Processing buffer {"connection_id":177050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:24:47] local.INFO: IMEI packet received {"connection_id":177050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":177050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:24:52] local.INFO: TCP Data received {"connection_id":177050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:24:52] local.INFO: Processing buffer {"connection_id":177050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:24:52] local.INFO: IMEI packet received {"connection_id":177050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":177050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:24:54] local.INFO: TCP Data received {"connection_id":177050,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:54] local.INFO: Processing buffer {"connection_id":177050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:54] local.INFO: Packet analysis {"connection_id":177050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:24:54] local.INFO: Extracted packet for processing {"connection_id":177050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":177050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:24:54] local.INFO: GPS data processed {"connection_id":177050,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:24:54] local.INFO: Acknowledgment sent {"connection_id":177050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:24:58] local.INFO: TCP Data received {"connection_id":177050,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:58] local.INFO: Processing buffer {"connection_id":177050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:24:58] local.INFO: Packet analysis {"connection_id":177050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:24:58] local.INFO: Extracted packet for processing {"connection_id":177050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:24:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":177050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:24:58] local.INFO: GPS data processed {"connection_id":177050,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:24:58] local.INFO: Acknowledgment sent {"connection_id":177050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:25:42] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:25:42] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:25:42] local.INFO: IMEI packet received {"connection_id":175630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":175630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:25:47] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:25:47] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:25:47] local.INFO: IMEI packet received {"connection_id":175630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":175630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:25:49] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:25:49] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:25:49] local.INFO: Packet analysis {"connection_id":175630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:25:49] local.INFO: Extracted packet for processing {"connection_id":175630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":175630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:25:49] local.INFO: GPS data processed {"connection_id":175630,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:25:49] local.INFO: Acknowledgment sent {"connection_id":175630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:25:54] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:25:54] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:25:54] local.INFO: Packet analysis {"connection_id":175630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:25:54] local.INFO: Extracted packet for processing {"connection_id":175630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":175630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:25:54] local.INFO: GPS data processed {"connection_id":175630,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:25:54] local.INFO: Acknowledgment sent {"connection_id":175630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:26:26] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:26:26] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:26:26] local.INFO: Packet analysis {"connection_id":175630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:26:26] local.INFO: Extracted packet for processing {"connection_id":175630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:26:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":175630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:26:26] local.INFO: GPS data processed {"connection_id":175630,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:26:26] local.INFO: Acknowledgment sent {"connection_id":175630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:26:42] local.INFO: TCP Data received {"connection_id":177051,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:26:42] local.INFO: Processing buffer {"connection_id":177051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:26:42] local.INFO: IMEI packet received {"connection_id":177051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":177051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:26:48] local.INFO: TCP Data received {"connection_id":177051,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:26:48] local.INFO: Processing buffer {"connection_id":177051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:26:48] local.INFO: IMEI packet received {"connection_id":177051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":177051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:26:50] local.INFO: TCP Data received {"connection_id":177051,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:26:50] local.INFO: Processing buffer {"connection_id":177051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:26:50] local.INFO: Packet analysis {"connection_id":177051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:26:50] local.INFO: Extracted packet for processing {"connection_id":177051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:26:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":177051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:26:50] local.INFO: GPS data processed {"connection_id":177051,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:26:50] local.INFO: Acknowledgment sent {"connection_id":177051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:27:22] local.INFO: TCP Data received {"connection_id":177051,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:27:22] local.INFO: Processing buffer {"connection_id":177051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:27:22] local.INFO: Packet analysis {"connection_id":177051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:27:22] local.INFO: Extracted packet for processing {"connection_id":177051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:27:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:27:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":177051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:27:22] local.INFO: GPS data processed {"connection_id":177051,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:27:22] local.INFO: Acknowledgment sent {"connection_id":177051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:27:42] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:27:42] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:27:42] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:27:48] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:27:48] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:27:48] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:27:49] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:27:49] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f5bfc90012d34c50006aa43900009005326..."} 
[2026-09-08 10:27:49] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:27:49] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f5b"} 
[2026-09-08 10:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943762944001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592100352,"note":"Value kept but may cause issues"} 
[2026-09-08 10:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843130000,"timestamp_ms":1788843130000,"timestamp_seconds":1788843130,"priority":1,"record_length":96,"hex_timestamp":"000001a07f5bfc90"} 
[2026-09-08 10:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 10:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943762944001,"66":26245,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3801460326592100352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943762944001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592100352,"description":"Unknown IO ID 45"} 
[2026-09-08 10:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943762944001,"power":26245,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592100352}} 
[2026-09-08 10:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:27:49] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:27:49] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:28:21] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:21] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:21] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:28:21] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10: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-09-08 10: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:28: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-09-08 10:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:28:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:28:21] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:28:21] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:28:47] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:28:47] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:28:47] local.INFO: IMEI packet received {"connection_id":175631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":175631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:28:52] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:28:52] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:28:52] local.INFO: IMEI packet received {"connection_id":175631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:28:54] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:54] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:54] local.INFO: Packet analysis {"connection_id":175631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:28:54] local.INFO: Extracted packet for processing {"connection_id":175631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:28:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":175631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:28:54] local.INFO: GPS data processed {"connection_id":175631,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:28:54] local.INFO: Acknowledgment sent {"connection_id":175631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:28:59] local.INFO: TCP Data received {"connection_id":175631,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:59] local.INFO: Processing buffer {"connection_id":175631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:28:59] local.INFO: Packet analysis {"connection_id":175631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:28:59] local.INFO: Extracted packet for processing {"connection_id":175631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:28: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-09-08 10:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":175631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:28:59] local.INFO: GPS data processed {"connection_id":175631,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:28:59] local.INFO: Acknowledgment sent {"connection_id":175631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:29:42] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:29:42] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:29:42] local.INFO: IMEI packet received {"connection_id":177053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":177053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:29:45] local.INFO: TCP Data received {"connection_id":177054,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:29:45] local.INFO: Processing buffer {"connection_id":177054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:29:45] local.INFO: IMEI packet received {"connection_id":177054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":177054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:29:47] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:29:47] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:29:47] local.INFO: IMEI packet received {"connection_id":177053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":177053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:29:49] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:29:49] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:29:49] local.INFO: Packet analysis {"connection_id":177053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:29:49] local.INFO: Extracted packet for processing {"connection_id":177053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:29: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-09-08 10:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":177053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:29:49] local.INFO: GPS data processed {"connection_id":177053,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:29:49] local.INFO: Acknowledgment sent {"connection_id":177053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:29:53] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:29:53] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:29:53] local.INFO: Packet analysis {"connection_id":177053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:29:53] local.INFO: Extracted packet for processing {"connection_id":177053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:29: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":177053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:29:53] local.INFO: GPS data processed {"connection_id":177053,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:29:53] local.INFO: Acknowledgment sent {"connection_id":177053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:30:24] local.INFO: TCP Data received {"connection_id":177053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:30:24] local.INFO: Processing buffer {"connection_id":177053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:30:24] local.INFO: Packet analysis {"connection_id":177053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:30:24] local.INFO: Extracted packet for processing {"connection_id":177053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":177053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:30:24] local.INFO: GPS data processed {"connection_id":177053,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:30:24] local.INFO: Acknowledgment sent {"connection_id":177053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:30:42] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:30:42] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:30:42] local.INFO: IMEI packet received {"connection_id":174554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":174554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:30:47] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:30:47] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:30:47] local.INFO: IMEI packet received {"connection_id":174554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:30:48] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:30:48] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:30:48] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:30:48] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:30: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-09-08 10:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:30: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-09-08 10:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:30:48] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:30:48] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:31:21] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:31:21] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:31:21] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:31:21] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 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-09-08 10:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 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-09-08 10:31: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-09-08 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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 10:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:31: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-09-08 10:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:31:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:31:21] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:31:21] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:31:42] local.INFO: TCP Data received {"connection_id":174285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:31:42] local.INFO: Processing buffer {"connection_id":174285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:31:42] local.INFO: IMEI packet received {"connection_id":174285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":174285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:31:47] local.INFO: TCP Data received {"connection_id":174285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:31:47] local.INFO: Processing buffer {"connection_id":174285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:31:47] local.INFO: IMEI packet received {"connection_id":174285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":174285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:31:48] local.INFO: TCP Data received {"connection_id":174285,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:31:48] local.INFO: Processing buffer {"connection_id":174285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:31:48] local.INFO: Packet analysis {"connection_id":174285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:31:48] local.INFO: Extracted packet for processing {"connection_id":174285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:31: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-09-08 10:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:31: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-09-08 10:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":174285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:31:48] local.INFO: GPS data processed {"connection_id":174285,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:31:48] local.INFO: Acknowledgment sent {"connection_id":174285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:32:20] local.INFO: TCP Data received {"connection_id":174285,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:32:20] local.INFO: Processing buffer {"connection_id":174285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:32:20] local.INFO: Packet analysis {"connection_id":174285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:32:20] local.INFO: Extracted packet for processing {"connection_id":174285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:32: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-09-08 10: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:32: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-09-08 10:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":174285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:32:20] local.INFO: GPS data processed {"connection_id":174285,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:32:20] local.INFO: Acknowledgment sent {"connection_id":174285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:32:42] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:32:42] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:32:42] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:32:47] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:32:47] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:32:47] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:32:49] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:32:49] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f609458012d34c50006aa43900009005325..."} 
[2026-09-08 10:32:49] local.INFO: Packet analysis {"connection_id":174555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:32:49] local.INFO: Extracted packet for processing {"connection_id":174555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f60"} 
[2026-09-08 10:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":9,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943841280001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843431000,"timestamp_ms":1788843431000,"timestamp_seconds":1788843431,"priority":1,"record_length":96,"hex_timestamp":"000001a07f609458"} 
[2026-09-08 10:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:32: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-09-08 10: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 10:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943841280001,"66":26006,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943841280001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943841280001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":174555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:32:49] local.INFO: GPS data processed {"connection_id":174555,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:32:49] local.INFO: Acknowledgment sent {"connection_id":174555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:33:21] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:21] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:21] local.INFO: Packet analysis {"connection_id":174555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:33:21] local.INFO: Extracted packet for processing {"connection_id":174555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:33: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-09-08 10:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:33:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":174555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:33:21] local.INFO: GPS data processed {"connection_id":174555,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:33:21] local.INFO: Acknowledgment sent {"connection_id":174555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:33:47] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:33:47] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:33:47] local.INFO: IMEI packet received {"connection_id":177055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":177055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:33:52] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:33:52] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:33:52] local.INFO: IMEI packet received {"connection_id":177055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":177055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:33:54] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:54] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:54] local.INFO: Packet analysis {"connection_id":177055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:33:54] local.INFO: Extracted packet for processing {"connection_id":177055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":177055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:33:54] local.INFO: GPS data processed {"connection_id":177055,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:33:54] local.INFO: Acknowledgment sent {"connection_id":177055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:33:58] local.INFO: TCP Data received {"connection_id":177055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:58] local.INFO: Processing buffer {"connection_id":177055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:33:58] local.INFO: Packet analysis {"connection_id":177055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:33:58] local.INFO: Extracted packet for processing {"connection_id":177055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":177055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:33:58] local.INFO: GPS data processed {"connection_id":177055,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:33:58] local.INFO: Acknowledgment sent {"connection_id":177055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:34:43] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:34:43] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:34:43] local.INFO: IMEI packet received {"connection_id":177056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":177056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:34:47] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:34:47] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:34:47] local.INFO: IMEI packet received {"connection_id":177056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":177056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:34:49] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:34:49] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:34:49] local.INFO: Packet analysis {"connection_id":177056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:34:49] local.INFO: Extracted packet for processing {"connection_id":177056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:34: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-09-08 10:34: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:34:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":177056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:34:49] local.INFO: GPS data processed {"connection_id":177056,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:34:49] local.INFO: Acknowledgment sent {"connection_id":177056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:34:53] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:34:53] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:34:53] local.INFO: Packet analysis {"connection_id":177056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:34:53] local.INFO: Extracted packet for processing {"connection_id":177056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":177056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:34:53] local.INFO: GPS data processed {"connection_id":177056,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:34:53] local.INFO: Acknowledgment sent {"connection_id":177056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:35:25] local.INFO: TCP Data received {"connection_id":177056,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:35:25] local.INFO: Processing buffer {"connection_id":177056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:35:25] local.INFO: Packet analysis {"connection_id":177056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:35:25] local.INFO: Extracted packet for processing {"connection_id":177056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:35: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-09-08 10:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:35:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":177056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:35:25] local.INFO: GPS data processed {"connection_id":177056,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:35:25] local.INFO: Acknowledgment sent {"connection_id":177056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:35:42] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:35:42] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:35:42] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:35:44] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:35:44] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:35:44] local.INFO: IMEI packet received {"connection_id":174288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":174288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:35:47] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:35:47] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:35:47] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:35:49] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:35:49] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:35:49] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:35:49] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:35: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-09-08 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:35:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:35:49] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:35:49] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:35:50] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:35:50] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:35:50] local.INFO: IMEI packet received {"connection_id":174288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-08 10:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":174288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:35:51] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07f410a20012b882b000b7c7100000f001925..."} 
[2026-09-08 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f410a20012b882b000b7c7100000f001925..."} 
[2026-09-08 10:35:51] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f410a20012b882b000b7c7100000f001925..."} 
[2026-09-08 10:35:51] local.INFO: Packet analysis {"connection_id":174288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f41"} 
[2026-09-08 10:35:51] local.INFO: Extracted packet for processing {"connection_id":174288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f41"} 
[2026-09-08 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":730344192,"raw_latitude":192704768,"longitude_deg":73.0344192,"latitude_deg":19.2704768,"altitude":15,"angle":25,"satellites":37,"speed":0,"hex_longitude":"2b882b00","hex_latitude":"0b7c7100","is_valid_coordinates":true} 
[2026-09-08 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943387904001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3888255367905280,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8634807811220373504,"note":"Value kept but may cause issues"} 
[2026-09-08 10:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788841364000,"timestamp_ms":1788841364000,"timestamp_seconds":1788841364,"priority":1,"record_length":96,"hex_timestamp":"000001a07f410a20"} 
[2026-09-08 10:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-08 10:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-08 10:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-08 10:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-08 10:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-08 10:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943387904001,"66":28191,"27":206,"234":55296,"24":0,"16":3888255367905280,"43":-8634807811220373504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-08 10:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-08 10:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-08 10:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943387904001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:35:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-08 10:35:51] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-08 10:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3888255367905280,"km_value":3888255367905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:35:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8634807811220373504,"description":"Unknown IO ID 43"} 
[2026-09-08 10:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943387904001,"power":28191,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8634807811220373504}} 
[2026-09-08 10:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":174288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:35:51] local.INFO: GPS data processed {"connection_id":174288,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:35:51] local.INFO: Acknowledgment sent {"connection_id":174288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:36:21] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:36:21] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:36:21] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:36:21] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:36: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-09-08 10:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:36:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:36:21] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:36:21] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:36:42] local.INFO: TCP Data received {"connection_id":174290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:36:42] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:36:42] local.INFO: IMEI packet received {"connection_id":174290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":174290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:36:45] local.INFO: TCP Data received {"connection_id":174289,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:36:45] local.INFO: Processing buffer {"connection_id":174289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:36:45] local.INFO: IMEI packet received {"connection_id":174289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":174289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:36:47] local.INFO: TCP Data received {"connection_id":174290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:36:47] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:36:47] local.INFO: IMEI packet received {"connection_id":174290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:36:49] local.INFO: TCP Data received {"connection_id":174290,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:36:49] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:36:49] local.INFO: Packet analysis {"connection_id":174290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:36:49] local.INFO: Extracted packet for processing {"connection_id":174290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:36: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-09-08 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":174290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:36:49] local.INFO: GPS data processed {"connection_id":174290,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:36:49] local.INFO: Acknowledgment sent {"connection_id":174290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:37:21] local.INFO: TCP Data received {"connection_id":174290,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:37:21] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f652c20012d34c50006aa4390001c005329..."} 
[2026-09-08 10:37:21] local.INFO: Packet analysis {"connection_id":174290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:37:21] local.INFO: Extracted packet for processing {"connection_id":174290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f65"} 
[2026-09-08 10:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943918336001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788843732000,"timestamp_ms":1788843732000,"timestamp_seconds":1788843732,"priority":1,"record_length":96,"hex_timestamp":"000001a07f652c20"} 
[2026-09-08 10:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 10:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:37: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-09-08 10:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943918336001,"66":25908,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943918336001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:37:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943918336001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":174290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:37:21] local.INFO: GPS data processed {"connection_id":174290,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:37:21] local.INFO: Acknowledgment sent {"connection_id":174290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:37:47] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:37:47] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:37:47] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:37:51] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:37:51] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:37:51] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:37:59] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:37:59] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:37:59] local.INFO: Packet analysis {"connection_id":175634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:37:59] local.INFO: Extracted packet for processing {"connection_id":175634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:37: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-09-08 10:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:37:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:37:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":175634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:37:59] local.INFO: GPS data processed {"connection_id":175634,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:37:59] local.INFO: Acknowledgment sent {"connection_id":175634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:38:01] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:38:01] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:38:01] local.INFO: Packet analysis {"connection_id":175634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:38:01] local.INFO: Extracted packet for processing {"connection_id":175634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:38:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:38:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:38:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":175634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:38:01] local.INFO: GPS data processed {"connection_id":175634,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:38:01] local.INFO: Acknowledgment sent {"connection_id":175634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:38:42] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:38:42] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:38:42] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:38:48] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:38:48] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:38:48] local.INFO: IMEI packet received {"connection_id":175635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":175635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:38:49] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:38:49] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:38:49] local.INFO: Packet analysis {"connection_id":175635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:38:49] local.INFO: Extracted packet for processing {"connection_id":175635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:38: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-09-08 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:38:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":175635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:38:49] local.INFO: GPS data processed {"connection_id":175635,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:38:49] local.INFO: Acknowledgment sent {"connection_id":175635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:39:20] local.INFO: TCP Data received {"connection_id":175635,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:39:20] local.INFO: Processing buffer {"connection_id":175635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:39:20] local.INFO: Packet analysis {"connection_id":175635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:39:20] local.INFO: Extracted packet for processing {"connection_id":175635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:39: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-09-08 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:39: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-09-08 10:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:39:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":175635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:39:20] local.INFO: GPS data processed {"connection_id":175635,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:39:20] local.INFO: Acknowledgment sent {"connection_id":175635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:39:42] local.INFO: TCP Data received {"connection_id":177058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:39:42] local.INFO: Processing buffer {"connection_id":177058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:39:42] local.INFO: IMEI packet received {"connection_id":177058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":177058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:39:47] local.INFO: TCP Data received {"connection_id":177058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:39:47] local.INFO: Processing buffer {"connection_id":177058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:39:47] local.INFO: IMEI packet received {"connection_id":177058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":177058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:39:48] local.INFO: TCP Data received {"connection_id":177058,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:39:48] local.INFO: Processing buffer {"connection_id":177058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:39:48] local.INFO: Packet analysis {"connection_id":177058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:39:48] local.INFO: Extracted packet for processing {"connection_id":177058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:39: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-09-08 10:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:39: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-09-08 10:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":177058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:39:48] local.INFO: GPS data processed {"connection_id":177058,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:39:48] local.INFO: Acknowledgment sent {"connection_id":177058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:40:20] local.INFO: TCP Data received {"connection_id":177058,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:40:20] local.INFO: Processing buffer {"connection_id":177058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:40:20] local.INFO: Packet analysis {"connection_id":177058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:40:20] local.INFO: Extracted packet for processing {"connection_id":177058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:40: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-09-08 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:40: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-09-08 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:40:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":177058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:40:20] local.INFO: GPS data processed {"connection_id":177058,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:40:20] local.INFO: Acknowledgment sent {"connection_id":177058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:40:42] local.INFO: TCP Data received {"connection_id":174291,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:40:42] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:40:42] local.INFO: IMEI packet received {"connection_id":174291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":174291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:40:47] local.INFO: TCP Data received {"connection_id":174291,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:40:47] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:40:47] local.INFO: IMEI packet received {"connection_id":174291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:40:49] local.INFO: TCP Data received {"connection_id":174291,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:40:49] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:40:49] local.INFO: Packet analysis {"connection_id":174291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:40:49] local.INFO: Extracted packet for processing {"connection_id":174291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:40: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-09-08 10:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":174291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:40:49] local.INFO: GPS data processed {"connection_id":174291,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:40:49] local.INFO: Acknowledgment sent {"connection_id":174291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:41:22] local.INFO: TCP Data received {"connection_id":174291,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:41:22] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:41:22] local.INFO: Packet analysis {"connection_id":174291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:41:22] local.INFO: Extracted packet for processing {"connection_id":174291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:41: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-09-08 10:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:41:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":174291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:41:22] local.INFO: GPS data processed {"connection_id":174291,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:41:22] local.INFO: Acknowledgment sent {"connection_id":174291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:41:42] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:41:42] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:41:42] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:41:47] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:41:47] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:41:47] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:41:50] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:41:50] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:41:50] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:41:50] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:41:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:41:50] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:41:50] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:42:05] local.INFO: TCP Data received {"connection_id":174559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:42:05] local.INFO: Processing buffer {"connection_id":174559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:42:05] local.INFO: IMEI packet received {"connection_id":174559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":174559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:42:22] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:42:22] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f69c3e8012d34c50006aa4390001c005326..."} 
[2026-09-08 10:42:22] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:42:22] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f69"} 
[2026-09-08 10:42:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":28,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457943995392001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788844033000,"timestamp_ms":1788844033000,"timestamp_seconds":1788844033,"priority":1,"record_length":96,"hex_timestamp":"000001a07f69c3e8"} 
[2026-09-08 10:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10: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-09-08 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 10:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457943995392001,"66":25832,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457943995392001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:42:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457943995392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:42:22] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:42:22] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:42:47] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:42:47] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:42:47] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:42:52] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:42:52] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:42:52] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:42:55] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:42:55] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:42:55] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:42:55] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:42: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-09-08 10:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:42:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:42:55] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:42:55] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:42:56] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:42:56] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:42:56] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:42:56] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:42:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:42:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:42:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:42:56] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:42:56] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:43:27] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:43:27] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:43:27] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:43:27] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:43: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-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:43:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:43:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:43:27] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:43:27] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:43:42] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:43:42] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:43:42] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:43:47] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:43:47] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:43:47] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:43:48] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:43:48] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:43:48] local.INFO: Packet analysis {"connection_id":175637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:43:48] local.INFO: Extracted packet for processing {"connection_id":175637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:43: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-09-08 10:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:43: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-09-08 10:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:43:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":175637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:43:48] local.INFO: GPS data processed {"connection_id":175637,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:43:48] local.INFO: Acknowledgment sent {"connection_id":175637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:44:21] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:44:21] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:44:21] local.INFO: Packet analysis {"connection_id":175637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:44:21] local.INFO: Extracted packet for processing {"connection_id":175637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:44: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-09-08 10:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:44:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":175637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:44:21] local.INFO: GPS data processed {"connection_id":175637,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:44:21] local.INFO: Acknowledgment sent {"connection_id":175637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:44:52] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:44:52] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:44:52] local.INFO: IMEI packet received {"connection_id":177061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":177061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:44:57] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:44:57] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:44:57] local.INFO: IMEI packet received {"connection_id":177061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":177061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:45:02] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:02] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:02] local.INFO: IMEI packet received {"connection_id":177061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":177061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:45:03] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:03] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:03] local.INFO: Packet analysis {"connection_id":177061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:45:03] local.INFO: Extracted packet for processing {"connection_id":177061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:45:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":177061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:45:03] local.INFO: GPS data processed {"connection_id":177061,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:45:03] local.INFO: Acknowledgment sent {"connection_id":177061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:45:08] local.INFO: TCP Data received {"connection_id":177061,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:08] local.INFO: Processing buffer {"connection_id":177061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:08] local.INFO: Packet analysis {"connection_id":177061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:45:08] local.INFO: Extracted packet for processing {"connection_id":177061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":177061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:45:08] local.INFO: GPS data processed {"connection_id":177061,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:45:08] local.INFO: Acknowledgment sent {"connection_id":177061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:45:42] local.INFO: TCP Data received {"connection_id":177062,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:42] local.INFO: Processing buffer {"connection_id":177062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:42] local.INFO: IMEI packet received {"connection_id":177062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":177062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:45:47] local.INFO: TCP Data received {"connection_id":177062,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:47] local.INFO: Processing buffer {"connection_id":177062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:45:47] local.INFO: IMEI packet received {"connection_id":177062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":177062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:45:49] local.INFO: TCP Data received {"connection_id":177062,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:49] local.INFO: Processing buffer {"connection_id":177062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:45:49] local.INFO: Packet analysis {"connection_id":177062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:45:49] local.INFO: Extracted packet for processing {"connection_id":177062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:45: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-09-08 10:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:45:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":177062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:45:49] local.INFO: GPS data processed {"connection_id":177062,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:45:49] local.INFO: Acknowledgment sent {"connection_id":177062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:46:21] local.INFO: TCP Data received {"connection_id":177062,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:46:21] local.INFO: Processing buffer {"connection_id":177062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:46:21] local.INFO: Packet analysis {"connection_id":177062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:46:21] local.INFO: Extracted packet for processing {"connection_id":177062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:46:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":177062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:46:21] local.INFO: GPS data processed {"connection_id":177062,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:46:21] local.INFO: Acknowledgment sent {"connection_id":177062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:46:42] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:46:42] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:46:42] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:46:47] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:46:47] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:46:47] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:46:49] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:46:49] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:46:49] local.INFO: Packet analysis {"connection_id":174294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:46:49] local.INFO: Extracted packet for processing {"connection_id":174294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:46: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-09-08 10:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:46:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":174294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:46:49] local.INFO: GPS data processed {"connection_id":174294,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:46:49] local.INFO: Acknowledgment sent {"connection_id":174294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:47:20] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:47:20] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:47:20] local.INFO: Packet analysis {"connection_id":174294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:47:20] local.INFO: Extracted packet for processing {"connection_id":174294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:47: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-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:47: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-09-08 10:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:47:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":174294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:47:20] local.INFO: GPS data processed {"connection_id":174294,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:47:20] local.INFO: Acknowledgment sent {"connection_id":174294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:47:42] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:47:42] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:47:42] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:47:44] local.INFO: TCP Data received {"connection_id":177063,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:47:45] local.INFO: Processing buffer {"connection_id":177063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:47:45] local.INFO: IMEI packet received {"connection_id":177063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":177063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:47:47] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:47:47] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:47:47] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:47:49] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:47:49] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f6e5bb0012d34c50006aa43900008005329..."} 
[2026-09-08 10:47:49] local.INFO: Packet analysis {"connection_id":174562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:47:49] local.INFO: Extracted packet for processing {"connection_id":174562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f6e"} 
[2026-09-08 10:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944072448001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844334000,"timestamp_ms":1788844334000,"timestamp_seconds":1788844334,"priority":1,"record_length":96,"hex_timestamp":"000001a07f6e5bb0"} 
[2026-09-08 10:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:47: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-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944072448001,"66":25832,"32":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 10:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944072448001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:47:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 10:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944072448001,"power":25832,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":174562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:47:49] local.INFO: GPS data processed {"connection_id":174562,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:47:49] local.INFO: Acknowledgment sent {"connection_id":174562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:48:21] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:48:21] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:48:21] local.INFO: Packet analysis {"connection_id":174562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:48:21] local.INFO: Extracted packet for processing {"connection_id":174562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":174562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:48:21] local.INFO: GPS data processed {"connection_id":174562,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:48:21] local.INFO: Acknowledgment sent {"connection_id":174562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:48:42] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:48:42] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:48:42] local.INFO: IMEI packet received {"connection_id":174296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":174296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:48:47] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:48:47] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:48:47] local.INFO: IMEI packet received {"connection_id":174296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:48:49] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:48:49] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:48:49] local.INFO: Packet analysis {"connection_id":174296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:48:49] local.INFO: Extracted packet for processing {"connection_id":174296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:48: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-09-08 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":174296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:48:49] local.INFO: GPS data processed {"connection_id":174296,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:48:49] local.INFO: Acknowledgment sent {"connection_id":174296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:49:21] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:49:21] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:49:21] local.INFO: Packet analysis {"connection_id":174296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:49:21] local.INFO: Extracted packet for processing {"connection_id":174296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:49: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-09-08 10:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:49:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":174296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:49:21] local.INFO: GPS data processed {"connection_id":174296,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:49:21] local.INFO: Acknowledgment sent {"connection_id":174296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:49:42] local.INFO: TCP Data received {"connection_id":174563,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:49:42] local.INFO: Processing buffer {"connection_id":174563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:49:42] local.INFO: IMEI packet received {"connection_id":174563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":174563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:49:47] local.INFO: TCP Data received {"connection_id":174563,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:49:47] local.INFO: Processing buffer {"connection_id":174563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:49:47] local.INFO: IMEI packet received {"connection_id":174563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":174563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:49:48] local.INFO: TCP Data received {"connection_id":174563,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:49:48] local.INFO: Processing buffer {"connection_id":174563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:49:48] local.INFO: Packet analysis {"connection_id":174563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:49:48] local.INFO: Extracted packet for processing {"connection_id":174563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:49: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-09-08 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":174563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:49:48] local.INFO: GPS data processed {"connection_id":174563,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:49:48] local.INFO: Acknowledgment sent {"connection_id":174563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:50:21] local.INFO: TCP Data received {"connection_id":174563,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:50:21] local.INFO: Processing buffer {"connection_id":174563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:50:21] local.INFO: Packet analysis {"connection_id":174563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:50:21] local.INFO: Extracted packet for processing {"connection_id":174563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 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-09-08 10:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 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-09-08 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 10:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:50:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":174563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:50:21] local.INFO: GPS data processed {"connection_id":174563,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:50:21] local.INFO: Acknowledgment sent {"connection_id":174563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:50:42] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:50:42] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:50:42] local.INFO: IMEI packet received {"connection_id":174298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":174298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:50:47] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:50:47] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:50:47] local.INFO: IMEI packet received {"connection_id":174298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:50:48] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:50:48] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:50:48] local.INFO: Packet analysis {"connection_id":174298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:50:48] local.INFO: Extracted packet for processing {"connection_id":174298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:50: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-09-08 10:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":174298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:50:48] local.INFO: GPS data processed {"connection_id":174298,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:50:48] local.INFO: Acknowledgment sent {"connection_id":174298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:51:20] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:51:20] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:51:20] local.INFO: Packet analysis {"connection_id":174298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:51:20] local.INFO: Extracted packet for processing {"connection_id":174298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:51: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-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":174298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:51:20] local.INFO: GPS data processed {"connection_id":174298,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:51:20] local.INFO: Acknowledgment sent {"connection_id":174298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:51:47] local.INFO: TCP Data received {"connection_id":175639,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:51:47] local.INFO: Processing buffer {"connection_id":175639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:51:47] local.INFO: IMEI packet received {"connection_id":175639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":175639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:51:53] local.INFO: TCP Data received {"connection_id":175639,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:51:53] local.INFO: Processing buffer {"connection_id":175639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:51:53] local.INFO: IMEI packet received {"connection_id":175639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:51:56] local.INFO: TCP Data received {"connection_id":175639,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:51:56] local.INFO: Processing buffer {"connection_id":175639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:51:56] local.INFO: Packet analysis {"connection_id":175639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:51:56] local.INFO: Extracted packet for processing {"connection_id":175639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:51:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:51:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":175639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:51:56] local.INFO: GPS data processed {"connection_id":175639,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:51:56] local.INFO: Acknowledgment sent {"connection_id":175639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:52:28] local.INFO: TCP Data received {"connection_id":175639,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:28] local.INFO: Processing buffer {"connection_id":175639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:28] local.INFO: Packet analysis {"connection_id":175639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:52:28] local.INFO: Extracted packet for processing {"connection_id":175639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:52:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:52:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:52:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":175639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:52:28] local.INFO: GPS data processed {"connection_id":175639,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:52:28] local.INFO: Acknowledgment sent {"connection_id":175639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:52:44] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:52:44] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:52:44] local.INFO: IMEI packet received {"connection_id":177066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":177066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:52:47] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:52:47] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:52:47] local.INFO: IMEI packet received {"connection_id":177066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":177066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:52:49] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:49] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:49] local.INFO: Packet analysis {"connection_id":177066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:52:49] local.INFO: Extracted packet for processing {"connection_id":177066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:52: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-09-08 10:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:52: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-09-08 10:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":177066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:52:49] local.INFO: GPS data processed {"connection_id":177066,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:52:49] local.INFO: Acknowledgment sent {"connection_id":177066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:52:54] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:54] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f72f378012d34c50006aa4390000800532b..."} 
[2026-09-08 10:52:54] local.INFO: Packet analysis {"connection_id":177066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:52:54] local.INFO: Extracted packet for processing {"connection_id":177066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f72"} 
[2026-09-08 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944149504001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788844635000,"timestamp_ms":1788844635000,"timestamp_seconds":1788844635,"priority":1,"record_length":96,"hex_timestamp":"000001a07f72f378"} 
[2026-09-08 10:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 10:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944149504001,"66":25702,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944149504001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944149504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":177066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:52:54] local.INFO: GPS data processed {"connection_id":177066,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:52:54] local.INFO: Acknowledgment sent {"connection_id":177066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:53:14] local.INFO: TCP Data received {"connection_id":177067,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:53:14] local.INFO: Processing buffer {"connection_id":177067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:53:14] local.INFO: IMEI packet received {"connection_id":177067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":177067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:53:26] local.INFO: TCP Data received {"connection_id":177066,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:53:26] local.INFO: Processing buffer {"connection_id":177066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:53:26] local.INFO: Packet analysis {"connection_id":177066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:53:26] local.INFO: Extracted packet for processing {"connection_id":177066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10: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-09-08 10:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:53: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-09-08 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:53:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:53:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":177066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:53:26] local.INFO: GPS data processed {"connection_id":177066,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:53:26] local.INFO: Acknowledgment sent {"connection_id":177066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:53:42] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:53:42] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:53:42] local.INFO: IMEI packet received {"connection_id":174299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":174299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:53:47] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:53:47] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:53:47] local.INFO: IMEI packet received {"connection_id":174299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":174299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:53:50] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:53:50] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:53:50] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:53:50] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:53:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:53:50] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:53:50] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:54:22] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:54:22] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:54:22] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:54:22] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10: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-09-08 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:54: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-09-08 10:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:54:22] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:54:22] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:54:47] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:54:47] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:54:47] local.INFO: IMEI packet received {"connection_id":174300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:54:52] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:54:52] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:54:52] local.INFO: IMEI packet received {"connection_id":174300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":174300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:54:55] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:54:55] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:54:55] local.INFO: Packet analysis {"connection_id":174300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:54:55] local.INFO: Extracted packet for processing {"connection_id":174300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:54: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-09-08 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":174300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:54:55] local.INFO: GPS data processed {"connection_id":174300,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:54:55] local.INFO: Acknowledgment sent {"connection_id":174300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:55:26] local.INFO: TCP Data received {"connection_id":174300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:55:26] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:55:26] local.INFO: Packet analysis {"connection_id":174300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:55:26] local.INFO: Extracted packet for processing {"connection_id":174300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:55: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-09-08 10:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:55: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-09-08 10:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:55:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":174300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:55:26] local.INFO: GPS data processed {"connection_id":174300,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:55:26] local.INFO: Acknowledgment sent {"connection_id":174300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:55:42] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:55:42] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:55:42] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:55:47] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:55:47] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:55:47] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:55:48] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:55:48] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:55:48] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:55:48] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:55: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-09-08 10:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:55: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-09-08 10:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:55:48] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:55:48] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:56:20] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:56:20] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:56:20] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:56:20] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:56: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-09-08 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:56: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-09-08 10:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:56:20] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:56:20] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:56:42] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:56:42] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:56:42] local.INFO: IMEI packet received {"connection_id":175642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":175642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:56:47] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:56:47] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:56:47] local.INFO: IMEI packet received {"connection_id":175642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":175642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:56:48] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:56:48] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:56:48] local.INFO: Packet analysis {"connection_id":175642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:56:48] local.INFO: Extracted packet for processing {"connection_id":175642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:56: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-09-08 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10: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-09-08 10:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:56:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:56:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":175642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:56:48] local.INFO: GPS data processed {"connection_id":175642,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:56:48] local.INFO: Acknowledgment sent {"connection_id":175642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:57:19] local.INFO: TCP Data received {"connection_id":175642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:57:19] local.INFO: Processing buffer {"connection_id":175642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:57:19] local.INFO: Packet analysis {"connection_id":175642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:57:19] local.INFO: Extracted packet for processing {"connection_id":175642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10: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-09-08 10:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:57: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-09-08 10:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":175642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:57:19] local.INFO: GPS data processed {"connection_id":175642,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:57:19] local.INFO: Acknowledgment sent {"connection_id":175642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:57:42] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:57:42] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:57:42] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:57:48] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:57:48] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:57:48] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:57:50] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:57:50] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f778b40012d34c50006aa43900008005328..."} 
[2026-09-08 10:57:50] local.INFO: Packet analysis {"connection_id":174565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:57:50] local.INFO: Extracted packet for processing {"connection_id":174565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f77"} 
[2026-09-08 10:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944226560001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788844936000,"timestamp_ms":1788844936000,"timestamp_seconds":1788844936,"priority":1,"record_length":96,"hex_timestamp":"000001a07f778b40"} 
[2026-09-08 10:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 10:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 10:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944226560001,"66":25712,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944226560001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:57:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944226560001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":174565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:57:50] local.INFO: GPS data processed {"connection_id":174565,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:57:50] local.INFO: Acknowledgment sent {"connection_id":174565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:58:22] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:58:22] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:58:22] local.INFO: Packet analysis {"connection_id":174565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:58:22] local.INFO: Extracted packet for processing {"connection_id":174565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 10:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:58: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-09-08 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 10:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:58: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-09-08 10:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:58:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":174565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:58:22] local.INFO: GPS data processed {"connection_id":174565,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:58:22] local.INFO: Acknowledgment sent {"connection_id":174565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:58:42] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:58:42] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:58:42] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:58:45] local.INFO: TCP Data received {"connection_id":175644,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:58:45] local.INFO: Processing buffer {"connection_id":175644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 10:58:45] local.INFO: IMEI packet received {"connection_id":175644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":175644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:58:47] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:58:47] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:58:47] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:58:48] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:58:48] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:58:48] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:58:48] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 10:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:58: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-09-08 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 10:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:58: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-09-08 10:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:58:48] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:58:48] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:59:27] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:59:27] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:59:27] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:59:27] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 10:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10:59: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-09-08 10:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 10:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 10:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:59:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:59:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:59:27] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:59:27] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 10:59:42] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:59:42] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:59:42] local.INFO: IMEI packet received {"connection_id":174568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 10:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":174568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 10:59:47] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:59:47] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 10:59:47] local.INFO: IMEI packet received {"connection_id":174568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 10:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 10:59:49] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:59:49] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 10:59:49] local.INFO: Packet analysis {"connection_id":174568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:59:49] local.INFO: Extracted packet for processing {"connection_id":174568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 10:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 10:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 10:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 10:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 10:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 10:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 10:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 10:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 10: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-09-08 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 10:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 10:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 10:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 10:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 10:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 10:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 10:59: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-09-08 10:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 10:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 10:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 10:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 10:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 10:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 10:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 10:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 10:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 10:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 10:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 10:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":174568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 10:59:49] local.INFO: GPS data processed {"connection_id":174568,"processed":1,"errors":0,"total":1} 
[2026-09-08 10:59:49] local.INFO: Acknowledgment sent {"connection_id":174568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:00:21] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:00:21] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:00:21] local.INFO: Packet analysis {"connection_id":174568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:00:21] local.INFO: Extracted packet for processing {"connection_id":174568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 11:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 11:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:00: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-09-08 11:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:00:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":174568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:00:21] local.INFO: GPS data processed {"connection_id":174568,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:00:21] local.INFO: Acknowledgment sent {"connection_id":174568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:00:42] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:00:42] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:00:42] local.INFO: IMEI packet received {"connection_id":174302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":174302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:00:47] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:00:47] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:00:47] local.INFO: IMEI packet received {"connection_id":174302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:00:48] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:00:48] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:00:48] local.INFO: Packet analysis {"connection_id":174302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:00:48] local.INFO: Extracted packet for processing {"connection_id":174302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 11:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:00: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-09-08 11:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 11:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:00: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-09-08 11:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":174302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:00:48] local.INFO: GPS data processed {"connection_id":174302,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:00:48] local.INFO: Acknowledgment sent {"connection_id":174302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:01:19] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:01:19] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:01:19] local.INFO: Packet analysis {"connection_id":174302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:01:19] local.INFO: Extracted packet for processing {"connection_id":174302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:01: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-09-08 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":174302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:01:19] local.INFO: GPS data processed {"connection_id":174302,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:01:19] local.INFO: Acknowledgment sent {"connection_id":174302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:01:42] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:01:42] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:01:42] local.INFO: IMEI packet received {"connection_id":174303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":174303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:01:47] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:01:47] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:01:47] local.INFO: IMEI packet received {"connection_id":174303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":174303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:01:49] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:01:49] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:01:49] local.INFO: Packet analysis {"connection_id":174303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:01:49] local.INFO: Extracted packet for processing {"connection_id":174303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 11:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11: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-09-08 11: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 11:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:01: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-09-08 11:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":174303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:01:49] local.INFO: GPS data processed {"connection_id":174303,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:01:49] local.INFO: Acknowledgment sent {"connection_id":174303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:02:20] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:02:20] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:02:20] local.INFO: Packet analysis {"connection_id":174303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:02:20] local.INFO: Extracted packet for processing {"connection_id":174303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 11:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:02: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-09-08 11: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 11:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:02: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-09-08 11:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":174303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:02:20] local.INFO: GPS data processed {"connection_id":174303,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:02:20] local.INFO: Acknowledgment sent {"connection_id":174303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:02:42] local.INFO: TCP Data received {"connection_id":177070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:02:42] local.INFO: Processing buffer {"connection_id":177070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:02:42] local.INFO: IMEI packet received {"connection_id":177070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":177070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:02:47] local.INFO: TCP Data received {"connection_id":177070,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:02:47] local.INFO: Processing buffer {"connection_id":177070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:02:47] local.INFO: IMEI packet received {"connection_id":177070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":177070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:02:48] local.INFO: TCP Data received {"connection_id":177070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:02:48] local.INFO: Processing buffer {"connection_id":177070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f7c2308012d34c50006aa43900008005326..."} 
[2026-09-08 11:02:48] local.INFO: Packet analysis {"connection_id":177070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:02:48] local.INFO: Extracted packet for processing {"connection_id":177070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f7c"} 
[2026-09-08 11:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944303616001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845237000,"timestamp_ms":1788845237000,"timestamp_seconds":1788845237,"priority":1,"record_length":96,"hex_timestamp":"000001a07f7c2308"} 
[2026-09-08 11:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:02: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-09-08 11:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 11:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:02: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-09-08 11:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944303616001,"66":25680,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944303616001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:02:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944303616001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":177070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:02:48] local.INFO: GPS data processed {"connection_id":177070,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:02:48] local.INFO: Acknowledgment sent {"connection_id":177070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:03:19] local.INFO: TCP Data received {"connection_id":177070,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:19] local.INFO: Processing buffer {"connection_id":177070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:19] local.INFO: Packet analysis {"connection_id":177070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:03:19] local.INFO: Extracted packet for processing {"connection_id":177070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:03: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-09-08 11:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":177070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:03:19] local.INFO: GPS data processed {"connection_id":177070,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:03:19] local.INFO: Acknowledgment sent {"connection_id":177070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:03:47] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:03:47] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:03:47] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:03:52] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:03:52] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:03:52] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:03:54] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:54] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:54] local.INFO: Packet analysis {"connection_id":174305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:03:54] local.INFO: Extracted packet for processing {"connection_id":174305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":174305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:03:54] local.INFO: GPS data processed {"connection_id":174305,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:03:54] local.INFO: Acknowledgment sent {"connection_id":174305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:03:57] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:57] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:03:57] local.INFO: Packet analysis {"connection_id":174305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:03:57] local.INFO: Extracted packet for processing {"connection_id":174305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:03: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-09-08 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:03:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":174305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:03:57] local.INFO: GPS data processed {"connection_id":174305,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:03:57] local.INFO: Acknowledgment sent {"connection_id":174305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:04:05] local.INFO: TCP Data received {"connection_id":174304,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:04:05] local.INFO: Processing buffer {"connection_id":174304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:04:05] local.INFO: IMEI packet received {"connection_id":174304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":174304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:04:42] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:04:42] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:04:42] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:04:47] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:04:47] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:04:47] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:04:48] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:04:48] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:04:48] local.INFO: Packet analysis {"connection_id":175646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:04:48] local.INFO: Extracted packet for processing {"connection_id":175646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:04: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-09-08 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":175646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:04:48] local.INFO: GPS data processed {"connection_id":175646,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:04:48] local.INFO: Acknowledgment sent {"connection_id":175646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:05:20] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:20] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:20] local.INFO: Packet analysis {"connection_id":175646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:05:20] local.INFO: Extracted packet for processing {"connection_id":175646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:05: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-09-08 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:05: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-09-08 11:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":175646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:05:20] local.INFO: GPS data processed {"connection_id":175646,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:05:20] local.INFO: Acknowledgment sent {"connection_id":175646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:05:42] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:05:42] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:05:42] local.INFO: IMEI packet received {"connection_id":177071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:05:47] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:05:47] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:05:47] local.INFO: IMEI packet received {"connection_id":177071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":177071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:05:49] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:49] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:49] local.INFO: Packet analysis {"connection_id":177071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:05:49] local.INFO: Extracted packet for processing {"connection_id":177071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:05: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-09-08 11:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":177071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:05:49] local.INFO: GPS data processed {"connection_id":177071,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:05:49] local.INFO: Acknowledgment sent {"connection_id":177071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:05:53] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:53] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:05:53] local.INFO: Packet analysis {"connection_id":177071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:05:53] local.INFO: Extracted packet for processing {"connection_id":177071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":177071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:05:53] local.INFO: GPS data processed {"connection_id":177071,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:05:53] local.INFO: Acknowledgment sent {"connection_id":177071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:06:24] local.INFO: TCP Data received {"connection_id":177071,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:06:24] local.INFO: Processing buffer {"connection_id":177071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:06:24] local.INFO: Packet analysis {"connection_id":177071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:06:24] local.INFO: Extracted packet for processing {"connection_id":177071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":177071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:06:24] local.INFO: GPS data processed {"connection_id":177071,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:06:24] local.INFO: Acknowledgment sent {"connection_id":177071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:06:42] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:06:42] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:06:42] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:06:47] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:06:47] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:06:47] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:06:49] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:06:49] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:06:49] local.INFO: Packet analysis {"connection_id":174571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:06:49] local.INFO: Extracted packet for processing {"connection_id":174571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:06: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-09-08 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:06:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":174571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:06:49] local.INFO: GPS data processed {"connection_id":174571,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:06:49] local.INFO: Acknowledgment sent {"connection_id":174571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:07:20] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:07:20] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:07:20] local.INFO: Packet analysis {"connection_id":174571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:07:20] local.INFO: Extracted packet for processing {"connection_id":174571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:07: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-09-08 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:07: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-09-08 11:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":174571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:07:20] local.INFO: GPS data processed {"connection_id":174571,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:07:20] local.INFO: Acknowledgment sent {"connection_id":174571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:07:42] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:07:42] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:07:42] local.INFO: IMEI packet received {"connection_id":174573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":174573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:07:47] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:07:47] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:07:47] local.INFO: IMEI packet received {"connection_id":174573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:07:48] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:07:48] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f80bad0012d34c50006aa43900008005329..."} 
[2026-09-08 11:07:48] local.INFO: Packet analysis {"connection_id":174573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:07:48] local.INFO: Extracted packet for processing {"connection_id":174573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f80"} 
[2026-09-08 11:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944380672001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845538000,"timestamp_ms":1788845538000,"timestamp_seconds":1788845538,"priority":1,"record_length":96,"hex_timestamp":"000001a07f80bad0"} 
[2026-09-08 11:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:07: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-09-08 11:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944380672001,"66":25691,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944380672001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944380672001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":174573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:07:48] local.INFO: GPS data processed {"connection_id":174573,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:07:48] local.INFO: Acknowledgment sent {"connection_id":174573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:08:19] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:19] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:19] local.INFO: Packet analysis {"connection_id":174573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:08:19] local.INFO: Extracted packet for processing {"connection_id":174573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":174573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:08:19] local.INFO: GPS data processed {"connection_id":174573,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:08:19] local.INFO: Acknowledgment sent {"connection_id":174573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:08:47] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:08:47] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:08:47] local.INFO: IMEI packet received {"connection_id":177072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":177072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:08:52] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:08:52] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:08:52] local.INFO: IMEI packet received {"connection_id":177072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":177072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:08:54] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:54] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:54] local.INFO: Packet analysis {"connection_id":177072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:08:54] local.INFO: Extracted packet for processing {"connection_id":177072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:08: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-09-08 11:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:08:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":177072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:08:54] local.INFO: GPS data processed {"connection_id":177072,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:08:54] local.INFO: Acknowledgment sent {"connection_id":177072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:08:57] local.INFO: TCP Data received {"connection_id":177072,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:57] local.INFO: Processing buffer {"connection_id":177072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:08:57] local.INFO: Packet analysis {"connection_id":177072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:08:57] local.INFO: Extracted packet for processing {"connection_id":177072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:08: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-09-08 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:08: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-09-08 11:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":177072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:08:57] local.INFO: GPS data processed {"connection_id":177072,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:08:57] local.INFO: Acknowledgment sent {"connection_id":177072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:09:43] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:09:43] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:09:43] local.INFO: IMEI packet received {"connection_id":174574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":174574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:09:44] local.INFO: TCP Data received {"connection_id":177074,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:09:44] local.INFO: Processing buffer {"connection_id":177074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:09:44] local.INFO: IMEI packet received {"connection_id":177074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":177074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:09:47] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:09:47] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:09:47] local.INFO: IMEI packet received {"connection_id":174574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":174574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:09:49] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:09:49] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:09:49] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:09:49] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:09: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-09-08 11:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:09: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-09-08 11:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:09:49] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:09:49] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:09:53] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:09:53] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:09:53] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:09:53] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:09: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-09-08 11:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:09:53] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:09:53] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:10:25] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:10:25] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:10:25] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:10:25] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:10:25] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:10:25] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:10:42] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:10:42] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:10:42] local.INFO: IMEI packet received {"connection_id":177075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":177075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:10:47] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:10:47] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:10:47] local.INFO: IMEI packet received {"connection_id":177075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":177075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:10:48] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:10:48] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:10:48] local.INFO: Packet analysis {"connection_id":177075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:10:48] local.INFO: Extracted packet for processing {"connection_id":177075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11: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-09-08 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":177075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:10:48] local.INFO: GPS data processed {"connection_id":177075,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:10:48] local.INFO: Acknowledgment sent {"connection_id":177075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:11:20] local.INFO: TCP Data received {"connection_id":177075,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:11:20] local.INFO: Processing buffer {"connection_id":177075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:11:20] local.INFO: Packet analysis {"connection_id":177075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:11:20] local.INFO: Extracted packet for processing {"connection_id":177075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:11: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-09-08 11:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:11: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-09-08 11:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:11:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":177075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:11:20] local.INFO: GPS data processed {"connection_id":177075,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:11:20] local.INFO: Acknowledgment sent {"connection_id":177075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:11:42] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:11:42] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:11:42] local.INFO: IMEI packet received {"connection_id":175648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":175648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:11:47] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:11:47] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:11:47] local.INFO: IMEI packet received {"connection_id":175648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:11:48] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:11:48] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:11:48] local.INFO: Packet analysis {"connection_id":175648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:11:48] local.INFO: Extracted packet for processing {"connection_id":175648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:11: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-09-08 11:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":175648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:11:48] local.INFO: GPS data processed {"connection_id":175648,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:11:48] local.INFO: Acknowledgment sent {"connection_id":175648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:12:20] local.INFO: TCP Data received {"connection_id":175648,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:12:20] local.INFO: Processing buffer {"connection_id":175648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:12:20] local.INFO: Packet analysis {"connection_id":175648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:12:20] local.INFO: Extracted packet for processing {"connection_id":175648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:12: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-09-08 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:12: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-09-08 11:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":175648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:12:20] local.INFO: GPS data processed {"connection_id":175648,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:12:20] local.INFO: Acknowledgment sent {"connection_id":175648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:12:42] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:12:42] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:12:42] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:12:47] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:12:47] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:12:47] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:12:49] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:12:49] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f855298012d34c50006aa43900008005327..."} 
[2026-09-08 11:12:49] local.INFO: Packet analysis {"connection_id":174309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:12:49] local.INFO: Extracted packet for processing {"connection_id":174309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f85"} 
[2026-09-08 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944457728001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788845839000,"timestamp_ms":1788845839000,"timestamp_seconds":1788845839,"priority":1,"record_length":96,"hex_timestamp":"000001a07f855298"} 
[2026-09-08 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:12: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-09-08 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944457728001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944457728001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944457728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":174309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:12:49] local.INFO: GPS data processed {"connection_id":174309,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:12:49] local.INFO: Acknowledgment sent {"connection_id":174309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:13:20] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:13:20] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:13:20] local.INFO: Packet analysis {"connection_id":174309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:13:20] local.INFO: Extracted packet for processing {"connection_id":174309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:13: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-09-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:13: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-09-08 11:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":174309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:13:20] local.INFO: GPS data processed {"connection_id":174309,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:13:20] local.INFO: Acknowledgment sent {"connection_id":174309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:13:42] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:13:42] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:13:42] local.INFO: IMEI packet received {"connection_id":174575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":174575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:13:47] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:13:47] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:13:47] local.INFO: IMEI packet received {"connection_id":174575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:13:50] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:13:50] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:13:50] local.INFO: Packet analysis {"connection_id":174575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:13:50] local.INFO: Extracted packet for processing {"connection_id":174575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":174575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:13:50] local.INFO: GPS data processed {"connection_id":174575,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:13:50] local.INFO: Acknowledgment sent {"connection_id":174575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:14:21] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:14:21] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:14:21] local.INFO: Packet analysis {"connection_id":174575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:14:21] local.INFO: Extracted packet for processing {"connection_id":174575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:14: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-09-08 11:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:14:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":174575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:14:21] local.INFO: GPS data processed {"connection_id":174575,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:14:21] local.INFO: Acknowledgment sent {"connection_id":174575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:14:43] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:14:43] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:14:43] local.INFO: IMEI packet received {"connection_id":177077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":177077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:14:47] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:14:47] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:14:47] local.INFO: IMEI packet received {"connection_id":177077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":177077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:14:48] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:14:48] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:14:48] local.INFO: Packet analysis {"connection_id":177077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:14:48] local.INFO: Extracted packet for processing {"connection_id":177077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:14: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-09-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":177077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:14:48] local.INFO: GPS data processed {"connection_id":177077,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:14:48] local.INFO: Acknowledgment sent {"connection_id":177077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:15:10] local.INFO: TCP Data received {"connection_id":175649,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:15:10] local.INFO: Processing buffer {"connection_id":175649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:15:10] local.INFO: IMEI packet received {"connection_id":175649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":175649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:15:20] local.INFO: TCP Data received {"connection_id":177077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:15:20] local.INFO: Processing buffer {"connection_id":177077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:15:20] local.INFO: Packet analysis {"connection_id":177077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:15:20] local.INFO: Extracted packet for processing {"connection_id":177077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:15: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-09-08 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:15: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-09-08 11:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":177077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:15:20] local.INFO: GPS data processed {"connection_id":177077,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:15:20] local.INFO: Acknowledgment sent {"connection_id":177077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:15:42] local.INFO: TCP Data received {"connection_id":177078,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:15:42] local.INFO: Processing buffer {"connection_id":177078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:15:42] local.INFO: IMEI packet received {"connection_id":177078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":177078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:15:47] local.INFO: TCP Data received {"connection_id":177078,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:15:47] local.INFO: Processing buffer {"connection_id":177078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:15:47] local.INFO: IMEI packet received {"connection_id":177078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":177078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:15:48] local.INFO: TCP Data received {"connection_id":177078,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:15:48] local.INFO: Processing buffer {"connection_id":177078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:15:48] local.INFO: Packet analysis {"connection_id":177078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:15:48] local.INFO: Extracted packet for processing {"connection_id":177078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:15: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-09-08 11:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:15: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-09-08 11:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":177078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:15:48] local.INFO: GPS data processed {"connection_id":177078,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:15:48] local.INFO: Acknowledgment sent {"connection_id":177078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:16:20] local.INFO: TCP Data received {"connection_id":177078,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:16:20] local.INFO: Processing buffer {"connection_id":177078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:16:20] local.INFO: Packet analysis {"connection_id":177078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:16:20] local.INFO: Extracted packet for processing {"connection_id":177078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:16: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-09-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:16: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-09-08 11:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:16:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":177078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:16:20] local.INFO: GPS data processed {"connection_id":177078,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:16:20] local.INFO: Acknowledgment sent {"connection_id":177078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:16:42] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:16:42] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:16:42] local.INFO: IMEI packet received {"connection_id":174312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":174312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:16:47] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:16:47] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:16:47] local.INFO: IMEI packet received {"connection_id":174312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:16:48] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:16:48] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:16:48] local.INFO: Packet analysis {"connection_id":174312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:16:48] local.INFO: Extracted packet for processing {"connection_id":174312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:16: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-09-08 11:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":174312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:16:48] local.INFO: GPS data processed {"connection_id":174312,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:16:48] local.INFO: Acknowledgment sent {"connection_id":174312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:17:20] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:17:20] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:17:20] local.INFO: Packet analysis {"connection_id":174312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:17:20] local.INFO: Extracted packet for processing {"connection_id":174312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:17: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-09-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:17: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-09-08 11:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":174312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:17:20] local.INFO: GPS data processed {"connection_id":174312,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:17:20] local.INFO: Acknowledgment sent {"connection_id":174312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:17:42] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:17:42] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:17:42] local.INFO: IMEI packet received {"connection_id":175650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":175650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:17:47] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:17:47] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:17:47] local.INFO: IMEI packet received {"connection_id":175650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":175650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:17:48] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:17:48] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f89ea60012d34c50006aa43900008005324..."} 
[2026-09-08 11:17:48] local.INFO: Packet analysis {"connection_id":175650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:17:48] local.INFO: Extracted packet for processing {"connection_id":175650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f89"} 
[2026-09-08 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":8,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944534784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846140000,"timestamp_ms":1788846140000,"timestamp_seconds":1788846140,"priority":1,"record_length":96,"hex_timestamp":"000001a07f89ea60"} 
[2026-09-08 11:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:17: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-09-08 11:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944534784001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944534784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944534784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":175650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:17:48] local.INFO: GPS data processed {"connection_id":175650,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:17:48] local.INFO: Acknowledgment sent {"connection_id":175650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:18:20] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:18:20] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:18:20] local.INFO: Packet analysis {"connection_id":175650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:18:20] local.INFO: Extracted packet for processing {"connection_id":175650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:18: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-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:18: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-09-08 11:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:18:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:18:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":175650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:18:20] local.INFO: GPS data processed {"connection_id":175650,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:18:20] local.INFO: Acknowledgment sent {"connection_id":175650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:18:42] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:18:42] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:18:42] local.INFO: IMEI packet received {"connection_id":177080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":177080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:18:47] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:18:47] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:18:47] local.INFO: IMEI packet received {"connection_id":177080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":177080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:18:49] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:18:49] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:18:49] local.INFO: Packet analysis {"connection_id":177080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:18:49] local.INFO: Extracted packet for processing {"connection_id":177080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:18: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-09-08 11:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:18: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-09-08 11:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":177080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:18:49] local.INFO: GPS data processed {"connection_id":177080,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:18:49] local.INFO: Acknowledgment sent {"connection_id":177080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:19:20] local.INFO: TCP Data received {"connection_id":177080,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:19:20] local.INFO: Processing buffer {"connection_id":177080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:19:20] local.INFO: Packet analysis {"connection_id":177080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:19:20] local.INFO: Extracted packet for processing {"connection_id":177080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:19: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-09-08 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:19: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-09-08 11:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":177080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:19:20] local.INFO: GPS data processed {"connection_id":177080,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:19:20] local.INFO: Acknowledgment sent {"connection_id":177080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:19:42] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:19:42] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:19:42] local.INFO: IMEI packet received {"connection_id":174577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:19:47] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:19:47] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:19:47] local.INFO: IMEI packet received {"connection_id":174577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:19:48] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:19:48] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:19:48] local.INFO: Packet analysis {"connection_id":174577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:19:48] local.INFO: Extracted packet for processing {"connection_id":174577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:19: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-09-08 11:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":174577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:19:48] local.INFO: GPS data processed {"connection_id":174577,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:19:48] local.INFO: Acknowledgment sent {"connection_id":174577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:20:20] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:20:20] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:20:20] local.INFO: Packet analysis {"connection_id":174577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:20:20] local.INFO: Extracted packet for processing {"connection_id":174577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:20: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-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:20: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-09-08 11:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:20:20] local.INFO: GPS data processed {"connection_id":174577,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:20:20] local.INFO: Acknowledgment sent {"connection_id":174577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:20:42] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:20:42] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:20:42] local.INFO: IMEI packet received {"connection_id":177081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":177081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:20:44] local.INFO: TCP Data received {"connection_id":175652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:20:44] local.INFO: Processing buffer {"connection_id":175652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:20:44] local.INFO: IMEI packet received {"connection_id":175652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":175652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:20:47] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:20:47] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:20:47] local.INFO: IMEI packet received {"connection_id":177081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":177081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:20:48] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:20:48] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:20:48] local.INFO: Packet analysis {"connection_id":177081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:20:48] local.INFO: Extracted packet for processing {"connection_id":177081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:20: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-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":177081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:20:48] local.INFO: GPS data processed {"connection_id":177081,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:20:48] local.INFO: Acknowledgment sent {"connection_id":177081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:21:20] local.INFO: TCP Data received {"connection_id":177081,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:21:20] local.INFO: Processing buffer {"connection_id":177081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:21:20] local.INFO: Packet analysis {"connection_id":177081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:21:20] local.INFO: Extracted packet for processing {"connection_id":177081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:21: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-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11: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-09-08 11:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":177081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:21:20] local.INFO: GPS data processed {"connection_id":177081,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:21:20] local.INFO: Acknowledgment sent {"connection_id":177081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:21:42] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:21:42] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:21:42] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:21:47] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:21:47] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:21:47] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:21:48] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:21:48] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:21:48] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:21:48] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:21: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-09-08 11:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:21:48] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:21:48] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:22:21] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:22:21] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:22:21] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:22:21] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:22: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-09-08 11:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:22:21] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:22:21] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:22:42] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:22:42] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:22:42] local.INFO: IMEI packet received {"connection_id":177082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:22:47] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:22:47] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:22:47] local.INFO: IMEI packet received {"connection_id":177082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":177082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:22:48] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:22:48] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f8e8228012d34c50006aa4390001300532a..."} 
[2026-09-08 11:22:48] local.INFO: Packet analysis {"connection_id":177082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:22:48] local.INFO: Extracted packet for processing {"connection_id":177082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f8e"} 
[2026-09-08 11:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944611840001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846441000,"timestamp_ms":1788846441000,"timestamp_seconds":1788846441,"priority":1,"record_length":96,"hex_timestamp":"000001a07f8e8228"} 
[2026-09-08 11:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:22: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-09-08 11:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:22: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-09-08 11:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944611840001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944611840001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944611840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":177082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:22:48] local.INFO: GPS data processed {"connection_id":177082,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:22:48] local.INFO: Acknowledgment sent {"connection_id":177082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:23:20] local.INFO: TCP Data received {"connection_id":177082,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:23:20] local.INFO: Processing buffer {"connection_id":177082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:23:20] local.INFO: Packet analysis {"connection_id":177082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:23:20] local.INFO: Extracted packet for processing {"connection_id":177082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:23:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:23: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-09-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:23:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:23:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":177082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:23:20] local.INFO: GPS data processed {"connection_id":177082,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:23:20] local.INFO: Acknowledgment sent {"connection_id":177082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:23:42] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:23:42] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:23:42] local.INFO: IMEI packet received {"connection_id":175655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":175655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:23:47] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:23:47] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:23:47] local.INFO: IMEI packet received {"connection_id":175655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":175655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:23:48] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:23:48] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:23:48] local.INFO: Packet analysis {"connection_id":175655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:23:48] local.INFO: Extracted packet for processing {"connection_id":175655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:23: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-09-08 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":175655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:23:48] local.INFO: GPS data processed {"connection_id":175655,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:23:48] local.INFO: Acknowledgment sent {"connection_id":175655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:24:20] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:24:20] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:24:20] local.INFO: Packet analysis {"connection_id":175655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:24:20] local.INFO: Extracted packet for processing {"connection_id":175655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:24: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-09-08 11:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:24: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-09-08 11:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":175655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:24:20] local.INFO: GPS data processed {"connection_id":175655,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:24:20] local.INFO: Acknowledgment sent {"connection_id":175655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:24:21] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:21] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:21] local.INFO: IMEI packet received {"connection_id":177083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":177083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:24:22] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:22] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:22] local.INFO: IMEI packet received {"connection_id":177083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":177083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:24:26] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:26] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:24:26] local.INFO: IMEI packet received {"connection_id":177083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":177083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:24:27] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-08 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-08 11:24:27] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-08 11:24:27] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 11:24:27] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 11:24:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:24:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 11:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-08 11:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-08 11:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 11:24:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 11:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 11:24:27] local.ERROR: GPS data processing failed {"connection_id":177083,"error":"No valid data to process"} 
[2026-09-08 11:24:27] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 11:24:42] local.INFO: TCP Data received {"connection_id":177084,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:24:42] local.INFO: Processing buffer {"connection_id":177084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:24:42] local.INFO: IMEI packet received {"connection_id":177084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":177084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:24:47] local.INFO: TCP Data received {"connection_id":177084,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:24:47] local.INFO: Processing buffer {"connection_id":177084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:24:47] local.INFO: IMEI packet received {"connection_id":177084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":177084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:24:48] local.INFO: TCP Data received {"connection_id":177084,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:24:48] local.INFO: Processing buffer {"connection_id":177084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:24:48] local.INFO: Packet analysis {"connection_id":177084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:24:48] local.INFO: Extracted packet for processing {"connection_id":177084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:24: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-09-08 11:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":177084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:24:48] local.INFO: GPS data processed {"connection_id":177084,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:24:48] local.INFO: Acknowledgment sent {"connection_id":177084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:24:58] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-08 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-08 11:24:58] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-08 11:24:58] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 11:24:58] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 11:24: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-09-08 11:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-08 11:24:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 11:24:58] 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-09-08 11:24:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 11:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-08 11:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-08 11:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 11:24:58] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 11:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 11:24:58] local.ERROR: GPS data processing failed {"connection_id":177083,"error":"No valid data to process"} 
[2026-09-08 11:24:58] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 11:25:20] local.INFO: TCP Data received {"connection_id":177084,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:25:20] local.INFO: Processing buffer {"connection_id":177084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:25:20] local.INFO: Packet analysis {"connection_id":177084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:25:20] local.INFO: Extracted packet for processing {"connection_id":177084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:25: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-09-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":177084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:25:20] local.INFO: GPS data processed {"connection_id":177084,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:25:20] local.INFO: Acknowledgment sent {"connection_id":177084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:25:29] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f957380012d196400071fee98004e003508..."} 
[2026-09-08 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f957380012d196400071fee98004e003508..."} 
[2026-09-08 11:25:29] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f957380012d196400071fee98004e003508..."} 
[2026-09-08 11:25:29] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f95"} 
[2026-09-08 11:25:29] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f95"} 
[2026-09-08 11:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533208,"longitude_deg":75.663872,"latitude_deg":11.9533208,"altitude":78,"angle":53,"satellites":8,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-09-08 11:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 11:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788846896000,"timestamp_ms":1788846896000,"timestamp_seconds":1788846896,"priority":1,"record_length":96,"hex_timestamp":"000001a07f957380"} 
[2026-09-08 11:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-08 11:25: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-09-08 11:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12287,"102":206,"83":41984,"24":0,"16":18426131254345728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-09-08 11:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 11:25:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:25:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-08 11:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:25:29] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:25:29] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:25:42] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:25:42] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:25:42] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:25:47] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:25:47] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:25:47] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:25:49] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:25:49] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:25:49] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:25:49] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:25: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-09-08 11:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:25: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-09-08 11:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:25:49] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:25:49] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:26:00] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f95c588012d1962c0071fee40004f003509..."} 
[2026-09-08 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f95c588012d1962c0071fee40004f003509..."} 
[2026-09-08 11:26:00] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f95c588012d1962c0071fee40004f003509..."} 
[2026-09-08 11:26:00] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f95"} 
[2026-09-08 11:26:00] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f95"} 
[2026-09-08 11:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533120,"longitude_deg":75.66384,"latitude_deg":11.953312,"altitude":79,"angle":53,"satellites":9,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071fee40","is_valid_coordinates":true} 
[2026-09-08 11:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944805376001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426157024149504,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219765248,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788846917000,"timestamp_ms":1788846917000,"timestamp_seconds":1788846917,"priority":1,"record_length":96,"hex_timestamp":"000001a07f95c588"} 
[2026-09-08 11:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 11:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944805376001,"66":12504,"102":206,"83":41984,"24":0,"16":18426157024149504,"45":1829587379219765248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944805376001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:26:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426157024149504,"km_value":18426157024149.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219765248,"description":"Unknown IO ID 45"} 
[2026-09-08 11:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944805376001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219765248}} 
[2026-09-08 11:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:26:00] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:26:00] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:26:10] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:26:10] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:26:10] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:26:20] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:26:20] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:26:20] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:26:20] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:26: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-09-08 11:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:26:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:26:20] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:26:20] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:26:31] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f961790012d196300071fee70004e00350b..."} 
[2026-09-08 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f961790012d196300071fee70004e00350b..."} 
[2026-09-08 11:26:31] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f961790012d196300071fee70004e00350b..."} 
[2026-09-08 11:26:31] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f96"} 
[2026-09-08 11:26:31] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f96"} 
[2026-09-08 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756638464,"raw_latitude":119533168,"longitude_deg":75.6638464,"latitude_deg":11.9533168,"altitude":78,"angle":53,"satellites":11,"speed":0,"hex_longitude":"2d196300","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-08 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944810752001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426161319116800,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498854400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788846938000,"timestamp_ms":1788846938000,"timestamp_seconds":1788846938,"priority":1,"record_length":96,"hex_timestamp":"000001a07f961790"} 
[2026-09-08 11:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 11:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944810752001,"66":12298,"102":206,"83":41984,"24":0,"16":18426161319116800,"45":1829235535498854400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944810752001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426161319116800,"km_value":18426161319116.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498854400,"description":"Unknown IO ID 45"} 
[2026-09-08 11:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944810752001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829235535498854400}} 
[2026-09-08 11:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:26:31] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:26:31] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:26:42] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:26:42] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:26:42] local.INFO: IMEI packet received {"connection_id":174578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":174578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:26:47] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:26:47] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:26:47] local.INFO: IMEI packet received {"connection_id":174578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:26:49] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:26:49] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:26:49] local.INFO: Packet analysis {"connection_id":174578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:26:49] local.INFO: Extracted packet for processing {"connection_id":174578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:26: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-09-08 11:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":174578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:26:49] local.INFO: GPS data processed {"connection_id":174578,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:26:49] local.INFO: Acknowledgment sent {"connection_id":174578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:27:02] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f966998012d1962c0071feea8004e00350c..."} 
[2026-09-08 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f966998012d1962c0071feea8004e00350c..."} 
[2026-09-08 11:27:02] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f966998012d1962c0071feea8004e00350c..."} 
[2026-09-08 11:27:02] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f96"} 
[2026-09-08 11:27:02] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f96"} 
[2026-09-08 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533224,"longitude_deg":75.66384,"latitude_deg":11.9533224,"altitude":78,"angle":53,"satellites":12,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-09-08 11:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944816128001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426165614084096,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904243044352,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788846959000,"timestamp_ms":1788846959000,"timestamp_seconds":1788846959,"priority":1,"record_length":96,"hex_timestamp":"000001a07f966998"} 
[2026-09-08 11:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":118,"raw_value":8646911284551352320,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832512,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580144055943374,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465702,"corrected_to":0} 
[2026-09-08 11:27:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-08 11:27:02] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,118,160,197,45,192,238,79,9,10,66,115,78,8,13,1,240,200,227,4,113,205,27,239,2,48,65],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":200,"original":13465702,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-08 11:27:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620550656319291392,"timestamp_seconds":5620550656319291.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944816128001,"66":12341,"102":206,"83":41984,"24":0,"16":18426165614084096,"45":1829305904243044352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944816128001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:27:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426165614084096,"km_value":18426165614084.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904243044352,"description":"Unknown IO ID 45"} 
[2026-09-08 11:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944816128001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829305904243044352}} 
[2026-09-08 11:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:27:02] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:27:02] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:27:20] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:20] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:20] local.INFO: Packet analysis {"connection_id":174578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:27:20] local.INFO: Extracted packet for processing {"connection_id":174578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:27: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-09-08 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:27: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-09-08 11:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":174578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:27:20] local.INFO: GPS data processed {"connection_id":174578,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:27:20] local.INFO: Acknowledgment sent {"connection_id":174578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:27:33] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f96b7b8012d196300071feef8004c003511..."} 
[2026-09-08 11:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f96b7b8012d196300071feef8004c003511..."} 
[2026-09-08 11:27:33] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f96b7b8012d196300071feef8004c003511..."} 
[2026-09-08 11:27:33] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f96"} 
[2026-09-08 11:27:33] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f96"} 
[2026-09-08 11:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756638464,"raw_latitude":119533304,"longitude_deg":75.6638464,"latitude_deg":11.9533304,"altitude":76,"angle":53,"satellites":17,"speed":0,"hex_longitude":"2d196300","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-09-08 11:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944821504001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426174204018688,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829235535498881024,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788846979000,"timestamp_ms":1788846979000,"timestamp_seconds":1788846979,"priority":1,"record_length":96,"hex_timestamp":"000001a07f96b7b8"} 
[2026-09-08 11:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 11:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944821504001,"66":12287,"102":206,"83":41984,"24":0,"16":18426174204018688,"45":1829235535498881024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944821504001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:27:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426174204018688,"km_value":18426174204018.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829235535498881024,"description":"Unknown IO ID 45"} 
[2026-09-08 11:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944821504001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829235535498881024}} 
[2026-09-08 11:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:27:33] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:27:33] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:27:47] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:27:47] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:27:47] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:27:52] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:27:52] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:27:52] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:27:54] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:54] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:54] local.INFO: Packet analysis {"connection_id":174580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:27:54] local.INFO: Extracted packet for processing {"connection_id":174580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":174580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:27:54] local.INFO: GPS data processed {"connection_id":174580,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:27:54] local.INFO: Acknowledgment sent {"connection_id":174580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:27:58] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:58] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9319f0012d34c50006aa4390001300532a..."} 
[2026-09-08 11:27:58] local.INFO: Packet analysis {"connection_id":174580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:27:58] local.INFO: Extracted packet for processing {"connection_id":174580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f93"} 
[2026-09-08 11:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788846742000,"timestamp_ms":1788846742000,"timestamp_seconds":1788846742,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9319f0"} 
[2026-09-08 11:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944688896001,"66":25647,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:27:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944688896001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":174580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:27:58] local.INFO: GPS data processed {"connection_id":174580,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:27:58] local.INFO: Acknowledgment sent {"connection_id":174580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:28:04] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9709c0012d196300071fef50004b003511..."} 
[2026-09-08 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9709c0012d196300071fef50004b003511..."} 
[2026-09-08 11:28:04] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9709c0012d196300071fef50004b003511..."} 
[2026-09-08 11:28:04] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:28:04] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756638464,"raw_latitude":119533392,"longitude_deg":75.6638464,"latitude_deg":11.9533392,"altitude":75,"angle":53,"satellites":17,"speed":0,"hex_longitude":"2d196300","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-09-08 11:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944826624001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426178498985984,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904243079168,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788847000000,"timestamp_ms":1788847000000,"timestamp_seconds":1788847000,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9709c0"} 
[2026-09-08 11:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 11:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944826624001,"66":12265,"102":206,"83":41984,"24":0,"16":18426178498985984,"45":1829305904243079168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944826624001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426178498985984,"km_value":18426178498985.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904243079168,"description":"Unknown IO ID 45"} 
[2026-09-08 11:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944826624001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829305904243079168}} 
[2026-09-08 11:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:28:04] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:28:04] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:28:35] local.INFO: TCP Data received {"connection_id":177083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f975bc8012d196300071fef98004a003512..."} 
[2026-09-08 11:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f975bc8012d196300071fef98004a003512..."} 
[2026-09-08 11:28:35] local.INFO: Processing buffer {"connection_id":177083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f975bc8012d196300071fef98004a003512..."} 
[2026-09-08 11:28:35] local.INFO: Packet analysis {"connection_id":177083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:28:35] local.INFO: Extracted packet for processing {"connection_id":177083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756638464,"raw_latitude":119533464,"longitude_deg":75.6638464,"latitude_deg":11.9533464,"altitude":74,"angle":53,"satellites":18,"speed":0,"hex_longitude":"2d196300","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-09-08 11:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944832000001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426182793953280,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904243101696,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788847021000,"timestamp_ms":1788847021000,"timestamp_seconds":1788847021,"priority":1,"record_length":96,"hex_timestamp":"000001a07f975bc8"} 
[2026-09-08 11:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 11:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944832000001,"66":12287,"102":206,"83":41984,"24":0,"16":18426182793953280,"45":1829305904243101696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944832000001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426182793953280,"km_value":18426182793953.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904243101696,"description":"Unknown IO ID 45"} 
[2026-09-08 11:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944832000001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829305904243101696}} 
[2026-09-08 11:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":177083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:28:36] local.INFO: GPS data processed {"connection_id":177083,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:28:36] local.INFO: Acknowledgment sent {"connection_id":177083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:28:42] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:28:42] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:28:42] local.INFO: IMEI packet received {"connection_id":174316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":174316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:28:47] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:28:47] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:28:47] local.INFO: IMEI packet received {"connection_id":174316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:28:48] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:28:48] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:28:48] local.INFO: Packet analysis {"connection_id":174316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:28:48] local.INFO: Extracted packet for processing {"connection_id":174316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:28: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-09-08 11:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:28: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-09-08 11:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":174316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:28:48] local.INFO: GPS data processed {"connection_id":174316,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:28:48] local.INFO: Acknowledgment sent {"connection_id":174316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:29:02] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:29:02] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:29:02] local.INFO: IMEI packet received {"connection_id":174318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":174318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:29:06] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:29:06] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:29:06] local.INFO: IMEI packet received {"connection_id":174318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":174318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:29:07] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97add0012d1962c0071feff8004a003514..."} 
[2026-09-08 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97add0012d1962c0071feff8004a003514..."} 
[2026-09-08 11:29:07] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97add0012d1962c0071feff8004a003514..."} 
[2026-09-08 11:29:07] local.INFO: Packet analysis {"connection_id":174318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:29:07] local.INFO: Extracted packet for processing {"connection_id":174318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756638400,"raw_latitude":119533560,"longitude_deg":75.66384,"latitude_deg":11.953356,"altitude":74,"angle":53,"satellites":20,"speed":0,"hex_longitude":"2d1962c0","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-09-08 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944837376001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426191383887872,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904243120128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847042000,"timestamp_ms":1788847042000,"timestamp_seconds":1788847042,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97add0"} 
[2026-09-08 11:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 11:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944837376001,"66":12254,"102":206,"83":41984,"24":0,"16":18426191383887872,"45":1829305904243120128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-08 11:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944837376001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 11:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426191383887872,"km_value":18426191383887.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904243120128,"description":"Unknown IO ID 45"} 
[2026-09-08 11:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944837376001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829305904243120128}} 
[2026-09-08 11:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":174318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:29:07] local.INFO: GPS data processed {"connection_id":174318,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:29:07] local.INFO: Acknowledgment sent {"connection_id":174318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:29:19] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:29:19] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:29:19] local.INFO: Packet analysis {"connection_id":174316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:29:19] local.INFO: Extracted packet for processing {"connection_id":174316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:29: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-09-08 11:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":174316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:29:19] local.INFO: GPS data processed {"connection_id":174316,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:29:19] local.INFO: Acknowledgment sent {"connection_id":174316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:29:38] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f999618012d196880071fede00042008b19..."} 
[2026-09-08 11:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f999618012d196880071fede00042008b19..."} 
[2026-09-08 11:29:38] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f999618012d196880071fede00042008b19..."} 
[2026-09-08 11:29:38] local.INFO: Packet analysis {"connection_id":174318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f99"} 
[2026-09-08 11:29:38] local.INFO: Extracted packet for processing {"connection_id":174318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f99"} 
[2026-09-08 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533024,"longitude_deg":75.6639872,"latitude_deg":11.9533024,"altitude":66,"angle":139,"satellites":25,"speed":3,"hex_longitude":"2d196880","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-09-08 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944869632001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426354592645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382405632,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847167000,"timestamp_ms":1788847167000,"timestamp_seconds":1788847167,"priority":1,"record_length":96,"hex_timestamp":"000001a07f999618"} 
[2026-09-08 11:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 11:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944869632001,"66":14233,"101":206,"83":41984,"24":3,"16":18426354592645120,"45":1830642910382405632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 11:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944869632001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:29:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 11:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426354592645120,"km_value":18426354592645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382405632,"description":"Unknown IO ID 45"} 
[2026-09-08 11:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944869632001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830642910382405632}} 
[2026-09-08 11:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":174318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:29:38] local.INFO: GPS data processed {"connection_id":174318,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:29:38] local.INFO: Acknowledgment sent {"connection_id":174318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:29:42] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:29:42] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:29:42] local.INFO: IMEI packet received {"connection_id":177085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":177085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:29:47] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:29:47] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:29:47] local.INFO: IMEI packet received {"connection_id":177085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":177085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:29:48] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:29:48] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:29:48] local.INFO: Packet analysis {"connection_id":177085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:29:48] local.INFO: Extracted packet for processing {"connection_id":177085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:29: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-09-08 11:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:29: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-09-08 11:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":177085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:29:48] local.INFO: GPS data processed {"connection_id":177085,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:29:48] local.INFO: Acknowledgment sent {"connection_id":177085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:30:09] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f999a00012d1968c0071fedb80042007119..."} 
[2026-09-08 11:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f999a00012d1968c0071fedb80042007119..."} 
[2026-09-08 11:30:09] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f999a00012d1968c0071fedb80042007119..."} 
[2026-09-08 11:30:09] local.INFO: Packet analysis {"connection_id":174318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f99"} 
[2026-09-08 11:30:09] local.INFO: Extracted packet for processing {"connection_id":174318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f99"} 
[2026-09-08 11:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532984,"longitude_deg":75.6639936,"latitude_deg":11.9532984,"altitude":66,"angle":113,"satellites":25,"speed":3,"hex_longitude":"2d1968c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-09-08 11:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944874752001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426358887612416,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614916096,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788847168000,"timestamp_ms":1788847168000,"timestamp_seconds":1788847168,"priority":1,"record_length":96,"hex_timestamp":"000001a07f999a00"} 
[2026-09-08 11:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 11:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944874752001,"66":14102,"101":206,"83":41984,"24":3,"16":18426358887612416,"45":1830854016614916096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 11:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944874752001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:30:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 11:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426358887612416,"km_value":18426358887612.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614916096,"description":"Unknown IO ID 45"} 
[2026-09-08 11:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944874752001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830854016614916096}} 
[2026-09-08 11:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":174318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:30:10] local.INFO: GPS data processed {"connection_id":174318,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:30:10] local.INFO: Acknowledgment sent {"connection_id":174318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:30:19] local.INFO: TCP Data received {"connection_id":177085,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:30:19] local.INFO: Processing buffer {"connection_id":177085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:30:19] local.INFO: Packet analysis {"connection_id":177085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:30:19] local.INFO: Extracted packet for processing {"connection_id":177085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:30: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-09-08 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":177085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:30:19] local.INFO: GPS data processed {"connection_id":177085,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:30:19] local.INFO: Acknowledgment sent {"connection_id":177085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:30:40] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9a9fb8012d19dd4007200978002d000219..."} 
[2026-09-08 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9a9fb8012d19dd4007200978002d000219..."} 
[2026-09-08 11:30:40] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9a9fb8012d19dd4007200978002d000219..."} 
[2026-09-08 11:30:40] local.INFO: Packet analysis {"connection_id":174318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9a"} 
[2026-09-08 11:30:40] local.INFO: Extracted packet for processing {"connection_id":174318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9a"} 
[2026-09-08 11:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119540088,"longitude_deg":75.666976,"latitude_deg":11.9540088,"altitude":45,"angle":2,"satellites":25,"speed":9,"hex_longitude":"2d19dd40","hex_latitude":"07200978","is_valid_coordinates":true} 
[2026-09-08 11:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944891904001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18427939435577344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863645851403456512,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788847235000,"timestamp_ms":1788847235000,"timestamp_seconds":1788847235,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9a9fb8"} 
[2026-09-08 11:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733126912,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":136,"raw_value":12103763720411648,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-6467161231113846735,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503880809578496,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2590574593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4119855146,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176943205,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":113,"raw_value":1153185391697002752,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-08 11:30:40] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1074208755,"corrected_to":0} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84752300815884273,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,120,160,136,45,64,1,43,25,10,66,119,251,42,112,128,240,7,227,127,31,4,113,205,202,248,239,55,2,65,18,206,104],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":1074208755,"validated":0}]} 
[2026-09-08 11:30:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242611630291091456,"timestamp_seconds":3242611630291091.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944891904001,"66":14352,"101":206,"83":41984,"24":9,"16":18427939435577344,"45":1863645851403456512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 11:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944891904001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:30:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 11:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18427939435577344,"km_value":18427939435577.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863645851403456512,"description":"Unknown IO ID 45"} 
[2026-09-08 11:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944891904001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1863645851403456512}} 
[2026-09-08 11:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":174318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:30:40] local.INFO: GPS data processed {"connection_id":174318,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:30:40] local.INFO: Acknowledgment sent {"connection_id":174318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:30:42] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:30:42] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:30:42] local.INFO: IMEI packet received {"connection_id":174319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":174319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:30:47] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:30:47] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:30:47] local.INFO: IMEI packet received {"connection_id":174319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:30:48] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:30:48] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:30:48] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:30:48] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:30: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-09-08 11:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:30: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-09-08 11:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:30:48] local.INFO: GPS data processed {"connection_id":174319,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:30:48] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:31:01] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:01] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:01] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:31:01] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:01] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:01] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:31:03] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:03] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:03] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:31:06] local.INFO: TCP Data received {"connection_id":177087,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:06] local.INFO: Processing buffer {"connection_id":177087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:31:06] local.INFO: IMEI packet received {"connection_id":177087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":177087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:31:19] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:31:19] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:31:19] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:31:19] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:31: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-09-08 11:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:31:19] local.INFO: GPS data processed {"connection_id":174319,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:31:19] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:31:42] local.INFO: TCP Data received {"connection_id":177088,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:31:42] local.INFO: Processing buffer {"connection_id":177088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:31:42] local.INFO: IMEI packet received {"connection_id":177088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":177088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:31:44] local.INFO: TCP Data received {"connection_id":175660,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:31:44] local.INFO: Processing buffer {"connection_id":175660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:31:44] local.INFO: IMEI packet received {"connection_id":175660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":175660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:31:47] local.INFO: TCP Data received {"connection_id":177088,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:31:47] local.INFO: Processing buffer {"connection_id":177088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:31:47] local.INFO: IMEI packet received {"connection_id":177088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":177088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:31:48] local.INFO: TCP Data received {"connection_id":177088,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:31:48] local.INFO: Processing buffer {"connection_id":177088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:31:48] local.INFO: Packet analysis {"connection_id":177088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:31:48] local.INFO: Extracted packet for processing {"connection_id":177088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 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-09-08 11:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 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-09-08 11:31: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-09-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 11:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":177088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:31:48] local.INFO: GPS data processed {"connection_id":177088,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:31:48] local.INFO: Acknowledgment sent {"connection_id":177088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:32:20] local.INFO: TCP Data received {"connection_id":177088,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:20] local.INFO: Processing buffer {"connection_id":177088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:20] local.INFO: Packet analysis {"connection_id":177088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:32:20] local.INFO: Extracted packet for processing {"connection_id":177088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:32: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-09-08 11:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:32: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-09-08 11:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":177088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:32:20] local.INFO: GPS data processed {"connection_id":177088,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:32:20] local.INFO: Acknowledgment sent {"connection_id":177088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:32:47] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:32:47] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:32:47] local.INFO: IMEI packet received {"connection_id":175661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":175661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:32:52] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:32:52] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:32:52] local.INFO: IMEI packet received {"connection_id":175661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":175661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:32:53] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:53] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:53] local.INFO: Packet analysis {"connection_id":175661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:32:53] local.INFO: Extracted packet for processing {"connection_id":175661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":175661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:32:53] local.INFO: GPS data processed {"connection_id":175661,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:32:53] local.INFO: Acknowledgment sent {"connection_id":175661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:32:57] local.INFO: TCP Data received {"connection_id":175661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:57] local.INFO: Processing buffer {"connection_id":175661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f97b1b8012d34c50006aa4390001300532d..."} 
[2026-09-08 11:32:57] local.INFO: Packet analysis {"connection_id":175661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:32:57] local.INFO: Extracted packet for processing {"connection_id":175661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f97"} 
[2026-09-08 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944765952001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788847043000,"timestamp_ms":1788847043000,"timestamp_seconds":1788847043,"priority":1,"record_length":96,"hex_timestamp":"000001a07f97b1b8"} 
[2026-09-08 11:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:32: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-09-08 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944765952001,"66":25582,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944765952001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:32:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:32:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944765952001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":175661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:32:57] local.INFO: GPS data processed {"connection_id":175661,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:32:57] local.INFO: Acknowledgment sent {"connection_id":175661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:33:42] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:33:42] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:33:42] local.INFO: IMEI packet received {"connection_id":174582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:33:47] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:33:47] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:33:47] local.INFO: IMEI packet received {"connection_id":174582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:33:48] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:33:48] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:33:48] local.INFO: Packet analysis {"connection_id":174582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:33:48] local.INFO: Extracted packet for processing {"connection_id":174582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:33: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-09-08 11:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:33: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-09-08 11:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":174582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:33:48] local.INFO: GPS data processed {"connection_id":174582,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:33:48] local.INFO: Acknowledgment sent {"connection_id":174582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:34:20] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:34:20] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:34:20] local.INFO: Packet analysis {"connection_id":174582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:34:20] local.INFO: Extracted packet for processing {"connection_id":174582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:34: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-09-08 11:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:34: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-09-08 11:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:34:20] local.INFO: GPS data processed {"connection_id":174582,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:34:20] local.INFO: Acknowledgment sent {"connection_id":174582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:34:42] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:34:42] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:34:42] local.INFO: IMEI packet received {"connection_id":177090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":177090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:34:47] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:34:47] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:34:47] local.INFO: IMEI packet received {"connection_id":177090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":177090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:34:48] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:34:48] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:34:48] local.INFO: Packet analysis {"connection_id":177090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:34:48] local.INFO: Extracted packet for processing {"connection_id":177090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:34: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-09-08 11:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":177090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:34:48] local.INFO: GPS data processed {"connection_id":177090,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:34:48] local.INFO: Acknowledgment sent {"connection_id":177090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:35:20] local.INFO: TCP Data received {"connection_id":177090,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:35:20] local.INFO: Processing buffer {"connection_id":177090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:35:20] local.INFO: Packet analysis {"connection_id":177090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:35:20] local.INFO: Extracted packet for processing {"connection_id":177090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:35: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-09-08 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":177090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:35:20] local.INFO: GPS data processed {"connection_id":177090,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:35:20] local.INFO: Acknowledgment sent {"connection_id":177090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:35:42] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:35:42] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:35:42] local.INFO: IMEI packet received {"connection_id":177091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":177091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:35:47] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:35:47] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:35:47] local.INFO: IMEI packet received {"connection_id":177091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":177091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:35:48] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:35:48] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:35:48] local.INFO: Packet analysis {"connection_id":177091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:35:48] local.INFO: Extracted packet for processing {"connection_id":177091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:35: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-09-08 11:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":177091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:35:48] local.INFO: GPS data processed {"connection_id":177091,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:35:48] local.INFO: Acknowledgment sent {"connection_id":177091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:36:06] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:36:06] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:36:06] local.INFO: IMEI packet received {"connection_id":175665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":175665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:36:07] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9eca20012d19b4400720ad100038012c25..."} 
[2026-09-08 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9eca20012d19b4400720ad100038012c25..."} 
[2026-09-08 11:36:07] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9eca20012d19b4400720ad100038012c25..."} 
[2026-09-08 11:36:07] local.INFO: Packet analysis {"connection_id":175665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9e"} 
[2026-09-08 11:36:07] local.INFO: Extracted packet for processing {"connection_id":175665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9e"} 
[2026-09-08 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119581968,"longitude_deg":75.6659264,"latitude_deg":11.9581968,"altitude":56,"angle":300,"satellites":37,"speed":24,"hex_longitude":"2d19b440","hex_latitude":"0720ad10","is_valid_coordinates":true} 
[2026-09-08 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944961792001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18430237243080704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810795008,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847508000,"timestamp_ms":1788847508000,"timestamp_seconds":1788847508,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9eca20"} 
[2026-09-08 11:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-08 11:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944961792001,"66":14233,"103":206,"83":41984,"24":24,"16":18430237243080704,"45":1852809064810795008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 11:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944961792001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18430237243080704,"km_value":18430237243080.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810795008,"description":"Unknown IO ID 45"} 
[2026-09-08 11:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944961792001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1852809064810795008}} 
[2026-09-08 11:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":175665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:36:08] local.INFO: GPS data processed {"connection_id":175665,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:36:08] local.INFO: Acknowledgment sent {"connection_id":175665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:36:20] local.INFO: TCP Data received {"connection_id":177091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:36:20] local.INFO: Processing buffer {"connection_id":177091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:36:20] local.INFO: Packet analysis {"connection_id":177091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:36:20] local.INFO: Extracted packet for processing {"connection_id":177091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:36: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-09-08 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11: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-09-08 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":177091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:36:20] local.INFO: GPS data processed {"connection_id":177091,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:36:20] local.INFO: Acknowledgment sent {"connection_id":177091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:36:38] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9ed5d8012d19acc00720b000003a012125..."} 
[2026-09-08 11:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9ed5d8012d19acc00720b000003a012125..."} 
[2026-09-08 11:36:38] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9ed5d8012d19acc00720b000003a012125..."} 
[2026-09-08 11:36:38] local.INFO: Packet analysis {"connection_id":175665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9e"} 
[2026-09-08 11:36:38] local.INFO: Extracted packet for processing {"connection_id":175665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9e"} 
[2026-09-08 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119582720,"longitude_deg":75.6657344,"latitude_deg":11.958272,"altitude":58,"angle":289,"satellites":37,"speed":27,"hex_longitude":"2d19acc0","hex_latitude":"0720b000","is_valid_coordinates":true} 
[2026-09-08 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944962048001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18430336027328512,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113277952,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847511000,"timestamp_ms":1788847511000,"timestamp_seconds":1788847511,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9ed5d8"} 
[2026-09-08 11:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 11:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944962048001,"66":14048,"103":206,"83":41984,"24":27,"16":18430336027328512,"45":1852175746113277952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 11:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944962048001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18430336027328512,"km_value":18430336027328.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113277952,"description":"Unknown IO ID 45"} 
[2026-09-08 11:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944962048001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1852175746113277952}} 
[2026-09-08 11:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":175665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:36:38] local.INFO: GPS data processed {"connection_id":175665,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:36:38] local.INFO: Acknowledgment sent {"connection_id":175665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:36:42] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:36:42] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:36:42] local.INFO: IMEI packet received {"connection_id":177092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":177092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:36:48] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:36:48] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:36:48] local.INFO: IMEI packet received {"connection_id":177092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":177092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:36:49] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:36:49] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:36:49] local.INFO: Packet analysis {"connection_id":177092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:36:49] local.INFO: Extracted packet for processing {"connection_id":177092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:36: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-09-08 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":177092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:36:49] local.INFO: GPS data processed {"connection_id":177092,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:36:49] local.INFO: Acknowledgment sent {"connection_id":177092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:37:01] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:37:01] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:37:01] local.INFO: IMEI packet received {"connection_id":174584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":174584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:37:06] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:37:06] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:37:06] local.INFO: IMEI packet received {"connection_id":174584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":174584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:37:07] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9fb098012d18f2400720da68003b013c24..."} 
[2026-09-08 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9fb098012d18f2400720da68003b013c24..."} 
[2026-09-08 11:37:07] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9fb098012d18f2400720da68003b013c24..."} 
[2026-09-08 11:37:07] local.INFO: Packet analysis {"connection_id":174584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9f"} 
[2026-09-08 11:37:07] local.INFO: Extracted packet for processing {"connection_id":174584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9f"} 
[2026-09-08 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756609600,"raw_latitude":119593576,"longitude_deg":75.66096,"latitude_deg":11.9593576,"altitude":59,"angle":316,"satellites":36,"speed":36,"hex_longitude":"2d18f240","hex_latitude":"0720da68","is_valid_coordinates":true} 
[2026-09-08 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944975360001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18432762683850752,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802917625190983680,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847567000,"timestamp_ms":1788847567000,"timestamp_seconds":1788847567,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9fb098"} 
[2026-09-08 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944975360001,"66":14265,"103":206,"83":41984,"24":36,"16":18432762683850752,"45":1802917625190983680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944975360001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18432762683850752,"km_value":18432762683850.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802917625190983680,"description":"Unknown IO ID 45"} 
[2026-09-08 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944975360001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1802917625190983680}} 
[2026-09-08 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":174584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:37:07] local.INFO: GPS data processed {"connection_id":174584,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:37:07] local.INFO: Acknowledgment sent {"connection_id":174584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:37:14] local.INFO: TCP Data received {"connection_id":177093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:37:14] local.INFO: Processing buffer {"connection_id":177093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:37:14] local.INFO: IMEI packet received {"connection_id":177093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":177093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:37:21] local.INFO: TCP Data received {"connection_id":177092,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:37:21] local.INFO: Processing buffer {"connection_id":177092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9c4980012d34c50006aa43900013005327..."} 
[2026-09-08 11:37:21] local.INFO: Packet analysis {"connection_id":177092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:37:21] local.INFO: Extracted packet for processing {"connection_id":177092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9c"} 
[2026-09-08 11:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944843008001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788847344000,"timestamp_ms":1788847344000,"timestamp_seconds":1788847344,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9c4980"} 
[2026-09-08 11:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 11:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944843008001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944843008001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:37:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944843008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":177092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:37:21] local.INFO: GPS data processed {"connection_id":177092,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:37:21] local.INFO: Acknowledgment sent {"connection_id":177092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:37:38] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07f9fc038012d18e9800720e588003a014824..."} 
[2026-09-08 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07f9fc038012d18e9800720e588003a014824..."} 
[2026-09-08 11:37:38] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07f9fc038012d18e9800720e588003a014824..."} 
[2026-09-08 11:37:38] local.INFO: Packet analysis {"connection_id":174584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07f9f"} 
[2026-09-08 11:37:38] local.INFO: Extracted packet for processing {"connection_id":174584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07f9f"} 
[2026-09-08 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756607360,"raw_latitude":119596424,"longitude_deg":75.660736,"latitude_deg":11.9596424,"altitude":58,"angle":328,"satellites":36,"speed":34,"hex_longitude":"2d18e980","hex_latitude":"0720e588","is_valid_coordinates":true} 
[2026-09-08 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944977152001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18432938777509888,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797569600634382336,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847571000,"timestamp_ms":1788847571000,"timestamp_seconds":1788847571,"priority":1,"record_length":96,"hex_timestamp":"000001a07f9fc038"} 
[2026-09-08 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944977152001,"66":14243,"103":206,"83":41984,"24":34,"16":18432938777509888,"45":1797569600634382336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944977152001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18432938777509888,"km_value":18432938777509.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797569600634382336,"description":"Unknown IO ID 45"} 
[2026-09-08 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944977152001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1797569600634382336}} 
[2026-09-08 11:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":174584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:37:38] local.INFO: GPS data processed {"connection_id":174584,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:37:38] local.INFO: Acknowledgment sent {"connection_id":174584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:37:44] local.INFO: TCP Data received {"connection_id":174324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:37:44] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:37:44] local.INFO: IMEI packet received {"connection_id":174324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":174324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:37:47] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:37:47] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:37:47] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:37:48] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:37:48] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:37:48] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:37:49] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0a2c8012d34c50006aa43900013005325..."} 
[2026-09-08 11:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0a2c8012d34c50006aa43900013005325..."} 
[2026-09-08 11:37:49] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0a2c8012d34c50006aa43900013005325..."} 
[2026-09-08 11:37:49] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:37:49] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944920064001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788847629000,"timestamp_ms":1788847629000,"timestamp_seconds":1788847629,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0a2c8"} 
[2026-09-08 11:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:37: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-09-08 11:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944920064001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944920064001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944920064001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:37:49] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:37:49] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:37:53] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0a2c8012d34c50006aa43900013005325..."} 
[2026-09-08 11:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0a2c8012d34c50006aa43900013005325..."} 
[2026-09-08 11:37:53] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0a2c8012d34c50006aa43900013005325..."} 
[2026-09-08 11:37:53] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:37:53] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821712,"longitude_deg":75.8433024,"latitude_deg":11.1821712,"altitude":19,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-09-08 11:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944920064001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788847629000,"timestamp_ms":1788847629000,"timestamp_seconds":1788847629,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0a2c8"} 
[2026-09-08 11:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944920064001,"66":25625,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944920064001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944920064001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:37:53] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:37:53] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:38:01] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:38:01] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:38:01] local.INFO: IMEI packet received {"connection_id":174585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":174585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:38:06] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:38:06] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:38:06] local.INFO: IMEI packet received {"connection_id":174585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":174585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:38:07] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa09710012d18a640072174a80047012725..."} 
[2026-09-08 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa09710012d18a640072174a80047012725..."} 
[2026-09-08 11:38:07] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa09710012d18a640072174a80047012725..."} 
[2026-09-08 11:38:07] local.INFO: Packet analysis {"connection_id":174585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:38:07] local.INFO: Extracted packet for processing {"connection_id":174585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119633064,"longitude_deg":75.6590144,"latitude_deg":11.9633064,"altitude":71,"angle":295,"satellites":37,"speed":26,"hex_longitude":"2d18a640","hex_latitude":"072174a8","is_valid_coordinates":true} 
[2026-09-08 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944991744001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18434970297040896,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065319424,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847626000,"timestamp_ms":1788847626000,"timestamp_seconds":1788847626,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa09710"} 
[2026-09-08 11:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 11:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944991744001,"66":14233,"106":206,"83":41984,"24":26,"16":18434970297040896,"45":1777373771065319424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 11:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944991744001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:38:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 11:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18434970297040896,"km_value":18434970297040.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065319424,"description":"Unknown IO ID 45"} 
[2026-09-08 11:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944991744001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1777373771065319424}} 
[2026-09-08 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":174585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:38:07] local.INFO: GPS data processed {"connection_id":174585,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:38:07] local.INFO: Acknowledgment sent {"connection_id":174585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:38:25] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0ba38012d34c40006aa43680013006027..."} 
[2026-09-08 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0ba38012d34c40006aa43680013006027..."} 
[2026-09-08 11:38:25] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0ba38012d34c40006aa43680013006027..."} 
[2026-09-08 11:38:25] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:38:25] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821672,"longitude_deg":75.8432768,"latitude_deg":11.1821672,"altitude":19,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4368","is_valid_coordinates":true} 
[2026-09-08 11:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944993024001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010610176,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788847635000,"timestamp_ms":1788847635000,"timestamp_seconds":1788847635,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0ba38"} 
[2026-09-08 11:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 11:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944993024001,"66":25462,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802445489010610176},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944993024001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010610176,"description":"Unknown IO ID 45"} 
[2026-09-08 11:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944993024001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010610176}} 
[2026-09-08 11:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:38:25] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:38:25] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:38:38] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0c5f0012d188380072181500047011b25..."} 
[2026-09-08 11:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0c5f0012d188380072181500047011b25..."} 
[2026-09-08 11:38:38] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0c5f0012d188380072181500047011b25..."} 
[2026-09-08 11:38:38] local.INFO: Packet analysis {"connection_id":174585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:38:38] local.INFO: Extracted packet for processing {"connection_id":174585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636304,"longitude_deg":75.6581248,"latitude_deg":11.9636304,"altitude":71,"angle":283,"satellites":37,"speed":31,"hex_longitude":"2d188380","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-09-08 11:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944992256001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18435416973639680,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502414481408,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847638000,"timestamp_ms":1788847638000,"timestamp_seconds":1788847638,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0c5f0"} 
[2026-09-08 11:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 11:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944992256001,"66":14211,"106":206,"83":41984,"24":31,"16":18435416973639680,"45":1776177502414481408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 11:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944992256001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 11:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18435416973639680,"km_value":18435416973639.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502414481408,"description":"Unknown IO ID 45"} 
[2026-09-08 11:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944992256001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1776177502414481408}} 
[2026-09-08 11:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":174585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:38:38] local.INFO: GPS data processed {"connection_id":174585,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:38:38] local.INFO: Acknowledgment sent {"connection_id":174585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:38:43] local.INFO: TCP Data received {"connection_id":175666,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:38:43] local.INFO: Processing buffer {"connection_id":175666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:38:43] local.INFO: IMEI packet received {"connection_id":175666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":175666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:38:47] local.INFO: TCP Data received {"connection_id":175666,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:38:47] local.INFO: Processing buffer {"connection_id":175666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:38:47] local.INFO: IMEI packet received {"connection_id":175666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":175666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:38:48] local.INFO: TCP Data received {"connection_id":175666,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa10c40012d34c40006aa43680013006027..."} 
[2026-09-08 11:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa10c40012d34c40006aa43680013006027..."} 
[2026-09-08 11:38:48] local.INFO: Processing buffer {"connection_id":175666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa10c40012d34c40006aa43680013006027..."} 
[2026-09-08 11:38:48] local.INFO: Packet analysis {"connection_id":175666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa1"} 
[2026-09-08 11:38:48] local.INFO: Extracted packet for processing {"connection_id":175666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa1"} 
[2026-09-08 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821672,"longitude_deg":75.8432768,"latitude_deg":11.1821672,"altitude":19,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4368","is_valid_coordinates":true} 
[2026-09-08 11:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944994560001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033889280,"note":"Value kept but may cause issues"} 
[2026-09-08 11:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847656000,"timestamp_ms":1788847656000,"timestamp_seconds":1788847656,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa10c40"} 
[2026-09-08 11:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 11:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944994560001,"66":27767,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802164014033889280},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944994560001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033889280,"description":"Unknown IO ID 45"} 
[2026-09-08 11:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944994560001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033889280}} 
[2026-09-08 11:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":175666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:38:48] local.INFO: GPS data processed {"connection_id":175666,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:38:48] local.INFO: Acknowledgment sent {"connection_id":175666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:39:06] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:39:06] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:39:06] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:39:07] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:39:07] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:39:07] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:39:08] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0c5f0012d188380072181500047011b25..."} 
[2026-09-08 11:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0c5f0012d188380072181500047011b25..."} 
[2026-09-08 11:39:08] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0c5f0012d188380072181500047011b25..."} 
[2026-09-08 11:39:08] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:39:08] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636304,"longitude_deg":75.6581248,"latitude_deg":11.9636304,"altitude":71,"angle":283,"satellites":37,"speed":31,"hex_longitude":"2d188380","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-09-08 11:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944995328001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18435416973639680,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396246974615552,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788847638000,"timestamp_ms":1788847638000,"timestamp_seconds":1788847638,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0c5f0"} 
[2026-09-08 11:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 11:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944995328001,"66":14211,"106":206,"83":41984,"24":31,"16":18435416973639680,"45":1766396246974615552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 11:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944995328001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 11:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18435416973639680,"km_value":18435416973639.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396246974615552,"description":"Unknown IO ID 45"} 
[2026-09-08 11:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944995328001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1766396246974615552}} 
[2026-09-08 11:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:39:08] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:39:08] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:39:11] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0d1a8012d187a00072182480047010e25..."} 
[2026-09-08 11:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0d1a8012d187a00072182480047010e25..."} 
[2026-09-08 11:39:11] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0d1a8012d187a00072182480047010e25..."} 
[2026-09-08 11:39:11] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:39:11] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756578816,"raw_latitude":119636552,"longitude_deg":75.6578816,"latitude_deg":11.9636552,"altitude":71,"angle":270,"satellites":37,"speed":31,"hex_longitude":"2d187a00","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-09-08 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-09-08 11:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944995328001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18435532937756672,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766396246974615552,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788847641000,"timestamp_ms":1788847641000,"timestamp_seconds":1788847641,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0d1a8"} 
[2026-09-08 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-09-08 11:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 11:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 11:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944995328001,"66":14135,"106":206,"83":41984,"24":31,"16":18435532937756672,"45":1766396246974615552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 11:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944995328001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 11:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18435532937756672,"km_value":18435532937756.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766396246974615552,"description":"Unknown IO ID 45"} 
[2026-09-08 11:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944995328001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1766396246974615552}} 
[2026-09-08 11:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:39:11] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:39:11] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:39:22] local.INFO: TCP Data received {"connection_id":175666,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa15e48012d34c40006aa43680013006024..."} 
[2026-09-08 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa15e48012d34c40006aa43680013006024..."} 
[2026-09-08 11:39:22] local.INFO: Processing buffer {"connection_id":175666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa15e48012d34c40006aa43680013006024..."} 
[2026-09-08 11:39:22] local.INFO: Packet analysis {"connection_id":175666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa1"} 
[2026-09-08 11:39:22] local.INFO: Extracted packet for processing {"connection_id":175666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa1"} 
[2026-09-08 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821672,"longitude_deg":75.8432768,"latitude_deg":11.1821672,"altitude":19,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4368","is_valid_coordinates":true} 
[2026-09-08 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944999936001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624600992645120,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033889280,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788847677000,"timestamp_ms":1788847677000,"timestamp_seconds":1788847677,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa15e48"} 
[2026-09-08 11:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 11:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944999936001,"66":27800,"97":206,"81":23296,"24":0,"16":402624600992645120,"45":3802164014033889280},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944999936001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624600992645120,"km_value":402624600992645.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033889280,"description":"Unknown IO ID 45"} 
[2026-09-08 11:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944999936001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033889280}} 
[2026-09-08 11:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":175666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:39:22] local.INFO: GPS data processed {"connection_id":175666,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:39:22] local.INFO: Acknowledgment sent {"connection_id":175666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:39:42] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:42] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:42] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:39:42] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0ed00012d186380072182400047011c24..."} 
[2026-09-08 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0ed00012d186380072182400047011c24..."} 
[2026-09-08 11:39:42] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0ed00012d186380072182400047011c24..."} 
[2026-09-08 11:39:42] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:39:42] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756573056,"raw_latitude":119636544,"longitude_deg":75.6573056,"latitude_deg":11.9636544,"altitude":71,"angle":284,"satellites":36,"speed":33,"hex_longitude":"2d186380","hex_latitude":"07218240","is_valid_coordinates":true} 
[2026-09-08 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-09-08 11:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944996096001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18435812110630912,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763722234695927808,"note":"Value kept but may cause issues"} 
[2026-09-08 11:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788847648000,"timestamp_ms":1788847648000,"timestamp_seconds":1788847648,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0ed00"} 
[2026-09-08 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-09-08 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 11:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 11:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944996096001,"66":14102,"105":206,"83":41984,"24":33,"16":18435812110630912,"45":1763722234695927808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944996096001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:39:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18435812110630912,"km_value":18435812110630.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763722234695927808,"description":"Unknown IO ID 45"} 
[2026-09-08 11:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944996096001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1763722234695927808}} 
[2026-09-08 11:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:39:42] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:39:42] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:39:42] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:42] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:42] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:39:43] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:43] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:43] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:39:44] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:44] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:39:44] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:40:01] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:40:01] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:40:01] local.INFO: IMEI packet received {"connection_id":174327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":174327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:40:06] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:40:06] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:40:06] local.INFO: IMEI packet received {"connection_id":174327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":174327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:40:06] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa0fca0012d185780072186c00048012725..."} 
[2026-09-08 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa0fca0012d185780072186c00048012725..."} 
[2026-09-08 11:40:06] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa0fca0012d185780072186c00048012725..."} 
[2026-09-08 11:40:06] local.INFO: Packet analysis {"connection_id":174327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:40:06] local.INFO: Extracted packet for processing {"connection_id":174327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa0"} 
[2026-09-08 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756569984,"raw_latitude":119637696,"longitude_deg":75.6569984,"latitude_deg":11.9637696,"altitude":72,"angle":295,"satellites":37,"speed":31,"hex_longitude":"2d185780","hex_latitude":"072186c0","is_valid_coordinates":true} 
[2026-09-08 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457944997888001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18435966729453568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757389047719936000,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788847652000,"timestamp_ms":1788847652000,"timestamp_seconds":1788847652,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa0fca0"} 
[2026-09-08 11:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 11:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457944997888001,"66":14135,"105":206,"83":41984,"24":31,"16":18435966729453568,"45":1757389047719936000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457944997888001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:40:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18435966729453568,"km_value":18435966729453.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757389047719936000,"description":"Unknown IO ID 45"} 
[2026-09-08 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457944997888001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1757389047719936000}} 
[2026-09-08 11:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":174327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:40:07] local.INFO: GPS data processed {"connection_id":174327,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:40:07] local.INFO: Acknowledgment sent {"connection_id":174327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:40:38] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa28b10012d1823000721b8e0004a013e26..."} 
[2026-09-08 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa28b10012d1823000721b8e0004a013e26..."} 
[2026-09-08 11:40:38] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa28b10012d1823000721b8e0004a013e26..."} 
[2026-09-08 11:40:38] local.INFO: Packet analysis {"connection_id":174327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:40:38] local.INFO: Extracted packet for processing {"connection_id":174327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945019648001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725615104,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847754000,"timestamp_ms":1788847754000,"timestamp_seconds":1788847754,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa28b10"} 
[2026-09-08 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2718318593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6444650757509470976,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221692841,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2150760448,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-8556837998814183417,"note":"Value kept but may cause issues"} 
[2026-09-08 11:40:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,128,160,49,45,182,73,38,10,66,181,17,192,1,240,231,227,127,33,4,113,205,9,2,28,216,239,52,65,7,72,5,161],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 11:40:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332611766713450496,"timestamp_seconds":5332611766713450.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945019648001,"66":13276,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725615104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945019648001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:40:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725615104,"description":"Unknown IO ID 45"} 
[2026-09-08 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945019648001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725615104}} 
[2026-09-08 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":174327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:40:38] local.INFO: GPS data processed {"connection_id":174327,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:40:38] local.INFO: Acknowledgment sent {"connection_id":174327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:41:01] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:41:01] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:41:01] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:41:06] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:41:06] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:41:06] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:41:07] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa2dd18012d1823000721b8e0004a013e25..."} 
[2026-09-08 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa2dd18012d1823000721b8e0004a013e25..."} 
[2026-09-08 11:41:07] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa2dd18012d1823000721b8e0004a013e25..."} 
[2026-09-08 11:41:07] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:41:07] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":37,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945025024001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847775000,"timestamp_ms":1788847775000,"timestamp_seconds":1788847775,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa2dd18"} 
[2026-09-08 11:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 11:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945025024001,"66":13124,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945025024001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945025024001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:41:07] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:41:07] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:41:38] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa32f20012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa32f20012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:41:38] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa32f20012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:41:38] local.INFO: Packet analysis {"connection_id":175668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:41:38] local.INFO: Extracted packet for processing {"connection_id":175668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945030400001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847796000,"timestamp_ms":1788847796000,"timestamp_seconds":1788847796,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa32f20"} 
[2026-09-08 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945030400001,"66":13135,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945030400001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:41:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945030400001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":175668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:41:38] local.INFO: GPS data processed {"connection_id":175668,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:41:38] local.INFO: Acknowledgment sent {"connection_id":175668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:42:01] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:42:01] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:42:01] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:42:06] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:42:06] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:42:06] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:42:07] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa38128012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa38128012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:42:07] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa38128012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:42:07] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:42:07] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945035776001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847817000,"timestamp_ms":1788847817000,"timestamp_seconds":1788847817,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa38128"} 
[2026-09-08 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:42: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-09-08 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-08 11:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945035776001,"66":13080,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945035776001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945035776001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:42:07] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:42:07] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:42:38] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa3d330012d1823000721b8e0004a013e26..."} 
[2026-09-08 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa3d330012d1823000721b8e0004a013e26..."} 
[2026-09-08 11:42:38] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa3d330012d1823000721b8e0004a013e26..."} 
[2026-09-08 11:42:38] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:42:38] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945041152001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847838000,"timestamp_ms":1788847838000,"timestamp_seconds":1788847838,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa3d330"} 
[2026-09-08 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 11:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945041152001,"66":13080,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945041152001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945041152001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:42:38] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:42:38] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:42:50] local.INFO: TCP Data received {"connection_id":177095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:42:50] local.INFO: Processing buffer {"connection_id":177095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:42:50] local.INFO: IMEI packet received {"connection_id":177095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":177095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:43:01] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:01] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:01] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:43:01] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:01] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:01] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:43:06] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:06] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:43:06] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:43:07] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa42538012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa42538012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:43:07] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa42538012d1823000721b8e0004a013e27..."} 
[2026-09-08 11:43:07] local.INFO: Packet analysis {"connection_id":174590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa4"} 
[2026-09-08 11:43:07] local.INFO: Extracted packet for processing {"connection_id":174590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa4"} 
[2026-09-08 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945046528001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847859000,"timestamp_ms":1788847859000,"timestamp_seconds":1788847859,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa42538"} 
[2026-09-08 11:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 11:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945046528001,"66":13059,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945046528001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:43:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945046528001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":174590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:43:07] local.INFO: GPS data processed {"connection_id":174590,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:43:07] local.INFO: Acknowledgment sent {"connection_id":174590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:43:38] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa47740012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa47740012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:43:38] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa47740012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:43:38] local.INFO: Packet analysis {"connection_id":174590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa4"} 
[2026-09-08 11:43:38] local.INFO: Extracted packet for processing {"connection_id":174590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa4"} 
[2026-09-08 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945051904001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847880000,"timestamp_ms":1788847880000,"timestamp_seconds":1788847880,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa47740"} 
[2026-09-08 11:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937450,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709958,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2732398593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3101687882,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040106,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2154430464,"note":"Value kept but may cause issues"} 
[2026-09-08 11:43:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,128,160,211,45,184,74,38,10,66,129,39,47,1,240,79,227,127,33,4,113,205,139,35,224,239,51,2,65,7,6],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 11:43:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332611771008024576,"timestamp_seconds":5332611771008025.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945051904001,"66":12993,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945051904001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945051904001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":174590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:43:38] local.INFO: GPS data processed {"connection_id":174590,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:43:38] local.INFO: Acknowledgment sent {"connection_id":174590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:44:01] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:01] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:01] local.INFO: IMEI packet received {"connection_id":175670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":175670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:44:04] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:04] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:04] local.INFO: IMEI packet received {"connection_id":175670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":175670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:44:06] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:06] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:44:06] local.INFO: IMEI packet received {"connection_id":175670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":175670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:44:07] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa4c948012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa4c948012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:44:07] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa4c948012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:44:07] local.INFO: Packet analysis {"connection_id":175670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa4"} 
[2026-09-08 11:44:07] local.INFO: Extracted packet for processing {"connection_id":175670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa4"} 
[2026-09-08 11:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945057280001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847901000,"timestamp_ms":1788847901000,"timestamp_seconds":1788847901,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa4c948"} 
[2026-09-08 11:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 11:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945057280001,"66":12993,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945057280001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:44:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945057280001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":175670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:44:07] local.INFO: GPS data processed {"connection_id":175670,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:44:07] local.INFO: Acknowledgment sent {"connection_id":175670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:44:38] local.INFO: TCP Data received {"connection_id":175670,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa51b50012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa51b50012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:44:38] local.INFO: Processing buffer {"connection_id":175670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa51b50012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:44:38] local.INFO: Packet analysis {"connection_id":175670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa5"} 
[2026-09-08 11:44:38] local.INFO: Extracted packet for processing {"connection_id":175670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa5"} 
[2026-09-08 11:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945062656001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847922000,"timestamp_ms":1788847922000,"timestamp_seconds":1788847922,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa51b50"} 
[2026-09-08 11:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 11:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945062656001,"66":12972,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945062656001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:44:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945062656001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":175670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:44:38] local.INFO: GPS data processed {"connection_id":175670,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:44:38] local.INFO: Acknowledgment sent {"connection_id":175670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:44:47] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:44:47] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:44:47] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:44:48] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa244c0012d34c08006aa3a880009011927..."} 
[2026-09-08 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa244c0012d34c08006aa3a880009011927..."} 
[2026-09-08 11:44:48] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa244c0012d34c08006aa3a880009011927..."} 
[2026-09-08 11:44:48] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:44:48] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":111819400,"longitude_deg":75.8431872,"latitude_deg":11.18194,"altitude":9,"angle":281,"satellites":39,"speed":2,"hex_longitude":"2d34c080","hex_latitude":"06aa3a88","is_valid_coordinates":true} 
[2026-09-08 11:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945019904001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624759906435072,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847361536,"note":"Value kept but may cause issues"} 
[2026-09-08 11:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847736000,"timestamp_ms":1788847736000,"timestamp_seconds":1788847736,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa244c0"} 
[2026-09-08 11:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 11:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945019904001,"66":28006,"97":206,"81":23296,"24":2,"16":402624759906435072,"45":3801389957847361536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945019904001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624759906435072,"km_value":402624759906435.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847361536,"description":"Unknown IO ID 45"} 
[2026-09-08 11:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945019904001,"power":28006,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801389957847361536}} 
[2026-09-08 11:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:44:48] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:44:48] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:45:01] local.INFO: TCP Data received {"connection_id":177096,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:45:01] local.INFO: Processing buffer {"connection_id":177096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:45:01] local.INFO: IMEI packet received {"connection_id":177096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":177096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:45:06] local.INFO: TCP Data received {"connection_id":177096,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:45:06] local.INFO: Processing buffer {"connection_id":177096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:45:06] local.INFO: IMEI packet received {"connection_id":177096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":177096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:45:07] local.INFO: TCP Data received {"connection_id":177096,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa56d58012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa56d58012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:45:07] local.INFO: Processing buffer {"connection_id":177096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa56d58012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:45:07] local.INFO: Packet analysis {"connection_id":177096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa5"} 
[2026-09-08 11:45:07] local.INFO: Extracted packet for processing {"connection_id":177096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa5"} 
[2026-09-08 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945068032001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788847943000,"timestamp_ms":1788847943000,"timestamp_seconds":1788847943,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa56d58"} 
[2026-09-08 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-08 11:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945068032001,"66":12950,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945068032001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:45:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945068032001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":177096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:45:07] local.INFO: GPS data processed {"connection_id":177096,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:45:07] local.INFO: Acknowledgment sent {"connection_id":177096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:45:20] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa26400012d34c04006aa3af8000a00052a..."} 
[2026-09-08 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa26400012d34c04006aa3af8000a00052a..."} 
[2026-09-08 11:45:20] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa26400012d34c04006aa3af8000a00052a..."} 
[2026-09-08 11:45:20] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:45:20] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111819512,"longitude_deg":75.8431808,"latitude_deg":11.1819512,"altitude":10,"angle":5,"satellites":42,"speed":2,"hex_longitude":"2d34c040","hex_latitude":"06aa3af8","is_valid_coordinates":true} 
[2026-09-08 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945020416001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624772791336960,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801178851614820352,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788847744000,"timestamp_ms":1788847744000,"timestamp_seconds":1788847744,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa26400"} 
[2026-09-08 11:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 11:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945020416001,"66":27691,"97":206,"81":23296,"24":2,"16":402624772791336960,"45":3801178851614820352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945020416001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:45:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624772791336960,"km_value":402624772791336.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801178851614820352,"description":"Unknown IO ID 45"} 
[2026-09-08 11:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945020416001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801178851614820352}} 
[2026-09-08 11:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:45:20] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:45:20] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:45:38] local.INFO: TCP Data received {"connection_id":177096,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa5bf60012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa5bf60012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:45:38] local.INFO: Processing buffer {"connection_id":177096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa5bf60012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:45:38] local.INFO: Packet analysis {"connection_id":177096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa5"} 
[2026-09-08 11:45:38] local.INFO: Extracted packet for processing {"connection_id":177096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa5"} 
[2026-09-08 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945073408001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788847964000,"timestamp_ms":1788847964000,"timestamp_seconds":1788847964,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa5bf60"} 
[2026-09-08 11:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 11:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945073408001,"66":12950,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945073408001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945073408001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":177096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:45:38] local.INFO: GPS data processed {"connection_id":177096,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:45:38] local.INFO: Acknowledgment sent {"connection_id":177096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:45:42] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:45:42] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:45:42] local.INFO: IMEI packet received {"connection_id":177097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":177097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:45:48] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:45:48] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:45:48] local.INFO: IMEI packet received {"connection_id":177097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":177097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:45:50] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa267e8012d34c04006aa3b48000a001429..."} 
[2026-09-08 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa267e8012d34c04006aa3b48000a001429..."} 
[2026-09-08 11:45:50] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa267e8012d34c04006aa3b48000a001429..."} 
[2026-09-08 11:45:50] local.INFO: Packet analysis {"connection_id":177097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:45:50] local.INFO: Extracted packet for processing {"connection_id":177097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:45:50] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111819592,"longitude_deg":75.8431808,"latitude_deg":11.1819592,"altitude":10,"angle":20,"satellites":41,"speed":3,"hex_longitude":"2d34c040","hex_latitude":"06aa3b48","is_valid_coordinates":true} 
[2026-09-08 11:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945022464001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624772791336960,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870671360,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788847745000,"timestamp_ms":1788847745000,"timestamp_seconds":1788847745,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa267e8"} 
[2026-09-08 11:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 11:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945022464001,"66":27843,"97":206,"81":23296,"24":3,"16":402624772791336960,"45":3801108482870671360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945022464001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:45:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:45:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624772791336960,"km_value":402624772791336.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870671360,"description":"Unknown IO ID 45"} 
[2026-09-08 11:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945022464001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3801108482870671360}} 
[2026-09-08 11:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":177097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:45:50] local.INFO: GPS data processed {"connection_id":177097,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:45:50] local.INFO: Acknowledgment sent {"connection_id":177097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:45:53] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa26bd0012d34c08006aa3b90000a002228..."} 
[2026-09-08 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa26bd0012d34c08006aa3b90000a002228..."} 
[2026-09-08 11:45:53] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa26bd0012d34c08006aa3b90000a002228..."} 
[2026-09-08 11:45:53] local.INFO: Packet analysis {"connection_id":177097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:45:53] local.INFO: Extracted packet for processing {"connection_id":177097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":111819664,"longitude_deg":75.8431872,"latitude_deg":11.1819664,"altitude":10,"angle":34,"satellites":40,"speed":3,"hex_longitude":"2d34c080","hex_latitude":"06aa3b90","is_valid_coordinates":true} 
[2026-09-08 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945022720001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624781381271552,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870691840,"note":"Value kept but may cause issues"} 
[2026-09-08 11:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788847746000,"timestamp_ms":1788847746000,"timestamp_seconds":1788847746,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa26bd0"} 
[2026-09-08 11:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 11:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945022720001,"66":27843,"97":206,"81":23296,"24":3,"16":402624781381271552,"45":3801108482870691840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945022720001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624781381271552,"km_value":402624781381271.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870691840,"description":"Unknown IO ID 45"} 
[2026-09-08 11:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945022720001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3801108482870691840}} 
[2026-09-08 11:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":177097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:45:53] local.INFO: GPS data processed {"connection_id":177097,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:45:53] local.INFO: Acknowledgment sent {"connection_id":177097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:46:06] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:46:06] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:46:06] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:46:10] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:46:10] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:46:10] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:46:10] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa61168012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa61168012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:10] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa61168012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:10] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa6"} 
[2026-09-08 11:46:10] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa6"} 
[2026-09-08 11:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945078784001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788847985000,"timestamp_ms":1788847985000,"timestamp_seconds":1788847985,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa61168"} 
[2026-09-08 11:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 11:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945078784001,"66":12863,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945078784001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945078784001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:46:11] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:46:11] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:46:11] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa66370012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa66370012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:11] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa66370012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:11] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa6"} 
[2026-09-08 11:46:11] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa6"} 
[2026-09-08 11:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945084160001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788848006000,"timestamp_ms":1788848006000,"timestamp_seconds":1788848006,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa66370"} 
[2026-09-08 11:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 11:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945084160001,"66":12885,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945084160001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945084160001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:46:11] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:46:11] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:46:25] local.INFO: TCP Data received {"connection_id":177097,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa27788012d34c0c006aa3c38000a003728..."} 
[2026-09-08 11:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa27788012d34c0c006aa3c38000a003728..."} 
[2026-09-08 11:46:25] local.INFO: Processing buffer {"connection_id":177097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa27788012d34c0c006aa3c38000a003728..."} 
[2026-09-08 11:46:25] local.INFO: Packet analysis {"connection_id":177097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:46:25] local.INFO: Extracted packet for processing {"connection_id":177097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111819832,"longitude_deg":75.8431936,"latitude_deg":11.1819832,"altitude":10,"angle":55,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3c38","is_valid_coordinates":true} 
[2026-09-08 11:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945022976001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624789971206144,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801178851614887936,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788847749000,"timestamp_ms":1788847749000,"timestamp_seconds":1788847749,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa27788"} 
[2026-09-08 11:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 11:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945022976001,"66":27984,"97":206,"81":23296,"24":0,"16":402624789971206144,"45":3801178851614887936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945022976001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624789971206144,"km_value":402624789971206.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801178851614887936,"description":"Unknown IO ID 45"} 
[2026-09-08 11:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945022976001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801178851614887936}} 
[2026-09-08 11:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":177097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:46:25] local.INFO: GPS data processed {"connection_id":177097,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:46:25] local.INFO: Acknowledgment sent {"connection_id":177097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:46:42] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:46:42] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:46:42] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:46:42] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa6b578012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa6b578012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:42] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa6b578012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:46:42] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa6"} 
[2026-09-08 11:46:42] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa6"} 
[2026-09-08 11:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945089536001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788848027000,"timestamp_ms":1788848027000,"timestamp_seconds":1788848027,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa6b578"} 
[2026-09-08 11:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 11:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945089536001,"66":12874,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945089536001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945089536001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:46:42] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:46:42] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:46:47] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:46:47] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:46:47] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:46:48] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa28b10012d34bfc006aa3c88000a013128..."} 
[2026-09-08 11:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa28b10012d34bfc006aa3c88000a013128..."} 
[2026-09-08 11:46:48] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa28b10012d34bfc006aa3c88000a013128..."} 
[2026-09-08 11:46:48] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:46:48] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111819912,"longitude_deg":75.843168,"latitude_deg":11.1819912,"altitude":10,"angle":305,"satellites":40,"speed":3,"hex_longitude":"2d34bfc0","hex_latitude":"06aa3c88","is_valid_coordinates":true} 
[2026-09-08 11:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945023744001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624802856108032,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359108608,"note":"Value kept but may cause issues"} 
[2026-09-08 11:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788847754000,"timestamp_ms":1788847754000,"timestamp_seconds":1788847754,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa28b10"} 
[2026-09-08 11:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 11:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945023744001,"66":27767,"97":206,"81":23296,"24":3,"16":402624802856108032,"45":3801249220359108608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945023744001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624802856108032,"km_value":402624802856108.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359108608,"description":"Unknown IO ID 45"} 
[2026-09-08 11:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945023744001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3801249220359108608}} 
[2026-09-08 11:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:46:48] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:46:48] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:47:01] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:47:01] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:47:01] local.INFO: IMEI packet received {"connection_id":174333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":174333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:47:06] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:47:06] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:47:06] local.INFO: IMEI packet received {"connection_id":174333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":174333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:47:07] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa70780012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa70780012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:47:07] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa70780012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:47:07] local.INFO: Packet analysis {"connection_id":174333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:47:07] local.INFO: Extracted packet for processing {"connection_id":174333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945094912001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848048000,"timestamp_ms":1788848048000,"timestamp_seconds":1788848048,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa70780"} 
[2026-09-08 11:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-08 11:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945094912001,"66":12852,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945094912001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945094912001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":174333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:47:07] local.INFO: GPS data processed {"connection_id":174333,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:47:07] local.INFO: Acknowledgment sent {"connection_id":174333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:47:22] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa28ef8012d34bfc006aa3ce0000a014527..."} 
[2026-09-08 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa28ef8012d34bfc006aa3ce0000a014527..."} 
[2026-09-08 11:47:22] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa28ef8012d34bfc006aa3ce0000a014527..."} 
[2026-09-08 11:47:22] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:47:22] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111820000,"longitude_deg":75.843168,"latitude_deg":11.182,"altitude":10,"angle":325,"satellites":39,"speed":3,"hex_longitude":"2d34bfc0","hex_latitude":"06aa3ce0","is_valid_coordinates":true} 
[2026-09-08 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945025024001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624807151075328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382418432,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788847755000,"timestamp_ms":1788847755000,"timestamp_seconds":1788847755,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa28ef8"} 
[2026-09-08 11:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 11:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945025024001,"66":27745,"97":206,"81":23296,"24":3,"16":402624807151075328,"45":3800967745382418432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945025024001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624807151075328,"km_value":402624807151075.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382418432,"description":"Unknown IO ID 45"} 
[2026-09-08 11:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945025024001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3800967745382418432}} 
[2026-09-08 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:47:22] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:47:22] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:47:38] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa75988012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa75988012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:47:38] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa75988012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:47:38] local.INFO: Packet analysis {"connection_id":174333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:47:38] local.INFO: Extracted packet for processing {"connection_id":174333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945100288001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848069000,"timestamp_ms":1788848069000,"timestamp_seconds":1788848069,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa75988"} 
[2026-09-08 11:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 11:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945100288001,"66":12841,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945100288001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:47:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945100288001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":174333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:47:38] local.INFO: GPS data processed {"connection_id":174333,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:47:38] local.INFO: Acknowledgment sent {"connection_id":174333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:47:43] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:47:43] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:47:43] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:47:47] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:47:47] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:47:47] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:47:49] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa2a668012d34c04006aa3d70000a006528..."} 
[2026-09-08 11:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa2a668012d34c04006aa3d70000a006528..."} 
[2026-09-08 11:47:49] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa2a668012d34c04006aa3d70000a006528..."} 
[2026-09-08 11:47:49] local.INFO: Packet analysis {"connection_id":175672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:47:49] local.INFO: Extracted packet for processing {"connection_id":175672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820144,"longitude_deg":75.8431808,"latitude_deg":11.1820144,"altitude":10,"angle":101,"satellites":40,"speed":2,"hex_longitude":"2d34c040","hex_latitude":"06aa3d70","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945025280001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624820035977216,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745382440960,"note":"Value kept but may cause issues"} 
[2026-09-08 11:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788847761000,"timestamp_ms":1788847761000,"timestamp_seconds":1788847761,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa2a668"} 
[2026-09-08 11:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 11:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945025280001,"66":27919,"97":206,"81":23296,"24":2,"16":402624820035977216,"45":3800967745382440960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945025280001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624820035977216,"km_value":402624820035977.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745382440960,"description":"Unknown IO ID 45"} 
[2026-09-08 11:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945025280001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3800967745382440960}} 
[2026-09-08 11:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":175672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:47:49] local.INFO: GPS data processed {"connection_id":175672,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:47:49] local.INFO: Acknowledgment sent {"connection_id":175672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:48:01] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:48:01] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:48:01] local.INFO: IMEI packet received {"connection_id":177098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":177098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:48:06] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:48:06] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:48:06] local.INFO: IMEI packet received {"connection_id":177098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":177098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:48:07] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa7ab90012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa7ab90012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:48:07] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa7ab90012d1823000721b8e0004a013e29..."} 
[2026-09-08 11:48:07] local.INFO: Packet analysis {"connection_id":177098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:48:07] local.INFO: Extracted packet for processing {"connection_id":177098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945105664001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848090000,"timestamp_ms":1788848090000,"timestamp_seconds":1788848090,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa7ab90"} 
[2026-09-08 11:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 11:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945105664001,"66":12841,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945105664001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945105664001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":177098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:48:07] local.INFO: GPS data processed {"connection_id":177098,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:48:07] local.INFO: Acknowledgment sent {"connection_id":177098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:48:14] local.INFO: TCP Data received {"connection_id":175673,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:48:14] local.INFO: Processing buffer {"connection_id":175673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:48:14] local.INFO: IMEI packet received {"connection_id":175673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":175673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:48:21] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa2f870012d34c14006aa3d78000b006b29..."} 
[2026-09-08 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa2f870012d34c14006aa3d78000b006b29..."} 
[2026-09-08 11:48:21] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa2f870012d34c14006aa3d78000b006b29..."} 
[2026-09-08 11:48:21] local.INFO: Packet analysis {"connection_id":175672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:48:21] local.INFO: Extracted packet for processing {"connection_id":175672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820152,"longitude_deg":75.8432064,"latitude_deg":11.1820152,"altitude":11,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 11:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945026816001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870833152,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788847782000,"timestamp_ms":1788847782000,"timestamp_seconds":1788847782,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa2f870"} 
[2026-09-08 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-09-08 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 11:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 11:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945026816001,"66":27691,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3801108482870833152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945026816001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870833152,"description":"Unknown IO ID 45"} 
[2026-09-08 11:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945026816001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482870833152}} 
[2026-09-08 11:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":175672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:48:21] local.INFO: GPS data processed {"connection_id":175672,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:48:21] local.INFO: Acknowledgment sent {"connection_id":175672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:48:38] local.INFO: TCP Data received {"connection_id":177098,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa7fd98012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa7fd98012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:48:38] local.INFO: Processing buffer {"connection_id":177098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa7fd98012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:48:38] local.INFO: Packet analysis {"connection_id":177098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:48:38] local.INFO: Extracted packet for processing {"connection_id":177098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945111040001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848111000,"timestamp_ms":1788848111000,"timestamp_seconds":1788848111,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa7fd98"} 
[2026-09-08 11:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 11:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945111040001,"66":12776,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945111040001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945111040001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":177098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:48:38] local.INFO: GPS data processed {"connection_id":177098,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:48:38] local.INFO: Acknowledgment sent {"connection_id":177098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:48:42] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:48:42] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:48:42] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:48:44] local.INFO: TCP Data received {"connection_id":174594,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:48:44] local.INFO: Processing buffer {"connection_id":174594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:48:44] local.INFO: IMEI packet received {"connection_id":174594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":174594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:48:47] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:48:47] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:48:47] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:48:50] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa2fc58012d34c14006aa3d78000b006b28..."} 
[2026-09-08 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa2fc58012d34c14006aa3d78000b006b28..."} 
[2026-09-08 11:48:50] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa2fc58012d34c14006aa3d78000b006b28..."} 
[2026-09-08 11:48:50] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:48:50] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa2"} 
[2026-09-08 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820152,"longitude_deg":75.8432064,"latitude_deg":11.1820152,"altitude":11,"angle":107,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d78","is_valid_coordinates":true} 
[2026-09-08 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945032192001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847545856,"note":"Value kept but may cause issues"} 
[2026-09-08 11:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788847783000,"timestamp_ms":1788847783000,"timestamp_seconds":1788847783,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa2fc58"} 
[2026-09-08 11:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 11:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945032192001,"66":27908,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3801389957847545856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945032192001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847545856,"description":"Unknown IO ID 45"} 
[2026-09-08 11:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945032192001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847545856}} 
[2026-09-08 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:48:50] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:48:50] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:49:01] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:49:01] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:49:01] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:49:06] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:49:06] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:49:06] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:49:07] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa84fa0012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa84fa0012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:49:07] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa84fa0012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:49:07] local.INFO: Packet analysis {"connection_id":175674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa8"} 
[2026-09-08 11:49:07] local.INFO: Extracted packet for processing {"connection_id":175674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa8"} 
[2026-09-08 11:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945116416001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848132000,"timestamp_ms":1788848132000,"timestamp_seconds":1788848132,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa84fa0"} 
[2026-09-08 11:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 11:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945116416001,"66":12776,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945116416001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945116416001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":175674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:49:07] local.INFO: GPS data processed {"connection_id":175674,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:49:07] local.INFO: Acknowledgment sent {"connection_id":175674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:49:22] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa30428012d34c24006aa3d10000b008429..."} 
[2026-09-08 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa30428012d34c24006aa3d10000b008429..."} 
[2026-09-08 11:49:22] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa30428012d34c24006aa3d10000b008429..."} 
[2026-09-08 11:49:22] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:49:22] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa3"} 
[2026-09-08 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111820048,"longitude_deg":75.843232,"latitude_deg":11.1820048,"altitude":11,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-08 11:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945032448001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847545856,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788847785000,"timestamp_ms":1788847785000,"timestamp_seconds":1788847785,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa30428"} 
[2026-09-08 11:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 11:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:49: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-09-08 11:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945032448001,"66":27517,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3801389957847545856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945032448001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:49:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847545856,"description":"Unknown IO ID 45"} 
[2026-09-08 11:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945032448001,"power":27517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847545856}} 
[2026-09-08 11:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:49:22] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:49:22] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:49:38] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa8a1a8012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa8a1a8012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:49:38] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa8a1a8012d1823000721b8e0004a013e28..."} 
[2026-09-08 11:49:38] local.INFO: Packet analysis {"connection_id":175674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa8"} 
[2026-09-08 11:49:38] local.INFO: Extracted packet for processing {"connection_id":175674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa8"} 
[2026-09-08 11:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945121792001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848153000,"timestamp_ms":1788848153000,"timestamp_seconds":1788848153,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa8a1a8"} 
[2026-09-08 11:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 11:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945121792001,"66":12798,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945121792001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:49:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945121792001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":175674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:49:38] local.INFO: GPS data processed {"connection_id":175674,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:49:38] local.INFO: Acknowledgment sent {"connection_id":175674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:49:47] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:49:47] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:49:47] local.INFO: IMEI packet received {"connection_id":174335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":174335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:49:52] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:49:52] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:49:52] local.INFO: IMEI packet received {"connection_id":174335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":174335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:49:53] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa79bf0012d34c40006aa3b38000e008429..."} 
[2026-09-08 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa79bf0012d34c40006aa3b38000e008429..."} 
[2026-09-08 11:49:53] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa79bf0012d34c40006aa3b38000e008429..."} 
[2026-09-08 11:49:53] local.INFO: Packet analysis {"connection_id":174335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:49:53] local.INFO: Extracted packet for processing {"connection_id":174335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":14,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945032960001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824229888,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788848086000,"timestamp_ms":1788848086000,"timestamp_seconds":1788848086,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa79bf0"} 
[2026-09-08 11:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 11:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945032960001,"66":26408,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3801671432824229888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945032960001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824229888,"description":"Unknown IO ID 45"} 
[2026-09-08 11:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945032960001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824229888}} 
[2026-09-08 11:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":174335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:49:53] local.INFO: GPS data processed {"connection_id":174335,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:49:53] local.INFO: Acknowledgment sent {"connection_id":174335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:49:57] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa79bf0012d34c40006aa3b38000e008429..."} 
[2026-09-08 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa79bf0012d34c40006aa3b38000e008429..."} 
[2026-09-08 11:49:57] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa79bf0012d34c40006aa3b38000e008429..."} 
[2026-09-08 11:49:57] local.INFO: Packet analysis {"connection_id":174335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:49:57] local.INFO: Extracted packet for processing {"connection_id":174335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa7"} 
[2026-09-08 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":14,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945032960001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824229888,"note":"Value kept but may cause issues"} 
[2026-09-08 11:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788848086000,"timestamp_ms":1788848086000,"timestamp_seconds":1788848086,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa79bf0"} 
[2026-09-08 11:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 11:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945032960001,"66":26408,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3801671432824229888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945032960001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:49:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824229888,"description":"Unknown IO ID 45"} 
[2026-09-08 11:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945032960001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824229888}} 
[2026-09-08 11:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":174335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:49:57] local.INFO: GPS data processed {"connection_id":174335,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:49:57] local.INFO: Acknowledgment sent {"connection_id":174335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:50:01] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:01] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:01] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:50:01] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:01] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:01] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:50:06] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:06] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:50:06] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:50:07] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa8f3b0012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa8f3b0012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:50:07] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa8f3b0012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:50:07] local.INFO: Packet analysis {"connection_id":174596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa8"} 
[2026-09-08 11:50:07] local.INFO: Extracted packet for processing {"connection_id":174596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa8"} 
[2026-09-08 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945127168001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848174000,"timestamp_ms":1788848174000,"timestamp_seconds":1788848174,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa8f3b0"} 
[2026-09-08 11:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 11:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945127168001,"66":12722,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945127168001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945127168001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":174596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:50:07] local.INFO: GPS data processed {"connection_id":174596,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:50:07] local.INFO: Acknowledgment sent {"connection_id":174596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:50:38] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa945b8012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa945b8012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:50:38] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa945b8012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:50:38] local.INFO: Packet analysis {"connection_id":174596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa9"} 
[2026-09-08 11:50:38] local.INFO: Extracted packet for processing {"connection_id":174596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa9"} 
[2026-09-08 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945132544001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848195000,"timestamp_ms":1788848195000,"timestamp_seconds":1788848195,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa945b8"} 
[2026-09-08 11:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 11:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945132544001,"66":12776,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945132544001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:50:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945132544001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":174596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:50:38] local.INFO: GPS data processed {"connection_id":174596,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:50:38] local.INFO: Acknowledgment sent {"connection_id":174596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:50:42] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:50:42] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:50:42] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:50:47] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:50:47] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:50:47] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:50:49] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:50:49] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:50:49] local.INFO: Packet analysis {"connection_id":174597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:50:49] local.INFO: Extracted packet for processing {"connection_id":174597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":174597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:50:49] local.INFO: GPS data processed {"connection_id":174597,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:50:49] local.INFO: Acknowledgment sent {"connection_id":174597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:51:01] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:01] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:01] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:51:04] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:04] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:04] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:51:04] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:04] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:04] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:51:06] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:06] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:51:06] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:51:07] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa997c0012d1823000721b8e0004a013e2b..."} 
[2026-09-08 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa997c0012d1823000721b8e0004a013e2b..."} 
[2026-09-08 11:51:07] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa997c0012d1823000721b8e0004a013e2b..."} 
[2026-09-08 11:51:07] local.INFO: Packet analysis {"connection_id":174336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa9"} 
[2026-09-08 11:51:07] local.INFO: Extracted packet for processing {"connection_id":174336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa9"} 
[2026-09-08 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945137920001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848216000,"timestamp_ms":1788848216000,"timestamp_seconds":1788848216,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa997c0"} 
[2026-09-08 11:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 11:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945137920001,"66":12722,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945137920001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945137920001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":174336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:51:07] local.INFO: GPS data processed {"connection_id":174336,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:51:07] local.INFO: Acknowledgment sent {"connection_id":174336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:51:21] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:51:21] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:51:21] local.INFO: Packet analysis {"connection_id":174597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:51:21] local.INFO: Extracted packet for processing {"connection_id":174597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:51: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-09-08 11:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":174597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:51:21] local.INFO: GPS data processed {"connection_id":174597,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:51:21] local.INFO: Acknowledgment sent {"connection_id":174597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:51:38] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fa9e9c8012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fa9e9c8012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:51:38] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fa9e9c8012d1823000721b8e0004a013e2a..."} 
[2026-09-08 11:51:38] local.INFO: Packet analysis {"connection_id":174336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fa9"} 
[2026-09-08 11:51:38] local.INFO: Extracted packet for processing {"connection_id":174336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fa9"} 
[2026-09-08 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650528,"longitude_deg":75.6556544,"latitude_deg":11.9650528,"altitude":74,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b8e0","is_valid_coordinates":true} 
[2026-09-08 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945143296001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437066241081344,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725678592,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848237000,"timestamp_ms":1788848237000,"timestamp_seconds":1788848237,"priority":1,"record_length":96,"hex_timestamp":"000001a07fa9e9c8"} 
[2026-09-08 11:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 11:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945143296001,"66":12743,"105":206,"83":41984,"24":0,"16":18437066241081344,"45":1739233911725678592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945143296001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:51:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437066241081344,"km_value":18437066241081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725678592,"description":"Unknown IO ID 45"} 
[2026-09-08 11:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945143296001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725678592}} 
[2026-09-08 11:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":174336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:51:38] local.INFO: GPS data processed {"connection_id":174336,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:51:38] local.INFO: Acknowledgment sent {"connection_id":174336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:51:42] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:51:42] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:51:42] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:51:47] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:51:47] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:51:47] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:51:49] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:51:49] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:51:49] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:51:49] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:51:49] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:51:49] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:52:06] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:52:06] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:52:06] local.INFO: IMEI packet received {"connection_id":175675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":175675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:52:07] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:52:07] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:52:07] local.INFO: IMEI packet received {"connection_id":175675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":175675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:52:08] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fad1e18012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fad1e18012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:08] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fad1e18012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:08] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fad"} 
[2026-09-08 11:52:08] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fad"} 
[2026-09-08 11:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945197056001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260440576,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788848447000,"timestamp_ms":1788848447000,"timestamp_seconds":1788848447,"priority":1,"record_length":96,"hex_timestamp":"000001a07fad1e18"} 
[2026-09-08 11:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 11:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945197056001,"66":12667,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738811699260440576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945197056001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260440576,"description":"Unknown IO ID 45"} 
[2026-09-08 11:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945197056001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260440576}} 
[2026-09-08 11:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:52:08] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:52:08] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:52:12] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fad7020012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fad7020012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:12] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fad7020012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:12] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fad"} 
[2026-09-08 11:52:12] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fad"} 
[2026-09-08 11:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945202432001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788848468000,"timestamp_ms":1788848468000,"timestamp_seconds":1788848468,"priority":1,"record_length":96,"hex_timestamp":"000001a07fad7020"} 
[2026-09-08 11:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":123,"data_length":795,"current_offset":136} 
[2026-09-08 11:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945202432001,"66":12602,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945202432001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945202432001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:52:12] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:52:12] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:52:22] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:52:22] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:52:22] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:52:22] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:52: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-09-08 11:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:52:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:52:22] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:52:22] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:52:42] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:52:42] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:52:42] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:52:43] local.INFO: TCP Data received {"connection_id":175675,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fadc228012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fadc228012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:43] local.INFO: Processing buffer {"connection_id":175675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fadc228012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:52:43] local.INFO: Packet analysis {"connection_id":175675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fad"} 
[2026-09-08 11:52:43] local.INFO: Extracted packet for processing {"connection_id":175675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fad"} 
[2026-09-08 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945207808001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788848489000,"timestamp_ms":1788848489000,"timestamp_seconds":1788848489,"priority":1,"record_length":96,"hex_timestamp":"000001a07fadc228"} 
[2026-09-08 11:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-08 11:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945207808001,"66":12613,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945207808001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:52:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945207808001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":175675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:52:43] local.INFO: GPS data processed {"connection_id":175675,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:52:43] local.INFO: Acknowledgment sent {"connection_id":175675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:52:47] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:52:47] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:52:47] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:52:48] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:52:48] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:52:48] local.INFO: Packet analysis {"connection_id":174598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:52:48] local.INFO: Extracted packet for processing {"connection_id":174598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:52: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-09-08 11:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":174598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:52:48] local.INFO: GPS data processed {"connection_id":174598,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:52:48] local.INFO: Acknowledgment sent {"connection_id":174598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:53:01] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:53:01] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:53:01] local.INFO: IMEI packet received {"connection_id":177100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":177100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:53:06] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:53:06] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:53:06] local.INFO: IMEI packet received {"connection_id":177100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":177100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:53:07] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fae1430012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fae1430012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 11:53:07] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fae1430012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 11:53:07] local.INFO: Packet analysis {"connection_id":177100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fae"} 
[2026-09-08 11:53:07] local.INFO: Extracted packet for processing {"connection_id":177100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fae"} 
[2026-09-08 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945213184001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848510000,"timestamp_ms":1788848510000,"timestamp_seconds":1788848510,"priority":1,"record_length":96,"hex_timestamp":"000001a07fae1430"} 
[2026-09-08 11:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 11:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945213184001,"66":12613,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945213184001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945213184001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":177100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:53:07] local.INFO: GPS data processed {"connection_id":177100,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:53:07] local.INFO: Acknowledgment sent {"connection_id":177100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:53:21] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:53:21] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:53:21] local.INFO: Packet analysis {"connection_id":174598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:53:21] local.INFO: Extracted packet for processing {"connection_id":174598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:53: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-09-08 11:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:53:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":174598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:53:21] local.INFO: GPS data processed {"connection_id":174598,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:53:21] local.INFO: Acknowledgment sent {"connection_id":174598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:53:38] local.INFO: TCP Data received {"connection_id":177100,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fae6638012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fae6638012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:53:38] local.INFO: Processing buffer {"connection_id":177100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fae6638012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:53:38] local.INFO: Packet analysis {"connection_id":177100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fae"} 
[2026-09-08 11:53:38] local.INFO: Extracted packet for processing {"connection_id":177100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fae"} 
[2026-09-08 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945218560001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848531000,"timestamp_ms":1788848531000,"timestamp_seconds":1788848531,"priority":1,"record_length":96,"hex_timestamp":"000001a07fae6638"} 
[2026-09-08 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 11:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945218560001,"66":12602,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945218560001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:53:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945218560001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":177100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:53:38] local.INFO: GPS data processed {"connection_id":177100,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:53:38] local.INFO: Acknowledgment sent {"connection_id":177100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:53:42] local.INFO: TCP Data received {"connection_id":177101,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:53:42] local.INFO: Processing buffer {"connection_id":177101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:53:42] local.INFO: IMEI packet received {"connection_id":177101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":177101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:53:47] local.INFO: TCP Data received {"connection_id":177101,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:53:47] local.INFO: Processing buffer {"connection_id":177101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:53:47] local.INFO: IMEI packet received {"connection_id":177101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":177101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:53:48] local.INFO: TCP Data received {"connection_id":177101,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:53:48] local.INFO: Processing buffer {"connection_id":177101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:53:48] local.INFO: Packet analysis {"connection_id":177101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:53:48] local.INFO: Extracted packet for processing {"connection_id":177101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:53: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-09-08 11:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":177101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:53:48] local.INFO: GPS data processed {"connection_id":177101,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:53:48] local.INFO: Acknowledgment sent {"connection_id":177101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:53:49] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:53:49] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:53:49] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:54:01] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:54:01] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:54:01] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:54:06] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:54:06] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:54:06] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:54:07] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07faeb840012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07faeb840012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:54:07] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07faeb840012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:54:07] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fae"} 
[2026-09-08 11:54:07] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fae"} 
[2026-09-08 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945223936001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848552000,"timestamp_ms":1788848552000,"timestamp_seconds":1788848552,"priority":1,"record_length":96,"hex_timestamp":"000001a07faeb840"} 
[2026-09-08 11:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-08 11:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945223936001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945223936001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945223936001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:54:07] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:54:07] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:54:20] local.INFO: TCP Data received {"connection_id":177101,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:54:20] local.INFO: Processing buffer {"connection_id":177101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:54:20] local.INFO: Packet analysis {"connection_id":177101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:54:20] local.INFO: Extracted packet for processing {"connection_id":177101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:54: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-09-08 11:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:54:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:54:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":177101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:54:20] local.INFO: GPS data processed {"connection_id":177101,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:54:20] local.INFO: Acknowledgment sent {"connection_id":177101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:54:38] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07faf0a48012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07faf0a48012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:54:38] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07faf0a48012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:54:38] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07faf"} 
[2026-09-08 11:54:38] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07faf"} 
[2026-09-08 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945229312001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848573000,"timestamp_ms":1788848573000,"timestamp_seconds":1788848573,"priority":1,"record_length":96,"hex_timestamp":"000001a07faf0a48"} 
[2026-09-08 11:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906993216,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2909806593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407912450,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,128,160,102,45,192,180,69,43,10,66,20,42,194,1,240,227,127,33,4,113,205,30,32,200,239,49,2,65,7,106,50,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 11:54:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199573184315392,"timestamp_seconds":4972199573184315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945229312001,"66":12613,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945229312001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:54:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945229312001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:54:38] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:54:38] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:54:42] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:54:42] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:54:42] local.INFO: IMEI packet received {"connection_id":175677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":175677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:54:47] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:54:47] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:54:47] local.INFO: IMEI packet received {"connection_id":175677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":175677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:54:49] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:54:49] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:54:49] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:54:49] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:54:49] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:54:49] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:55:01] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:55:01] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:55:01] local.INFO: IMEI packet received {"connection_id":175679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":175679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:55:06] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:55:06] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:55:06] local.INFO: IMEI packet received {"connection_id":175679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":175679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:55:06] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07faf5c50012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07faf5c50012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:55:06] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07faf5c50012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:55:06] local.INFO: Packet analysis {"connection_id":175679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07faf"} 
[2026-09-08 11:55:06] local.INFO: Extracted packet for processing {"connection_id":175679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07faf"} 
[2026-09-08 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945234688001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848594000,"timestamp_ms":1788848594000,"timestamp_seconds":1788848594,"priority":1,"record_length":96,"hex_timestamp":"000001a07faf5c50"} 
[2026-09-08 11:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 11:55: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-09-08 11:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945234688001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945234688001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:55:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945234688001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":175679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:55:07] local.INFO: GPS data processed {"connection_id":175679,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:55:07] local.INFO: Acknowledgment sent {"connection_id":175679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:55:21] local.INFO: TCP Data received {"connection_id":175677,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:55:21] local.INFO: Processing buffer {"connection_id":175677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fac33b8012d34c40006aa3b38001a008429..."} 
[2026-09-08 11:55:21] local.INFO: Packet analysis {"connection_id":175677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:55:21] local.INFO: Extracted packet for processing {"connection_id":175677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fac"} 
[2026-09-08 11:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945110016001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788848387000,"timestamp_ms":1788848387000,"timestamp_seconds":1788848387,"priority":1,"record_length":96,"hex_timestamp":"000001a07fac33b8"} 
[2026-09-08 11:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 11:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:55: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-09-08 11:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945110016001,"66":26169,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945110016001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:55:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:55:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945110016001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":175677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:55:21] local.INFO: GPS data processed {"connection_id":175677,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:55:21] local.INFO: Acknowledgment sent {"connection_id":175677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:55:38] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fafae58012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fafae58012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:55:38] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fafae58012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:55:38] local.INFO: Packet analysis {"connection_id":175679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07faf"} 
[2026-09-08 11:55:38] local.INFO: Extracted packet for processing {"connection_id":175679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07faf"} 
[2026-09-08 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945240064001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848615000,"timestamp_ms":1788848615000,"timestamp_seconds":1788848615,"priority":1,"record_length":96,"hex_timestamp":"000001a07fafae58"} 
[2026-09-08 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273272008,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2920558593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,128,160,10,45,192,180,69,43,66,184,102,1,240,58,227,127,33,4,113,205,194,32,200,239,49,2,65,7,106,50,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 11:55:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199573184315392,"timestamp_seconds":4972199573184315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945240064001,"66":12591,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945240064001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:55:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945240064001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":175679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:55:38] local.INFO: GPS data processed {"connection_id":175679,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:55:38] local.INFO: Acknowledgment sent {"connection_id":175679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:55:47] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:55:47] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:55:47] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:55:52] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:55:52] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:55:52] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:55:54] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:55:54] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:55:54] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:55:54] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:55:54] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:55:54] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:56:01] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:56:01] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:56:01] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:56:06] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:56:06] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:56:06] local.INFO: IMEI packet received {"connection_id":175680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":175680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:56:06] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb00060012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb00060012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:56:06] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb00060012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:56:06] local.INFO: Packet analysis {"connection_id":175680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:06] local.INFO: Extracted packet for processing {"connection_id":175680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945245440001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848636000,"timestamp_ms":1788848636000,"timestamp_seconds":1788848636,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb00060"} 
[2026-09-08 11:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945245440001,"66":12591,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945245440001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:56:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945245440001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":175680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:56:07] local.INFO: GPS data processed {"connection_id":175680,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:56:07] local.INFO: Acknowledgment sent {"connection_id":175680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:56:26] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:56:26] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:56:26] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:26] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:56: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:56:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:56:26] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:56:26] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:56:38] local.INFO: TCP Data received {"connection_id":175680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb05268012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb05268012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:56:38] local.INFO: Processing buffer {"connection_id":175680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb05268012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:56:38] local.INFO: Packet analysis {"connection_id":175680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:38] local.INFO: Extracted packet for processing {"connection_id":175680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945250816001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848657000,"timestamp_ms":1788848657000,"timestamp_seconds":1788848657,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb05268"} 
[2026-09-08 11:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945250816001,"66":12591,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945250816001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945250816001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":175680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:56:38] local.INFO: GPS data processed {"connection_id":175680,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:56:38] local.INFO: Acknowledgment sent {"connection_id":175680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:56:42] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:56:42] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:56:42] local.INFO: IMEI packet received {"connection_id":175681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":175681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:56:47] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:56:47] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:56:47] local.INFO: IMEI packet received {"connection_id":175681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":175681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:56:49] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:56:49] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:56:49] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:49] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:56:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:56:49] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:56:49] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:57:01] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:01] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:01] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:57:01] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:01] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:01] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:57:06] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:06] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:57:06] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:57:06] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0a470012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0a470012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:57:06] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0a470012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:57:06] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:06] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945256192001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848678000,"timestamp_ms":1788848678000,"timestamp_seconds":1788848678,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0a470"} 
[2026-09-08 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945256192001,"66":12591,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945256192001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:57:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945256192001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:57:07] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:57:07] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:57:20] local.INFO: TCP Data received {"connection_id":175681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:57:20] local.INFO: Processing buffer {"connection_id":175681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:57:20] local.INFO: Packet analysis {"connection_id":175681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:20] local.INFO: Extracted packet for processing {"connection_id":175681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:57: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-09-08 11:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:57:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":175681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:57:20] local.INFO: GPS data processed {"connection_id":175681,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:57:20] local.INFO: Acknowledgment sent {"connection_id":175681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:57:38] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0f678012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0f678012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:57:38] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0f678012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:57:38] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:38] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945261568001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848699000,"timestamp_ms":1788848699000,"timestamp_seconds":1788848699,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0f678"} 
[2026-09-08 11:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945261568001,"66":12591,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945261568001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:57:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945261568001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:57:38] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:57:38] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:57:42] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:57:42] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:57:42] local.INFO: IMEI packet received {"connection_id":174341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":174341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:57:47] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:57:47] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:57:47] local.INFO: IMEI packet received {"connection_id":174341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:57:48] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:57:48] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:57:48] local.INFO: Packet analysis {"connection_id":174341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:48] local.INFO: Extracted packet for processing {"connection_id":174341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:57: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-09-08 11:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":174341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:57:48] local.INFO: GPS data processed {"connection_id":174341,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:57:48] local.INFO: Acknowledgment sent {"connection_id":174341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:58:01] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:01] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:01] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:58:04] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:04] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:04] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:58:06] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:06] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:58:06] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:58:06] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb14880012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb14880012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:58:06] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb14880012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:58:06] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb1"} 
[2026-09-08 11:58:06] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb1"} 
[2026-09-08 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945266944001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848720000,"timestamp_ms":1788848720000,"timestamp_seconds":1788848720,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb14880"} 
[2026-09-08 11:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 11:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945266944001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945266944001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945266944001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:58:07] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:58:07] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:58:20] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:58:20] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:58:20] local.INFO: Packet analysis {"connection_id":174341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:58:20] local.INFO: Extracted packet for processing {"connection_id":174341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:58: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-09-08 11:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:58:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":174341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:58:20] local.INFO: GPS data processed {"connection_id":174341,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:58:20] local.INFO: Acknowledgment sent {"connection_id":174341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:58:38] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb19a88012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb19a88012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:58:38] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb19a88012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:58:38] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb1"} 
[2026-09-08 11:58:38] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb1"} 
[2026-09-08 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945272320001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848741000,"timestamp_ms":1788848741000,"timestamp_seconds":1788848741,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb19a88"} 
[2026-09-08 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":30721,"corrected_to":0} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273272008,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2952814593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,128,160,246,45,192,180,69,44,10,66,164,82,1,240,47,227,127,33,4,113,205,174,32,200,43,239,49,2,65,7,106,51,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":246,"original":30721,"validated":0},{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 11:58:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199577479282688,"timestamp_seconds":4972199577479283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945272320001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945272320001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945272320001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:58:38] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:58:38] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:58:42] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:58:42] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:58:42] local.INFO: IMEI packet received {"connection_id":175682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":175682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:58:47] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:58:47] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:58:47] local.INFO: IMEI packet received {"connection_id":175682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":175682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:58:49] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:58:49] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:58:49] local.INFO: Packet analysis {"connection_id":175682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:58:49] local.INFO: Extracted packet for processing {"connection_id":175682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:58:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":175682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:58:49] local.INFO: GPS data processed {"connection_id":175682,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:58:49] local.INFO: Acknowledgment sent {"connection_id":175682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:59:06] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:59:06] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:59:06] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 11:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:59:07] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:59:07] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 11:59:07] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 11:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:59:08] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb1ec90012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb1ec90012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:59:08] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb1ec90012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 11:59:08] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb1"} 
[2026-09-08 11:59:08] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb1"} 
[2026-09-08 11:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945277696001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788848762000,"timestamp_ms":1788848762000,"timestamp_seconds":1788848762,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb1ec90"} 
[2026-09-08 11:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":30721,"corrected_to":0} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273272008,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2958190593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,128,160,72,45,192,180,69,44,10,66,246,164,1,240,47,227,127,33,4,113,205,32,200,43,239,49,2,65,7,106,51,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":246,"original":30721,"validated":0},{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 11:59:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199573184315392,"timestamp_seconds":4972199573184315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945277696001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945277696001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:59:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945277696001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:59:08] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:59:08] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:59:11] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb23e98012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb23e98012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 11:59:11] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb23e98012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 11:59:11] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb2"} 
[2026-09-08 11:59:11] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb2"} 
[2026-09-08 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945283072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788848783000,"timestamp_ms":1788848783000,"timestamp_seconds":1788848783,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb23e98"} 
[2026-09-08 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-09-08 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 11:59: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-09-08 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-09-08 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-09-08 11:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945283072001,"66":12548,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945283072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:59:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945283072001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:59:11] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:59:11] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:59:20] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:59:20] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:59:20] local.INFO: Packet analysis {"connection_id":175682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:59:20] local.INFO: Extracted packet for processing {"connection_id":175682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 11:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:59: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-09-08 11:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":175682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:59:20] local.INFO: GPS data processed {"connection_id":175682,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:59:20] local.INFO: Acknowledgment sent {"connection_id":175682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:59:24] local.INFO: TCP Data received {"connection_id":175683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:59:24] local.INFO: Processing buffer {"connection_id":175683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:59:24] local.INFO: IMEI packet received {"connection_id":175683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":175683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:59:42] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:59:42] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:59:42] local.INFO: IMEI packet received {"connection_id":175684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 11:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":175684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 11:59:42] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb290a0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb290a0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:59:42] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb290a0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 11:59:42] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb2"} 
[2026-09-08 11:59:42] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb2"} 
[2026-09-08 11:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 11:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945288448001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788848804000,"timestamp_ms":1788848804000,"timestamp_seconds":1788848804,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb290a0"} 
[2026-09-08 11:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 11: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2968942593,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,128,160,236,45,192,180,69,44,10,66,154,43,72,1,240,14,227,127,33,4,113,205,164,32,200,239,49,2,65,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 11:59:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199568889348096,"timestamp_seconds":4972199568889348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 11:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 11:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 11:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 11:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 11:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945288448001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 11:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 11:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945288448001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 11:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 11:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945288448001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 11:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:59:43] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:59:43] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:59:47] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:59:47] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 11:59:47] local.INFO: IMEI packet received {"connection_id":175684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 11:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":175684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 11:59:48] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:59:48] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 11:59:48] local.INFO: Packet analysis {"connection_id":175684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:59:48] local.INFO: Extracted packet for processing {"connection_id":175684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 11:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 11: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-09-08 11:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 11:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 11:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 11:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 11:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 11:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 11: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-09-08 11:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 11:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 11:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 11:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 11:59: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-09-08 11:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 11:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 11:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 11:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 11:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 11:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 11:59:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 11:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 11:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 11:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 11:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 11:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":175684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 11:59:48] local.INFO: GPS data processed {"connection_id":175684,"processed":1,"errors":0,"total":1} 
[2026-09-08 11:59:48] local.INFO: Acknowledgment sent {"connection_id":175684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 11:59:49] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:59:49] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 11:59:49] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 11:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:00:01] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:00:01] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:00:01] local.INFO: IMEI packet received {"connection_id":174604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":174604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:00:06] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:00:06] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:00:06] local.INFO: IMEI packet received {"connection_id":174604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":174604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:00:07] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb2e2a8012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb2e2a8012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:07] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb2e2a8012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:07] local.INFO: Packet analysis {"connection_id":174604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb2"} 
[2026-09-08 12:00:07] local.INFO: Extracted packet for processing {"connection_id":174604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb2"} 
[2026-09-08 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945293824001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788848825000,"timestamp_ms":1788848825000,"timestamp_seconds":1788848825,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb2e2a8"} 
[2026-09-08 12:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273272008,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2974318593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 12:00:07] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2013343000,"corrected_to":0} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,128,160,62,45,192,180,69,42,10,66,236,44,154,1,240,14,227,127,33,4,113,205,246,32,200,239,49,2,65,7,106,52,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":246,"original":2013343000,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 12:00:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199573184315392,"timestamp_seconds":4972199573184315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 12:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945293824001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945293824001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945293824001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":174604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:00:07] local.INFO: GPS data processed {"connection_id":174604,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:00:07] local.INFO: Acknowledgment sent {"connection_id":174604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:00:10] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb334b0012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb334b0012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:10] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb334b0012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:10] local.INFO: Packet analysis {"connection_id":174604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb3"} 
[2026-09-08 12:00:10] local.INFO: Extracted packet for processing {"connection_id":174604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb3"} 
[2026-09-08 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945299200001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788848846000,"timestamp_ms":1788848846000,"timestamp_seconds":1788848846,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb334b0"} 
[2026-09-08 12:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273272008,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2979694593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,128,160,144,45,192,180,69,43,10,66,62,42,236,1,240,216,227,127,33,4,113,205,72,32,200,44,239,49,2,65,7,106,52,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 12:00:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199577479282688,"timestamp_seconds":4972199577479283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 12:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945299200001,"66":12537,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945299200001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:00:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945299200001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":174604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:00:10] local.INFO: GPS data processed {"connection_id":174604,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:00:10] local.INFO: Acknowledgment sent {"connection_id":174604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:00:20] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 12:00:20] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb0cb80012d34c40006aa3b38001a008426..."} 
[2026-09-08 12:00:20] local.INFO: Packet analysis {"connection_id":175684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 12:00:20] local.INFO: Extracted packet for processing {"connection_id":175684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb0"} 
[2026-09-08 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":26,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945187072001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788848688000,"timestamp_ms":1788848688000,"timestamp_seconds":1788848688,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb0cb80"} 
[2026-09-08 12:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 12:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:00: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-09-08 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945187072001,"66":26082,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945187072001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945187072001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":175684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:00:20] local.INFO: GPS data processed {"connection_id":175684,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:00:20] local.INFO: Acknowledgment sent {"connection_id":175684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:00:41] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb386b8012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb386b8012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:41] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb386b8012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:00:41] local.INFO: Packet analysis {"connection_id":174604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb3"} 
[2026-09-08 12:00:41] local.INFO: Extracted packet for processing {"connection_id":174604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb3"} 
[2026-09-08 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945304576001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788848867000,"timestamp_ms":1788848867000,"timestamp_seconds":1788848867,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb386b8"} 
[2026-09-08 12:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 12:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945304576001,"66":12558,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945304576001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:00:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945304576001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":174604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:00:42] local.INFO: GPS data processed {"connection_id":174604,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:00:42] local.INFO: Acknowledgment sent {"connection_id":174604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:00:48] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:00:48] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:00:48] local.INFO: IMEI packet received {"connection_id":177103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":177103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:00:52] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:00:52] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:00:52] local.INFO: IMEI packet received {"connection_id":177103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":177103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:00:53] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:00:53] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:00:53] local.INFO: Packet analysis {"connection_id":177103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:00:53] local.INFO: Extracted packet for processing {"connection_id":177103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":177103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:00:53] local.INFO: GPS data processed {"connection_id":177103,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:00:53] local.INFO: Acknowledgment sent {"connection_id":177103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:00:57] local.INFO: TCP Data received {"connection_id":177103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:00:57] local.INFO: Processing buffer {"connection_id":177103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:00:57] local.INFO: Packet analysis {"connection_id":177103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:00:57] local.INFO: Extracted packet for processing {"connection_id":177103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:00:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:00:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":177103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:00:57] local.INFO: GPS data processed {"connection_id":177103,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:00:57] local.INFO: Acknowledgment sent {"connection_id":177103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:01:01] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:01:01] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:01:01] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:01:06] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:01:06] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:01:06] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:01:06] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb3d8c0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb3d8c0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:01:06] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb3d8c0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:01:06] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb3"} 
[2026-09-08 12:01:06] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb3"} 
[2026-09-08 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945309952001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848888000,"timestamp_ms":1788848888000,"timestamp_seconds":1788848888,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb3d8c0"} 
[2026-09-08 12:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273272008,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2990446593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931242,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,128,160,52,45,192,180,69,44,10,66,226,144,1,240,14,227,127,33,4,113,205,236,32,200,239,48,2,65,7,106,53,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 12:01:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199577479282688,"timestamp_seconds":4972199577479283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 12:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945309952001,"66":12548,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945309952001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:01:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945309952001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:01:07] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:01:07] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:01:38] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb42ac8012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb42ac8012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:01:38] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb42ac8012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:01:38] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb4"} 
[2026-09-08 12:01:38] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb4"} 
[2026-09-08 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945315328001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848909000,"timestamp_ms":1788848909000,"timestamp_seconds":1788848909,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb42ac8"} 
[2026-09-08 12:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2995822593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,128,160,134,45,192,180,69,44,10,66,52,226,1,240,14,227,127,33,4,113,205,62,32,200,42,239,49,2,65,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 12:01:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199573184315392,"timestamp_seconds":4972199573184315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 12:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945315328001,"66":12526,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945315328001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945315328001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:01:38] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:01:38] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:01:42] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:01:42] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:01:42] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:01:47] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:01:47] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:01:47] local.INFO: IMEI packet received {"connection_id":175685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":175685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:01:48] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:01:48] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:01:48] local.INFO: Packet analysis {"connection_id":175685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:01:48] local.INFO: Extracted packet for processing {"connection_id":175685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:01: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-09-08 12:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":175685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:01:48] local.INFO: GPS data processed {"connection_id":175685,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:01:48] local.INFO: Acknowledgment sent {"connection_id":175685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:02:01] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:02:01] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:02:01] local.INFO: IMEI packet received {"connection_id":174606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:02:06] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:02:06] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:02:06] local.INFO: IMEI packet received {"connection_id":174606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":174606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:02:06] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb47cd0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb47cd0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:02:06] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb47cd0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:02:06] local.INFO: Packet analysis {"connection_id":174606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb4"} 
[2026-09-08 12:02:06] local.INFO: Extracted packet for processing {"connection_id":174606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb4"} 
[2026-09-08 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945320704001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848930000,"timestamp_ms":1788848930000,"timestamp_seconds":1788848930,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb47cd0"} 
[2026-09-08 12:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 12:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945320704001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945320704001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945320704001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":174606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:02:07] local.INFO: GPS data processed {"connection_id":174606,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:02:07] local.INFO: Acknowledgment sent {"connection_id":174606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:02:20] local.INFO: TCP Data received {"connection_id":175685,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:02:20] local.INFO: Processing buffer {"connection_id":175685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:02:20] local.INFO: Packet analysis {"connection_id":175685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:02:20] local.INFO: Extracted packet for processing {"connection_id":175685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:02: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-09-08 12:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":175685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:02:20] local.INFO: GPS data processed {"connection_id":175685,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:02:20] local.INFO: Acknowledgment sent {"connection_id":175685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:02:37] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb4ced8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb4ced8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:02:37] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb4ced8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:02:37] local.INFO: Packet analysis {"connection_id":174606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb4"} 
[2026-09-08 12:02:37] local.INFO: Extracted packet for processing {"connection_id":174606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb4"} 
[2026-09-08 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945326080001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788848951000,"timestamp_ms":1788848951000,"timestamp_seconds":1788848951,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb4ced8"} 
[2026-09-08 12:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 12:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945326080001,"66":12526,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945326080001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945326080001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":174606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:02:37] local.INFO: GPS data processed {"connection_id":174606,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:02:37] local.INFO: Acknowledgment sent {"connection_id":174606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:02:42] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:02:42] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:02:42] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:02:47] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:02:47] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:02:47] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:02:49] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:02:49] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:02:49] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:02:49] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:02:49] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:02:49] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:03:01] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:03:01] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:03:01] local.INFO: IMEI packet received {"connection_id":177104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":177104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:03:06] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:03:06] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:03:06] local.INFO: IMEI packet received {"connection_id":177104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":177104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:03:06] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb520e0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb520e0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:03:06] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb520e0012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:03:06] local.INFO: Packet analysis {"connection_id":177104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:06] local.INFO: Extracted packet for processing {"connection_id":177104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945331456001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788848972000,"timestamp_ms":1788848972000,"timestamp_seconds":1788848972,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb520e0"} 
[2026-09-08 12:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 12:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945331456001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945331456001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945331456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":177104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:03:07] local.INFO: GPS data processed {"connection_id":177104,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:03:07] local.INFO: Acknowledgment sent {"connection_id":177104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:03:21] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:21] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:21] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:21] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:03: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-09-08 12:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:03:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:03:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:03:21] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:03:21] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:03:37] local.INFO: TCP Data received {"connection_id":177104,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb572e8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb572e8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:03:38] local.INFO: Processing buffer {"connection_id":177104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb572e8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:03:38] local.INFO: Packet analysis {"connection_id":177104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:38] local.INFO: Extracted packet for processing {"connection_id":177104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945336832001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788848993000,"timestamp_ms":1788848993000,"timestamp_seconds":1788848993,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb572e8"} 
[2026-09-08 12:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 12:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945336832001,"66":12548,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945336832001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:03:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945336832001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":177104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:03:38] local.INFO: GPS data processed {"connection_id":177104,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:03:38] local.INFO: Acknowledgment sent {"connection_id":177104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:03:47] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:03:47] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:03:47] local.INFO: IMEI packet received {"connection_id":174607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:03:52] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:03:52] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:03:52] local.INFO: IMEI packet received {"connection_id":174607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":174607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:03:53] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:53] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:53] local.INFO: Packet analysis {"connection_id":174607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:53] local.INFO: Extracted packet for processing {"connection_id":174607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":174607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:03:53] local.INFO: GPS data processed {"connection_id":174607,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:03:53] local.INFO: Acknowledgment sent {"connection_id":174607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:03:57] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:57] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:03:57] local.INFO: Packet analysis {"connection_id":174607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:57] local.INFO: Extracted packet for processing {"connection_id":174607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:03:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":174607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:03:57] local.INFO: GPS data processed {"connection_id":174607,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:03:57] local.INFO: Acknowledgment sent {"connection_id":174607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:04:01] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:01] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:01] local.INFO: IMEI packet received {"connection_id":175687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":175687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:04:01] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:01] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:01] local.INFO: IMEI packet received {"connection_id":175687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":175687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:04:06] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:06] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:04:06] local.INFO: IMEI packet received {"connection_id":175687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":175687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:04:14] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb5c4f0012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb5c4f0012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:04:14] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb5c4f0012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:04:14] local.INFO: Packet analysis {"connection_id":175687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:04:14] local.INFO: Extracted packet for processing {"connection_id":175687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945342208001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788849014000,"timestamp_ms":1788849014000,"timestamp_seconds":1788849014,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb5c4f0"} 
[2026-09-08 12:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3022702593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033006149,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 12:04:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4522189,"corrected_to":0} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2155413504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,128,160,32,45,192,180,69,43,10,66,206,124,1,240,216,227,127,33,4,113,205,200,239,49,2,65,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4522189,"validated":0}]} 
[2026-09-08 12:04:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972199573184315392,"timestamp_seconds":4972199573184315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 12:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945342208001,"66":12537,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945342208001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:04:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945342208001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":175687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:04:14] local.INFO: GPS data processed {"connection_id":175687,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:04:14] local.INFO: Acknowledgment sent {"connection_id":175687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:04:42] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:04:42] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:04:42] local.INFO: IMEI packet received {"connection_id":177106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":177106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:04:45] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb616f8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb616f8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:04:45] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb616f8012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:04:45] local.INFO: Packet analysis {"connection_id":175687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb6"} 
[2026-09-08 12:04:45] local.INFO: Extracted packet for processing {"connection_id":175687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb6"} 
[2026-09-08 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945347584001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788849035000,"timestamp_ms":1788849035000,"timestamp_seconds":1788849035,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb616f8"} 
[2026-09-08 12:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 12:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945347584001,"66":12526,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945347584001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:04:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945347584001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":175687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:04:45] local.INFO: GPS data processed {"connection_id":175687,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:04:45] local.INFO: Acknowledgment sent {"connection_id":175687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:04:47] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:04:47] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:04:47] local.INFO: IMEI packet received {"connection_id":177106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":177106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:04:48] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:04:48] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:04:48] local.INFO: Packet analysis {"connection_id":177106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:04:48] local.INFO: Extracted packet for processing {"connection_id":177106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:04: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-09-08 12:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":177106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:04:48] local.INFO: GPS data processed {"connection_id":177106,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:04:48] local.INFO: Acknowledgment sent {"connection_id":177106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:05:01] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:01] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:01] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:05:04] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:04] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:04] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:05:04] local.INFO: TCP Data received {"connection_id":175688,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:05:04] local.INFO: Processing buffer {"connection_id":175688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:05:04] local.INFO: IMEI packet received {"connection_id":175688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":175688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:05:06] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:06] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:05:06] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:05:07] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb66900012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb66900012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:05:07] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb66900012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:05:07] local.INFO: Packet analysis {"connection_id":174608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb6"} 
[2026-09-08 12:05:07] local.INFO: Extracted packet for processing {"connection_id":174608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb6"} 
[2026-09-08 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945352960001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788849056000,"timestamp_ms":1788849056000,"timestamp_seconds":1788849056,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb66900"} 
[2026-09-08 12:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 12:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945352960001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945352960001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945352960001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":174608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:05:07] local.INFO: GPS data processed {"connection_id":174608,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:05:07] local.INFO: Acknowledgment sent {"connection_id":174608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:05:19] local.INFO: TCP Data received {"connection_id":177106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:05:19] local.INFO: Processing buffer {"connection_id":177106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb56348012d34c40006aa3b380013008425..."} 
[2026-09-08 12:05:19] local.INFO: Packet analysis {"connection_id":177106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:05:19] local.INFO: Extracted packet for processing {"connection_id":177106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb5"} 
[2026-09-08 12:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":19,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945264128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788848989000,"timestamp_ms":1788848989000,"timestamp_seconds":1788848989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb56348"} 
[2026-09-08 12:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 12:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:05: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-09-08 12:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945264128001,"66":25952,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945264128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945264128001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":177106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:05:19] local.INFO: GPS data processed {"connection_id":177106,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:05:19] local.INFO: Acknowledgment sent {"connection_id":177106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:05:38] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb6bb08012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb6bb08012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:05:38] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb6bb08012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:05:38] local.INFO: Packet analysis {"connection_id":174608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb6"} 
[2026-09-08 12:05:38] local.INFO: Extracted packet for processing {"connection_id":174608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb6"} 
[2026-09-08 12:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945358336001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788849077000,"timestamp_ms":1788849077000,"timestamp_seconds":1788849077,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb6bb08"} 
[2026-09-08 12:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 12:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945358336001,"66":12526,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945358336001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:05:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945358336001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":174608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:05:38] local.INFO: GPS data processed {"connection_id":174608,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:05:38] local.INFO: Acknowledgment sent {"connection_id":174608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:05:42] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:05:42] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:05:42] local.INFO: IMEI packet received {"connection_id":177107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":177107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:05:47] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:05:47] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:05:47] local.INFO: IMEI packet received {"connection_id":177107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":177107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:05:49] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:05:49] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:05:49] local.INFO: Packet analysis {"connection_id":177107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:05:49] local.INFO: Extracted packet for processing {"connection_id":177107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12: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-09-08 12:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":177107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:05:49] local.INFO: GPS data processed {"connection_id":177107,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:05:49] local.INFO: Acknowledgment sent {"connection_id":177107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:06:06] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:06:06] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:06:06] local.INFO: IMEI packet received {"connection_id":174609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":174609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:06:07] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:06:07] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:06:07] local.INFO: IMEI packet received {"connection_id":174609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":174609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:06:07] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb70d10012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb70d10012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:06:08] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb70d10012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:06:08] local.INFO: Packet analysis {"connection_id":174609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb7"} 
[2026-09-08 12:06:08] local.INFO: Extracted packet for processing {"connection_id":174609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb7"} 
[2026-09-08 12:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945363712001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788849098000,"timestamp_ms":1788849098000,"timestamp_seconds":1788849098,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb70d10"} 
[2026-09-08 12:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 12:06: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-09-08 12:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945363712001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945363712001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:06:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945363712001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":174609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:06:08] local.INFO: GPS data processed {"connection_id":174609,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:06:08] local.INFO: Acknowledgment sent {"connection_id":174609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:06:11] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb75f18012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb75f18012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:06:11] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb75f18012d1820c00721b4c8004500cd2b..."} 
[2026-09-08 12:06:11] local.INFO: Packet analysis {"connection_id":174609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb7"} 
[2026-09-08 12:06:11] local.INFO: Extracted packet for processing {"connection_id":174609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb7"} 
[2026-09-08 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945369088001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788849119000,"timestamp_ms":1788849119000,"timestamp_seconds":1788849119,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb75f18"} 
[2026-09-08 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-09-08 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 12:06: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-09-08 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-09-08 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-09-08 12:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945369088001,"66":12526,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945369088001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:06:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945369088001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":174609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:06:11] local.INFO: GPS data processed {"connection_id":174609,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:06:11] local.INFO: Acknowledgment sent {"connection_id":174609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:06:20] local.INFO: TCP Data received {"connection_id":177107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:06:20] local.INFO: Processing buffer {"connection_id":177107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:06:20] local.INFO: Packet analysis {"connection_id":177107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:06:20] local.INFO: Extracted packet for processing {"connection_id":177107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:06: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-09-08 12:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":177107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:06:20] local.INFO: GPS data processed {"connection_id":177107,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:06:20] local.INFO: Acknowledgment sent {"connection_id":177107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:06:42] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:06:42] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:06:42] local.INFO: IMEI packet received {"connection_id":175690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":175690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:06:42] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb7b120012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb7b120012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:06:42] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb7b120012d1820c00721b4c8004500cd2a..."} 
[2026-09-08 12:06:42] local.INFO: Packet analysis {"connection_id":174609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb7"} 
[2026-09-08 12:06:42] local.INFO: Extracted packet for processing {"connection_id":174609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb7"} 
[2026-09-08 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945374464001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788849140000,"timestamp_ms":1788849140000,"timestamp_seconds":1788849140,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb7b120"} 
[2026-09-08 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-09-08 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 12:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 12:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945374464001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945374464001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:06:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945374464001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":174609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:06:43] local.INFO: GPS data processed {"connection_id":174609,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:06:43] local.INFO: Acknowledgment sent {"connection_id":174609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:06:47] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:06:47] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:06:47] local.INFO: IMEI packet received {"connection_id":175690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":175690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:06:48] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:06:48] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:06:48] local.INFO: Packet analysis {"connection_id":175690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:06:48] local.INFO: Extracted packet for processing {"connection_id":175690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:06: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-09-08 12:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":175690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:06:48] local.INFO: GPS data processed {"connection_id":175690,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:06:48] local.INFO: Acknowledgment sent {"connection_id":175690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:07:01] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:07:01] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:07:01] local.INFO: IMEI packet received {"connection_id":175691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":175691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:07:06] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:07:06] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:07:06] local.INFO: IMEI packet received {"connection_id":175691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":175691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:07:07] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb80328012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb80328012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:07:07] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb80328012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:07:07] local.INFO: Packet analysis {"connection_id":175691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb8"} 
[2026-09-08 12:07:07] local.INFO: Extracted packet for processing {"connection_id":175691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb8"} 
[2026-09-08 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945379840001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788849161000,"timestamp_ms":1788849161000,"timestamp_seconds":1788849161,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb80328"} 
[2026-09-08 12:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 12:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945379840001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945379840001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945379840001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":175691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:07:07] local.INFO: GPS data processed {"connection_id":175691,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:07:07] local.INFO: Acknowledgment sent {"connection_id":175691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:07:19] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:07:19] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:07:19] local.INFO: Packet analysis {"connection_id":175690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:07:19] local.INFO: Extracted packet for processing {"connection_id":175690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:07: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-09-08 12:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":175690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:07:19] local.INFO: GPS data processed {"connection_id":175690,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:07:19] local.INFO: Acknowledgment sent {"connection_id":175690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:07:38] local.INFO: TCP Data received {"connection_id":175691,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb85530012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb85530012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:07:38] local.INFO: Processing buffer {"connection_id":175691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb85530012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:07:38] local.INFO: Packet analysis {"connection_id":175691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb8"} 
[2026-09-08 12:07:38] local.INFO: Extracted packet for processing {"connection_id":175691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb8"} 
[2026-09-08 12:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945385216001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788849182000,"timestamp_ms":1788849182000,"timestamp_seconds":1788849182,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb85530"} 
[2026-09-08 12:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 12:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945385216001,"66":12461,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945385216001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:07:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945385216001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":175691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:07:38] local.INFO: GPS data processed {"connection_id":175691,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:07:38] local.INFO: Acknowledgment sent {"connection_id":175691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:07:42] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:07:42] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:07:42] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:07:47] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:07:47] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:07:47] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:07:47] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:07:47] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:07:47] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:07:47] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:07: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-09-08 12:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:07:47] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:07:47] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:08:01] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:08:01] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:08:01] local.INFO: IMEI packet received {"connection_id":177108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":177108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:08:06] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:08:06] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:08:06] local.INFO: IMEI packet received {"connection_id":177108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":177108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:08:06] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb8a738012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb8a738012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:08:06] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb8a738012d1820c00721b4c8004500cd2d..."} 
[2026-09-08 12:08:06] local.INFO: Packet analysis {"connection_id":177108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb8"} 
[2026-09-08 12:08:06] local.INFO: Extracted packet for processing {"connection_id":177108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb8"} 
[2026-09-08 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945390592001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849203000,"timestamp_ms":1788849203000,"timestamp_seconds":1788849203,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb8a738"} 
[2026-09-08 12:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945390592001,"66":12504,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945390592001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945390592001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":177108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:08:07] local.INFO: GPS data processed {"connection_id":177108,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:08:07] local.INFO: Acknowledgment sent {"connection_id":177108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:08:20] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:08:20] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:08:20] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:08:20] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 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-09-08 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 12:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:08: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-09-08 12:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:08:20] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:08:20] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:08:38] local.INFO: TCP Data received {"connection_id":177108,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbc2d90012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbc2d90012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:08:38] local.INFO: Processing buffer {"connection_id":177108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbc2d90012d1820c00721b4c8004500cd2c..."} 
[2026-09-08 12:08:38] local.INFO: Packet analysis {"connection_id":177108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbc"} 
[2026-09-08 12:08:38] local.INFO: Extracted packet for processing {"connection_id":177108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbc"} 
[2026-09-08 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649480,"longitude_deg":75.6555968,"latitude_deg":11.964948,"altitude":69,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-09-08 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945449728001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437130665590784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788849434000,"timestamp_ms":1788849434000,"timestamp_seconds":1788849434,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbc2d90"} 
[2026-09-08 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945449728001,"66":12461,"105":206,"83":41984,"24":0,"16":18437130665590784,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945449728001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437130665590784,"km_value":18437130665590.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945449728001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":177108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:08:38] local.INFO: GPS data processed {"connection_id":177108,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:08:38] local.INFO: Acknowledgment sent {"connection_id":177108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:08:42] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:08:42] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:08:42] local.INFO: IMEI packet received {"connection_id":177109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:08:47] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:08:47] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:08:47] local.INFO: IMEI packet received {"connection_id":177109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":177109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:08:49] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:08:49] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:08:49] local.INFO: Packet analysis {"connection_id":177109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:08:49] local.INFO: Extracted packet for processing {"connection_id":177109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:08: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-09-08 12:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":177109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:08:49] local.INFO: GPS data processed {"connection_id":177109,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:08:49] local.INFO: Acknowledgment sent {"connection_id":177109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:09:01] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:09:01] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:09:01] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:09:06] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:09:06] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:09:06] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:09:06] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbc7f98012d181e400721b218004900d22b..."} 
[2026-09-08 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbc7f98012d181e400721b218004900d22b..."} 
[2026-09-08 12:09:06] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbc7f98012d181e400721b218004900d22b..."} 
[2026-09-08 12:09:06] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbc"} 
[2026-09-08 12:09:06] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbc"} 
[2026-09-08 12:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945455104001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027811328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849455000,"timestamp_ms":1788849455000,"timestamp_seconds":1788849455,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbc7f98"} 
[2026-09-08 12:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945455104001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1738600593027811328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945455104001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027811328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945455104001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027811328}} 
[2026-09-08 12:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:09:07] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:09:07] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:09:21] local.INFO: TCP Data received {"connection_id":177109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:09:21] local.INFO: Processing buffer {"connection_id":177109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:09:21] local.INFO: Packet analysis {"connection_id":177109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:09:21] local.INFO: Extracted packet for processing {"connection_id":177109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:09: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-09-08 12:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":177109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:09:21] local.INFO: GPS data processed {"connection_id":177109,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:09:21] local.INFO: Acknowledgment sent {"connection_id":177109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:09:38] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbcd1a0012d181e400721b218004900d22c..."} 
[2026-09-08 12:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbcd1a0012d181e400721b218004900d22c..."} 
[2026-09-08 12:09:38] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbcd1a0012d181e400721b218004900d22c..."} 
[2026-09-08 12:09:38] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbc"} 
[2026-09-08 12:09:38] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbc"} 
[2026-09-08 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945460480001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788849476000,"timestamp_ms":1788849476000,"timestamp_seconds":1788849476,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbcd1a0"} 
[2026-09-08 12:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945460480001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945460480001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:09:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945460480001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:09:38] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:09:38] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:09:47] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:09:47] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:09:47] local.INFO: IMEI packet received {"connection_id":175693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:09:52] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:09:52] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:09:52] local.INFO: IMEI packet received {"connection_id":175693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":175693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:09:54] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:09:54] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:09:54] local.INFO: Packet analysis {"connection_id":175693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:09:54] local.INFO: Extracted packet for processing {"connection_id":175693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":175693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:09:54] local.INFO: GPS data processed {"connection_id":175693,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:09:54] local.INFO: Acknowledgment sent {"connection_id":175693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:10:01] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:10:01] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:10:01] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:10:06] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:10:06] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:10:06] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:10:06] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbd23a8012d181e400721b218004900d22b..."} 
[2026-09-08 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbd23a8012d181e400721b218004900d22b..."} 
[2026-09-08 12:10:06] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbd23a8012d181e400721b218004900d22b..."} 
[2026-09-08 12:10:06] local.INFO: Packet analysis {"connection_id":174350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbd"} 
[2026-09-08 12:10:06] local.INFO: Extracted packet for processing {"connection_id":174350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbd"} 
[2026-09-08 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945465856001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849497000,"timestamp_ms":1788849497000,"timestamp_seconds":1788849497,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbd23a8"} 
[2026-09-08 12:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945465856001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945465856001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945465856001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":174350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:10:06] local.INFO: GPS data processed {"connection_id":174350,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:10:06] local.INFO: Acknowledgment sent {"connection_id":174350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:10:25] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:10:25] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fb9fb10012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:10:25] local.INFO: Packet analysis {"connection_id":175693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:10:25] local.INFO: Extracted packet for processing {"connection_id":175693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fb9"} 
[2026-09-08 12:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945341184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788849290000,"timestamp_ms":1788849290000,"timestamp_seconds":1788849290,"priority":1,"record_length":96,"hex_timestamp":"000001a07fb9fb10"} 
[2026-09-08 12:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 12:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945341184001,"66":25897,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945341184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945341184001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":175693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:10:25] local.INFO: GPS data processed {"connection_id":175693,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:10:25] local.INFO: Acknowledgment sent {"connection_id":175693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:10:38] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbd75b0012d181e400721b218004900d22b..."} 
[2026-09-08 12:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbd75b0012d181e400721b218004900d22b..."} 
[2026-09-08 12:10:38] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbd75b0012d181e400721b218004900d22b..."} 
[2026-09-08 12:10:38] local.INFO: Packet analysis {"connection_id":174350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbd"} 
[2026-09-08 12:10:38] local.INFO: Extracted packet for processing {"connection_id":174350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbd"} 
[2026-09-08 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945471232001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788849518000,"timestamp_ms":1788849518000,"timestamp_seconds":1788849518,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbd75b0"} 
[2026-09-08 12:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945471232001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945471232001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:10:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945471232001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":174350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:10:38] local.INFO: GPS data processed {"connection_id":174350,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:10:38] local.INFO: Acknowledgment sent {"connection_id":174350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:10:42] local.INFO: TCP Data received {"connection_id":177110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:10:42] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:10:42] local.INFO: IMEI packet received {"connection_id":177110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":177110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:10:44] local.INFO: TCP Data received {"connection_id":174612,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:10:44] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:10:44] local.INFO: IMEI packet received {"connection_id":174612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":174612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:10:47] local.INFO: TCP Data received {"connection_id":177110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:10:47] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:10:47] local.INFO: IMEI packet received {"connection_id":177110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":177110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:10:48] local.INFO: TCP Data received {"connection_id":177110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:10:48] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:10:48] local.INFO: Packet analysis {"connection_id":177110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:10:48] local.INFO: Extracted packet for processing {"connection_id":177110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:10: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-09-08 12:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":177110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:10:48] local.INFO: GPS data processed {"connection_id":177110,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:10:48] local.INFO: Acknowledgment sent {"connection_id":177110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:11:06] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:11:06] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:11:06] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:11:11] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:11:11] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:11:11] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:11:12] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbdc7b8012d181e400721b218004900d22d..."} 
[2026-09-08 12:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbdc7b8012d181e400721b218004900d22d..."} 
[2026-09-08 12:11:12] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbdc7b8012d181e400721b218004900d22d..."} 
[2026-09-08 12:11:12] local.INFO: Packet analysis {"connection_id":174351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbd"} 
[2026-09-08 12:11:12] local.INFO: Extracted packet for processing {"connection_id":174351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbd"} 
[2026-09-08 12:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945476608001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788849539000,"timestamp_ms":1788849539000,"timestamp_seconds":1788849539,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbdc7b8"} 
[2026-09-08 12:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945476608001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945476608001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:11:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945476608001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":174351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:11:12] local.INFO: GPS data processed {"connection_id":174351,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:11:12] local.INFO: Acknowledgment sent {"connection_id":174351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:11:16] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe19c0012d181e400721b218004900d22d..."} 
[2026-09-08 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe19c0012d181e400721b218004900d22d..."} 
[2026-09-08 12:11:16] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe19c0012d181e400721b218004900d22d..."} 
[2026-09-08 12:11:16] local.INFO: Packet analysis {"connection_id":174351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:11:16] local.INFO: Extracted packet for processing {"connection_id":174351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945481984001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788849560000,"timestamp_ms":1788849560000,"timestamp_seconds":1788849560,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe19c0"} 
[2026-09-08 12:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945481984001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945481984001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:11:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945481984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":174351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:11:16] local.INFO: GPS data processed {"connection_id":174351,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:11:16] local.INFO: Acknowledgment sent {"connection_id":174351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:11:19] local.INFO: TCP Data received {"connection_id":177110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:11:19] local.INFO: Processing buffer {"connection_id":177110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:11:19] local.INFO: Packet analysis {"connection_id":177110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:11:19] local.INFO: Extracted packet for processing {"connection_id":177110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:11: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-09-08 12:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":177110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:11:19] local.INFO: GPS data processed {"connection_id":177110,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:11:19] local.INFO: Acknowledgment sent {"connection_id":177110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:11:42] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:11:42] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:11:42] local.INFO: IMEI packet received {"connection_id":175694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":175694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:11:46] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:11:47] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:11:47] local.INFO: IMEI packet received {"connection_id":175694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:11:47] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:11:47] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:11:47] local.INFO: Packet analysis {"connection_id":175694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:11:47] local.INFO: Extracted packet for processing {"connection_id":175694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:11: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-09-08 12:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":175694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:11:48] local.INFO: GPS data processed {"connection_id":175694,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:11:48] local.INFO: Acknowledgment sent {"connection_id":175694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:12:01] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:12:01] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:12:01] local.INFO: IMEI packet received {"connection_id":175696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":175696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:12:04] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:12:04] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:12:04] local.INFO: IMEI packet received {"connection_id":175696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":175696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:12:05] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe6bc8012d181e400721b218004900d22d..."} 
[2026-09-08 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe6bc8012d181e400721b218004900d22d..."} 
[2026-09-08 12:12:05] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe6bc8012d181e400721b218004900d22d..."} 
[2026-09-08 12:12:05] local.INFO: Packet analysis {"connection_id":175696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:05] local.INFO: Extracted packet for processing {"connection_id":175696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945487360001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788849581000,"timestamp_ms":1788849581000,"timestamp_seconds":1788849581,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe6bc8"} 
[2026-09-08 12:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945487360001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945487360001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:12:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945487360001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":175696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:12:05] local.INFO: GPS data processed {"connection_id":175696,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:12:05] local.INFO: Acknowledgment sent {"connection_id":175696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:12:19] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:12:19] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:12:19] local.INFO: Packet analysis {"connection_id":175694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:19] local.INFO: Extracted packet for processing {"connection_id":175694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:12: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-09-08 12:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":175694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:12:19] local.INFO: GPS data processed {"connection_id":175694,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:12:19] local.INFO: Acknowledgment sent {"connection_id":175694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:12:36] local.INFO: TCP Data received {"connection_id":175696,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbebdd0012d181e400721b218004900d22d..."} 
[2026-09-08 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbebdd0012d181e400721b218004900d22d..."} 
[2026-09-08 12:12:36] local.INFO: Processing buffer {"connection_id":175696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbebdd0012d181e400721b218004900d22d..."} 
[2026-09-08 12:12:36] local.INFO: Packet analysis {"connection_id":175696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:36] local.INFO: Extracted packet for processing {"connection_id":175696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945492736001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788849602000,"timestamp_ms":1788849602000,"timestamp_seconds":1788849602,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbebdd0"} 
[2026-09-08 12:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945492736001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945492736001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:12:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945492736001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":175696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:12:36] local.INFO: GPS data processed {"connection_id":175696,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:12:36] local.INFO: Acknowledgment sent {"connection_id":175696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:12:42] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:12:42] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:12:42] local.INFO: IMEI packet received {"connection_id":177111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":177111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:12:47] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:12:47] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:12:47] local.INFO: IMEI packet received {"connection_id":177111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":177111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:12:49] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:12:49] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:12:49] local.INFO: Packet analysis {"connection_id":177111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:49] local.INFO: Extracted packet for processing {"connection_id":177111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:12: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-09-08 12:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":177111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:12:49] local.INFO: GPS data processed {"connection_id":177111,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:12:49] local.INFO: Acknowledgment sent {"connection_id":177111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:13:01] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:13:01] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:13:01] local.INFO: IMEI packet received {"connection_id":177112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":177112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:13:06] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:13:06] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:13:06] local.INFO: IMEI packet received {"connection_id":177112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":177112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:13:06] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbf0fd8012d181e400721b218004900d22d..."} 
[2026-09-08 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbf0fd8012d181e400721b218004900d22d..."} 
[2026-09-08 12:13:06] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbf0fd8012d181e400721b218004900d22d..."} 
[2026-09-08 12:13:06] local.INFO: Packet analysis {"connection_id":177112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbf"} 
[2026-09-08 12:13:06] local.INFO: Extracted packet for processing {"connection_id":177112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbf"} 
[2026-09-08 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945498112001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849623000,"timestamp_ms":1788849623000,"timestamp_seconds":1788849623,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbf0fd8"} 
[2026-09-08 12:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945498112001,"66":12461,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945498112001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:13:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945498112001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":177112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:13:06] local.INFO: GPS data processed {"connection_id":177112,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:13:06] local.INFO: Acknowledgment sent {"connection_id":177112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:13:20] local.INFO: TCP Data received {"connection_id":177111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:13:20] local.INFO: Processing buffer {"connection_id":177111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:13:20] local.INFO: Packet analysis {"connection_id":177111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:13:20] local.INFO: Extracted packet for processing {"connection_id":177111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:13:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:13: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-09-08 12:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":177111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:13:20] local.INFO: GPS data processed {"connection_id":177111,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:13:20] local.INFO: Acknowledgment sent {"connection_id":177111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:13:37] local.INFO: TCP Data received {"connection_id":177112,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbf61e0012d181e400721b218004900d22d..."} 
[2026-09-08 12:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbf61e0012d181e400721b218004900d22d..."} 
[2026-09-08 12:13:37] local.INFO: Processing buffer {"connection_id":177112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbf61e0012d181e400721b218004900d22d..."} 
[2026-09-08 12:13:37] local.INFO: Packet analysis {"connection_id":177112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbf"} 
[2026-09-08 12:13:37] local.INFO: Extracted packet for processing {"connection_id":177112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbf"} 
[2026-09-08 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945503488001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788849644000,"timestamp_ms":1788849644000,"timestamp_seconds":1788849644,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbf61e0"} 
[2026-09-08 12:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945503488001,"66":12428,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945503488001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:13:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945503488001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":177112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:13:38] local.INFO: GPS data processed {"connection_id":177112,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:13:38] local.INFO: Acknowledgment sent {"connection_id":177112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:13:41] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:13:42] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:13:42] local.INFO: IMEI packet received {"connection_id":174613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":174613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:13:47] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:13:47] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:13:47] local.INFO: IMEI packet received {"connection_id":174613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:13:48] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:13:48] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:13:48] local.INFO: Packet analysis {"connection_id":174613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:13:48] local.INFO: Extracted packet for processing {"connection_id":174613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:13: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-09-08 12:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":174613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:13:48] local.INFO: GPS data processed {"connection_id":174613,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:13:48] local.INFO: Acknowledgment sent {"connection_id":174613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:14:01] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:14:01] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:14:01] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:14:06] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:14:06] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:14:06] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:14:06] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbfb3e8012d181e400721b218004900d22b..."} 
[2026-09-08 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbfb3e8012d181e400721b218004900d22b..."} 
[2026-09-08 12:14:06] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbfb3e8012d181e400721b218004900d22b..."} 
[2026-09-08 12:14:06] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbf"} 
[2026-09-08 12:14:06] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbf"} 
[2026-09-08 12:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945508864001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849665000,"timestamp_ms":1788849665000,"timestamp_seconds":1788849665,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbfb3e8"} 
[2026-09-08 12:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 12:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945508864001,"66":12428,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945508864001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945508864001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:14:06] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:14:06] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:14:19] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:14:19] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:14:19] local.INFO: Packet analysis {"connection_id":174613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:14:19] local.INFO: Extracted packet for processing {"connection_id":174613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:14: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-09-08 12:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":174613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:14:19] local.INFO: GPS data processed {"connection_id":174613,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:14:19] local.INFO: Acknowledgment sent {"connection_id":174613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:14:37] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc005f0012d181e400721b218004900d22c..."} 
[2026-09-08 12:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc005f0012d181e400721b218004900d22c..."} 
[2026-09-08 12:14:37] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc005f0012d181e400721b218004900d22c..."} 
[2026-09-08 12:14:37] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:14:37] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945514240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788849686000,"timestamp_ms":1788849686000,"timestamp_seconds":1788849686,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc005f0"} 
[2026-09-08 12:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 12:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945514240001,"66":12406,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945514240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:14:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945514240001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:14:38] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:14:38] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:14:42] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:14:42] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:14:42] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:14:47] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:14:47] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:14:47] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:14:48] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:14:48] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:14:48] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:14:48] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:14: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-09-08 12:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:14:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:14:48] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:14:48] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:15:01] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:15:01] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:15:01] local.INFO: IMEI packet received {"connection_id":177114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":177114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:15:06] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:15:06] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:15:06] local.INFO: IMEI packet received {"connection_id":177114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":177114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:15:06] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc057f8012d181e400721b218004900d22d..."} 
[2026-09-08 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc057f8012d181e400721b218004900d22d..."} 
[2026-09-08 12:15:06] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc057f8012d181e400721b218004900d22d..."} 
[2026-09-08 12:15:06] local.INFO: Packet analysis {"connection_id":177114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:15:06] local.INFO: Extracted packet for processing {"connection_id":177114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945519616001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849707000,"timestamp_ms":1788849707000,"timestamp_seconds":1788849707,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc057f8"} 
[2026-09-08 12:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 12:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945519616001,"66":12428,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945519616001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945519616001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":177114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:15:06] local.INFO: GPS data processed {"connection_id":177114,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:15:06] local.INFO: Acknowledgment sent {"connection_id":177114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:15:20] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:15:20] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fbe92d8012d34c40006aa3b38000a008429..."} 
[2026-09-08 12:15:20] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:15:20] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fbe"} 
[2026-09-08 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945418240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788849591000,"timestamp_ms":1788849591000,"timestamp_seconds":1788849591,"priority":1,"record_length":96,"hex_timestamp":"000001a07fbe92d8"} 
[2026-09-08 12:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 12:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:15: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-09-08 12:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945418240001,"66":25843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945418240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945418240001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:15:20] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:15:20] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:15:37] local.INFO: TCP Data received {"connection_id":177114,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc0aa00012d181e400721b218004900d22d..."} 
[2026-09-08 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc0aa00012d181e400721b218004900d22d..."} 
[2026-09-08 12:15:37] local.INFO: Processing buffer {"connection_id":177114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc0aa00012d181e400721b218004900d22d..."} 
[2026-09-08 12:15:37] local.INFO: Packet analysis {"connection_id":177114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:15:37] local.INFO: Extracted packet for processing {"connection_id":177114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648792,"longitude_deg":75.6555328,"latitude_deg":11.9648792,"altitude":73,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b218","is_valid_coordinates":true} 
[2026-09-08 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945524992001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437173615263744,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788849728000,"timestamp_ms":1788849728000,"timestamp_seconds":1788849728,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc0aa00"} 
[2026-09-08 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 12:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945524992001,"66":12374,"105":206,"83":41984,"24":0,"16":18437173615263744,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945524992001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437173615263744,"km_value":18437173615263.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945524992001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":177114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:15:38] local.INFO: GPS data processed {"connection_id":177114,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:15:38] local.INFO: Acknowledgment sent {"connection_id":177114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:15:41] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:15:41] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:15:41] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:15:47] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:15:47] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:15:47] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:15:48] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:15:48] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:15:48] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:15:48] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945495296001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788849892000,"timestamp_ms":1788849892000,"timestamp_seconds":1788849892,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc32aa0"} 
[2026-09-08 12:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 12:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:15: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-09-08 12:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945495296001,"66":25756,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945495296001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945495296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:15:48] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:15:48] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:16:01] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:16:01] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:16:01] local.INFO: IMEI packet received {"connection_id":174614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":174614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:16:06] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:16:06] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:16:06] local.INFO: IMEI packet received {"connection_id":174614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":174614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:16:06] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc0fc08012d181e400721b050004700d22d..."} 
[2026-09-08 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc0fc08012d181e400721b050004700d22d..."} 
[2026-09-08 12:16:07] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc0fc08012d181e400721b050004700d22d..."} 
[2026-09-08 12:16:07] local.INFO: Packet analysis {"connection_id":174614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:16:07] local.INFO: Extracted packet for processing {"connection_id":174614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc0"} 
[2026-09-08 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648336,"longitude_deg":75.6555328,"latitude_deg":11.9648336,"altitude":71,"angle":210,"satellites":45,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-09-08 12:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945530368001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437203680034816,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585858560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788849749000,"timestamp_ms":1788849749000,"timestamp_seconds":1788849749,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc0fc08"} 
[2026-09-08 12:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-08 12:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945530368001,"66":12363,"105":206,"83":41984,"24":2,"16":18437203680034816,"45":1737896905585858560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945530368001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437203680034816,"km_value":18437203680034.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585858560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945530368001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737896905585858560}} 
[2026-09-08 12:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":174614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:16:07] local.INFO: GPS data processed {"connection_id":174614,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:16:07] local.INFO: Acknowledgment sent {"connection_id":174614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:16:14] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:16:14] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:16:14] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:16:19] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:19] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:19] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:16:19] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945495296001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788849892000,"timestamp_ms":1788849892000,"timestamp_seconds":1788849892,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc32aa0"} 
[2026-09-08 12:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 12:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:16: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-09-08 12:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945495296001,"66":25756,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945495296001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945495296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:16:19] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:16:19] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:16:37] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc14e10012d181e400721aff8004700d42c..."} 
[2026-09-08 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc14e10012d181e400721aff8004700d42c..."} 
[2026-09-08 12:16:37] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc14e10012d181e400721aff8004700d42c..."} 
[2026-09-08 12:16:37] local.INFO: Packet analysis {"connection_id":174614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc1"} 
[2026-09-08 12:16:37] local.INFO: Extracted packet for processing {"connection_id":174614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc1"} 
[2026-09-08 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945535744001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585741824,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788849770000,"timestamp_ms":1788849770000,"timestamp_seconds":1788849770,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc14e10"} 
[2026-09-08 12:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-08 12:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945535744001,"66":12406,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585741824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945535744001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:16:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585741824,"description":"Unknown IO ID 45"} 
[2026-09-08 12:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945535744001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585741824}} 
[2026-09-08 12:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":174614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:16:38] local.INFO: GPS data processed {"connection_id":174614,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:16:38] local.INFO: Acknowledgment sent {"connection_id":174614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:16:42] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:16:42] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:16:42] local.INFO: IMEI packet received {"connection_id":174355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":174355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:16:44] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:16:44] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:16:44] local.INFO: IMEI packet received {"connection_id":174356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":174356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:16:47] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:16:47] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:16:47] local.INFO: IMEI packet received {"connection_id":174355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:16:48] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:48] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:48] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:16:48] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945495296001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788849892000,"timestamp_ms":1788849892000,"timestamp_seconds":1788849892,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc32aa0"} 
[2026-09-08 12:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 12:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:16: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-09-08 12:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945495296001,"66":25756,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945495296001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945495296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:16:48] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:16:48] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:16:53] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:53] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:16:53] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:16:53] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945495296001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788849892000,"timestamp_ms":1788849892000,"timestamp_seconds":1788849892,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc32aa0"} 
[2026-09-08 12:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 12:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945495296001,"66":25756,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945495296001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945495296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:16:53] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:16:53] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:17:01] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:17:01] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:17:01] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:17:06] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:17:06] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:17:06] local.INFO: IMEI packet received {"connection_id":175700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":175700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:17:06] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc1a018012d181e400721aff8004700d42e..."} 
[2026-09-08 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc1a018012d181e400721aff8004700d42e..."} 
[2026-09-08 12:17:06] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc1a018012d181e400721aff8004700d42e..."} 
[2026-09-08 12:17:06] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc1"} 
[2026-09-08 12:17:06] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc1"} 
[2026-09-08 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945541120001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849791000,"timestamp_ms":1788849791000,"timestamp_seconds":1788849791,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc1a018"} 
[2026-09-08 12:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 12:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945541120001,"66":12428,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945541120001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945541120001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:17:07] local.INFO: GPS data processed {"connection_id":175700,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:17:07] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:17:25] local.INFO: TCP Data received {"connection_id":174355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:17:25] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc32aa0012d34c40006aa3b38000a008425..."} 
[2026-09-08 12:17:25] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:17:25] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945495296001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788849892000,"timestamp_ms":1788849892000,"timestamp_seconds":1788849892,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc32aa0"} 
[2026-09-08 12:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:17: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 12:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945495296001,"66":25756,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945495296001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945495296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:17:25] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:17:25] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:17:38] local.INFO: TCP Data received {"connection_id":175700,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc1f220012d181e400721aff8004700d42e..."} 
[2026-09-08 12:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc1f220012d181e400721aff8004700d42e..."} 
[2026-09-08 12:17:38] local.INFO: Processing buffer {"connection_id":175700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc1f220012d181e400721aff8004700d42e..."} 
[2026-09-08 12:17:38] local.INFO: Packet analysis {"connection_id":175700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc1"} 
[2026-09-08 12:17:38] local.INFO: Extracted packet for processing {"connection_id":175700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc1"} 
[2026-09-08 12:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945546496001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788849812000,"timestamp_ms":1788849812000,"timestamp_seconds":1788849812,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc1f220"} 
[2026-09-08 12:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 12:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945546496001,"66":12406,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945546496001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:17:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945546496001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":175700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:17:38] local.INFO: GPS data processed {"connection_id":175700,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:17:38] local.INFO: Acknowledgment sent {"connection_id":175700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:17:41] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:17:41] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:17:41] local.INFO: IMEI packet received {"connection_id":174357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":174357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:17:47] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:17:47] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:17:47] local.INFO: IMEI packet received {"connection_id":174357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:17:48] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc4fb78012d34c40006aa3b38000a008428..."} 
[2026-09-08 12:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc4fb78012d34c40006aa3b38000a008428..."} 
[2026-09-08 12:17:48] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc4fb78012d34c40006aa3b38000a008428..."} 
[2026-09-08 12:17:48] local.INFO: Packet analysis {"connection_id":174357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc4"} 
[2026-09-08 12:17:48] local.INFO: Extracted packet for processing {"connection_id":174357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc4"} 
[2026-09-08 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111819576,"longitude_deg":75.8432768,"latitude_deg":11.1819576,"altitude":10,"angle":132,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3b38","is_valid_coordinates":true} 
[2026-09-08 12:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945572352001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788850011000,"timestamp_ms":1788850011000,"timestamp_seconds":1788850011,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc4fb78"} 
[2026-09-08 12:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 12:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:17: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-09-08 12:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945572352001,"66":25582,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945572352001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945572352001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":174357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:17:48] local.INFO: GPS data processed {"connection_id":174357,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:17:48] local.INFO: Acknowledgment sent {"connection_id":174357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:18:06] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:18:06] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:18:06] local.INFO: IMEI packet received {"connection_id":174615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":174615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:18:11] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:18:11] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:18:11] local.INFO: IMEI packet received {"connection_id":174615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":174615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:18:12] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc24428012d181e400721aff8004700d42e..."} 
[2026-09-08 12:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc24428012d181e400721aff8004700d42e..."} 
[2026-09-08 12:18:12] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc24428012d181e400721aff8004700d42e..."} 
[2026-09-08 12:18:12] local.INFO: Packet analysis {"connection_id":174615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc2"} 
[2026-09-08 12:18:12] local.INFO: Extracted packet for processing {"connection_id":174615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc2"} 
[2026-09-08 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945551872001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788849833000,"timestamp_ms":1788849833000,"timestamp_seconds":1788849833,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc24428"} 
[2026-09-08 12:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 12:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945551872001,"66":12406,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945551872001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:18:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945551872001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":174615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:18:12] local.INFO: GPS data processed {"connection_id":174615,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:18:12] local.INFO: Acknowledgment sent {"connection_id":174615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:18:19] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc50b18012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc50b18012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:18:19] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc50b18012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:18:19] local.INFO: Packet analysis {"connection_id":174357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:18:19] local.INFO: Extracted packet for processing {"connection_id":174357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111819296,"longitude_deg":75.8433216,"latitude_deg":11.1819296,"altitude":10,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3a20","is_valid_coordinates":true} 
[2026-09-08 12:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945602816001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033352704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788850015000,"timestamp_ms":1788850015000,"timestamp_seconds":1788850015,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc50b18"} 
[2026-09-08 12:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 12:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:18: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-09-08 12:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945602816001,"66":27691,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802164014033352704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945602816001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033352704,"description":"Unknown IO ID 45"} 
[2026-09-08 12:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945602816001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033352704}} 
[2026-09-08 12:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":174357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:18:19] local.INFO: GPS data processed {"connection_id":174357,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:18:19] local.INFO: Acknowledgment sent {"connection_id":174357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:18:41] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:41] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:41] local.INFO: IMEI packet received {"connection_id":177117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:18:41] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:41] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:41] local.INFO: IMEI packet received {"connection_id":177117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:18:43] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:43] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:43] local.INFO: IMEI packet received {"connection_id":177117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":177117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:18:43] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc29630012d181e400721aff8004700d42e..."} 
[2026-09-08 12:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc29630012d181e400721aff8004700d42e..."} 
[2026-09-08 12:18:43] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc29630012d181e400721aff8004700d42e..."} 
[2026-09-08 12:18:43] local.INFO: Packet analysis {"connection_id":174615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc2"} 
[2026-09-08 12:18:43] local.INFO: Extracted packet for processing {"connection_id":174615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc2"} 
[2026-09-08 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945557248001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788849854000,"timestamp_ms":1788849854000,"timestamp_seconds":1788849854,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc29630"} 
[2026-09-08 12:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 12:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945557248001,"66":12428,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945557248001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:18:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945557248001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":174615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:18:43] local.INFO: GPS data processed {"connection_id":174615,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:18:43] local.INFO: Acknowledgment sent {"connection_id":174615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:18:46] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:46] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:18:46] local.INFO: IMEI packet received {"connection_id":177117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":177117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:18:47] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc55d20012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc55d20012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:18:47] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc55d20012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:18:47] local.INFO: Packet analysis {"connection_id":177117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:18:47] local.INFO: Extracted packet for processing {"connection_id":177117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111819296,"longitude_deg":75.8433216,"latitude_deg":11.1819296,"altitude":10,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3a20","is_valid_coordinates":true} 
[2026-09-08 12:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945603840001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242524672,"note":"Value kept but may cause issues"} 
[2026-09-08 12:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788850036000,"timestamp_ms":1788850036000,"timestamp_seconds":1788850036,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc55d20"} 
[2026-09-08 12:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 12:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:18: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-09-08 12:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945603840001,"66":27800,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802656595242524672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945603840001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242524672,"description":"Unknown IO ID 45"} 
[2026-09-08 12:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945603840001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802656595242524672}} 
[2026-09-08 12:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":177117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:18:47] local.INFO: GPS data processed {"connection_id":177117,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:18:47] local.INFO: Acknowledgment sent {"connection_id":177117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:19:01] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:19:01] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:19:01] local.INFO: IMEI packet received {"connection_id":177118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":177118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:19:04] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:19:04] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:19:04] local.INFO: IMEI packet received {"connection_id":177118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":177118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:19:05] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc2e838012d181e400721aff8004700d42e..."} 
[2026-09-08 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc2e838012d181e400721aff8004700d42e..."} 
[2026-09-08 12:19:05] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc2e838012d181e400721aff8004700d42e..."} 
[2026-09-08 12:19:05] local.INFO: Packet analysis {"connection_id":177118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc2"} 
[2026-09-08 12:19:05] local.INFO: Extracted packet for processing {"connection_id":177118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc2"} 
[2026-09-08 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945562624001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788849875000,"timestamp_ms":1788849875000,"timestamp_seconds":1788849875,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc2e838"} 
[2026-09-08 12:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 12:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945562624001,"66":12385,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945562624001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:19:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945562624001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":177118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:19:05] local.INFO: GPS data processed {"connection_id":177118,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:19:05] local.INFO: Acknowledgment sent {"connection_id":177118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:19:19] local.INFO: TCP Data received {"connection_id":177117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc5af28012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc5af28012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:19:19] local.INFO: Processing buffer {"connection_id":177117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc5af28012d34c5c006aa3a20000a011328..."} 
[2026-09-08 12:19:19] local.INFO: Packet analysis {"connection_id":177117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:19:19] local.INFO: Extracted packet for processing {"connection_id":177117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111819296,"longitude_deg":75.8433216,"latitude_deg":11.1819296,"altitude":10,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3a20","is_valid_coordinates":true} 
[2026-09-08 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945609216001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624837215846400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242524672,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788850057000,"timestamp_ms":1788850057000,"timestamp_seconds":1788850057,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc5af28"} 
[2026-09-08 12:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12: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-09-08 12:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945609216001,"66":27843,"97":206,"81":23296,"24":0,"16":402624837215846400,"45":3802656595242524672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945609216001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624837215846400,"km_value":402624837215846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242524672,"description":"Unknown IO ID 45"} 
[2026-09-08 12:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945609216001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802656595242524672}} 
[2026-09-08 12:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":177117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:19:19] local.INFO: GPS data processed {"connection_id":177117,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:19:19] local.INFO: Acknowledgment sent {"connection_id":177117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:19:36] local.INFO: TCP Data received {"connection_id":177118,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc33a40012d181e400721aff8004700d42e..."} 
[2026-09-08 12:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc33a40012d181e400721aff8004700d42e..."} 
[2026-09-08 12:19:36] local.INFO: Processing buffer {"connection_id":177118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc33a40012d181e400721aff8004700d42e..."} 
[2026-09-08 12:19:36] local.INFO: Packet analysis {"connection_id":177118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:19:36] local.INFO: Extracted packet for processing {"connection_id":177118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648248,"longitude_deg":75.6555328,"latitude_deg":11.9648248,"altitude":71,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-09-08 12:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945568000001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437207975002112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788849896000,"timestamp_ms":1788849896000,"timestamp_seconds":1788849896,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc33a40"} 
[2026-09-08 12:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 12:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945568000001,"66":12406,"105":206,"83":41984,"24":0,"16":18437207975002112,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945568000001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:19:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437207975002112,"km_value":18437207975002.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945568000001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":177118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:19:36] local.INFO: GPS data processed {"connection_id":177118,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:19:36] local.INFO: Acknowledgment sent {"connection_id":177118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:19:42] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:19:42] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:19:42] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:19:47] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:19:47] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:19:47] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:19:48] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc5bec8012d34c54006aa3b800007013528..."} 
[2026-09-08 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc5bec8012d34c54006aa3b800007013528..."} 
[2026-09-08 12:19:48] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc5bec8012d34c54006aa3b800007013528..."} 
[2026-09-08 12:19:48] local.INFO: Packet analysis {"connection_id":174617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:19:48] local.INFO: Extracted packet for processing {"connection_id":174617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc5"} 
[2026-09-08 12:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111819648,"longitude_deg":75.8433088,"latitude_deg":11.1819648,"altitude":7,"angle":309,"satellites":40,"speed":4,"hex_longitude":"2d34c540","hex_latitude":"06aa3b80","is_valid_coordinates":true} 
[2026-09-08 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945614592001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402624854395715584,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242524672,"note":"Value kept but may cause issues"} 
[2026-09-08 12:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788850061000,"timestamp_ms":1788850061000,"timestamp_seconds":1788850061,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc5bec8"} 
[2026-09-08 12:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:19: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-09-08 12:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945614592001,"66":27539,"97":206,"81":23296,"24":4,"16":402624854395715584,"45":3802656595242524672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945614592001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402624854395715584,"km_value":402624854395715.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242524672,"description":"Unknown IO ID 45"} 
[2026-09-08 12:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945614592001,"power":27539,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802656595242524672}} 
[2026-09-08 12:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":174617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:19:48] local.INFO: GPS data processed {"connection_id":174617,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:19:48] local.INFO: Acknowledgment sent {"connection_id":174617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:20:01] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:20:01] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:20:01] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:20:06] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:20:06] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:20:06] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:20:06] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc38c48012d181dc00721af38004900d22e..."} 
[2026-09-08 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc38c48012d181dc00721af38004900d22e..."} 
[2026-09-08 12:20:06] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc38c48012d181dc00721af38004900d22e..."} 
[2026-09-08 12:20:06] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:20:06] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc3"} 
[2026-09-08 12:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648056,"longitude_deg":75.65552,"latitude_deg":11.9648056,"altitude":73,"angle":210,"satellites":46,"speed":1,"hex_longitude":"2d181dc0","hex_latitude":"0721af38","is_valid_coordinates":true} 
[2026-09-08 12:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945573376001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437216564936704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585719296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788849917000,"timestamp_ms":1788849917000,"timestamp_seconds":1788849917,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc38c48"} 
[2026-09-08 12:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 12:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945573376001,"66":12385,"105":206,"83":41984,"24":1,"16":18437216564936704,"45":1737896905585719296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945573376001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:20:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437216564936704,"km_value":18437216564936.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585719296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945573376001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737896905585719296}} 
[2026-09-08 12:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:20:07] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:20:07] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:20:19] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc6dfd8012d34c54006aa4eb8000600082e..."} 
[2026-09-08 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc6dfd8012d34c54006aa4eb8000600082e..."} 
[2026-09-08 12:20:19] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc6dfd8012d34c54006aa4eb8000600082e..."} 
[2026-09-08 12:20:19] local.INFO: Packet analysis {"connection_id":174617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc6"} 
[2026-09-08 12:20:19] local.INFO: Extracted packet for processing {"connection_id":174617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc6"} 
[2026-09-08 12:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111824568,"longitude_deg":75.8433088,"latitude_deg":11.1824568,"altitude":6,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4eb8","is_valid_coordinates":true} 
[2026-09-08 12:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945629184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402625107798786048,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755518976,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788850135000,"timestamp_ms":1788850135000,"timestamp_seconds":1788850135,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc6dfd8"} 
[2026-09-08 12:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 12:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:20: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-09-08 12:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945629184001,"66":27930,"97":206,"81":23296,"24":0,"16":402625107798786048,"45":3802515857755518976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945629184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:20:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402625107798786048,"km_value":402625107798786.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755518976,"description":"Unknown IO ID 45"} 
[2026-09-08 12:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945629184001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755518976}} 
[2026-09-08 12:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":174617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:20:19] local.INFO: GPS data processed {"connection_id":174617,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:20:19] local.INFO: Acknowledgment sent {"connection_id":174617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:20:38] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc712a0012d181dc00721af18004900d230..."} 
[2026-09-08 12:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc712a0012d181dc00721af18004900d230..."} 
[2026-09-08 12:20:38] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc712a0012d181dc00721af18004900d230..."} 
[2026-09-08 12:20:38] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:20:38] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945632512001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788850148000,"timestamp_ms":1788850148000,"timestamp_seconds":1788850148,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc712a0"} 
[2026-09-08 12:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:20: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-09-08 12:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-08 12:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945632512001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945632512001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:20:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945632512001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:20:38] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:20:38] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:20:42] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:42] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:42] local.INFO: IMEI packet received {"connection_id":177120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":177120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:20:46] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:46] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:46] local.INFO: IMEI packet received {"connection_id":177120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":177120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:20:47] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:47] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:20:47] local.INFO: IMEI packet received {"connection_id":177120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":177120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:20:48] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc731e0012d34c54006aa4eb8000600082c..."} 
[2026-09-08 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc731e0012d34c54006aa4eb8000600082c..."} 
[2026-09-08 12:20:48] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc731e0012d34c54006aa4eb8000600082c..."} 
[2026-09-08 12:20:48] local.INFO: Packet analysis {"connection_id":177120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:20:48] local.INFO: Extracted packet for processing {"connection_id":177120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111824568,"longitude_deg":75.8433088,"latitude_deg":11.1824568,"altitude":6,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4eb8","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945634560001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402625107798786048,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755518976,"note":"Value kept but may cause issues"} 
[2026-09-08 12:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788850156000,"timestamp_ms":1788850156000,"timestamp_seconds":1788850156,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc731e0"} 
[2026-09-08 12:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 12:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12: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-09-08 12:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945634560001,"66":27974,"97":206,"81":23296,"24":0,"16":402625107798786048,"45":3802515857755518976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945634560001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402625107798786048,"km_value":402625107798786.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755518976,"description":"Unknown IO ID 45"} 
[2026-09-08 12:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945634560001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755518976}} 
[2026-09-08 12:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":177120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:20:48] local.INFO: GPS data processed {"connection_id":177120,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:20:48] local.INFO: Acknowledgment sent {"connection_id":177120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:21:01] local.INFO: TCP Data received {"connection_id":177121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:21:01] local.INFO: Processing buffer {"connection_id":177121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:21:01] local.INFO: IMEI packet received {"connection_id":177121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":177121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:21:06] local.INFO: TCP Data received {"connection_id":177121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:21:06] local.INFO: Processing buffer {"connection_id":177121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:21:06] local.INFO: IMEI packet received {"connection_id":177121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":177121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:21:06] local.INFO: TCP Data received {"connection_id":177121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc764a8012d181dc00721af18004900d230..."} 
[2026-09-08 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc764a8012d181dc00721af18004900d230..."} 
[2026-09-08 12:21:06] local.INFO: Processing buffer {"connection_id":177121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc764a8012d181dc00721af18004900d230..."} 
[2026-09-08 12:21:06] local.INFO: Packet analysis {"connection_id":177121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:06] local.INFO: Extracted packet for processing {"connection_id":177121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945637888001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788850169000,"timestamp_ms":1788850169000,"timestamp_seconds":1788850169,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc764a8"} 
[2026-09-08 12:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 12:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945637888001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945637888001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:21:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945637888001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":177121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:21:06] local.INFO: GPS data processed {"connection_id":177121,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:21:06] local.INFO: Acknowledgment sent {"connection_id":177121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:21:19] local.INFO: TCP Data received {"connection_id":177120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc783e8012d34c54006aa4eb8000600082d..."} 
[2026-09-08 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc783e8012d34c54006aa4eb8000600082d..."} 
[2026-09-08 12:21:19] local.INFO: Processing buffer {"connection_id":177120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc783e8012d34c54006aa4eb8000600082d..."} 
[2026-09-08 12:21:19] local.INFO: Packet analysis {"connection_id":177120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:19] local.INFO: Extracted packet for processing {"connection_id":177120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111824568,"longitude_deg":75.8433088,"latitude_deg":11.1824568,"altitude":6,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4eb8","is_valid_coordinates":true} 
[2026-09-08 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945639936001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402625107798786048,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755518976,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788850177000,"timestamp_ms":1788850177000,"timestamp_seconds":1788850177,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc783e8"} 
[2026-09-08 12:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 12:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:21: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-09-08 12:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945639936001,"66":27800,"97":206,"81":23296,"24":0,"16":402625107798786048,"45":3802515857755518976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945639936001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402625107798786048,"km_value":402625107798786.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755518976,"description":"Unknown IO ID 45"} 
[2026-09-08 12:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945639936001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755518976}} 
[2026-09-08 12:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":177120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:21:19] local.INFO: GPS data processed {"connection_id":177120,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:21:19] local.INFO: Acknowledgment sent {"connection_id":177120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:21:37] local.INFO: TCP Data received {"connection_id":177121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc7b6b0012d181dc00721af18004900d22f..."} 
[2026-09-08 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc7b6b0012d181dc00721af18004900d22f..."} 
[2026-09-08 12:21:37] local.INFO: Processing buffer {"connection_id":177121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc7b6b0012d181dc00721af18004900d22f..."} 
[2026-09-08 12:21:37] local.INFO: Packet analysis {"connection_id":177121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:37] local.INFO: Extracted packet for processing {"connection_id":177121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945643264001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788850190000,"timestamp_ms":1788850190000,"timestamp_seconds":1788850190,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc7b6b0"} 
[2026-09-08 12:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 12:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945643264001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945643264001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:21:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945643264001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":177121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:21:38] local.INFO: GPS data processed {"connection_id":177121,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:21:38] local.INFO: Acknowledgment sent {"connection_id":177121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:21:47] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:21:47] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:21:47] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:21:50] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:21:50] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:21:50] local.INFO: IMEI packet received {"connection_id":174359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":174359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:21:52] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:21:52] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:21:52] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:21:53] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc7d5f0012d34c54006aa4eb8000600082e..."} 
[2026-09-08 12:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc7d5f0012d34c54006aa4eb8000600082e..."} 
[2026-09-08 12:21:53] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc7d5f0012d34c54006aa4eb8000600082e..."} 
[2026-09-08 12:21:53] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:53] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111824568,"longitude_deg":75.8433088,"latitude_deg":11.1824568,"altitude":6,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4eb8","is_valid_coordinates":true} 
[2026-09-08 12:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945645312001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402625107798786048,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755518976,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788850198000,"timestamp_ms":1788850198000,"timestamp_seconds":1788850198,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc7d5f0"} 
[2026-09-08 12:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945645312001,"66":27800,"97":206,"81":23296,"24":0,"16":402625107798786048,"45":3802515857755518976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945645312001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402625107798786048,"km_value":402625107798786.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755518976,"description":"Unknown IO ID 45"} 
[2026-09-08 12:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945645312001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755518976}} 
[2026-09-08 12:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:21:53] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:21:53] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:21:58] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc7fd00012d34c44006aa5040000c01602d..."} 
[2026-09-08 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc7fd00012d34c44006aa5040000c01602d..."} 
[2026-09-08 12:21:58] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc7fd00012d34c44006aa5040000c01602d..."} 
[2026-09-08 12:21:58] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:58] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc7"} 
[2026-09-08 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111824960,"longitude_deg":75.8432832,"latitude_deg":11.182496,"altitude":12,"angle":352,"satellites":45,"speed":4,"hex_longitude":"2d34c440","hex_latitude":"06aa5040","is_valid_coordinates":true} 
[2026-09-08 12:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945650688001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402625129273622528,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755518976,"note":"Value kept but may cause issues"} 
[2026-09-08 12:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788850208000,"timestamp_ms":1788850208000,"timestamp_seconds":1788850208,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc7fd00"} 
[2026-09-08 12:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945650688001,"66":27887,"97":206,"81":23296,"24":4,"16":402625129273622528,"45":3802515857755518976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945650688001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402625129273622528,"km_value":402625129273622.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755518976,"description":"Unknown IO ID 45"} 
[2026-09-08 12:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945650688001,"power":27887,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802515857755518976}} 
[2026-09-08 12:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:21:58] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:21:58] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:22:01] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:22:01] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:22:01] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:22:06] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:22:06] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:22:06] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:22:07] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc808b8012d181dc00721af18004900d230..."} 
[2026-09-08 12:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc808b8012d181dc00721af18004900d230..."} 
[2026-09-08 12:22:07] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc808b8012d181dc00721af18004900d230..."} 
[2026-09-08 12:22:07] local.INFO: Packet analysis {"connection_id":174360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:22:07] local.INFO: Extracted packet for processing {"connection_id":174360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945648640001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788850211000,"timestamp_ms":1788850211000,"timestamp_seconds":1788850211,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc808b8"} 
[2026-09-08 12:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 12:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945648640001,"66":12287,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945648640001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945648640001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":174360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:22:07] local.INFO: GPS data processed {"connection_id":174360,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:22:07] local.INFO: Acknowledgment sent {"connection_id":174360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:22:38] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc85ac0012d181dc00721af18004900d230..."} 
[2026-09-08 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc85ac0012d181dc00721af18004900d230..."} 
[2026-09-08 12:22:38] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc85ac0012d181dc00721af18004900d230..."} 
[2026-09-08 12:22:38] local.INFO: Packet analysis {"connection_id":174360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:22:38] local.INFO: Extracted packet for processing {"connection_id":174360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945654016001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788850232000,"timestamp_ms":1788850232000,"timestamp_seconds":1788850232,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc85ac0"} 
[2026-09-08 12:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 12:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945654016001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945654016001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:22:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945654016001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":174360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:22:38] local.INFO: GPS data processed {"connection_id":174360,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:22:38] local.INFO: Acknowledgment sent {"connection_id":174360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:22:57] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:57] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:57] local.INFO: IMEI packet received {"connection_id":177122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":177122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:22:59] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:59] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:59] local.INFO: IMEI packet received {"connection_id":177122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":177122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:22:59] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:59] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:22:59] local.INFO: IMEI packet received {"connection_id":177122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":177122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:23:01] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:23:01] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:23:01] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:23:02] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:02] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:02] local.INFO: IMEI packet received {"connection_id":177122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":177122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:23:03] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc97400012d34e94006aa7608000c01222e..."} 
[2026-09-08 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc97400012d34e94006aa7608000c01222e..."} 
[2026-09-08 12:23:03] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc97400012d34e94006aa7608000c01222e..."} 
[2026-09-08 12:23:03] local.INFO: Packet analysis {"connection_id":177122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:23:03] local.INFO: Extracted packet for processing {"connection_id":177122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758442304,"raw_latitude":111834632,"longitude_deg":75.8442304,"latitude_deg":11.1834632,"altitude":12,"angle":290,"satellites":46,"speed":28,"hex_longitude":"2d34e940","hex_latitude":"06aa7608","is_valid_coordinates":true} 
[2026-09-08 12:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945673216001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402626623922241536,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822570949847896064,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788850304000,"timestamp_ms":1788850304000,"timestamp_seconds":1788850304,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc97400"} 
[2026-09-08 12:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 12:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945673216001,"66":27767,"97":206,"81":23296,"24":28,"16":402626623922241536,"45":3822570949847896064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945673216001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402626623922241536,"km_value":402626623922241.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822570949847896064,"description":"Unknown IO ID 45"} 
[2026-09-08 12:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945673216001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3822570949847896064}} 
[2026-09-08 12:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":177122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:23:03] local.INFO: GPS data processed {"connection_id":177122,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:23:03] local.INFO: Acknowledgment sent {"connection_id":177122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:23:06] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:23:06] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:23:06] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:23:06] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc8acc8012d181dc00721af18004900d230..."} 
[2026-09-08 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc8acc8012d181dc00721af18004900d230..."} 
[2026-09-08 12:23:06] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc8acc8012d181dc00721af18004900d230..."} 
[2026-09-08 12:23:06] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:23:06] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945659392001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788850253000,"timestamp_ms":1788850253000,"timestamp_seconds":1788850253,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc8acc8"} 
[2026-09-08 12:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 12:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945659392001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945659392001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945659392001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:23:06] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:23:06] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:23:07] local.INFO: TCP Data received {"connection_id":177122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc9a2e0012d34c70006aa8248000a01202d..."} 
[2026-09-08 12:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc9a2e0012d34c70006aa8248000a01202d..."} 
[2026-09-08 12:23:07] local.INFO: Processing buffer {"connection_id":177122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc9a2e0012d34c70006aa8248000a01202d..."} 
[2026-09-08 12:23:07] local.INFO: Packet analysis {"connection_id":177122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:23:07] local.INFO: Extracted packet for processing {"connection_id":177122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111837768,"longitude_deg":75.8433536,"latitude_deg":11.1837768,"altitude":10,"angle":288,"satellites":45,"speed":31,"hex_longitude":"2d34c700","hex_latitude":"06aa8248","is_valid_coordinates":true} 
[2026-09-08 12:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945677824001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402627066303873024,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812648956919678976,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788850316000,"timestamp_ms":1788850316000,"timestamp_seconds":1788850316,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc9a2e0"} 
[2026-09-08 12:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945677824001,"66":27821,"97":206,"81":23296,"24":31,"16":402627066303873024,"45":3812648956919678976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945677824001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402627066303873024,"km_value":402627066303873.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812648956919678976,"description":"Unknown IO ID 45"} 
[2026-09-08 12:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945677824001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":3812648956919678976}} 
[2026-09-08 12:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":177122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:23:07] local.INFO: GPS data processed {"connection_id":177122,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:23:07] local.INFO: Acknowledgment sent {"connection_id":177122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:23:38] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc8fed0012d181dc00721af18004900d230..."} 
[2026-09-08 12:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc8fed0012d181dc00721af18004900d230..."} 
[2026-09-08 12:23:38] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc8fed0012d181dc00721af18004900d230..."} 
[2026-09-08 12:23:38] local.INFO: Packet analysis {"connection_id":175703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:23:38] local.INFO: Extracted packet for processing {"connection_id":175703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc8"} 
[2026-09-08 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945664768001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788850274000,"timestamp_ms":1788850274000,"timestamp_seconds":1788850274,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc8fed0"} 
[2026-09-08 12:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:23: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-09-08 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 12:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945664768001,"66":12374,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945664768001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945664768001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":175703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:23:38] local.INFO: GPS data processed {"connection_id":175703,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:23:38] local.INFO: Acknowledgment sent {"connection_id":175703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:23:42] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:42] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:42] local.INFO: IMEI packet received {"connection_id":177123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":177123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:23:47] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:47] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:23:47] local.INFO: IMEI packet received {"connection_id":177123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":177123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:23:47] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc9d1c0012d34a58006aa8e80000a01212c..."} 
[2026-09-08 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc9d1c0012d34a58006aa8e80000a01212c..."} 
[2026-09-08 12:23:47] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc9d1c0012d34a58006aa8e80000a01212c..."} 
[2026-09-08 12:23:47] local.INFO: Packet analysis {"connection_id":177123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:23:47] local.INFO: Extracted packet for processing {"connection_id":177123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758424960,"raw_latitude":111840896,"longitude_deg":75.842496,"latitude_deg":11.1840896,"altitude":10,"angle":289,"satellites":44,"speed":28,"hex_longitude":"2d34a580","hex_latitude":"06aa8e80","is_valid_coordinates":true} 
[2026-09-08 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945680896001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402627500095569920,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438968141824,"note":"Value kept but may cause issues"} 
[2026-09-08 12:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788850328000,"timestamp_ms":1788850328000,"timestamp_seconds":1788850328,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc9d1c0"} 
[2026-09-08 12:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:23: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-09-08 12:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945680896001,"66":27800,"97":206,"81":23296,"24":28,"16":402627500095569920,"45":3803008438968141824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945680896001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402627500095569920,"km_value":402627500095569.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438968141824,"description":"Unknown IO ID 45"} 
[2026-09-08 12:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945680896001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3803008438968141824}} 
[2026-09-08 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":177123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:23:47] local.INFO: GPS data processed {"connection_id":177123,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:23:47] local.INFO: Acknowledgment sent {"connection_id":177123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:24:06] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:24:06] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:24:06] local.INFO: IMEI packet received {"connection_id":177124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":177124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:24:11] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:24:11] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:24:11] local.INFO: IMEI packet received {"connection_id":177124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":177124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:24:12] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc950d8012d181dc00721af18004900d230..."} 
[2026-09-08 12:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc950d8012d181dc00721af18004900d230..."} 
[2026-09-08 12:24:12] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc950d8012d181dc00721af18004900d230..."} 
[2026-09-08 12:24:12] local.INFO: Packet analysis {"connection_id":177124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:24:12] local.INFO: Extracted packet for processing {"connection_id":177124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945670144001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788850295000,"timestamp_ms":1788850295000,"timestamp_seconds":1788850295,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc950d8"} 
[2026-09-08 12:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-08 12:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945670144001,"66":12363,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945670144001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945670144001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":177124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:24:12] local.INFO: GPS data processed {"connection_id":177124,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:24:12] local.INFO: Acknowledgment sent {"connection_id":177124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:24:16] local.INFO: TCP Data received {"connection_id":177124,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc9a2e0012d181dc00721af18004900d230..."} 
[2026-09-08 12:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc9a2e0012d181dc00721af18004900d230..."} 
[2026-09-08 12:24:16] local.INFO: Processing buffer {"connection_id":177124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc9a2e0012d181dc00721af18004900d230..."} 
[2026-09-08 12:24:16] local.INFO: Packet analysis {"connection_id":177124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:24:16] local.INFO: Extracted packet for processing {"connection_id":177124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945675520001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788850316000,"timestamp_ms":1788850316000,"timestamp_seconds":1788850316,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc9a2e0"} 
[2026-09-08 12:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-08 12:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945675520001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945675520001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:24:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945675520001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":177124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:24:17] local.INFO: GPS data processed {"connection_id":177124,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:24:17] local.INFO: Acknowledgment sent {"connection_id":177124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:24:18] local.INFO: TCP Data received {"connection_id":177123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fca0488012d34834006aa9800000f01152b..."} 
[2026-09-08 12:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fca0488012d34834006aa9800000f01152b..."} 
[2026-09-08 12:24:18] local.INFO: Processing buffer {"connection_id":177123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fca0488012d34834006aa9800000f01152b..."} 
[2026-09-08 12:24:18] local.INFO: Packet analysis {"connection_id":177123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fca"} 
[2026-09-08 12:24:18] local.INFO: Extracted packet for processing {"connection_id":177123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fca"} 
[2026-09-08 12:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758416192,"raw_latitude":111843328,"longitude_deg":75.8416192,"latitude_deg":11.1843328,"altitude":15,"angle":277,"satellites":43,"speed":27,"hex_longitude":"2d348340","hex_latitude":"06aa9800","is_valid_coordinates":true} 
[2026-09-08 12:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945683968001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402627933887266816,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3793579027249135616,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788850341000,"timestamp_ms":1788850341000,"timestamp_seconds":1788850341,"priority":1,"record_length":96,"hex_timestamp":"000001a07fca0488"} 
[2026-09-08 12:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:24: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-09-08 12:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945683968001,"66":27908,"97":206,"81":23296,"24":27,"16":402627933887266816,"45":3793579027249135616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945683968001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402627933887266816,"km_value":402627933887266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3793579027249135616,"description":"Unknown IO ID 45"} 
[2026-09-08 12:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945683968001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":3793579027249135616}} 
[2026-09-08 12:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":177123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:24:18] local.INFO: GPS data processed {"connection_id":177123,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:24:18] local.INFO: Acknowledgment sent {"connection_id":177123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:24:41] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:24:41] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:24:41] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:24:46] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:24:46] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:24:46] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:24:47] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcb73b8012d33b00006aa2608000c00b92b..."} 
[2026-09-08 12:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcb73b8012d33b00006aa2608000c00b92b..."} 
[2026-09-08 12:24:47] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcb73b8012d33b00006aa2608000c00b92b..."} 
[2026-09-08 12:24:47] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:24:47] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758362112,"raw_latitude":111814152,"longitude_deg":75.8362112,"latitude_deg":11.1814152,"altitude":12,"angle":185,"satellites":43,"speed":14,"hex_longitude":"2d33b000","hex_latitude":"06aa2608","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945710080001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631064918425600,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725462082878904320,"note":"Value kept but may cause issues"} 
[2026-09-08 12:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788850435000,"timestamp_ms":1788850435000,"timestamp_seconds":1788850435,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcb73b8"} 
[2026-09-08 12:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:24: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-09-08 12:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945710080001,"66":27713,"76":206,"81":23296,"24":14,"16":402631064918425600,"45":3725462082878904320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-08 12:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945710080001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:24:47] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-08 12:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631064918425600,"km_value":402631064918425.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725462082878904320,"description":"Unknown IO ID 45"} 
[2026-09-08 12:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945710080001,"power":27713,"unknown_76":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3725462082878904320}} 
[2026-09-08 12:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:24:47] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:24:47] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:25:01] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:25:01] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:25:01] local.INFO: IMEI packet received {"connection_id":177125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":177125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:25:04] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:25:04] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:25:04] local.INFO: IMEI packet received {"connection_id":177125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":177125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:25:05] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fc9f4e8012d181dc00721af18004900d230..."} 
[2026-09-08 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fc9f4e8012d181dc00721af18004900d230..."} 
[2026-09-08 12:25:05] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fc9f4e8012d181dc00721af18004900d230..."} 
[2026-09-08 12:25:05] local.INFO: Packet analysis {"connection_id":177125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:25:05] local.INFO: Extracted packet for processing {"connection_id":177125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fc9"} 
[2026-09-08 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648024,"longitude_deg":75.65552,"latitude_deg":11.9648024,"altitude":73,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-09-08 12:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945680896001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18437220859904000,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097306624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788850337000,"timestamp_ms":1788850337000,"timestamp_seconds":1788850337,"priority":1,"record_length":96,"hex_timestamp":"000001a07fc9f4e8"} 
[2026-09-08 12:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 12:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945680896001,"66":12341,"105":206,"83":41984,"24":0,"16":18437220859904000,"45":1737756168097306624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945680896001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18437220859904000,"km_value":18437220859904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097306624,"description":"Unknown IO ID 45"} 
[2026-09-08 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945680896001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097306624}} 
[2026-09-08 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":177125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:25:05] local.INFO: GPS data processed {"connection_id":177125,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:25:05] local.INFO: Acknowledgment sent {"connection_id":177125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:25:18] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcb77a0012d33b00006aa24c8000c00ab2c..."} 
[2026-09-08 12:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcb77a0012d33b00006aa24c8000c00ab2c..."} 
[2026-09-08 12:25:18] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcb77a0012d33b00006aa24c8000c00ab2c..."} 
[2026-09-08 12:25:18] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:25:18] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758362112,"raw_latitude":111813832,"longitude_deg":75.8362112,"latitude_deg":11.1813832,"altitude":12,"angle":171,"satellites":44,"speed":12,"hex_longitude":"2d33b000","hex_latitude":"06aa24c8","is_valid_coordinates":true} 
[2026-09-08 12:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945711360001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631082098294784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724476920459823104,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788850436000,"timestamp_ms":1788850436000,"timestamp_seconds":1788850436,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcb77a0"} 
[2026-09-08 12:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 12:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:25: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-09-08 12:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945711360001,"66":27713,"76":206,"81":23296,"24":12,"16":402631082098294784,"45":3724476920459823104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-08 12:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945711360001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:25:18] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-08 12:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631082098294784,"km_value":402631082098294.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724476920459823104,"description":"Unknown IO ID 45"} 
[2026-09-08 12:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945711360001,"power":27713,"unknown_76":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":3724476920459823104}} 
[2026-09-08 12:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:25:18] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:25:18] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:25:36] local.INFO: TCP Data received {"connection_id":177125,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcc46a8012d18b18007216cb80048008a2c..."} 
[2026-09-08 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcc46a8012d18b18007216cb80048008a2c..."} 
[2026-09-08 12:25:36] local.INFO: Processing buffer {"connection_id":177125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcc46a8012d18b18007216cb80048008a2c..."} 
[2026-09-08 12:25:36] local.INFO: Packet analysis {"connection_id":177125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:25:36] local.INFO: Extracted packet for processing {"connection_id":177125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119631032,"longitude_deg":75.6593024,"latitude_deg":11.9631032,"altitude":72,"angle":138,"satellites":44,"speed":41,"hex_longitude":"2d18b180","hex_latitude":"07216cb8","is_valid_coordinates":true} 
[2026-09-08 12:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945724672001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18439299624075264,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786236416,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788850489000,"timestamp_ms":1788850489000,"timestamp_seconds":1788850489,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcc46a8"} 
[2026-09-08 12:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 12:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945724672001,"66":14265,"106":206,"83":41984,"24":41,"16":18439299624075264,"45":1777725614786236416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945724672001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18439299624075264,"km_value":18439299624075.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786236416,"description":"Unknown IO ID 45"} 
[2026-09-08 12:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945724672001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1777725614786236416}} 
[2026-09-08 12:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":177125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:25:36] local.INFO: GPS data processed {"connection_id":177125,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:25:36] local.INFO: Acknowledgment sent {"connection_id":177125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:25:41] local.INFO: TCP Data received {"connection_id":174620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:25:41] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:25:41] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:25:46] local.INFO: TCP Data received {"connection_id":174620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:25:46] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:25:46] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:25:47] local.INFO: TCP Data received {"connection_id":174620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcb7f70012d33b0c006aa22e0000c00972d..."} 
[2026-09-08 12:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcb7f70012d33b0c006aa22e0000c00972d..."} 
[2026-09-08 12:25:47] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcb7f70012d33b0c006aa22e0000c00972d..."} 
[2026-09-08 12:25:47] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:25:47] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111813344,"longitude_deg":75.8362304,"latitude_deg":11.1813344,"altitude":12,"angle":151,"satellites":45,"speed":8,"hex_longitude":"2d33b0c0","hex_latitude":"06aa22e0","is_valid_coordinates":true} 
[2026-09-08 12:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945711616001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631107868098560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724476920459741184,"note":"Value kept but may cause issues"} 
[2026-09-08 12:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788850438000,"timestamp_ms":1788850438000,"timestamp_seconds":1788850438,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcb7f70"} 
[2026-09-08 12:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 12:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:25: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-09-08 12:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945711616001,"66":27767,"76":206,"81":23296,"24":8,"16":402631107868098560,"45":3724476920459741184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-08 12:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945711616001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:25:47] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-08 12:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631107868098560,"km_value":402631107868098.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724476920459741184,"description":"Unknown IO ID 45"} 
[2026-09-08 12:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945711616001,"power":27767,"unknown_76":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3724476920459741184}} 
[2026-09-08 12:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:25:47] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:25:47] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:26:01] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:26:01] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:26:01] local.INFO: IMEI packet received {"connection_id":174361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":174361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:26:06] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:26:06] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:26:06] local.INFO: IMEI packet received {"connection_id":174361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":174361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:26:07] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcc6200012d18c28007215430004400992d..."} 
[2026-09-08 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcc6200012d18c28007215430004400992d..."} 
[2026-09-08 12:26:07] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcc6200012d18c28007215430004400992d..."} 
[2026-09-08 12:26:07] local.INFO: Packet analysis {"connection_id":174361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:26:07] local.INFO: Extracted packet for processing {"connection_id":174361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624752,"longitude_deg":75.6597376,"latitude_deg":11.9624752,"altitude":68,"angle":153,"satellites":45,"speed":40,"hex_longitude":"2d18c280","hex_latitude":"07215430","is_valid_coordinates":true} 
[2026-09-08 12:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945725184001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18439668991262720,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095901956096,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788850496000,"timestamp_ms":1788850496000,"timestamp_seconds":1788850496,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcc6200"} 
[2026-09-08 12:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:26: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-09-08 12:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 12:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945725184001,"66":14265,"106":206,"83":41984,"24":40,"16":18439668991262720,"45":1779344095901956096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945725184001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:26:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18439668991262720,"km_value":18439668991262.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095901956096,"description":"Unknown IO ID 45"} 
[2026-09-08 12:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945725184001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1779344095901956096}} 
[2026-09-08 12:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":174361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:26:07] local.INFO: GPS data processed {"connection_id":174361,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:26:07] local.INFO: Acknowledgment sent {"connection_id":174361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:26:18] local.INFO: TCP Data received {"connection_id":174620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcbd178012d33b20006aa2058000b00912e..."} 
[2026-09-08 12:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcbd178012d33b20006aa2058000b00912e..."} 
[2026-09-08 12:26:18] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcbd178012d33b20006aa2058000b00912e..."} 
[2026-09-08 12:26:18] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:26:18] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcb"} 
[2026-09-08 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":46,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945712128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724688026692149248,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788850459000,"timestamp_ms":1788850459000,"timestamp_seconds":1788850459,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcbd178"} 
[2026-09-08 12:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:26: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-09-08 12:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945712128001,"66":27745,"76":206,"81":23296,"24":0,"16":402631146522804224,"45":3724688026692149248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-08 12:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945712128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:26:18] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-08 12:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724688026692149248,"description":"Unknown IO ID 45"} 
[2026-09-08 12:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945712128001,"power":27745,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724688026692149248}} 
[2026-09-08 12:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:26:18] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:26:18] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:26:38] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcd38d8012d1955800720aac8002d005e2b..."} 
[2026-09-08 12:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcd38d8012d1955800720aac8002d005e2b..."} 
[2026-09-08 12:26:38] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcd38d8012d1955800720aac8002d005e2b..."} 
[2026-09-08 12:26:38] local.INFO: Packet analysis {"connection_id":174361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcd"} 
[2026-09-08 12:26:38] local.INFO: Extracted packet for processing {"connection_id":174361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcd"} 
[2026-09-08 12:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756635008,"raw_latitude":119581384,"longitude_deg":75.6635008,"latitude_deg":11.9581384,"altitude":45,"angle":94,"satellites":43,"speed":42,"hex_longitude":"2d195580","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-09-08 12:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945740288001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18442688353271808,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821846817372747776,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788850551000,"timestamp_ms":1788850551000,"timestamp_seconds":1788850551,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcd38d8"} 
[2026-09-08 12:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 12:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945740288001,"66":14157,"103":206,"83":41984,"24":42,"16":18442688353271808,"45":1821846817372747776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 12:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945740288001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:26:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 12:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18442688353271808,"km_value":18442688353271.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821846817372747776,"description":"Unknown IO ID 45"} 
[2026-09-08 12:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945740288001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1821846817372747776}} 
[2026-09-08 12:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":174361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:26:38] local.INFO: GPS data processed {"connection_id":174361,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:26:38] local.INFO: Acknowledgment sent {"connection_id":174361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:26:41] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:26:41] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:26:41] local.INFO: IMEI packet received {"connection_id":177126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":177126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:26:47] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:26:47] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:26:47] local.INFO: IMEI packet received {"connection_id":177126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":177126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:26:53] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcc2380012d33b20006aa2058000b00912d..."} 
[2026-09-08 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcc2380012d33b20006aa2058000b00912d..."} 
[2026-09-08 12:26:53] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcc2380012d33b20006aa2058000b00912d..."} 
[2026-09-08 12:26:53] local.INFO: Packet analysis {"connection_id":177126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:26:53] local.INFO: Extracted packet for processing {"connection_id":177126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":45,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945717504001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788850480000,"timestamp_ms":1788850480000,"timestamp_seconds":1788850480,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcc2380"} 
[2026-09-08 12:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 12:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945717504001,"66":27865,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945717504001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:26:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945717504001,"power":27865,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":177126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:26:53] local.INFO: GPS data processed {"connection_id":177126,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:26:53] local.INFO: Acknowledgment sent {"connection_id":177126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:27:00] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:00] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:00] local.INFO: IMEI packet received {"connection_id":174363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":174363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:27:01] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:01] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:01] local.INFO: IMEI packet received {"connection_id":174363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":174363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:27:02] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:02] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:02] local.INFO: IMEI packet received {"connection_id":174363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":174363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:27:03] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:03] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:27:03] local.INFO: IMEI packet received {"connection_id":174363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":174363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:27:24] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:27:24] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:27:24] local.INFO: IMEI packet received {"connection_id":174362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":174362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:27:25] local.INFO: TCP Data received {"connection_id":177126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcc7588012d33b20006aa2058000b00912e..."} 
[2026-09-08 12:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcc7588012d33b20006aa2058000b00912e..."} 
[2026-09-08 12:27:25] local.INFO: Processing buffer {"connection_id":177126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcc7588012d33b20006aa2058000b00912e..."} 
[2026-09-08 12:27:25] local.INFO: Packet analysis {"connection_id":177126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:27:25] local.INFO: Extracted packet for processing {"connection_id":177126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":46,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945722880001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788850501000,"timestamp_ms":1788850501000,"timestamp_seconds":1788850501,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcc7588"} 
[2026-09-08 12:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945722880001,"66":27919,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945722880001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:27:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945722880001,"power":27919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":177126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:27:25] local.INFO: GPS data processed {"connection_id":177126,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:27:25] local.INFO: Acknowledgment sent {"connection_id":177126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:27:44] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:27:44] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:27:44] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:27:46] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:27:46] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:27:46] local.INFO: IMEI packet received {"connection_id":177127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":177127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:27:52] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:27:52] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:27:52] local.INFO: IMEI packet received {"connection_id":177127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":177127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:27:53] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fccc790012d33b20006aa2058000b00912c..."} 
[2026-09-08 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fccc790012d33b20006aa2058000b00912c..."} 
[2026-09-08 12:27:53] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fccc790012d33b20006aa2058000b00912c..."} 
[2026-09-08 12:27:53] local.INFO: Packet analysis {"connection_id":177127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:27:53] local.INFO: Extracted packet for processing {"connection_id":177127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945728256001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788850522000,"timestamp_ms":1788850522000,"timestamp_seconds":1788850522,"priority":1,"record_length":96,"hex_timestamp":"000001a07fccc790"} 
[2026-09-08 12:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 12:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945728256001,"66":27908,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945728256001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:27:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945728256001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":177127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:27:53] local.INFO: GPS data processed {"connection_id":177127,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:27:53] local.INFO: Acknowledgment sent {"connection_id":177127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:27:57] local.INFO: TCP Data received {"connection_id":177127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:27:57] local.INFO: Processing buffer {"connection_id":177127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:27:57] local.INFO: Packet analysis {"connection_id":177127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:27:57] local.INFO: Extracted packet for processing {"connection_id":177127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945733632001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788850526000,"timestamp_ms":1788850526000,"timestamp_seconds":1788850526,"priority":1,"record_length":96,"hex_timestamp":"000001a07fccd730"} 
[2026-09-08 12:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945733632001,"66":27908,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945733632001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:27:57] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:27:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945733632001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":177127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:27:57] local.INFO: GPS data processed {"connection_id":177127,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:27:57] local.INFO: Acknowledgment sent {"connection_id":177127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:28:43] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:28:43] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:28:43] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:28:47] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:28:47] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:28:47] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:28:49] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:28:49] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:28:49] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:28:49] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945733632001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788850526000,"timestamp_ms":1788850526000,"timestamp_seconds":1788850526,"priority":1,"record_length":96,"hex_timestamp":"000001a07fccd730"} 
[2026-09-08 12:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:28: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-09-08 12:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945733632001,"66":27908,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945733632001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:28:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945733632001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:28:49] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:28:49] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:28:52] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:28:52] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:28:52] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:28:52] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945733632001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788850526000,"timestamp_ms":1788850526000,"timestamp_seconds":1788850526,"priority":1,"record_length":96,"hex_timestamp":"000001a07fccd730"} 
[2026-09-08 12:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945733632001,"66":27908,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945733632001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:28:52] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945733632001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:28:52] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:28:52] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:29:24] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:29:24] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fccd730012d33b20006aa2058000b00912b..."} 
[2026-09-08 12:29:24] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:29:24] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcc"} 
[2026-09-08 12:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111812696,"longitude_deg":75.8362624,"latitude_deg":11.1812696,"altitude":11,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa2058","is_valid_coordinates":true} 
[2026-09-08 12:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945733632001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788850526000,"timestamp_ms":1788850526000,"timestamp_seconds":1788850526,"priority":1,"record_length":96,"hex_timestamp":"000001a07fccd730"} 
[2026-09-08 12:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:29: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-09-08 12:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945733632001,"66":27908,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945733632001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:29:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945733632001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:29:24] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:29:24] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:29:47] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:29:47] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:29:47] local.INFO: IMEI packet received {"connection_id":177129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":177129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:29:48] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:29:48] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:29:48] local.INFO: IMEI packet received {"connection_id":177129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":177129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:29:49] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fcfe088012d33af4006aa1d78000000912c..."} 
[2026-09-08 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fcfe088012d33af4006aa1d78000000912c..."} 
[2026-09-08 12:29:49] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fcfe088012d33af4006aa1d78000000912c..."} 
[2026-09-08 12:29:49] local.INFO: Packet analysis {"connection_id":177129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fcf"} 
[2026-09-08 12:29:49] local.INFO: Extracted packet for processing {"connection_id":177129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fcf"} 
[2026-09-08 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758361920,"raw_latitude":111811960,"longitude_deg":75.836192,"latitude_deg":11.181196,"altitude":0,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d33af40","hex_latitude":"06aa1d78","is_valid_coordinates":true} 
[2026-09-08 12:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945734656001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412871680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788850725000,"timestamp_ms":1788850725000,"timestamp_seconds":1788850725,"priority":1,"record_length":96,"hex_timestamp":"000001a07fcfe088"} 
[2026-09-08 12:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 12:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:29: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-09-08 12:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945734656001,"66":26636,"101":206,"81":23296,"24":0,"16":402631146522804224,"45":3725039870412871680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-08 12:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945734656001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:29:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 12:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412871680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945734656001,"power":26636,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725039870412871680}} 
[2026-09-08 12:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":177129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:29:49] local.INFO: GPS data processed {"connection_id":177129,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:29:49] local.INFO: Acknowledgment sent {"connection_id":177129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:29:52] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd04230012d33aa0006aa18c0000000912c..."} 
[2026-09-08 12:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd04230012d33aa0006aa18c0000000912c..."} 
[2026-09-08 12:29:52] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd04230012d33aa0006aa18c0000000912c..."} 
[2026-09-08 12:29:52] local.INFO: Packet analysis {"connection_id":177129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:29:52] local.INFO: Extracted packet for processing {"connection_id":177129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758360576,"raw_latitude":111810752,"longitude_deg":75.8360576,"latitude_deg":11.1810752,"altitude":0,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d33aa00","hex_latitude":"06aa18c0","is_valid_coordinates":true} 
[2026-09-08 12:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945785600001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724265814226728960,"note":"Value kept but may cause issues"} 
[2026-09-08 12:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788850750000,"timestamp_ms":1788850750000,"timestamp_seconds":1788850750,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd04230"} 
[2026-09-08 12:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 12:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945785600001,"66":27821,"101":206,"81":23296,"24":0,"16":402631146522804224,"45":3724265814226728960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-08 12:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945785600001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:29:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 12:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724265814226728960,"description":"Unknown IO ID 45"} 
[2026-09-08 12:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945785600001,"power":27821,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724265814226728960}} 
[2026-09-08 12:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":177129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:29:52] local.INFO: GPS data processed {"connection_id":177129,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:29:52] local.INFO: Acknowledgment sent {"connection_id":177129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:30:25] local.INFO: TCP Data received {"connection_id":177129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd09438012d33aa0006aa18c0000000912c..."} 
[2026-09-08 12:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd09438012d33aa0006aa18c0000000912c..."} 
[2026-09-08 12:30:25] local.INFO: Processing buffer {"connection_id":177129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd09438012d33aa0006aa18c0000000912c..."} 
[2026-09-08 12:30:25] local.INFO: Packet analysis {"connection_id":177129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:30:25] local.INFO: Extracted packet for processing {"connection_id":177129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758360576,"raw_latitude":111810752,"longitude_deg":75.8360576,"latitude_deg":11.1810752,"altitude":0,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d33aa00","hex_latitude":"06aa18c0","is_valid_coordinates":true} 
[2026-09-08 12:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945792000001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722788070598688768,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788850771000,"timestamp_ms":1788850771000,"timestamp_seconds":1788850771,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd09438"} 
[2026-09-08 12:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945792000001,"66":27865,"101":206,"81":23296,"24":0,"16":402631146522804224,"45":3722788070598688768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-08 12:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945792000001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:30:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 12:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722788070598688768,"description":"Unknown IO ID 45"} 
[2026-09-08 12:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945792000001,"power":27865,"unknown_101":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3722788070598688768}} 
[2026-09-08 12:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":177129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:30:25] local.INFO: GPS data processed {"connection_id":177129,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:30:25] local.INFO: Acknowledgment sent {"connection_id":177129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:30:44] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:30:44] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:30:44] local.INFO: IMEI packet received {"connection_id":174623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":174623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:30:55] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:30:55] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:30:55] local.INFO: IMEI packet received {"connection_id":174623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":174623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:30:56] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd0e640012d33aa0006aa18c0000000912b..."} 
[2026-09-08 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd0e640012d33aa0006aa18c0000000912b..."} 
[2026-09-08 12:30:56] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd0e640012d33aa0006aa18c0000000912b..."} 
[2026-09-08 12:30:56] local.INFO: Packet analysis {"connection_id":174623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:30:56] local.INFO: Extracted packet for processing {"connection_id":174623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758360576,"raw_latitude":111810752,"longitude_deg":75.8360576,"latitude_deg":11.1810752,"altitude":0,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d33aa00","hex_latitude":"06aa18c0","is_valid_coordinates":true} 
[2026-09-08 12:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945797376001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631146522804224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722788070598688768,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788850792000,"timestamp_ms":1788850792000,"timestamp_seconds":1788850792,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd0e640"} 
[2026-09-08 12:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945797376001,"66":27767,"75":206,"81":23296,"24":0,"16":402631146522804224,"45":3722788070598688768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945797376001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:30:56] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631146522804224,"km_value":402631146522804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722788070598688768,"description":"Unknown IO ID 45"} 
[2026-09-08 12:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945797376001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3722788070598688768}} 
[2026-09-08 12:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":174623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:30:56] local.INFO: GPS data processed {"connection_id":174623,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:30:56] local.INFO: Acknowledgment sent {"connection_id":174623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:30:57] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd0ea28012d33aa0006aa1958000001172b..."} 
[2026-09-08 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd0ea28012d33aa0006aa1958000001172b..."} 
[2026-09-08 12:30:57] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd0ea28012d33aa0006aa1958000001172b..."} 
[2026-09-08 12:30:57] local.INFO: Packet analysis {"connection_id":174623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:30:57] local.INFO: Extracted packet for processing {"connection_id":174623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:30:57] local.INFO: GPS Element Parsed {"raw_longitude":758360576,"raw_latitude":111810904,"longitude_deg":75.8360576,"latitude_deg":11.1810904,"altitude":0,"angle":279,"satellites":43,"speed":2,"hex_longitude":"2d33aa00","hex_latitude":"06aa1958","is_valid_coordinates":true} 
[2026-09-08 12:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945802752001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631155112738816,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722788070598688768,"note":"Value kept but may cause issues"} 
[2026-09-08 12:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788850793000,"timestamp_ms":1788850793000,"timestamp_seconds":1788850793,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd0ea28"} 
[2026-09-08 12:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945802752001,"66":27800,"75":206,"81":23296,"24":2,"16":402631155112738816,"45":3722788070598688768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945802752001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:30:57] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:30:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631155112738816,"km_value":402631155112738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722788070598688768,"description":"Unknown IO ID 45"} 
[2026-09-08 12:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945802752001,"power":27800,"unknown_75":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3722788070598688768}} 
[2026-09-08 12:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":174623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:30:57] local.INFO: GPS data processed {"connection_id":174623,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:30:57] local.INFO: Acknowledgment sent {"connection_id":174623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:31:42] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:31:42] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:31:42] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:31:47] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:31:47] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:31:47] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:32:04] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd0f1f8012d33a98006aa1980000001292c..."} 
[2026-09-08 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd0f1f8012d33a98006aa1980000001292c..."} 
[2026-09-08 12:32:04] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd0f1f8012d33a98006aa1980000001292c..."} 
[2026-09-08 12:32:04] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:32:04] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd0"} 
[2026-09-08 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758360448,"raw_latitude":111810944,"longitude_deg":75.8360448,"latitude_deg":11.1810944,"altitude":0,"angle":297,"satellites":44,"speed":4,"hex_longitude":"2d33a980","hex_latitude":"06aa1980","is_valid_coordinates":true} 
[2026-09-08 12:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945803008001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402631159407706112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722788070598727680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788850795000,"timestamp_ms":1788850795000,"timestamp_seconds":1788850795,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd0f1f8"} 
[2026-09-08 12:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945803008001,"66":27745,"75":206,"81":23296,"24":4,"16":402631159407706112,"45":3722788070598727680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-08 12:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945803008001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:32:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-08 12:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402631159407706112,"km_value":402631159407706.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722788070598727680,"description":"Unknown IO ID 45"} 
[2026-09-08 12:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945803008001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3722788070598727680}} 
[2026-09-08 12:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:32:04] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:32:04] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:32:06] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:32:06] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:32:06] local.INFO: IMEI packet received {"connection_id":175708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":175708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:32:07] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd1a1c0012d1992000720b3a0003301132f..."} 
[2026-09-08 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd1a1c0012d1992000720b3a0003301132f..."} 
[2026-09-08 12:32:07] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd1a1c0012d1992000720b3a0003301132f..."} 
[2026-09-08 12:32:07] local.INFO: Packet analysis {"connection_id":175708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd1"} 
[2026-09-08 12:32:07] local.INFO: Extracted packet for processing {"connection_id":175708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd1"} 
[2026-09-08 12:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756650496,"raw_latitude":119583648,"longitude_deg":75.6650496,"latitude_deg":11.9583648,"altitude":51,"angle":275,"satellites":47,"speed":38,"hex_longitude":"2d199200","hex_latitude":"0720b3a0","is_valid_coordinates":true} 
[2026-09-08 12:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18454808750981120,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208811425792,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788850840000,"timestamp_ms":1788850840000,"timestamp_seconds":1788850840,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd1a1c0"} 
[2026-09-08 12:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:32: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-09-08 12:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 12:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945812992001,"66":14265,"103":206,"83":41984,"24":38,"16":18454808750981120,"45":1849783208811425792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 12:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:32:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 12:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18454808750981120,"km_value":18454808750981.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208811425792,"description":"Unknown IO ID 45"} 
[2026-09-08 12:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945812992001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1849783208811425792}} 
[2026-09-08 12:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":175708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:32:07] local.INFO: GPS data processed {"connection_id":175708,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:32:07] local.INFO: Acknowledgment sent {"connection_id":175708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:32:39] local.INFO: TCP Data received {"connection_id":175708,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd2b330012d18c340072147b8004201662d..."} 
[2026-09-08 12:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd2b330012d18c340072147b8004201662d..."} 
[2026-09-08 12:32:39] local.INFO: Processing buffer {"connection_id":175708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd2b330012d18c340072147b8004201662d..."} 
[2026-09-08 12:32:39] local.INFO: Packet analysis {"connection_id":175708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:32:39] local.INFO: Extracted packet for processing {"connection_id":175708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119621560,"longitude_deg":75.6597568,"latitude_deg":11.962156,"altitude":66,"angle":358,"satellites":45,"speed":43,"hex_longitude":"2d18c340","hex_latitude":"072147b8","is_valid_coordinates":true} 
[2026-09-08 12:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945832448001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18458429408411648,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456482816,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788850910000,"timestamp_ms":1788850910000,"timestamp_seconds":1788850910,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd2b330"} 
[2026-09-08 12:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:32: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-09-08 12:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-08 12:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945832448001,"66":14070,"106":206,"83":41984,"24":43,"16":18458429408411648,"45":1784692120456482816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945832448001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:32:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18458429408411648,"km_value":18458429408411.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456482816,"description":"Unknown IO ID 45"} 
[2026-09-08 12:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945832448001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1784692120456482816}} 
[2026-09-08 12:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":175708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:32:39] local.INFO: GPS data processed {"connection_id":175708,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:32:39] local.INFO: Acknowledgment sent {"connection_id":175708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:32:42] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:32:42] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:32:42] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:32:47] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:32:47] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:32:47] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:32:48] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd23630012d3406c006aa7da0001000492c..."} 
[2026-09-08 12:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd23630012d3406c006aa7da0001000492c..."} 
[2026-09-08 12:32:48] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd23630012d3406c006aa7da0001000492c..."} 
[2026-09-08 12:32:48] local.INFO: Packet analysis {"connection_id":174368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:32:48] local.INFO: Extracted packet for processing {"connection_id":174368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758384320,"raw_latitude":111836576,"longitude_deg":75.838432,"latitude_deg":11.1836576,"altitude":16,"angle":73,"satellites":44,"speed":20,"hex_longitude":"2d3406c0","hex_latitude":"06aa7da0","is_valid_coordinates":true} 
[2026-09-08 12:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945822720001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402632916049330176,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3743687587625560064,"note":"Value kept but may cause issues"} 
[2026-09-08 12:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788850878000,"timestamp_ms":1788850878000,"timestamp_seconds":1788850878,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd23630"} 
[2026-09-08 12:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 12:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945822720001,"66":27821,"34":206,"81":23296,"24":20,"16":402632916049330176,"45":3743687587625560064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-08 12:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945822720001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:32:48] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-08 12:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402632916049330176,"km_value":402632916049330.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3743687587625560064,"description":"Unknown IO ID 45"} 
[2026-09-08 12:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945822720001,"power":27821,"unknown_34":206,"unknown_81":23296,"ignition":20,"odometer":null,"unknown_45":3743687587625560064}} 
[2026-09-08 12:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":174368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:32:48] local.INFO: GPS data processed {"connection_id":174368,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:32:48] local.INFO: Acknowledgment sent {"connection_id":174368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:32:59] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:32:59] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:32:59] local.INFO: IMEI packet received {"connection_id":177132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":177132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:32:59] local.INFO: TCP Data received {"connection_id":177131,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:32:59] local.INFO: Processing buffer {"connection_id":177131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:32:59] local.INFO: IMEI packet received {"connection_id":177131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":177131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:33:01] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:33:01] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:33:01] local.INFO: IMEI packet received {"connection_id":177132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":177132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:33:06] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:33:06] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:33:06] local.INFO: IMEI packet received {"connection_id":177132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":177132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:33:07] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd2bee8012d18c140072153d80044014e2d..."} 
[2026-09-08 12:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd2bee8012d18c140072153d80044014e2d..."} 
[2026-09-08 12:33:07] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd2bee8012d18c140072153d80044014e2d..."} 
[2026-09-08 12:33:07] local.INFO: Packet analysis {"connection_id":177132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:33:07] local.INFO: Extracted packet for processing {"connection_id":177132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624664,"longitude_deg":75.6597056,"latitude_deg":11.9624664,"altitude":68,"angle":334,"satellites":45,"speed":41,"hex_longitude":"2d18c140","hex_latitude":"072153d8","is_valid_coordinates":true} 
[2026-09-08 12:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945832960001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18458584027234304,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736145408,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788850913000,"timestamp_ms":1788850913000,"timestamp_seconds":1788850913,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd2bee8"} 
[2026-09-08 12:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:33: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-09-08 12:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 12:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945832960001,"66":13993,"106":206,"83":41984,"24":41,"16":18458584027234304,"45":1784340276736145408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945832960001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18458584027234304,"km_value":18458584027234.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736145408,"description":"Unknown IO ID 45"} 
[2026-09-08 12:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945832960001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784340276736145408}} 
[2026-09-08 12:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":177132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:33:07] local.INFO: GPS data processed {"connection_id":177132,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:33:07] local.INFO: Acknowledgment sent {"connection_id":177132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:33:20] local.INFO: TCP Data received {"connection_id":174368,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd28450012d34294006aa87a80012004a2b..."} 
[2026-09-08 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd28450012d34294006aa87a80012004a2b..."} 
[2026-09-08 12:33:20] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd28450012d34294006aa87a80012004a2b..."} 
[2026-09-08 12:33:20] local.INFO: Packet analysis {"connection_id":174368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:33:20] local.INFO: Extracted packet for processing {"connection_id":174368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758393152,"raw_latitude":111839144,"longitude_deg":75.8393152,"latitude_deg":11.1839144,"altitude":18,"angle":74,"satellites":43,"speed":19,"hex_longitude":"2d342940","hex_latitude":"06aa87a8","is_valid_coordinates":true} 
[2026-09-08 12:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945824768001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402633354135994368,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3748894874695213056,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788850898000,"timestamp_ms":1788850898000,"timestamp_seconds":1788850898,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd28450"} 
[2026-09-08 12:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:33: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-09-08 12:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945824768001,"66":27876,"97":206,"81":23296,"24":19,"16":402633354135994368,"45":3748894874695213056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945824768001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:33:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402633354135994368,"km_value":402633354135994.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3748894874695213056,"description":"Unknown IO ID 45"} 
[2026-09-08 12:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945824768001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":19,"odometer":null,"unknown_45":3748894874695213056}} 
[2026-09-08 12:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":174368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:33:20] local.INFO: GPS data processed {"connection_id":174368,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:33:20] local.INFO: Acknowledgment sent {"connection_id":174368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:33:38] local.INFO: TCP Data received {"connection_id":177132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd391d8012d181b400721a548004900e42c..."} 
[2026-09-08 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd391d8012d181b400721a548004900e42c..."} 
[2026-09-08 12:33:38] local.INFO: Processing buffer {"connection_id":177132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd391d8012d181b400721a548004900e42c..."} 
[2026-09-08 12:33:38] local.INFO: Packet analysis {"connection_id":177132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:33:38] local.INFO: Extracted packet for processing {"connection_id":177132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119645512,"longitude_deg":75.655456,"latitude_deg":11.9645512,"altitude":73,"angle":228,"satellites":44,"speed":10,"hex_longitude":"2d181b40","hex_latitude":"0721a548","is_valid_coordinates":true} 
[2026-09-08 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945847040001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18460941964279808,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864179712,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788850967000,"timestamp_ms":1788850967000,"timestamp_seconds":1788850967,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd391d8"} 
[2026-09-08 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:33: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-09-08 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 12:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945847040001,"66":14004,"106":206,"83":41984,"24":10,"16":18460941964279808,"45":1737545061864179712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945847040001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18460941964279808,"km_value":18460941964279.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864179712,"description":"Unknown IO ID 45"} 
[2026-09-08 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945847040001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737545061864179712}} 
[2026-09-08 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":177132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:33:38] local.INFO: GPS data processed {"connection_id":177132,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:33:38] local.INFO: Acknowledgment sent {"connection_id":177132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:33:41] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:42] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:42] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:33:44] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:44] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:44] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:33:47] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:47] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:33:47] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:33:48] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd2bee8012d344b8006aa9160001400452b..."} 
[2026-09-08 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd2bee8012d344b8006aa9160001400452b..."} 
[2026-09-08 12:33:48] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd2bee8012d344b8006aa9160001400452b..."} 
[2026-09-08 12:33:48] local.INFO: Packet analysis {"connection_id":174369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:33:48] local.INFO: Extracted packet for processing {"connection_id":174369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd2"} 
[2026-09-08 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758401920,"raw_latitude":111841632,"longitude_deg":75.840192,"latitude_deg":11.1841632,"altitude":20,"angle":69,"satellites":43,"speed":28,"hex_longitude":"2d344b80","hex_latitude":"06aa9160","is_valid_coordinates":true} 
[2026-09-08 12:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945829888001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402633792222658560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758605761392388096,"note":"Value kept but may cause issues"} 
[2026-09-08 12:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788850913000,"timestamp_ms":1788850913000,"timestamp_seconds":1788850913,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd2bee8"} 
[2026-09-08 12:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 12:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945829888001,"66":27821,"97":206,"81":23296,"24":28,"16":402633792222658560,"45":3758605761392388096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 12:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945829888001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 12:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402633792222658560,"km_value":402633792222658.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758605761392388096,"description":"Unknown IO ID 45"} 
[2026-09-08 12:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945829888001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3758605761392388096}} 
[2026-09-08 12:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":174369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:33:48] local.INFO: GPS data processed {"connection_id":174369,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:33:48] local.INFO: Acknowledgment sent {"connection_id":174369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:34:01] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:01] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:01] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:34:05] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:05] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:05] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:34:06] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:06] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:34:06] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:34:06] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd395c0012d181a800721a458004900d92d..."} 
[2026-09-08 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd395c0012d181a800721a458004900d92d..."} 
[2026-09-08 12:34:06] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd395c0012d181a800721a458004900d92d..."} 
[2026-09-08 12:34:06] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:34:06] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119645272,"longitude_deg":75.6554368,"latitude_deg":11.9645272,"altitude":73,"angle":217,"satellites":45,"speed":15,"hex_longitude":"2d181a80","hex_latitude":"0721a458","is_valid_coordinates":true} 
[2026-09-08 12:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945847552001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18460959144148992,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654886912,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788850968000,"timestamp_ms":1788850968000,"timestamp_seconds":1788850968,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd395c0"} 
[2026-09-08 12:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 12:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945847552001,"66":14080,"106":206,"83":41984,"24":15,"16":18460959144148992,"45":1737052480654886912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945847552001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:34:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18460959144148992,"km_value":18460959144148.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654886912,"description":"Unknown IO ID 45"} 
[2026-09-08 12:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945847552001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737052480654886912}} 
[2026-09-08 12:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:34:07] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:34:07] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:34:11] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd3c0b8012d18090007218dc8004b00e42c..."} 
[2026-09-08 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd3c0b8012d18090007218dc8004b00e42c..."} 
[2026-09-08 12:34:11] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd3c0b8012d18090007218dc8004b00e42c..."} 
[2026-09-08 12:34:11] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:34:11] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756549888,"raw_latitude":119639496,"longitude_deg":75.6549888,"latitude_deg":11.9639496,"altitude":75,"angle":228,"satellites":44,"speed":36,"hex_longitude":"2d180900","hex_latitude":"07218dc8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945847808001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18461311331467264,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422292480,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788850979000,"timestamp_ms":1788850979000,"timestamp_seconds":1788850979,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd3c0b8"} 
[2026-09-08 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-09-08 12:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3548014593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951009,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738794,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2516975616,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,150,160,145,45,64,165,73,44,10,66,138,166,134,192,1,240,180,227,127,33,4,113,205,9,110,35,216,239,55,2,65,7,75],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-08 12:34:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260443152066478080,"timestamp_seconds":5260443152066478.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 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-09-08 12:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945847808001,"66":13972,"106":206,"83":41984,"24":36,"16":18461311331467264,"45":1736841374422292480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945847808001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18461311331467264,"km_value":18461311331467.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422292480,"description":"Unknown IO ID 45"} 
[2026-09-08 12:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945847808001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1736841374422292480}} 
[2026-09-08 12:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:34:11] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:34:11] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:34:19] local.INFO: TCP Data received {"connection_id":174369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd42260012d35620006aa44a8001200722c..."} 
[2026-09-08 12:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd42260012d35620006aa44a8001200722c..."} 
[2026-09-08 12:34:19] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd42260012d35620006aa44a8001200722c..."} 
[2026-09-08 12:34:19] local.INFO: Packet analysis {"connection_id":174369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:34:19] local.INFO: Extracted packet for processing {"connection_id":174369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758473216,"raw_latitude":111821992,"longitude_deg":75.8473216,"latitude_deg":11.1821992,"altitude":18,"angle":114,"satellites":44,"speed":45,"hex_longitude":"2d356200","hex_latitude":"06aa44a8","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945854976001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402637391405252608,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3837348386123730944,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788851004000,"timestamp_ms":1788851004000,"timestamp_seconds":1788851004,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd42260"} 
[2026-09-08 12:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:34: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-09-08 12:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945854976001,"66":27767,"142":206,"81":23296,"24":45,"16":402637391405252608,"45":3837348386123730944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 12:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945854976001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:34:19] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 12:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402637391405252608,"km_value":402637391405252.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3837348386123730944,"description":"Unknown IO ID 45"} 
[2026-09-08 12:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945854976001,"power":27767,"unknown_142":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":3837348386123730944}} 
[2026-09-08 12:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":174369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:34:19] local.INFO: GPS data processed {"connection_id":174369,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:34:19] local.INFO: Acknowledgment sent {"connection_id":174369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:34:42] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:42] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:42] local.INFO: IMEI packet received {"connection_id":177134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":177134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:34:42] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd3e7c8012d17ee00072172d8004700d72c..."} 
[2026-09-08 12:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd3e7c8012d17ee00072172d8004700d72c..."} 
[2026-09-08 12:34:42] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd3e7c8012d17ee00072172d8004700d72c..."} 
[2026-09-08 12:34:42] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:34:42] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd3"} 
[2026-09-08 12:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119632600,"longitude_deg":75.6542976,"latitude_deg":11.96326,"altitude":71,"angle":215,"satellites":44,"speed":42,"hex_longitude":"2d17ee00","hex_latitude":"072172d8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945850624001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18461783777869824,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1731915562328377344,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788850989000,"timestamp_ms":1788850989000,"timestamp_seconds":1788850989,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd3e7c8"} 
[2026-09-08 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-09-08 12:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 12:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 12:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945850624001,"66":14265,"106":206,"83":41984,"24":42,"16":18461783777869824,"45":1731915562328377344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945850624001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:34:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18461783777869824,"km_value":18461783777869.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1731915562328377344,"description":"Unknown IO ID 45"} 
[2026-09-08 12:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945850624001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1731915562328377344}} 
[2026-09-08 12:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:34:42] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:34:42] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:34:46] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:46] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:46] local.INFO: IMEI packet received {"connection_id":177134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":177134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:34:47] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:47] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:34:47] local.INFO: IMEI packet received {"connection_id":177134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":177134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:34:47] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd441a0012d3584c006aa35c8001100702c..."} 
[2026-09-08 12:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd441a0012d3584c006aa35c8001100702c..."} 
[2026-09-08 12:34:47] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd441a0012d3584c006aa35c8001100702c..."} 
[2026-09-08 12:34:47] local.INFO: Packet analysis {"connection_id":177134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:34:47] local.INFO: Extracted packet for processing {"connection_id":177134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758482112,"raw_latitude":111818184,"longitude_deg":75.8482112,"latitude_deg":11.1818184,"altitude":17,"angle":112,"satellites":44,"speed":50,"hex_longitude":"2d3584c0","hex_latitude":"06aa35c8","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945857024001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402637855261720576,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3846637060354254848,"note":"Value kept but may cause issues"} 
[2026-09-08 12:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788851012000,"timestamp_ms":1788851012000,"timestamp_seconds":1788851012,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd441a0"} 
[2026-09-08 12:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945857024001,"66":27876,"142":206,"81":23296,"24":50,"16":402637855261720576,"45":3846637060354254848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 12:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945857024001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:34:47] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 12:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402637855261720576,"km_value":402637855261720.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3846637060354254848,"description":"Unknown IO ID 45"} 
[2026-09-08 12:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945857024001,"power":27876,"unknown_142":206,"unknown_81":23296,"ignition":50,"odometer":null,"unknown_45":3846637060354254848}} 
[2026-09-08 12:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":177134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:34:47] local.INFO: GPS data processed {"connection_id":177134,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:34:47] local.INFO: Acknowledgment sent {"connection_id":177134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:35:01] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:35:01] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:35:01] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:35:06] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:35:06] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:35:06] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:35:07] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd4d228012d17c8000720f808003700902d..."} 
[2026-09-08 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd4d228012d17c8000720f808003700902d..."} 
[2026-09-08 12:35:07] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd4d228012d17c8000720f808003700902d..."} 
[2026-09-08 12:35:07] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:35:07] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756533248,"raw_latitude":119601160,"longitude_deg":75.6533248,"latitude_deg":11.960116,"altitude":55,"angle":144,"satellites":45,"speed":12,"hex_longitude":"2d17c800","hex_latitude":"0720f808","is_valid_coordinates":true} 
[2026-09-08 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945867520001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18463591959101440,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712704895158280192,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788851049000,"timestamp_ms":1788851049000,"timestamp_seconds":1788851049,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd4d228"} 
[2026-09-08 12:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:35: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-09-08 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 12:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945867520001,"66":14298,"107":206,"83":41984,"24":12,"16":18463591959101440,"45":1712704895158280192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945867520001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18463591959101440,"km_value":18463591959101.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712704895158280192,"description":"Unknown IO ID 45"} 
[2026-09-08 12:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945867520001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1712704895158280192}} 
[2026-09-08 12:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:35:07] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:35:07] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:35:18] local.INFO: TCP Data received {"connection_id":177134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd45cf8012d35a60006aa27e0001000702c..."} 
[2026-09-08 12:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd45cf8012d35a60006aa27e0001000702c..."} 
[2026-09-08 12:35:18] local.INFO: Processing buffer {"connection_id":177134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd45cf8012d35a60006aa27e0001000702c..."} 
[2026-09-08 12:35:18] local.INFO: Packet analysis {"connection_id":177134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:35:18] local.INFO: Extracted packet for processing {"connection_id":177134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758490624,"raw_latitude":111814624,"longitude_deg":75.8490624,"latitude_deg":11.1814624,"altitude":16,"angle":112,"satellites":44,"speed":53,"hex_longitude":"2d35a600","hex_latitude":"06aa27e0","is_valid_coordinates":true} 
[2026-09-08 12:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945859072001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402638293348384768,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3856418315793975296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788851019000,"timestamp_ms":1788851019000,"timestamp_seconds":1788851019,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd45cf8"} 
[2026-09-08 12:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 12:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:35: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-09-08 12:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945859072001,"66":27865,"142":206,"81":23296,"24":53,"16":402638293348384768,"45":3856418315793975296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-08 12:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945859072001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:35:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 12:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402638293348384768,"km_value":402638293348384.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3856418315793975296,"description":"Unknown IO ID 45"} 
[2026-09-08 12:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945859072001,"power":27865,"unknown_142":206,"unknown_81":23296,"ignition":53,"odometer":null,"unknown_45":3856418315793975296}} 
[2026-09-08 12:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":177134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:35:18] local.INFO: GPS data processed {"connection_id":177134,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:35:18] local.INFO: Acknowledgment sent {"connection_id":177134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:35:38] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd4f168012d17cd400720eee80035009d2e..."} 
[2026-09-08 12:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd4f168012d17cd400720eee80035009d2e..."} 
[2026-09-08 12:35:38] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd4f168012d17cd400720eee80035009d2e..."} 
[2026-09-08 12:35:38] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:35:38] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756534592,"raw_latitude":119598824,"longitude_deg":75.6534592,"latitude_deg":11.9598824,"altitude":53,"angle":157,"satellites":46,"speed":16,"hex_longitude":"2d17cd40","hex_latitude":"0720eee8","is_valid_coordinates":true} 
[2026-09-08 12:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945868544001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18463720808120320,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713619688832370688,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788851057000,"timestamp_ms":1788851057000,"timestamp_seconds":1788851057,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd4f168"} 
[2026-09-08 12:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:35: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-09-08 12:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 12:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945868544001,"66":14396,"107":206,"83":41984,"24":16,"16":18463720808120320,"45":1713619688832370688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945868544001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:35:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18463720808120320,"km_value":18463720808120.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713619688832370688,"description":"Unknown IO ID 45"} 
[2026-09-08 12:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945868544001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1713619688832370688}} 
[2026-09-08 12:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:35:38] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:35:38] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:35:46] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:35:46] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:35:46] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:35:52] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:35:52] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:35:52] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:35:53] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd581f0012d36c20006a9af58000900752b..."} 
[2026-09-08 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd581f0012d36c20006a9af58000900752b..."} 
[2026-09-08 12:35:53] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd581f0012d36c20006a9af58000900752b..."} 
[2026-09-08 12:35:53] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:35:53] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758563328,"raw_latitude":111783768,"longitude_deg":75.8563328,"latitude_deg":11.1783768,"altitude":9,"angle":117,"satellites":43,"speed":32,"hex_longitude":"2d36c200","hex_latitude":"06a9af58","is_valid_coordinates":true} 
[2026-09-08 12:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945880064001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402642102984376320,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945716252146620416,"note":"Value kept but may cause issues"} 
[2026-09-08 12:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788851094000,"timestamp_ms":1788851094000,"timestamp_seconds":1788851094,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd581f0"} 
[2026-09-08 12:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:35: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-09-08 12:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945880064001,"66":27843,"77":206,"81":23296,"24":32,"16":402642102984376320,"45":3945716252146620416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945880064001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:35:53] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402642102984376320,"km_value":402642102984376.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945716252146620416,"description":"Unknown IO ID 45"} 
[2026-09-08 12:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945880064001,"power":27843,"unknown_77":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3945716252146620416}} 
[2026-09-08 12:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:35:53] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:35:53] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:36:02] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:02] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:02] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:36:06] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:06] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:06] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:36:07] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:07] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:07] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:36:07] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd4fd20012d17cec00720ea50003500ab2e..."} 
[2026-09-08 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd4fd20012d17cec00720ea50003500ab2e..."} 
[2026-09-08 12:36:07] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd4fd20012d17cec00720ea50003500ab2e..."} 
[2026-09-08 12:36:07] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:36:07] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd4"} 
[2026-09-08 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756534976,"raw_latitude":119597648,"longitude_deg":75.6534976,"latitude_deg":11.9597648,"altitude":53,"angle":171,"satellites":46,"speed":14,"hex_longitude":"2d17cec0","hex_latitude":"0720ea50","is_valid_coordinates":true} 
[2026-09-08 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945870592001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18463780937662464,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715097432459503616,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788851060000,"timestamp_ms":1788851060000,"timestamp_seconds":1788851060,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd4fd20"} 
[2026-09-08 12:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:36: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-09-08 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 12:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945870592001,"66":13993,"107":206,"83":41984,"24":14,"16":18463780937662464,"45":1715097432459503616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945870592001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18463780937662464,"km_value":18463780937662.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715097432459503616,"description":"Unknown IO ID 45"} 
[2026-09-08 12:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945870592001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1715097432459503616}} 
[2026-09-08 12:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:36:08] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:36:08] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:36:10] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd54f28012d17cf000720e770003400b22c..."} 
[2026-09-08 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd54f28012d17cf000720e770003400b22c..."} 
[2026-09-08 12:36:10] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd54f28012d17cf000720e770003400b22c..."} 
[2026-09-08 12:36:10] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:36:10] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756535040,"raw_latitude":119596912,"longitude_deg":75.653504,"latitude_deg":11.9596912,"altitude":52,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d17cf00","hex_latitude":"0720e770","is_valid_coordinates":true} 
[2026-09-08 12:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945871360001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18463819592368128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715519644924268544,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788851081000,"timestamp_ms":1788851081000,"timestamp_seconds":1788851081,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd54f28"} 
[2026-09-08 12:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 12:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945871360001,"66":14265,"107":206,"83":41984,"24":0,"16":18463819592368128,"45":1715519644924268544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945871360001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:36:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18463819592368128,"km_value":18463819592368.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715519644924268544,"description":"Unknown IO ID 45"} 
[2026-09-08 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945871360001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1715519644924268544}} 
[2026-09-08 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:36:10] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:36:10] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:36:24] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd5a900012d36e64006a9a038000e00682c..."} 
[2026-09-08 12:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd5a900012d36e64006a9a038000e00682c..."} 
[2026-09-08 12:36:24] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd5a900012d36e64006a9a038000e00682c..."} 
[2026-09-08 12:36:24] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:36:24] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758572608,"raw_latitude":111779896,"longitude_deg":75.8572608,"latitude_deg":11.1779896,"altitude":14,"angle":104,"satellites":44,"speed":43,"hex_longitude":"2d36e640","hex_latitude":"06a9a038","is_valid_coordinates":true} 
[2026-09-08 12:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945880064001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402642584020713472,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945716252146620416,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788851104000,"timestamp_ms":1788851104000,"timestamp_seconds":1788851104,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd5a900"} 
[2026-09-08 12:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945880064001,"66":27767,"77":206,"81":23296,"24":43,"16":402642584020713472,"45":3945716252146620416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945880064001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:36:24] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402642584020713472,"km_value":402642584020713.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945716252146620416,"description":"Unknown IO ID 45"} 
[2026-09-08 12:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945880064001,"power":27767,"unknown_77":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3945716252146620416}} 
[2026-09-08 12:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:36:24] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:36:24] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:36:41] local.INFO: TCP Data received {"connection_id":174627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:36:41] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:36:41] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:36:42] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd66c50012d17b38007211a08003b01622d..."} 
[2026-09-08 12:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd66c50012d17b38007211a08003b01622d..."} 
[2026-09-08 12:36:42] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd66c50012d17b38007211a08003b01622d..."} 
[2026-09-08 12:36:42] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:36:42] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756528000,"raw_latitude":119609864,"longitude_deg":75.6528,"latitude_deg":11.9609864,"altitude":59,"angle":354,"satellites":45,"speed":10,"hex_longitude":"2d17b380","hex_latitude":"07211a08","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945891840001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18464712945565696,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710523464089657344,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788851154000,"timestamp_ms":1788851154000,"timestamp_seconds":1788851154,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd66c50"} 
[2026-09-08 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-09-08 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 12:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 12:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945891840001,"66":14070,"107":206,"83":41984,"24":10,"16":18464712945565696,"45":1710523464089657344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945891840001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:36:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18464712945565696,"km_value":18464712945565.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710523464089657344,"description":"Unknown IO ID 45"} 
[2026-09-08 12:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945891840001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1710523464089657344}} 
[2026-09-08 12:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:36:42] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:36:42] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:36:44] local.INFO: TCP Data received {"connection_id":174627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:36:44] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:36:44] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:36:45] local.INFO: TCP Data received {"connection_id":174627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd5a900012d36e64006a9a038000e00682c..."} 
[2026-09-08 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd5a900012d36e64006a9a038000e00682c..."} 
[2026-09-08 12:36:45] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd5a900012d36e64006a9a038000e00682c..."} 
[2026-09-08 12:36:45] local.INFO: Packet analysis {"connection_id":174627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:36:45] local.INFO: Extracted packet for processing {"connection_id":174627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758572608,"raw_latitude":111779896,"longitude_deg":75.8572608,"latitude_deg":11.1779896,"altitude":14,"angle":104,"satellites":44,"speed":43,"hex_longitude":"2d36e640","hex_latitude":"06a9a038","is_valid_coordinates":true} 
[2026-09-08 12:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945882624001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402642584020713472,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3955919720051390464,"note":"Value kept but may cause issues"} 
[2026-09-08 12:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788851104000,"timestamp_ms":1788851104000,"timestamp_seconds":1788851104,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd5a900"} 
[2026-09-08 12:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:36: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-09-08 12:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945882624001,"66":27767,"77":206,"81":23296,"24":43,"16":402642584020713472,"45":3955919720051390464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945882624001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:36:45] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402642584020713472,"km_value":402642584020713.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3955919720051390464,"description":"Unknown IO ID 45"} 
[2026-09-08 12:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945882624001,"power":27767,"unknown_77":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3955919720051390464}} 
[2026-09-08 12:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":174627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:36:45] local.INFO: GPS data processed {"connection_id":174627,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:36:45] local.INFO: Acknowledgment sent {"connection_id":174627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:36:58] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:58] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:36:58] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:37:01] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:01] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:01] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:37:06] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:06] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:06] local.INFO: IMEI packet received {"connection_id":175709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":175709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:37:07] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd67038012d17b38007211b38003a00132d..."} 
[2026-09-08 12:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd67038012d17b38007211b38003a00132d..."} 
[2026-09-08 12:37:07] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd67038012d17b38007211b38003a00132d..."} 
[2026-09-08 12:37:07] local.INFO: Packet analysis {"connection_id":175709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:37:07] local.INFO: Extracted packet for processing {"connection_id":175709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756528000,"raw_latitude":119610168,"longitude_deg":75.6528,"latitude_deg":11.9610168,"altitude":58,"angle":19,"satellites":45,"speed":12,"hex_longitude":"2d17b380","hex_latitude":"07211b38","is_valid_coordinates":true} 
[2026-09-08 12:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945895424001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18464730125434880,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707849451812030464,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788851155000,"timestamp_ms":1788851155000,"timestamp_seconds":1788851155,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd67038"} 
[2026-09-08 12:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:37: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-09-08 12:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 12:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945895424001,"66":14070,"107":206,"83":41984,"24":12,"16":18464730125434880,"45":1707849451812030464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945895424001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:37:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18464730125434880,"km_value":18464730125434.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707849451812030464,"description":"Unknown IO ID 45"} 
[2026-09-08 12:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945895424001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1707849451812030464}} 
[2026-09-08 12:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:37:07] local.INFO: GPS data processed {"connection_id":175709,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:37:07] local.INFO: Acknowledgment sent {"connection_id":175709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:37:17] local.INFO: TCP Data received {"connection_id":174627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd5d3f8012d370a0006a99920001100642c..."} 
[2026-09-08 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd5d3f8012d370a0006a99920001100642c..."} 
[2026-09-08 12:37:17] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd5d3f8012d370a0006a99920001100642c..."} 
[2026-09-08 12:37:17] local.INFO: Packet analysis {"connection_id":174627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:37:17] local.INFO: Extracted packet for processing {"connection_id":174627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758581760,"raw_latitude":111778080,"longitude_deg":75.858176,"latitude_deg":11.177808,"altitude":17,"angle":100,"satellites":44,"speed":34,"hex_longitude":"2d370a00","hex_latitude":"06a99920","is_valid_coordinates":true} 
[2026-09-08 12:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945882624001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402643026402344960,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3955919720051390464,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788851115000,"timestamp_ms":1788851115000,"timestamp_seconds":1788851115,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd5d3f8"} 
[2026-09-08 12:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:37: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-09-08 12:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945882624001,"66":27800,"77":206,"81":23296,"24":34,"16":402643026402344960,"45":3955919720051390464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945882624001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:37:17] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402643026402344960,"km_value":402643026402344.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3955919720051390464,"description":"Unknown IO ID 45"} 
[2026-09-08 12:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945882624001,"power":27800,"unknown_77":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3955919720051390464}} 
[2026-09-08 12:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":174627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:37:17] local.INFO: GPS data processed {"connection_id":174627,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:37:17] local.INFO: Acknowledgment sent {"connection_id":174627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:37:38] local.INFO: TCP Data received {"connection_id":175709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd67420012d17b44007211c88003a00202c..."} 
[2026-09-08 12:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd67420012d17b44007211c88003a00202c..."} 
[2026-09-08 12:37:38] local.INFO: Processing buffer {"connection_id":175709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd67420012d17b44007211c88003a00202c..."} 
[2026-09-08 12:37:38] local.INFO: Packet analysis {"connection_id":175709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:37:38] local.INFO: Extracted packet for processing {"connection_id":175709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756528192,"raw_latitude":119610504,"longitude_deg":75.6528192,"latitude_deg":11.9610504,"altitude":58,"angle":32,"satellites":44,"speed":15,"hex_longitude":"2d17b440","hex_latitude":"07211c88","is_valid_coordinates":true} 
[2026-09-08 12:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945895680001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18464747305304064,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707849451812108288,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788851156000,"timestamp_ms":1788851156000,"timestamp_seconds":1788851156,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd67420"} 
[2026-09-08 12:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 12:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945895680001,"66":14004,"107":206,"83":41984,"24":15,"16":18464747305304064,"45":1707849451812108288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945895680001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:37:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18464747305304064,"km_value":18464747305304.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707849451812108288,"description":"Unknown IO ID 45"} 
[2026-09-08 12:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945895680001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1707849451812108288}} 
[2026-09-08 12:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":175709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:37:38] local.INFO: GPS data processed {"connection_id":175709,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:37:38] local.INFO: Acknowledgment sent {"connection_id":175709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:37:42] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:37:42] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:37:42] local.INFO: IMEI packet received {"connection_id":177135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":177135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:37:47] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:37:47] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:37:47] local.INFO: IMEI packet received {"connection_id":177135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":177135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:37:48] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd5fb08012d372f8006a99268001100652d..."} 
[2026-09-08 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd5fb08012d372f8006a99268001100652d..."} 
[2026-09-08 12:37:48] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd5fb08012d372f8006a99268001100652d..."} 
[2026-09-08 12:37:48] local.INFO: Packet analysis {"connection_id":177135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:37:48] local.INFO: Extracted packet for processing {"connection_id":177135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd5"} 
[2026-09-08 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758591360,"raw_latitude":111776360,"longitude_deg":75.859136,"latitude_deg":11.177636,"altitude":17,"angle":101,"satellites":45,"speed":38,"hex_longitude":"2d372f80","hex_latitude":"06a99268","is_valid_coordinates":true} 
[2026-09-08 12:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945885440001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402643494553780224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3965982450468331520,"note":"Value kept but may cause issues"} 
[2026-09-08 12:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788851125000,"timestamp_ms":1788851125000,"timestamp_seconds":1788851125,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd5fb08"} 
[2026-09-08 12:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945885440001,"66":27821,"77":206,"81":23296,"24":38,"16":402643494553780224,"45":3965982450468331520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945885440001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:37:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402643494553780224,"km_value":402643494553780.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3965982450468331520,"description":"Unknown IO ID 45"} 
[2026-09-08 12:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945885440001,"power":27821,"unknown_77":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3965982450468331520}} 
[2026-09-08 12:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":177135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:37:48] local.INFO: GPS data processed {"connection_id":177135,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:37:48] local.INFO: Acknowledgment sent {"connection_id":177135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:37:58] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:58] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:37:58] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:38:01] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:01] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:01] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:38:02] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:02] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:02] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:38:03] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:03] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:38:03] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:38:03] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd781a8012d182c4007219bd8004a007b2d..."} 
[2026-09-08 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd781a8012d182c4007219bd8004a007b2d..."} 
[2026-09-08 12:38:03] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd781a8012d182c4007219bd8004a007b2d..."} 
[2026-09-08 12:38:03] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd7"} 
[2026-09-08 12:38:03] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd7"} 
[2026-09-08 12:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643096,"longitude_deg":75.6558912,"latitude_deg":11.9643096,"altitude":74,"angle":123,"satellites":45,"speed":22,"hex_longitude":"2d182c40","hex_latitude":"07219bd8","is_valid_coordinates":true} 
[2026-09-08 12:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945911808001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18467148192022528,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724333056,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788851225000,"timestamp_ms":1788851225000,"timestamp_seconds":1788851225,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd781a8"} 
[2026-09-08 12:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:38: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-09-08 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 12:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945911808001,"66":14265,"105":206,"83":41984,"24":22,"16":18467148192022528,"45":1739233911724333056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 12:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945911808001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:38:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 12:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18467148192022528,"km_value":18467148192022.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724333056,"description":"Unknown IO ID 45"} 
[2026-09-08 12:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945911808001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1739233911724333056}} 
[2026-09-08 12:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:38:04] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:38:04] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:38:19] local.INFO: TCP Data received {"connection_id":177135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd62218012d3752c006a98ba0001300642b..."} 
[2026-09-08 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd62218012d3752c006a98ba0001300642b..."} 
[2026-09-08 12:38:19] local.INFO: Processing buffer {"connection_id":177135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd62218012d3752c006a98ba0001300642b..."} 
[2026-09-08 12:38:19] local.INFO: Packet analysis {"connection_id":177135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:38:19] local.INFO: Extracted packet for processing {"connection_id":177135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758600384,"raw_latitude":111774624,"longitude_deg":75.8600384,"latitude_deg":11.1774624,"altitude":19,"angle":100,"satellites":43,"speed":31,"hex_longitude":"2d3752c0","hex_latitude":"06a98ba0","is_valid_coordinates":true} 
[2026-09-08 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945888000001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402643928345477120,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3976537762094540800,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788851135000,"timestamp_ms":1788851135000,"timestamp_seconds":1788851135,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd62218"} 
[2026-09-08 12:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:38: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-09-08 12:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945888000001,"66":27865,"77":206,"81":23296,"24":31,"16":402643928345477120,"45":3976537762094540800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945888000001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:38:19] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402643928345477120,"km_value":402643928345477.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3976537762094540800,"description":"Unknown IO ID 45"} 
[2026-09-08 12:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945888000001,"power":27865,"unknown_77":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":3976537762094540800}} 
[2026-09-08 12:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":177135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:38:19] local.INFO: GPS data processed {"connection_id":177135,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:38:19] local.INFO: Acknowledgment sent {"connection_id":177135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:38:34] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd79530012d18384007219598004b006e2d..."} 
[2026-09-08 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd79530012d18384007219598004b006e2d..."} 
[2026-09-08 12:38:34] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd79530012d18384007219598004b006e2d..."} 
[2026-09-08 12:38:34] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd7"} 
[2026-09-08 12:38:34] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd7"} 
[2026-09-08 12:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756561984,"raw_latitude":119641496,"longitude_deg":75.6561984,"latitude_deg":11.9641496,"altitude":75,"angle":110,"satellites":45,"speed":30,"hex_longitude":"2d183840","hex_latitude":"07219598","is_valid_coordinates":true} 
[2026-09-08 12:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945913600001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18467311400779776,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258349568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788851230000,"timestamp_ms":1788851230000,"timestamp_seconds":1788851230,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd79530"} 
[2026-09-08 12:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:38: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-09-08 12:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 12:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945913600001,"66":14233,"106":206,"83":41984,"24":30,"16":18467311400779776,"45":1741837555258349568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 12:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945913600001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:38:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 12:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18467311400779776,"km_value":18467311400779.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258349568,"description":"Unknown IO ID 45"} 
[2026-09-08 12:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945913600001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1741837555258349568}} 
[2026-09-08 12:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:38:35] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:38:35] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:38:42] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:38:42] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:38:42] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:38:44] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:38:44] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:38:44] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:38:47] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:38:47] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:38:47] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:38:48] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd63d70012d37698006a98a18001200582e..."} 
[2026-09-08 12:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd63d70012d37698006a98a18001200582e..."} 
[2026-09-08 12:38:48] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd63d70012d37698006a98a18001200582e..."} 
[2026-09-08 12:38:48] local.INFO: Packet analysis {"connection_id":174629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:38:48] local.INFO: Extracted packet for processing {"connection_id":174629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758606208,"raw_latitude":111774232,"longitude_deg":75.8606208,"latitude_deg":11.1774232,"altitude":18,"angle":88,"satellites":46,"speed":35,"hex_longitude":"2d376980","hex_latitude":"06a98a18","is_valid_coordinates":true} 
[2026-09-08 12:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945890560001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402644207518351360,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3986459755023147008,"note":"Value kept but may cause issues"} 
[2026-09-08 12:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788851142000,"timestamp_ms":1788851142000,"timestamp_seconds":1788851142,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd63d70"} 
[2026-09-08 12:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945890560001,"66":27767,"77":206,"81":23296,"24":35,"16":402644207518351360,"45":3986459755023147008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-08 12:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945890560001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:38:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-08 12:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402644207518351360,"km_value":402644207518351.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3986459755023147008,"description":"Unknown IO ID 45"} 
[2026-09-08 12:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945890560001,"power":27767,"unknown_77":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3986459755023147008}} 
[2026-09-08 12:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":174629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:38:48] local.INFO: GPS data processed {"connection_id":174629,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:38:48] local.INFO: Acknowledgment sent {"connection_id":174629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:39:01] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:39:01] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:39:01] local.INFO: IMEI packet received {"connection_id":175710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":175710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:39:04] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:39:04] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:39:04] local.INFO: IMEI packet received {"connection_id":175710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":175710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:39:05] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd86050012d18c980072135d0004300952d..."} 
[2026-09-08 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd86050012d18c980072135d0004300952d..."} 
[2026-09-08 12:39:05] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd86050012d18c980072135d0004300952d..."} 
[2026-09-08 12:39:05] local.INFO: Packet analysis {"connection_id":175710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd8"} 
[2026-09-08 12:39:05] local.INFO: Extracted packet for processing {"connection_id":175710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd8"} 
[2026-09-08 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756599168,"raw_latitude":119616976,"longitude_deg":75.6599168,"latitude_deg":11.9616976,"altitude":67,"angle":149,"satellites":45,"speed":35,"hex_longitude":"2d18c980","hex_latitude":"072135d0","is_valid_coordinates":true} 
[2026-09-08 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945927680001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18469669337825280,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665507328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788851282000,"timestamp_ms":1788851282000,"timestamp_seconds":1788851282,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd86050"} 
[2026-09-08 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 12:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945927680001,"66":14265,"103":206,"83":41984,"24":35,"16":18469669337825280,"45":1785184701665507328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945927680001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:39:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 12:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18469669337825280,"km_value":18469669337825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665507328,"description":"Unknown IO ID 45"} 
[2026-09-08 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945927680001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1785184701665507328}} 
[2026-09-08 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":175710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:39:05] local.INFO: GPS data processed {"connection_id":175710,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:39:05] local.INFO: Acknowledgment sent {"connection_id":175710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:39:19] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd66c50012d378e4006a98d80001100552f..."} 
[2026-09-08 12:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd66c50012d378e4006a98d80001100552f..."} 
[2026-09-08 12:39:19] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd66c50012d378e4006a98d80001100552f..."} 
[2026-09-08 12:39:19] local.INFO: Packet analysis {"connection_id":174629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:39:19] local.INFO: Extracted packet for processing {"connection_id":174629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758615616,"raw_latitude":111775104,"longitude_deg":75.8615616,"latitude_deg":11.1775104,"altitude":17,"angle":85,"satellites":47,"speed":26,"hex_longitude":"2d378e40","hex_latitude":"06a98d80","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945892352001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402644658489917440,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3992863310743214080,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788851154000,"timestamp_ms":1788851154000,"timestamp_seconds":1788851154,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd66c50"} 
[2026-09-08 12:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:39: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-09-08 12:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945892352001,"66":27865,"48":206,"81":23296,"24":26,"16":402644658489917440,"45":3992863310743214080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-08 12:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945892352001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:39:19] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-08 12:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402644658489917440,"km_value":402644658489917.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3992863310743214080,"description":"Unknown IO ID 45"} 
[2026-09-08 12:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945892352001,"power":27865,"unknown_48":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":3992863310743214080}} 
[2026-09-08 12:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":174629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:39:19] local.INFO: GPS data processed {"connection_id":174629,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:39:19] local.INFO: Acknowledgment sent {"connection_id":174629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:39:36] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd86ff0012d18d080072129f8004200a12d..."} 
[2026-09-08 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd86ff0012d18d080072129f8004200a12d..."} 
[2026-09-08 12:39:36] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd86ff0012d18d080072129f8004200a12d..."} 
[2026-09-08 12:39:36] local.INFO: Packet analysis {"connection_id":175710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd8"} 
[2026-09-08 12:39:36] local.INFO: Extracted packet for processing {"connection_id":175710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd8"} 
[2026-09-08 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119613944,"longitude_deg":75.660096,"latitude_deg":11.9613944,"altitude":66,"angle":161,"satellites":45,"speed":33,"hex_longitude":"2d18d080","hex_latitude":"072129f8","is_valid_coordinates":true} 
[2026-09-08 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945928192001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18469836841549824,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786099495339413504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788851286000,"timestamp_ms":1788851286000,"timestamp_seconds":1788851286,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd86ff0"} 
[2026-09-08 12:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:39: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-09-08 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 12:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945928192001,"66":14352,"103":206,"83":41984,"24":33,"16":18469836841549824,"45":1786099495339413504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945928192001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:39:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 12:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18469836841549824,"km_value":18469836841549.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786099495339413504,"description":"Unknown IO ID 45"} 
[2026-09-08 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945928192001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1786099495339413504}} 
[2026-09-08 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":175710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:39:36] local.INFO: GPS data processed {"connection_id":175710,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:39:36] local.INFO: Acknowledgment sent {"connection_id":175710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:39:42] local.INFO: TCP Data received {"connection_id":177136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:42] local.INFO: Processing buffer {"connection_id":177136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:42] local.INFO: IMEI packet received {"connection_id":177136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":177136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:39:44] local.INFO: TCP Data received {"connection_id":177136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:44] local.INFO: Processing buffer {"connection_id":177136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:44] local.INFO: IMEI packet received {"connection_id":177136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":177136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:39:47] local.INFO: TCP Data received {"connection_id":177136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:47] local.INFO: Processing buffer {"connection_id":177136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:39:47] local.INFO: IMEI packet received {"connection_id":177136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":177136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:39:47] local.INFO: TCP Data received {"connection_id":177136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd69b30012d37b44006a99118000e00532e..."} 
[2026-09-08 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd69b30012d37b44006a99118000e00532e..."} 
[2026-09-08 12:39:47] local.INFO: Processing buffer {"connection_id":177136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd69b30012d37b44006a99118000e00532e..."} 
[2026-09-08 12:39:47] local.INFO: Packet analysis {"connection_id":177136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:39:47] local.INFO: Extracted packet for processing {"connection_id":177136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758625344,"raw_latitude":111776024,"longitude_deg":75.8625344,"latitude_deg":11.1776024,"altitude":14,"angle":83,"satellites":46,"speed":32,"hex_longitude":"2d37b440","hex_latitude":"06a99118","is_valid_coordinates":true} 
[2026-09-08 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945895424001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402645122346385408,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003207516137553920,"note":"Value kept but may cause issues"} 
[2026-09-08 12:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788851166000,"timestamp_ms":1788851166000,"timestamp_seconds":1788851166,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd69b30"} 
[2026-09-08 12:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945895424001,"66":27800,"50":206,"81":23296,"24":32,"16":402645122346385408,"45":4003207516137553920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-08 12:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945895424001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402645122346385408,"km_value":402645122346385.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003207516137553920,"description":"Unknown IO ID 45"} 
[2026-09-08 12:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945895424001,"power":27800,"unknown_50":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4003207516137553920}} 
[2026-09-08 12:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":177136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:39:47] local.INFO: GPS data processed {"connection_id":177136,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:39:47] local.INFO: Acknowledgment sent {"connection_id":177136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:40:00] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:00] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:00] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:40:01] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:01] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:01] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:40:01] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:01] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:01] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:40:03] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:03] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:40:03] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:40:19] local.INFO: TCP Data received {"connection_id":177136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd6cdf8012d37da4006a99490000e00562f..."} 
[2026-09-08 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd6cdf8012d37da4006a99490000e00562f..."} 
[2026-09-08 12:40:19] local.INFO: Processing buffer {"connection_id":177136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fd6cdf8012d37da4006a99490000e00562f..."} 
[2026-09-08 12:40:19] local.INFO: Packet analysis {"connection_id":177136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:40:19] local.INFO: Extracted packet for processing {"connection_id":177136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fd6"} 
[2026-09-08 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758635072,"raw_latitude":111776912,"longitude_deg":75.8635072,"latitude_deg":11.1776912,"altitude":14,"angle":86,"satellites":47,"speed":32,"hex_longitude":"2d37da40","hex_latitude":"06a99490","is_valid_coordinates":true} 
[2026-09-08 12:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945898496001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402645586202853376,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4013903565252794368,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788851179000,"timestamp_ms":1788851179000,"timestamp_seconds":1788851179,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd6cdf8"} 
[2026-09-08 12:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:40: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-09-08 12:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945898496001,"66":27865,"50":206,"81":23296,"24":32,"16":402645586202853376,"45":4013903565252794368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-09-08 12:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945898496001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:40:19] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-08 12:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402645586202853376,"km_value":402645586202853.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4013903565252794368,"description":"Unknown IO ID 45"} 
[2026-09-08 12:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945898496001,"power":27865,"unknown_50":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4013903565252794368}} 
[2026-09-08 12:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":177136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:40:19] local.INFO: GPS data processed {"connection_id":177136,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:40:19] local.INFO: Acknowledgment sent {"connection_id":177136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:40:52] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:40:52] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:40:52] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:40:54] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:40:54] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:40:54] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:40:56] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:40:56] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:40:56] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:40:58] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fd9c7b0012d39384006a95ec80018006e2f..."} 
[2026-09-08 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fd9c7b0012d39384006a95ec80018006e2f..."} 
[2026-09-08 12:40:58] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07f..."} 
[2026-09-08 12:40:58] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:40:59] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fda19b8012d394e8006a957180010006a2f..."} 
[2026-09-08 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fda19b8012d394e8006a957180010006a2f..."} 
[2026-09-08 12:40:59] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07fd9c7b0012d39384006a95ec80018006e2f..."} 
[2026-09-08 12:40:59] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07fd9"} 
[2026-09-08 12:40:59] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fd9"} 
[2026-09-08 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758724672,"raw_latitude":111763144,"longitude_deg":75.8724672,"latitude_deg":11.1763144,"altitude":24,"angle":110,"satellites":47,"speed":17,"hex_longitude":"2d393840","hex_latitude":"06a95ec8","is_valid_coordinates":true} 
[2026-09-08 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945948160001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402649937004724224,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4114038288214796288,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788851374000,"timestamp_ms":1788851374000,"timestamp_seconds":1788851374,"priority":1,"record_length":96,"hex_timestamp":"000001a07fd9c7b0"} 
[2026-09-08 12:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 12:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945948160001,"66":27865,"91":206,"81":23296,"24":17,"16":402649937004724224,"45":4114038288214796288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945948160001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402649937004724224,"km_value":402649937004724.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4114038288214796288,"description":"Unknown IO ID 45"} 
[2026-09-08 12:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945948160001,"power":27865,"unknown_91":206,"unknown_81":23296,"ignition":17,"odometer":null,"unknown_45":4114038288214796288}} 
[2026-09-08 12:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:40:59] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:40:59] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:40:59] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fda"} 
[2026-09-08 12:40:59] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fda"} 
[2026-09-08 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758730368,"raw_latitude":111761176,"longitude_deg":75.8730368,"latitude_deg":11.1761176,"altitude":16,"angle":106,"satellites":47,"speed":10,"hex_longitude":"2d394e80","hex_latitude":"06a95718","is_valid_coordinates":true} 
[2026-09-08 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945951744001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402650224767533056,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856213231616,"note":"Value kept but may cause issues"} 
[2026-09-08 12:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788851395000,"timestamp_ms":1788851395000,"timestamp_seconds":1788851395,"priority":1,"record_length":96,"hex_timestamp":"000001a07fda19b8"} 
[2026-09-08 12:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945951744001,"66":27865,"91":206,"81":23296,"24":10,"16":402650224767533056,"45":4123115856213231616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-08 12:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945951744001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402650224767533056,"km_value":402650224767533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856213231616,"description":"Unknown IO ID 45"} 
[2026-09-08 12:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945951744001,"power":27865,"unknown_91":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":4123115856213231616}} 
[2026-09-08 12:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:40:59] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:40:59] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:41:46] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:41:46] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:41:46] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:41:52] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:41:52] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:41:52] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:41:53] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fda2d40012d39544006a955d0000e005e31..."} 
[2026-09-08 12:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fda2d40012d39544006a955d0000e005e31..."} 
[2026-09-08 12:41:53] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fda2d40012d39544006a955d0000e005e31..."} 
[2026-09-08 12:41:53] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fda"} 
[2026-09-08 12:41:53] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fda"} 
[2026-09-08 12:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758731840,"raw_latitude":111760848,"longitude_deg":75.873184,"latitude_deg":11.1760848,"altitude":14,"angle":94,"satellites":49,"speed":16,"hex_longitude":"2d395440","hex_latitude":"06a955d0","is_valid_coordinates":true} 
[2026-09-08 12:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945957120001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402650293487009792,"note":"Value kept but may cause issues"} 
[2026-09-08 12:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4129378674444539904,"note":"Value kept but may cause issues"} 
[2026-09-08 12:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788851400000,"timestamp_ms":1788851400000,"timestamp_seconds":1788851400,"priority":1,"record_length":96,"hex_timestamp":"000001a07fda2d40"} 
[2026-09-08 12:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:41: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-09-08 12:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945957120001,"66":27767,"91":206,"81":23296,"24":16,"16":402650293487009792,"45":4129378674444539904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-08 12:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945957120001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:41:53] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 12:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402650293487009792,"km_value":402650293487009.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4129378674444539904,"description":"Unknown IO ID 45"} 
[2026-09-08 12:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945957120001,"power":27767,"unknown_91":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":4129378674444539904}} 
[2026-09-08 12:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:41:53] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:41:53] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:42:30] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fda67d8012d395f0006a95508001000712d..."} 
[2026-09-08 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fda67d8012d395f0006a95508001000712d..."} 
[2026-09-08 12:42:30] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fda67d8012d395f0006a95508001000712d..."} 
[2026-09-08 12:42:30] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fda"} 
[2026-09-08 12:42:30] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fda"} 
[2026-09-08 12:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758734592,"raw_latitude":111760648,"longitude_deg":75.8734592,"latitude_deg":11.1760648,"altitude":16,"angle":113,"satellites":45,"speed":5,"hex_longitude":"2d395f00","hex_latitude":"06a95508","is_valid_coordinates":true} 
[2026-09-08 12:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945958400001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402650430925963264,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4130997155560542208,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788851415000,"timestamp_ms":1788851415000,"timestamp_seconds":1788851415,"priority":1,"record_length":96,"hex_timestamp":"000001a07fda67d8"} 
[2026-09-08 12:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945958400001,"66":27767,"237":206,"81":49664,"24":5,"16":402650430925963264,"45":4130997155560542208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-09-08 12:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945958400001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402650430925963264,"km_value":402650430925963.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4130997155560542208,"description":"Unknown IO ID 45"} 
[2026-09-08 12:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945958400001,"power":27767,"unknown_237":206,"unknown_81":49664,"ignition":5,"odometer":null,"unknown_45":4130997155560542208}} 
[2026-09-08 12:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:42:30] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:42:30] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:42:49] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:42:49] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:42:49] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:42:51] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:42:51] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:42:51] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:42:58] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdba828012d39a7c006a857d0000b00a42d..."} 
[2026-09-08 12:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdba828012d39a7c006a857d0000b00a42d..."} 
[2026-09-08 12:42:58] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdba828012d39a7c006a857d0000b00a42d..."} 
[2026-09-08 12:42:58] local.INFO: Packet analysis {"connection_id":174634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdb"} 
[2026-09-08 12:42:58] local.INFO: Extracted packet for processing {"connection_id":174634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdb"} 
[2026-09-08 12:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758753216,"raw_latitude":111695824,"longitude_deg":75.8753216,"latitude_deg":11.1695824,"altitude":11,"angle":164,"satellites":45,"speed":35,"hex_longitude":"2d39a7c0","hex_latitude":"06a857d0","is_valid_coordinates":true} 
[2026-09-08 12:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945979904001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402653716575944704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151404091357794304,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788851497000,"timestamp_ms":1788851497000,"timestamp_seconds":1788851497,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdba828"} 
[2026-09-08 12:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945979904001,"66":27843,"239":206,"81":49664,"24":35,"16":402653716575944704,"45":4151404091357794304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-08 12:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945979904001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:42:58] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-08 12:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402653716575944704,"km_value":402653716575944.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151404091357794304,"description":"Unknown IO ID 45"} 
[2026-09-08 12:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457945979904001,"power":27843,"unknown_239":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4151404091357794304}} 
[2026-09-08 12:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":174634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:42:58] local.INFO: GPS data processed {"connection_id":174634,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:42:58] local.INFO: Acknowledgment sent {"connection_id":174634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:42:59] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdbded8012d39b10006a83588000a00a02e..."} 
[2026-09-08 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdbded8012d39b10006a83588000a00a02e..."} 
[2026-09-08 12:42:59] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdbded8012d39b10006a83588000a00a02e..."} 
[2026-09-08 12:42:59] local.INFO: Packet analysis {"connection_id":174634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdb"} 
[2026-09-08 12:42:59] local.INFO: Extracted packet for processing {"connection_id":174634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdb"} 
[2026-09-08 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758755584,"raw_latitude":111687048,"longitude_deg":75.8755584,"latitude_deg":11.1687048,"altitude":10,"angle":160,"satellites":46,"speed":8,"hex_longitude":"2d39b100","hex_latitude":"06a83588","is_valid_coordinates":true} 
[2026-09-08 12:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945983232001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4154500316099235840,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402654154662608896,"note":"Value kept but may cause issues"} 
[2026-09-08 12:42:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 12:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788851511000,"timestamp_ms":1788851511000,"timestamp_seconds":1788851511,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdbded8"} 
[2026-09-08 12:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945983232001,"66":27767,"45":4154500316099235840,"81":23296,"24":8,"16":402654154662608896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 12:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945983232001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4154500316099235840,"description":"Unknown IO ID 45"} 
[2026-09-08 12:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402654154662608896,"km_value":402654154662608.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:42:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457945983232001,"power":27767,"unknown_45":4154500316099235840,"unknown_81":23296,"ignition":8,"odometer":null}} 
[2026-09-08 12:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":174634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:42:59] local.INFO: GPS data processed {"connection_id":174634,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:42:59] local.INFO: Acknowledgment sent {"connection_id":174634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:43:42] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:42] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:42] local.INFO: IMEI packet received {"connection_id":174378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":174378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:43:42] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:42] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:42] local.INFO: IMEI packet received {"connection_id":174378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":174378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:43:46] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:46] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:43:46] local.INFO: IMEI packet received {"connection_id":174378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":174378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:43:47] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdbea90012d39b1c006a831f8000b00ac2d..."} 
[2026-09-08 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdbea90012d39b1c006a831f8000b00ac2d..."} 
[2026-09-08 12:43:47] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdbea90012d39b1c006a831f8000b00ac2d..."} 
[2026-09-08 12:43:47] local.INFO: Packet analysis {"connection_id":174378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdb"} 
[2026-09-08 12:43:47] local.INFO: Extracted packet for processing {"connection_id":174378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdb"} 
[2026-09-08 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758755776,"raw_latitude":111686136,"longitude_deg":75.8755776,"latitude_deg":11.1686136,"altitude":11,"angle":172,"satellites":45,"speed":15,"hex_longitude":"2d39b1c0","hex_latitude":"06a831f8","is_valid_coordinates":true} 
[2026-09-08 12:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457945986816001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157103959631562752,"note":"Value kept but may cause issues"} 
[2026-09-08 12:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402654201907249152,"note":"Value kept but may cause issues"} 
[2026-09-08 12:43:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 12:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788851514000,"timestamp_ms":1788851514000,"timestamp_seconds":1788851514,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdbea90"} 
[2026-09-08 12:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457945986816001,"66":27821,"45":4157103959631562752,"81":23296,"24":15,"16":402654201907249152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 12:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457945986816001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157103959631562752,"description":"Unknown IO ID 45"} 
[2026-09-08 12:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 12:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402654201907249152,"km_value":402654201907249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:43:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457945986816001,"power":27821,"unknown_45":4157103959631562752,"unknown_81":23296,"ignition":15,"odometer":null}} 
[2026-09-08 12:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":174378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:43:47] local.INFO: GPS data processed {"connection_id":174378,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:43:47] local.INFO: Acknowledgment sent {"connection_id":174378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:44:14] local.INFO: TCP Data received {"connection_id":174379,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:44:14] local.INFO: Processing buffer {"connection_id":174379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:44:14] local.INFO: IMEI packet received {"connection_id":174379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":174379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:44:18] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdd3a80012d3a7b4006a74d200023006530..."} 
[2026-09-08 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdd3a80012d3a7b4006a74d200023006530..."} 
[2026-09-08 12:44:18] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdd3a80012d3a7b4006a74d200023006530..."} 
[2026-09-08 12:44:18] local.INFO: Packet analysis {"connection_id":174378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdd"} 
[2026-09-08 12:44:18] local.INFO: Extracted packet for processing {"connection_id":174378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdd"} 
[2026-09-08 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758807360,"raw_latitude":111627552,"longitude_deg":75.880736,"latitude_deg":11.1627552,"altitude":35,"angle":101,"satellites":48,"speed":48,"hex_longitude":"2d3a7b40","hex_latitude":"06a74d20","is_valid_coordinates":true} 
[2026-09-08 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946007552001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402658432450035712,"note":"Value kept but may cause issues"} 
[2026-09-08 12:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4203125118308921344,"note":"Value kept but may cause issues"} 
[2026-09-08 12:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788851600000,"timestamp_ms":1788851600000,"timestamp_seconds":1788851600,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdd3a80"} 
[2026-09-08 12:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:44: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-09-08 12:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946007552001,"66":27865,"102":206,"81":49664,"24":48,"16":402658432450035712,"45":4203125118308921344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-08 12:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946007552001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 12:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402658432450035712,"km_value":402658432450035.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4203125118308921344,"description":"Unknown IO ID 45"} 
[2026-09-08 12:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946007552001,"power":27865,"unknown_102":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4203125118308921344}} 
[2026-09-08 12:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":174378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:44:18] local.INFO: GPS data processed {"connection_id":174378,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:44:18] local.INFO: Acknowledgment sent {"connection_id":174378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:44:42] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:44:42] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:44:42] local.INFO: IMEI packet received {"connection_id":175713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":175713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:44:45] local.INFO: TCP Data received {"connection_id":175714,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:44:45] local.INFO: Processing buffer {"connection_id":175714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:44:45] local.INFO: IMEI packet received {"connection_id":175714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":175714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:44:47] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:44:47] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:44:47] local.INFO: IMEI packet received {"connection_id":175713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":175713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:44:49] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdd59c0012d3aa08006a745780027006531..."} 
[2026-09-08 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdd59c0012d3aa08006a745780027006531..."} 
[2026-09-08 12:44:49] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdd59c0012d3aa08006a745780027006531..."} 
[2026-09-08 12:44:49] local.INFO: Packet analysis {"connection_id":175713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdd"} 
[2026-09-08 12:44:49] local.INFO: Extracted packet for processing {"connection_id":175713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdd"} 
[2026-09-08 12:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758816896,"raw_latitude":111625592,"longitude_deg":75.8816896,"latitude_deg":11.1625592,"altitude":39,"angle":101,"satellites":49,"speed":46,"hex_longitude":"2d3aa080","hex_latitude":"06a74578","is_valid_coordinates":true} 
[2026-09-08 12:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946009600001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402658896306503680,"note":"Value kept but may cause issues"} 
[2026-09-08 12:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4214032273656061952,"note":"Value kept but may cause issues"} 
[2026-09-08 12:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788851608000,"timestamp_ms":1788851608000,"timestamp_seconds":1788851608,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdd59c0"} 
[2026-09-08 12:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:44: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-09-08 12:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946009600001,"66":27908,"102":206,"81":49664,"24":46,"16":402658896306503680,"45":4214032273656061952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-08 12:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946009600001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 12:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402658896306503680,"km_value":402658896306503.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4214032273656061952,"description":"Unknown IO ID 45"} 
[2026-09-08 12:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946009600001,"power":27908,"unknown_102":206,"unknown_81":49664,"ignition":46,"odometer":null,"unknown_45":4214032273656061952}} 
[2026-09-08 12:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":175713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:44:49] local.INFO: GPS data processed {"connection_id":175713,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:44:49] local.INFO: Acknowledgment sent {"connection_id":175713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:45:08] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:45:08] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:45:08] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:45:11] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:45:11] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:45:11] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:45:13] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fde28c8012d1ba040071e75680063008e28..."} 
[2026-09-08 12:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fde28c8012d1ba040071e75680063008e28..."} 
[2026-09-08 12:45:13] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fde28c8012d1ba040071e75680063008e28..."} 
[2026-09-08 12:45:13] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:45:13] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756785216,"raw_latitude":119436648,"longitude_deg":75.6785216,"latitude_deg":11.9436648,"altitude":99,"angle":142,"satellites":40,"speed":30,"hex_longitude":"2d1ba040","hex_latitude":"071e7568","is_valid_coordinates":true} 
[2026-09-08 12:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946024448001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18484658773688320,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989254059734679552,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788851661000,"timestamp_ms":1788851661000,"timestamp_seconds":1788851661,"priority":1,"record_length":96,"hex_timestamp":"000001a07fde28c8"} 
[2026-09-08 12:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 12:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946024448001,"66":14135,"109":206,"83":41984,"24":30,"16":18484658773688320,"45":1989254059734679552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946024448001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:45:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18484658773688320,"km_value":18484658773688.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989254059734679552,"description":"Unknown IO ID 45"} 
[2026-09-08 12:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946024448001,"power":14135,"unknown_109":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1989254059734679552}} 
[2026-09-08 12:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:45:13] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:45:13] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:45:21] local.INFO: TCP Data received {"connection_id":175713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdd7900012d3ac44006a73e70002b006430..."} 
[2026-09-08 12:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdd7900012d3ac44006a73e70002b006430..."} 
[2026-09-08 12:45:21] local.INFO: Processing buffer {"connection_id":175713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdd7900012d3ac44006a73e70002b006430..."} 
[2026-09-08 12:45:21] local.INFO: Packet analysis {"connection_id":175713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdd"} 
[2026-09-08 12:45:21] local.INFO: Extracted packet for processing {"connection_id":175713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdd"} 
[2026-09-08 12:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758826048,"raw_latitude":111623792,"longitude_deg":75.8826048,"latitude_deg":11.1623792,"altitude":43,"angle":100,"satellites":48,"speed":45,"hex_longitude":"2d3ac440","hex_latitude":"06a73e70","is_valid_coordinates":true} 
[2026-09-08 12:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946011648001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402659338688135168,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4224517216538032128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788851616000,"timestamp_ms":1788851616000,"timestamp_seconds":1788851616,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdd7900"} 
[2026-09-08 12:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:45: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-09-08 12:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946011648001,"66":27865,"102":206,"81":49664,"24":45,"16":402659338688135168,"45":4224517216538032128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-08 12:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946011648001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:45:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-08 12:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402659338688135168,"km_value":402659338688135.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4224517216538032128,"description":"Unknown IO ID 45"} 
[2026-09-08 12:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946011648001,"power":27865,"unknown_102":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4224517216538032128}} 
[2026-09-08 12:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":175713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:45:21] local.INFO: GPS data processed {"connection_id":175713,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:45:21] local.INFO: Acknowledgment sent {"connection_id":175713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:45:41] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:45:41] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:45:41] local.INFO: IMEI packet received {"connection_id":174635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:45:44] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fde3098012d1ba500071e70e00062007e29..."} 
[2026-09-08 12:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fde3098012d1ba500071e70e00062007e29..."} 
[2026-09-08 12:45:44] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fde3098012d1ba500071e70e00062007e29..."} 
[2026-09-08 12:45:44] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:45:44] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:45:44] local.INFO: GPS Element Parsed {"raw_longitude":756786432,"raw_latitude":119435488,"longitude_deg":75.6786432,"latitude_deg":11.9435488,"altitude":98,"angle":126,"satellites":41,"speed":32,"hex_longitude":"2d1ba500","hex_latitude":"071e70e0","is_valid_coordinates":true} 
[2026-09-08 12:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946025216001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18484740378066944,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990661434617718784,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788851663000,"timestamp_ms":1788851663000,"timestamp_seconds":1788851663,"priority":1,"record_length":96,"hex_timestamp":"000001a07fde3098"} 
[2026-09-08 12:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 12:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946025216001,"66":14211,"109":206,"83":41984,"24":32,"16":18484740378066944,"45":1990661434617718784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946025216001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:45:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:45:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18484740378066944,"km_value":18484740378066.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990661434617718784,"description":"Unknown IO ID 45"} 
[2026-09-08 12:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946025216001,"power":14211,"unknown_109":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1990661434617718784}} 
[2026-09-08 12:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:45:44] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:45:44] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:45:47] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:45:47] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:45:47] local.INFO: IMEI packet received {"connection_id":174635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:45:49] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fde8e58012d3bd08006a6a690004500992d..."} 
[2026-09-08 12:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fde8e58012d3bd08006a6a690004500992d..."} 
[2026-09-08 12:45:49] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fde8e58012d3bd08006a6a690004500992d..."} 
[2026-09-08 12:45:49] local.INFO: Packet analysis {"connection_id":174635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:45:49] local.INFO: Extracted packet for processing {"connection_id":174635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758894720,"raw_latitude":111584912,"longitude_deg":75.889472,"latitude_deg":11.1584912,"altitude":69,"angle":153,"satellites":45,"speed":50,"hex_longitude":"2d3bd080","hex_latitude":"06a6a690","is_valid_coordinates":true} 
[2026-09-08 12:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946029824001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402663427497000960,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4305089428613314560,"note":"Value kept but may cause issues"} 
[2026-09-08 12:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788851687000,"timestamp_ms":1788851687000,"timestamp_seconds":1788851687,"priority":1,"record_length":96,"hex_timestamp":"000001a07fde8e58"} 
[2026-09-08 12:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 12:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:45: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-09-08 12:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946029824001,"66":27908,"40":206,"81":49664,"24":50,"16":402663427497000960,"45":4305089428613314560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-08 12:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946029824001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:45:49] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-08 12:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402663427497000960,"km_value":402663427497000.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4305089428613314560,"description":"Unknown IO ID 45"} 
[2026-09-08 12:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946029824001,"power":27908,"unknown_40":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4305089428613314560}} 
[2026-09-08 12:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":174635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:45:49] local.INFO: GPS data processed {"connection_id":174635,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:45:49] local.INFO: Acknowledgment sent {"connection_id":174635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:46:01] local.INFO: TCP Data received {"connection_id":177140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:01] local.INFO: Processing buffer {"connection_id":177140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:01] local.INFO: IMEI packet received {"connection_id":177140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":177140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:46:01] local.INFO: TCP Data received {"connection_id":177140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:01] local.INFO: Processing buffer {"connection_id":177140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:01] local.INFO: IMEI packet received {"connection_id":177140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":177140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:46:06] local.INFO: TCP Data received {"connection_id":177140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:06] local.INFO: Processing buffer {"connection_id":177140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:46:06] local.INFO: IMEI packet received {"connection_id":177140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":177140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:46:07] local.INFO: TCP Data received {"connection_id":177140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fde3868012d1baac0071e6de80061006e27..."} 
[2026-09-08 12:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fde3868012d1baac0071e6de80061006e27..."} 
[2026-09-08 12:46:07] local.INFO: Processing buffer {"connection_id":177140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fde3868012d1baac0071e6de80061006e27..."} 
[2026-09-08 12:46:07] local.INFO: Packet analysis {"connection_id":177140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:46:07] local.INFO: Extracted packet for processing {"connection_id":177140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756787904,"raw_latitude":119434728,"longitude_deg":75.6787904,"latitude_deg":11.9434728,"altitude":97,"angle":110,"satellites":39,"speed":32,"hex_longitude":"2d1baac0","hex_latitude":"071e6de8","is_valid_coordinates":true} 
[2026-09-08 12:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946025728001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18484817687478272,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991998440756797440,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788851665000,"timestamp_ms":1788851665000,"timestamp_seconds":1788851665,"priority":1,"record_length":96,"hex_timestamp":"000001a07fde3868"} 
[2026-09-08 12:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 12:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946025728001,"66":14341,"109":206,"83":41984,"24":32,"16":18484817687478272,"45":1991998440756797440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946025728001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18484817687478272,"km_value":18484817687478.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991998440756797440,"description":"Unknown IO ID 45"} 
[2026-09-08 12:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946025728001,"power":14341,"unknown_109":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1991998440756797440}} 
[2026-09-08 12:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":177140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:46:07] local.INFO: GPS data processed {"connection_id":177140,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:46:07] local.INFO: Acknowledgment sent {"connection_id":177140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:46:27] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdead98012d3be2c006a68388004700972e..."} 
[2026-09-08 12:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdead98012d3be2c006a68388004700972e..."} 
[2026-09-08 12:46:27] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdead98012d3be2c006a68388004700972e..."} 
[2026-09-08 12:46:27] local.INFO: Packet analysis {"connection_id":174635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:46:27] local.INFO: Extracted packet for processing {"connection_id":174635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:46:27] local.INFO: GPS Element Parsed {"raw_longitude":758899392,"raw_latitude":111575944,"longitude_deg":75.8899392,"latitude_deg":11.1575944,"altitude":71,"angle":151,"satellites":46,"speed":50,"hex_longitude":"2d3be2c0","hex_latitude":"06a68388","is_valid_coordinates":true} 
[2026-09-08 12:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946031872001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402663917123272704,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4310085609447657472,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788851695000,"timestamp_ms":1788851695000,"timestamp_seconds":1788851695,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdead98"} 
[2026-09-08 12:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946031872001,"66":27865,"40":206,"81":49664,"24":50,"16":402663917123272704,"45":4310085609447657472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-08 12:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946031872001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:46:27] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-08 12:46:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402663917123272704,"km_value":402663917123272.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4310085609447657472,"description":"Unknown IO ID 45"} 
[2026-09-08 12:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946031872001,"power":27865,"unknown_40":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4310085609447657472}} 
[2026-09-08 12:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":174635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:46:27] local.INFO: GPS data processed {"connection_id":174635,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:46:27] local.INFO: Acknowledgment sent {"connection_id":174635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:46:51] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:51] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:51] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:46:52] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:52] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:52] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:46:57] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:57] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:46:57] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:46:58] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdfbb20012d3cbcc006a53900003e00a92a..."} 
[2026-09-08 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdfbb20012d3cbcc006a53900003e00a92a..."} 
[2026-09-08 12:46:58] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdfbb20012d3cbcc006a53900003e00a92a..."} 
[2026-09-08 12:46:58] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:46:58] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758955200,"raw_latitude":111491328,"longitude_deg":75.89552,"latitude_deg":11.1491328,"altitude":62,"angle":169,"satellites":42,"speed":69,"hex_longitude":"2d3cbcc0","hex_latitude":"06a53900","is_valid_coordinates":true} 
[2026-09-08 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946050560001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402668830565859328,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4374543379092135936,"note":"Value kept but may cause issues"} 
[2026-09-08 12:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788851764000,"timestamp_ms":1788851764000,"timestamp_seconds":1788851764,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdfbb20"} 
[2026-09-08 12:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 12:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946050560001,"66":27876,"131":206,"81":49664,"24":69,"16":402668830565859328,"45":4374543379092135936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-09-08 12:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946050560001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:46:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-08 12:46:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402668830565859328,"km_value":402668830565859.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4374543379092135936,"description":"Unknown IO ID 45"} 
[2026-09-08 12:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946050560001,"power":27876,"unknown_131":206,"unknown_81":49664,"ignition":69,"odometer":null,"unknown_45":4374543379092135936}} 
[2026-09-08 12:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:46:58] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:46:58] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:47:03] local.INFO: TCP Data received {"connection_id":177140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fde5f78012d1bc880071e66f00061006227..."} 
[2026-09-08 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fde5f78012d1bc880071e66f00061006227..."} 
[2026-09-08 12:47:03] local.INFO: Processing buffer {"connection_id":177140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fde5f78012d1bc880071e66f00061006227..."} 
[2026-09-08 12:47:03] local.INFO: Packet analysis {"connection_id":177140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:47:03] local.INFO: Extracted packet for processing {"connection_id":177140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fde"} 
[2026-09-08 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756795520,"raw_latitude":119432944,"longitude_deg":75.679552,"latitude_deg":11.9432944,"altitude":97,"angle":98,"satellites":39,"speed":31,"hex_longitude":"2d1bc880","hex_latitude":"071e66f0","is_valid_coordinates":true} 
[2026-09-08 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946026240001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18485191349633024,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1993616921872689152,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788851675000,"timestamp_ms":1788851675000,"timestamp_seconds":1788851675,"priority":1,"record_length":96,"hex_timestamp":"000001a07fde5f78"} 
[2026-09-08 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987701691,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503881670066176,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3722862593,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2679636065,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766260942,"corrected_to":0} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2147950246,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911017,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2870476800,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84754216371297967,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":24770305360663296,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,109,83,24,241,157,16,171,160,48,45,112,98,41,10,66,40,64,117,99,29,1,240,115,227,127,30,4,113,205,18,214,140,232,36,239,53,71,2,65,7,92,206,104,56],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1766260942,"validated":0}]} 
[2026-09-08 12:47:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6989707735463886848,"timestamp_seconds":6989707735463887.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946026240001,"66":14243,"71":206,"83":41984,"24":31,"16":18485191349633024,"45":1993616921872689152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-08 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946026240001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:47:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 12:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18485191349633024,"km_value":18485191349633.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1993616921872689152,"description":"Unknown IO ID 45"} 
[2026-09-08 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946026240001,"power":14243,"unknown_71":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1993616921872689152}} 
[2026-09-08 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":177140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:47:03] local.INFO: GPS data processed {"connection_id":177140,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:47:03] local.INFO: Acknowledgment sent {"connection_id":177140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:47:06] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:47:06] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:47:06] local.INFO: IMEI packet received {"connection_id":175715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":175715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:47:11] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:47:11] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:47:11] local.INFO: IMEI packet received {"connection_id":175715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":175715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:47:12] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdfbf08012d1cdb80071e6fb00061006427..."} 
[2026-09-08 12:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdfbf08012d1cdb80071e6fb00061006427..."} 
[2026-09-08 12:47:12] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdfbf08012d1cdb80071e6fb00061006427..."} 
[2026-09-08 12:47:12] local.INFO: Packet analysis {"connection_id":175715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:47:12] local.INFO: Extracted packet for processing {"connection_id":175715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756865920,"raw_latitude":119435184,"longitude_deg":75.686592,"latitude_deg":11.9435184,"altitude":97,"angle":100,"satellites":39,"speed":40,"hex_longitude":"2d1cdb80","hex_latitude":"071e6fb0","is_valid_coordinates":true} 
[2026-09-08 12:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946049536001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18488627323469824,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2069404059352680448,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788851765000,"timestamp_ms":1788851765000,"timestamp_seconds":1788851765,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdfbf08"} 
[2026-09-08 12:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 12:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946049536001,"66":14265,"107":206,"83":41984,"24":40,"16":18488627323469824,"45":2069404059352680448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 12:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946049536001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:47:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18488627323469824,"km_value":18488627323469.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2069404059352680448,"description":"Unknown IO ID 45"} 
[2026-09-08 12:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946049536001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":2069404059352680448}} 
[2026-09-08 12:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":175715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:47:12] local.INFO: GPS data processed {"connection_id":175715,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:47:12] local.INFO: Acknowledgment sent {"connection_id":175715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:47:42] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:42] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:42] local.INFO: IMEI packet received {"connection_id":177142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":177142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:47:43] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe06ae8012d1d1040071e2570005200d024..."} 
[2026-09-08 12:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe06ae8012d1d1040071e2570005200d024..."} 
[2026-09-08 12:47:43] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe06ae8012d1d1040071e2570005200d024..."} 
[2026-09-08 12:47:43] local.INFO: Packet analysis {"connection_id":175715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:47:43] local.INFO: Extracted packet for processing {"connection_id":175715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756879424,"raw_latitude":119416176,"longitude_deg":75.6879424,"latitude_deg":11.9416176,"altitude":82,"angle":208,"satellites":36,"speed":28,"hex_longitude":"2d1d1040","hex_latitude":"071e2570","is_valid_coordinates":true} 
[2026-09-08 12:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946062080001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18490079022415872,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096355288367874048,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788851809000,"timestamp_ms":1788851809000,"timestamp_seconds":1788851809,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe06ae8"} 
[2026-09-08 12:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 12:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946062080001,"66":13993,"109":206,"83":41984,"24":28,"16":18490079022415872,"45":2096355288367874048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946062080001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:47:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:47:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18490079022415872,"km_value":18490079022415.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096355288367874048,"description":"Unknown IO ID 45"} 
[2026-09-08 12:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946062080001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2096355288367874048}} 
[2026-09-08 12:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":175715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:47:43] local.INFO: GPS data processed {"connection_id":175715,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:47:43] local.INFO: Acknowledgment sent {"connection_id":175715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:47:46] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:46] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:46] local.INFO: IMEI packet received {"connection_id":177142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":177142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:47:47] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:47] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:47:47] local.INFO: IMEI packet received {"connection_id":177142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":177142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:47:49] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdfcea8012d3cc24006a516b8003900ab2b..."} 
[2026-09-08 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdfcea8012d3cc24006a516b8003900ab2b..."} 
[2026-09-08 12:47:49] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdfcea8012d3cc24006a516b8003900ab2b..."} 
[2026-09-08 12:47:49] local.INFO: Packet analysis {"connection_id":177142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:47:49] local.INFO: Extracted packet for processing {"connection_id":177142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758956608,"raw_latitude":111482552,"longitude_deg":75.8956608,"latitude_deg":11.1482552,"altitude":57,"angle":171,"satellites":43,"speed":72,"hex_longitude":"2d3cc240","hex_latitude":"06a516b8","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946051584001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402669260062588928,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4376584072671592448,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788851769000,"timestamp_ms":1788851769000,"timestamp_seconds":1788851769,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdfcea8"} 
[2026-09-08 12:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 12:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:47: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-09-08 12:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946051584001,"66":27843,"131":206,"81":49664,"24":72,"16":402669260062588928,"45":4376584072671592448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-09-08 12:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946051584001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:47:49] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-08 12:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402669260062588928,"km_value":402669260062588.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4376584072671592448,"description":"Unknown IO ID 45"} 
[2026-09-08 12:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946051584001,"power":27843,"unknown_131":206,"unknown_81":49664,"ignition":72,"odometer":null,"unknown_45":4376584072671592448}} 
[2026-09-08 12:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":177142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:47:49] local.INFO: GPS data processed {"connection_id":177142,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:47:49] local.INFO: Acknowledgment sent {"connection_id":177142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:47:53] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fdfe230012d3cc74006a4f328003500ab2a..."} 
[2026-09-08 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fdfe230012d3cc74006a4f328003500ab2a..."} 
[2026-09-08 12:47:53] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fdfe230012d3cc74006a4f328003500ab2a..."} 
[2026-09-08 12:47:53] local.INFO: Packet analysis {"connection_id":177142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:47:53] local.INFO: Extracted packet for processing {"connection_id":177142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fdf"} 
[2026-09-08 12:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758957888,"raw_latitude":111473448,"longitude_deg":75.8957888,"latitude_deg":11.1473448,"altitude":53,"angle":171,"satellites":42,"speed":74,"hex_longitude":"2d3cc740","hex_latitude":"06a4f328","is_valid_coordinates":true} 
[2026-09-08 12:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946052864001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402669706739187712,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378132185041254400,"note":"Value kept but may cause issues"} 
[2026-09-08 12:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788851774000,"timestamp_ms":1788851774000,"timestamp_seconds":1788851774,"priority":1,"record_length":96,"hex_timestamp":"000001a07fdfe230"} 
[2026-09-08 12:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:47: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-09-08 12:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946052864001,"66":27876,"133":206,"81":49664,"24":74,"16":402669706739187712,"45":4378132185041254400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-08 12:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946052864001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:47:53] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-08 12:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402669706739187712,"km_value":402669706739187.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378132185041254400,"description":"Unknown IO ID 45"} 
[2026-09-08 12:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946052864001,"power":27876,"unknown_133":206,"unknown_81":49664,"ignition":74,"odometer":null,"unknown_45":4378132185041254400}} 
[2026-09-08 12:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":177142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:47:53] local.INFO: GPS data processed {"connection_id":177142,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:47:53] local.INFO: Acknowledgment sent {"connection_id":177142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:48:04] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:04] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:04] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:48:06] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:06] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:06] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:48:07] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:07] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:07] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:48:08] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:08] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:48:08] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:48:08] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe07a88012d1d0b80071e1a48005400c325..."} 
[2026-09-08 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe07a88012d1d0b80071e1a48005400c325..."} 
[2026-09-08 12:48:08] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe07a88012d1d0b80071e1a48005400c325..."} 
[2026-09-08 12:48:08] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:48:08] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756878208,"raw_latitude":119413320,"longitude_deg":75.6878208,"latitude_deg":11.941332,"altitude":84,"angle":195,"satellites":37,"speed":28,"hex_longitude":"2d1d0b80","hex_latitude":"071e1a48","is_valid_coordinates":true} 
[2026-09-08 12:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946063104001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18490229346271232,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2094244226041999360,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788851813000,"timestamp_ms":1788851813000,"timestamp_seconds":1788851813,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe07a88"} 
[2026-09-08 12:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 12:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946063104001,"66":14048,"109":206,"83":41984,"24":28,"16":18490229346271232,"45":2094244226041999360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946063104001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:48:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18490229346271232,"km_value":18490229346271.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2094244226041999360,"description":"Unknown IO ID 45"} 
[2026-09-08 12:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946063104001,"power":14048,"unknown_109":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2094244226041999360}} 
[2026-09-08 12:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:48:09] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:48:09] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:48:10] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe0a198012d1d01c0071dfe28005a00cf25..."} 
[2026-09-08 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe0a198012d1d01c0071dfe28005a00cf25..."} 
[2026-09-08 12:48:10] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe0a198012d1d01c0071dfe28005a00cf25..."} 
[2026-09-08 12:48:10] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:48:10] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756875712,"raw_latitude":119406120,"longitude_deg":75.6875712,"latitude_deg":11.940612,"altitude":90,"angle":207,"satellites":37,"speed":31,"hex_longitude":"2d1d01c0","hex_latitude":"071dfe28","is_valid_coordinates":true} 
[2026-09-08 12:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946064128001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18490598713458688,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2092907219901892608,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788851823000,"timestamp_ms":1788851823000,"timestamp_seconds":1788851823,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe0a198"} 
[2026-09-08 12:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 12:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946064128001,"66":13993,"109":206,"83":41984,"24":31,"16":18490598713458688,"45":2092907219901892608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946064128001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:48:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18490598713458688,"km_value":18490598713458.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2092907219901892608,"description":"Unknown IO ID 45"} 
[2026-09-08 12:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946064128001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2092907219901892608}} 
[2026-09-08 12:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:48:10] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:48:10] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:48:27] local.INFO: TCP Data received {"connection_id":177142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe116c8012d3c92c006a35610004300bc2f..."} 
[2026-09-08 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe116c8012d3c92c006a35610004300bc2f..."} 
[2026-09-08 12:48:27] local.INFO: Processing buffer {"connection_id":177142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe116c8012d3c92c006a35610004300bc2f..."} 
[2026-09-08 12:48:27] local.INFO: Packet analysis {"connection_id":177142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:48:27] local.INFO: Extracted packet for processing {"connection_id":177142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:48:27] local.INFO: GPS Element Parsed {"raw_longitude":758944448,"raw_latitude":111367696,"longitude_deg":75.8944448,"latitude_deg":11.1367696,"altitude":67,"angle":188,"satellites":47,"speed":59,"hex_longitude":"2d3c92c0","hex_latitude":"06a35610","is_valid_coordinates":true} 
[2026-09-08 12:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946072832001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366380604736481280,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402674972369092608,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 12:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788851853000,"timestamp_ms":1788851853000,"timestamp_seconds":1788851853,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe116c8"} 
[2026-09-08 12:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946072832001,"66":27800,"45":4366380604736481280,"81":49664,"24":59,"16":402674972369092608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 12:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946072832001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366380604736481280,"description":"Unknown IO ID 45"} 
[2026-09-08 12:48:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402674972369092608,"km_value":402674972369092.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:48:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457946072832001,"power":27800,"unknown_45":4366380604736481280,"unknown_81":49664,"ignition":59,"odometer":null}} 
[2026-09-08 12:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":177142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:48:27] local.INFO: GPS data processed {"connection_id":177142,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:48:27] local.INFO: Acknowledgment sent {"connection_id":177142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:48:41] local.INFO: TCP Data received {"connection_id":174385,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe0bcf0012d1cf980071dea08005f00c224..."} 
[2026-09-08 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe0bcf0012d1cf980071dea08005f00c224..."} 
[2026-09-08 12:48:41] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe0bcf0012d1cf980071dea08005f00c224..."} 
[2026-09-08 12:48:41] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:48:41] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe0"} 
[2026-09-08 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756873600,"raw_latitude":119400968,"longitude_deg":75.68736,"latitude_deg":11.9400968,"altitude":95,"angle":194,"satellites":36,"speed":29,"hex_longitude":"2d1cf980","hex_latitude":"071dea08","is_valid_coordinates":true} 
[2026-09-08 12:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946066688001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18490869296398336,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2090162838877120512,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788851830000,"timestamp_ms":1788851830000,"timestamp_seconds":1788851830,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe0bcf0"} 
[2026-09-08 12:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 12:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946066688001,"66":13678,"109":206,"83":41984,"24":29,"16":18490869296398336,"45":2090162838877120512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946066688001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:48:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18490869296398336,"km_value":18490869296398.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2090162838877120512,"description":"Unknown IO ID 45"} 
[2026-09-08 12:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946066688001,"power":13678,"unknown_109":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2090162838877120512}} 
[2026-09-08 12:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:48:41] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:48:41] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:48:42] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:48:42] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:48:42] local.INFO: IMEI packet received {"connection_id":174386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":174386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:48:47] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:48:47] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:48:47] local.INFO: IMEI packet received {"connection_id":174386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:48:49] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe13220012d3c8d0006a32e98004400bc2e..."} 
[2026-09-08 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe13220012d3c8d0006a32e98004400bc2e..."} 
[2026-09-08 12:48:49] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe13220012d3c8d0006a32e98004400bc2e..."} 
[2026-09-08 12:48:49] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:48:49] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758942976,"raw_latitude":111357592,"longitude_deg":75.8942976,"latitude_deg":11.1357592,"altitude":68,"angle":188,"satellites":46,"speed":56,"hex_longitude":"2d3c8d00","hex_latitude":"06a32e98","is_valid_coordinates":true} 
[2026-09-08 12:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946074368001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364762123618095104,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402675470585298944,"note":"Value kept but may cause issues"} 
[2026-09-08 12:48:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 12:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788851860000,"timestamp_ms":1788851860000,"timestamp_seconds":1788851860,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe13220"} 
[2026-09-08 12:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 12:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:48: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-09-08 12:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946074368001,"66":27876,"45":4364762123618095104,"81":49664,"24":56,"16":402675470585298944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 12:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946074368001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364762123618095104,"description":"Unknown IO ID 45"} 
[2026-09-08 12:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402675470585298944,"km_value":402675470585298.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:48:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457946074368001,"power":27876,"unknown_45":4364762123618095104,"unknown_81":49664,"ignition":56,"odometer":null}} 
[2026-09-08 12:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:48:49] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:48:49] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:49:00] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:00] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:00] local.INFO: IMEI packet received {"connection_id":175716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":175716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:49:01] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:01] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:01] local.INFO: IMEI packet received {"connection_id":175716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":175716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:49:02] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:02] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:02] local.INFO: IMEI packet received {"connection_id":175716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":175716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:49:06] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:06] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:06] local.INFO: IMEI packet received {"connection_id":175716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":175716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:49:07] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe18428012d1d5500071dae700053006c23..."} 
[2026-09-08 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe18428012d1d5500071dae700053006c23..."} 
[2026-09-08 12:49:07] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe18428012d1d5500071dae700053006c23..."} 
[2026-09-08 12:49:07] local.INFO: Packet analysis {"connection_id":175716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:07] local.INFO: Extracted packet for processing {"connection_id":175716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756897024,"raw_latitude":119385712,"longitude_deg":75.6897024,"latitude_deg":11.9385712,"altitude":83,"angle":108,"satellites":35,"speed":21,"hex_longitude":"2d1d5500","hex_latitude":"071dae70","is_valid_coordinates":true} 
[2026-09-08 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946080000001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18492832096452608,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2109795718497615872,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788851881000,"timestamp_ms":1788851881000,"timestamp_seconds":1788851881,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe18428"} 
[2026-09-08 12:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 12:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946080000001,"66":13993,"109":206,"83":41984,"24":21,"16":18492832096452608,"45":2109795718497615872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946080000001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:49:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18492832096452608,"km_value":18492832096452.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2109795718497615872,"description":"Unknown IO ID 45"} 
[2026-09-08 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946080000001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2109795718497615872}} 
[2026-09-08 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":175716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:49:07] local.INFO: GPS data processed {"connection_id":175716,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:49:07] local.INFO: Acknowledgment sent {"connection_id":175716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:49:11] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe18fe0012d1d5a40071dab700056007925..."} 
[2026-09-08 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe18fe0012d1d5a40071dab700056007925..."} 
[2026-09-08 12:49:11] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe18fe0012d1d5a40071dab700056007925..."} 
[2026-09-08 12:49:11] local.INFO: Packet analysis {"connection_id":175716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:11] local.INFO: Extracted packet for processing {"connection_id":175716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756898368,"raw_latitude":119384944,"longitude_deg":75.6898368,"latitude_deg":11.9384944,"altitude":86,"angle":121,"satellites":37,"speed":19,"hex_longitude":"2d1d5a40","hex_latitude":"071dab70","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946081536001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18492905110896640,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2113595630683058176,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788851884000,"timestamp_ms":1788851884000,"timestamp_seconds":1788851884,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe18fe0"} 
[2026-09-08 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-09-08 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 12:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 12:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946081536001,"66":13450,"109":206,"83":41984,"24":19,"16":18492905110896640,"45":2113595630683058176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 12:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946081536001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18492905110896640,"km_value":18492905110896.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2113595630683058176,"description":"Unknown IO ID 45"} 
[2026-09-08 12:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946081536001,"power":13450,"unknown_109":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2113595630683058176}} 
[2026-09-08 12:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":175716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:49:11] local.INFO: GPS data processed {"connection_id":175716,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:49:11] local.INFO: Acknowledgment sent {"connection_id":175716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:49:20] local.INFO: TCP Data received {"connection_id":174386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe14d78012d3c870006a308e0004600bc2f..."} 
[2026-09-08 12:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe14d78012d3c870006a308e0004600bc2f..."} 
[2026-09-08 12:49:20] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe14d78012d3c870006a308e0004600bc2f..."} 
[2026-09-08 12:49:20] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:20] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758941440,"raw_latitude":111347936,"longitude_deg":75.894144,"latitude_deg":11.1347936,"altitude":70,"angle":188,"satellites":47,"speed":54,"hex_longitude":"2d3c8700","hex_latitude":"06a308e0","is_valid_coordinates":true} 
[2026-09-08 12: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-09-08 12:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946076160001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363143642499422208,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402675943031701504,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 12:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788851867000,"timestamp_ms":1788851867000,"timestamp_seconds":1788851867,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe14d78"} 
[2026-09-08 12:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 12:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12: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-09-08 12:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12: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-09-08 12:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946076160001,"66":27767,"45":4363143642499422208,"81":49664,"24":54,"16":402675943031701504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-08 12:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946076160001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363143642499422208,"description":"Unknown IO ID 45"} 
[2026-09-08 12:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402675943031701504,"km_value":402675943031701.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:49:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457946076160001,"power":27767,"unknown_45":4363143642499422208,"unknown_81":49664,"ignition":54,"odometer":null}} 
[2026-09-08 12:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:49:20] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:49:20] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:49:42] local.INFO: TCP Data received {"connection_id":175716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe1d630012d1d7b00071d99e80066007226..."} 
[2026-09-08 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe1d630012d1d7b00071d99e80066007226..."} 
[2026-09-08 12:49:42] local.INFO: Processing buffer {"connection_id":175716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe1d630012d1d7b00071d99e80066007226..."} 
[2026-09-08 12:49:42] local.INFO: Packet analysis {"connection_id":175716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:42] local.INFO: Extracted packet for processing {"connection_id":175716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756906752,"raw_latitude":119380456,"longitude_deg":75.6906752,"latitude_deg":11.9380456,"altitude":102,"angle":114,"satellites":38,"speed":26,"hex_longitude":"2d1d7b00","hex_latitude":"071d99e8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946082304001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18493360377430016,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115073374310592512,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788851902000,"timestamp_ms":1788851902000,"timestamp_seconds":1788851902,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe1d630"} 
[2026-09-08 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-09-08 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 12:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 12:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946082304001,"66":13820,"108":206,"83":41984,"24":26,"16":18493360377430016,"45":2115073374310592512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 12:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946082304001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:49:42] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 12:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18493360377430016,"km_value":18493360377430.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115073374310592512,"description":"Unknown IO ID 45"} 
[2026-09-08 12:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946082304001,"power":13820,"unknown_108":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2115073374310592512}} 
[2026-09-08 12:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":175716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:49:42] local.INFO: GPS data processed {"connection_id":175716,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:49:42] local.INFO: Acknowledgment sent {"connection_id":175716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:49:47] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:47] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:47] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:49:48] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:48] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:48] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:49:49] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:49:49] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:49:49] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:49:52] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:52] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:49:52] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:49:53] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe168d0012d3c814006a2e530004900ba30..."} 
[2026-09-08 12:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe168d0012d3c814006a2e530004900ba30..."} 
[2026-09-08 12:49:53] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe168d0012d3c814006a2e530004900ba30..."} 
[2026-09-08 12:49:53] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:53] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe1"} 
[2026-09-08 12:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758939968,"raw_latitude":111338800,"longitude_deg":75.8939968,"latitude_deg":11.13388,"altitude":73,"angle":186,"satellites":48,"speed":50,"hex_longitude":"2d3c8140","hex_latitude":"06a2e530","is_valid_coordinates":true} 
[2026-09-08 12:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946077952001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402676389708300288,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361454792636686336,"note":"Value kept but may cause issues"} 
[2026-09-08 12:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788851874000,"timestamp_ms":1788851874000,"timestamp_seconds":1788851874,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe168d0"} 
[2026-09-08 12:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 12:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:49: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-09-08 12:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946077952001,"66":27876,"44":206,"81":49664,"24":50,"16":402676389708300288,"45":4361454792636686336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-08 12:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946077952001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 12:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-08 12:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402676389708300288,"km_value":402676389708300.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361454792636686336,"description":"Unknown IO ID 45"} 
[2026-09-08 12:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946077952001,"power":27876,"unknown_44":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4361454792636686336}} 
[2026-09-08 12:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:49:53] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:49:53] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:49:59] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:59] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:49:59] local.INFO: IMEI packet received {"connection_id":175718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":175718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:50:01] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:01] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:01] local.INFO: IMEI packet received {"connection_id":175718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":175718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:50:02] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:02] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:02] local.INFO: IMEI packet received {"connection_id":175718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":175718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:50:05] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:05] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:50:05] local.INFO: IMEI packet received {"connection_id":175718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":175718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:50:06] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe2bca8012d1e6280071dabd00056005b26..."} 
[2026-09-08 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe2bca8012d1e6280071dabd00056005b26..."} 
[2026-09-08 12:50:06] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe2bca8012d1e6280071dabd00056005b26..."} 
[2026-09-08 12:50:06] local.INFO: Packet analysis {"connection_id":175718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:06] local.INFO: Extracted packet for processing {"connection_id":175718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756966016,"raw_latitude":119385040,"longitude_deg":75.6966016,"latitude_deg":11.938504,"altitude":86,"angle":91,"satellites":38,"speed":43,"hex_longitude":"2d1e6280","hex_latitude":"071dabd0","is_valid_coordinates":true} 
[2026-09-08 12:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946099968001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18496255185387520,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179390406488784896,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788851961000,"timestamp_ms":1788851961000,"timestamp_seconds":1788851961,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe2bca8"} 
[2026-09-08 12:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 12:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946099968001,"66":13472,"108":206,"83":41984,"24":43,"16":18496255185387520,"45":2179390406488784896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 12:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946099968001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:50:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 12:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18496255185387520,"km_value":18496255185387.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2179390406488784896,"description":"Unknown IO ID 45"} 
[2026-09-08 12:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946099968001,"power":13472,"unknown_108":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":2179390406488784896}} 
[2026-09-08 12:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":175718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:50:06] local.INFO: GPS data processed {"connection_id":175718,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:50:06] local.INFO: Acknowledgment sent {"connection_id":175718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:50:24] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe2dfd0012d3c8e0006a10c48003300c430..."} 
[2026-09-08 12:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe2dfd0012d3c8e0006a10c48003300c430..."} 
[2026-09-08 12:50:24] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe2dfd0012d3c8e0006a10c48003300c430..."} 
[2026-09-08 12:50:24] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:24] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758943232,"raw_latitude":111217736,"longitude_deg":75.8943232,"latitude_deg":11.1217736,"altitude":51,"angle":196,"satellites":48,"speed":56,"hex_longitude":"2d3c8e00","hex_latitude":"06a10c48","is_valid_coordinates":true} 
[2026-09-08 12:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946102528001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402682364007809024,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366802817163253760,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788851970000,"timestamp_ms":1788851970000,"timestamp_seconds":1788851970,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe2dfd0"} 
[2026-09-08 12:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 12:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946102528001,"66":27876,"220":206,"81":47616,"24":56,"16":402682364007809024,"45":4366802817163253760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-08 12:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946102528001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:50:24] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 12:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402682364007809024,"km_value":402682364007809.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366802817163253760,"description":"Unknown IO ID 45"} 
[2026-09-08 12:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946102528001,"power":27876,"unknown_220":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4366802817163253760}} 
[2026-09-08 12:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:50:24] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:50:24] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:50:37] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe2c478012d1e6ac0071daa700054006626..."} 
[2026-09-08 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe2c478012d1e6ac0071daa700054006626..."} 
[2026-09-08 12:50:37] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe2c478012d1e6ac0071daa700054006626..."} 
[2026-09-08 12:50:37] local.INFO: Packet analysis {"connection_id":175718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:37] local.INFO: Extracted packet for processing {"connection_id":175718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756968128,"raw_latitude":119384688,"longitude_deg":75.6968128,"latitude_deg":11.9384688,"altitude":84,"angle":102,"satellites":38,"speed":42,"hex_longitude":"2d1e6ac0","hex_latitude":"071daa70","is_valid_coordinates":true} 
[2026-09-08 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946102016001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18496358264602624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189453136906407936,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788851963000,"timestamp_ms":1788851963000,"timestamp_seconds":1788851963,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe2c478"} 
[2026-09-08 12:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 12:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946102016001,"66":14265,"108":206,"83":41984,"24":42,"16":18496358264602624,"45":2189453136906407936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 12:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946102016001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:50:37] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 12:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18496358264602624,"km_value":18496358264602.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2189453136906407936,"description":"Unknown IO ID 45"} 
[2026-09-08 12:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946102016001,"power":14265,"unknown_108":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":2189453136906407936}} 
[2026-09-08 12:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":175718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:50:37] local.INFO: GPS data processed {"connection_id":175718,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:50:37] local.INFO: Acknowledgment sent {"connection_id":175718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:50:47] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:50:47] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:50:47] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:50:51] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:50:51] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:50:51] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:50:52] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe2fb28012d3c824006a0e788002f00c531..."} 
[2026-09-08 12:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe2fb28012d3c824006a0e788002f00c531..."} 
[2026-09-08 12:50:52] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe2fb28012d3c824006a0e788002f00c531..."} 
[2026-09-08 12:50:52] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:52] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe2"} 
[2026-09-08 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758940224,"raw_latitude":111208328,"longitude_deg":75.8940224,"latitude_deg":11.1208328,"altitude":47,"angle":197,"satellites":49,"speed":56,"hex_longitude":"2d3c8240","hex_latitude":"06a0e788","is_valid_coordinates":true} 
[2026-09-08 12:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946104320001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402682845044146176,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363425117440329728,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788851977000,"timestamp_ms":1788851977000,"timestamp_seconds":1788851977,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe2fb28"} 
[2026-09-08 12:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 12:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:50: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-09-08 12:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946104320001,"66":27713,"220":206,"81":47616,"24":56,"16":402682845044146176,"45":4363425117440329728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-08 12:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946104320001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:50:52] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 12:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402682845044146176,"km_value":402682845044146.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363425117440329728,"description":"Unknown IO ID 45"} 
[2026-09-08 12:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946104320001,"power":27713,"unknown_220":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4363425117440329728}} 
[2026-09-08 12:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:50:52] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:50:52] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:50:53] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe31680012d3c764006a0c2f8002d00c530..."} 
[2026-09-08 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe31680012d3c764006a0c2f8002d00c530..."} 
[2026-09-08 12:50:53] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe31680012d3c764006a0c2f8002d00c530..."} 
[2026-09-08 12:50:53] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:50:53] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758937152,"raw_latitude":111198968,"longitude_deg":75.8937152,"latitude_deg":11.1198968,"altitude":45,"angle":197,"satellites":48,"speed":55,"hex_longitude":"2d3c7640","hex_latitude":"06a0c2f8","is_valid_coordinates":true} 
[2026-09-08 12:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946106112001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402683317490548736,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360117786461571072,"note":"Value kept but may cause issues"} 
[2026-09-08 12:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788851984000,"timestamp_ms":1788851984000,"timestamp_seconds":1788851984,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe31680"} 
[2026-09-08 12:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 12:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:50: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-09-08 12:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946106112001,"66":27919,"220":206,"81":47616,"24":55,"16":402683317490548736,"45":4360117786461571072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-08 12:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946106112001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:50:53] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 12:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402683317490548736,"km_value":402683317490548.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360117786461571072,"description":"Unknown IO ID 45"} 
[2026-09-08 12:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946106112001,"power":27919,"unknown_220":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4360117786461571072}} 
[2026-09-08 12:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:50:53] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:50:53] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:51:01] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:51:01] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:51:01] local.INFO: IMEI packet received {"connection_id":174639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":174639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:51:04] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:51:04] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:51:04] local.INFO: IMEI packet received {"connection_id":174639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":174639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:51:05] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe37058012d1ef900071dbd90004a006027..."} 
[2026-09-08 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe37058012d1ef900071dbd90004a006027..."} 
[2026-09-08 12:51:05] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe37058012d1ef900071dbd90004a006027..."} 
[2026-09-08 12:51:05] local.INFO: Packet analysis {"connection_id":174639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:05] local.INFO: Extracted packet for processing {"connection_id":174639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":757004544,"raw_latitude":119389584,"longitude_deg":75.7004544,"latitude_deg":11.9389584,"altitude":74,"angle":96,"satellites":39,"speed":34,"hex_longitude":"2d1ef900","hex_latitude":"071dbd90","is_valid_coordinates":true} 
[2026-09-08 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946111744001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18498175035768832,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2224004190298607616,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788852007000,"timestamp_ms":1788852007000,"timestamp_seconds":1788852007,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe37058"} 
[2026-09-08 12:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 12:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946111744001,"66":13993,"108":206,"83":41984,"24":34,"16":18498175035768832,"45":2224004190298607616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 12:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946111744001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:51:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 12:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18498175035768832,"km_value":18498175035768.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2224004190298607616,"description":"Unknown IO ID 45"} 
[2026-09-08 12:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946111744001,"power":13993,"unknown_108":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2224004190298607616}} 
[2026-09-08 12:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":174639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:51:05] local.INFO: GPS data processed {"connection_id":174639,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:51:05] local.INFO: Acknowledgment sent {"connection_id":174639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:51:24] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe331d8012d3c6b0006a0a030002b00c532..."} 
[2026-09-08 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe331d8012d3c6b0006a0a030002b00c532..."} 
[2026-09-08 12:51:24] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe331d8012d3c6b0006a0a030002b00c532..."} 
[2026-09-08 12:51:24] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:24] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758934272,"raw_latitude":111190064,"longitude_deg":75.8934272,"latitude_deg":11.1190064,"altitude":43,"angle":197,"satellites":50,"speed":52,"hex_longitude":"2d3c6b00","hex_latitude":"06a0a030","is_valid_coordinates":true} 
[2026-09-08 12:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946107904001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402683772757082112,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4356740086738647040,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788851991000,"timestamp_ms":1788851991000,"timestamp_seconds":1788851991,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe331d8"} 
[2026-09-08 12:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 12:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946107904001,"66":27919,"220":206,"81":47616,"24":52,"16":402683772757082112,"45":4356740086738647040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-08 12:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946107904001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402683772757082112,"km_value":402683772757082.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4356740086738647040,"description":"Unknown IO ID 45"} 
[2026-09-08 12:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946107904001,"power":27919,"unknown_220":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4356740086738647040}} 
[2026-09-08 12:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:51:24] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:51:24] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:51:36] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe37ff8012d1f0380071dbb98004a006b29..."} 
[2026-09-08 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe37ff8012d1f0380071dbb98004a006b29..."} 
[2026-09-08 12:51:36] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe37ff8012d1f0380071dbb98004a006b29..."} 
[2026-09-08 12:51:36] local.INFO: Packet analysis {"connection_id":174639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:36] local.INFO: Extracted packet for processing {"connection_id":174639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":757007232,"raw_latitude":119389080,"longitude_deg":75.7007232,"latitude_deg":11.938908,"altitude":74,"angle":107,"satellites":41,"speed":22,"hex_longitude":"2d1f0380","hex_latitude":"071dbb98","is_valid_coordinates":true} 
[2026-09-08 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946113792001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18498303884787712,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2231815120902524928,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788852011000,"timestamp_ms":1788852011000,"timestamp_seconds":1788852011,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe37ff8"} 
[2026-09-08 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946113792001,"66":13993,"108":206,"83":41984,"24":22,"16":18498303884787712,"45":2231815120902524928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946113792001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:51:36] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 12:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18498303884787712,"km_value":18498303884787.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2231815120902524928,"description":"Unknown IO ID 45"} 
[2026-09-08 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946113792001,"power":13993,"unknown_108":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2231815120902524928}} 
[2026-09-08 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":174639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:51:36] local.INFO: GPS data processed {"connection_id":174639,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:51:36] local.INFO: Acknowledgment sent {"connection_id":174639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:51:45] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:45] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:45] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:51:46] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:46] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:46] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:51:52] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:53] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:51:53] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:51:53] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe34d30012d3c5f8006a07ec0002d00c630..."} 
[2026-09-08 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe34d30012d3c5f8006a07ec0002d00c630..."} 
[2026-09-08 12:51:53] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe34d30012d3c5f8006a07ec0002d00c630..."} 
[2026-09-08 12:51:53] local.INFO: Packet analysis {"connection_id":175719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:53] local.INFO: Extracted packet for processing {"connection_id":175719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe3"} 
[2026-09-08 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758931328,"raw_latitude":111181504,"longitude_deg":75.8931328,"latitude_deg":11.1181504,"altitude":45,"angle":198,"satellites":48,"speed":49,"hex_longitude":"2d3c5f80","hex_latitude":"06a07ec0","is_valid_coordinates":true} 
[2026-09-08 12:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946109696001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402684210843746304,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4353573493248372736,"note":"Value kept but may cause issues"} 
[2026-09-08 12:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788851998000,"timestamp_ms":1788851998000,"timestamp_seconds":1788851998,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe34d30"} 
[2026-09-08 12:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 12:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:51: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-09-08 12:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946109696001,"66":27930,"107":206,"81":47616,"24":49,"16":402684210843746304,"45":4353573493248372736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-09-08 12:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946109696001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:51:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 12:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402684210843746304,"km_value":402684210843746.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4353573493248372736,"description":"Unknown IO ID 45"} 
[2026-09-08 12:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946109696001,"power":27930,"unknown_107":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4353573493248372736}} 
[2026-09-08 12:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":175719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:51:53] local.INFO: GPS data processed {"connection_id":175719,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:51:53] local.INFO: Acknowledgment sent {"connection_id":175719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:52:02] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:02] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:02] local.INFO: IMEI packet received {"connection_id":177144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":177144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:52:03] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:03] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:03] local.INFO: IMEI packet received {"connection_id":177144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":177144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:52:06] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:06] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:52:06] local.INFO: IMEI packet received {"connection_id":177144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":177144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:52:07] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe47de0012d1fa880071da3f0004900652a..."} 
[2026-09-08 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe47de0012d1fa880071da3f0004900652a..."} 
[2026-09-08 12:52:07] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe47de0012d1fa880071da3f0004900652a..."} 
[2026-09-08 12:52:07] local.INFO: Packet analysis {"connection_id":177144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:52:07] local.INFO: Extracted packet for processing {"connection_id":177144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":757049472,"raw_latitude":119383024,"longitude_deg":75.7049472,"latitude_deg":11.9383024,"altitude":73,"angle":101,"satellites":42,"speed":32,"hex_longitude":"2d1fa880","hex_latitude":"071da3f0","is_valid_coordinates":true} 
[2026-09-08 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946131200001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18500404123795456,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2280299185639301120,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788852076000,"timestamp_ms":1788852076000,"timestamp_seconds":1788852076,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe47de0"} 
[2026-09-08 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946131200001,"66":13450,"10":206,"83":41984,"24":32,"16":18500404123795456,"45":2280299185639301120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-08 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946131200001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18500404123795456,"km_value":18500404123795.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2280299185639301120,"description":"Unknown IO ID 45"} 
[2026-09-08 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946131200001,"power":13450,"unknown_10":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2280299185639301120}} 
[2026-09-08 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":177144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:52:07] local.INFO: GPS data processed {"connection_id":177144,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:52:07] local.INFO: Acknowledgment sent {"connection_id":177144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:52:38] local.INFO: TCP Data received {"connection_id":177144,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe49168012d1fb940071da1200049007029..."} 
[2026-09-08 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe49168012d1fb940071da1200049007029..."} 
[2026-09-08 12:52:38] local.INFO: Processing buffer {"connection_id":177144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe49168012d1fb940071da1200049007029..."} 
[2026-09-08 12:52:38] local.INFO: Packet analysis {"connection_id":177144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:52:38] local.INFO: Extracted packet for processing {"connection_id":177144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":757053760,"raw_latitude":119382304,"longitude_deg":75.705376,"latitude_deg":11.9382304,"altitude":73,"angle":112,"satellites":41,"speed":34,"hex_longitude":"2d1fb940","hex_latitude":"071da120","is_valid_coordinates":true} 
[2026-09-08 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946131456001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18500614577192960,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2281213979313565696,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788852081000,"timestamp_ms":1788852081000,"timestamp_seconds":1788852081,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe49168"} 
[2026-09-08 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 12:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946131456001,"66":14363,"10":206,"83":41984,"24":34,"16":18500614577192960,"45":2281213979313565696},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-08 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946131456001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18500614577192960,"km_value":18500614577192.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2281213979313565696,"description":"Unknown IO ID 45"} 
[2026-09-08 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946131456001,"power":14363,"unknown_10":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2281213979313565696}} 
[2026-09-08 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":177144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:52:38] local.INFO: GPS data processed {"connection_id":177144,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:52:38] local.INFO: Acknowledgment sent {"connection_id":177144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:52:41] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:52:41] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:52:41] local.INFO: IMEI packet received {"connection_id":175720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":175720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:52:46] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:52:46] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:52:46] local.INFO: IMEI packet received {"connection_id":175720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":175720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:52:47] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe4c818012d3be940069f2620004400af32..."} 
[2026-09-08 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe4c818012d3be940069f2620004400af32..."} 
[2026-09-08 12:52:47] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe4c818012d3be940069f2620004400af32..."} 
[2026-09-08 12:52:47] local.INFO: Packet analysis {"connection_id":175720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:52:47] local.INFO: Extracted packet for processing {"connection_id":175720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758901056,"raw_latitude":111093280,"longitude_deg":75.8901056,"latitude_deg":11.109328,"altitude":68,"angle":175,"satellites":50,"speed":43,"hex_longitude":"2d3be940","hex_latitude":"069f2620","is_valid_coordinates":true} 
[2026-09-08 12:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946134016001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402688832228556800,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4316841008765327360,"note":"Value kept but may cause issues"} 
[2026-09-08 12:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788852095000,"timestamp_ms":1788852095000,"timestamp_seconds":1788852095,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe4c818"} 
[2026-09-08 12:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 12:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946134016001,"66":27876,"35":206,"81":47616,"24":43,"16":402688832228556800,"45":4316841008765327360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-08 12:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946134016001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:52:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-08 12:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402688832228556800,"km_value":402688832228556.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4316841008765327360,"description":"Unknown IO ID 45"} 
[2026-09-08 12:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946134016001,"power":27876,"unknown_35":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4316841008765327360}} 
[2026-09-08 12:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":175720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:52:47] local.INFO: GPS data processed {"connection_id":175720,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:52:47] local.INFO: Acknowledgment sent {"connection_id":175720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:53:00] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:00] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:00] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:53:01] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:01] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:01] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:53:02] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:02] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:02] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:53:04] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:04] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:53:04] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:53:19] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe4eb40012d3bef40069f0048004300a734..."} 
[2026-09-08 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe4eb40012d3bef40069f0048004300a734..."} 
[2026-09-08 12:53:19] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe4eb40012d3bef40069f0048004300a734..."} 
[2026-09-08 12:53:19] local.INFO: Packet analysis {"connection_id":175720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:53:19] local.INFO: Extracted packet for processing {"connection_id":175720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe4"} 
[2026-09-08 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758902592,"raw_latitude":111083592,"longitude_deg":75.8902592,"latitude_deg":11.1083592,"altitude":67,"angle":167,"satellites":52,"speed":42,"hex_longitude":"2d3bef40","hex_latitude":"069f0048","is_valid_coordinates":true} 
[2026-09-08 12:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946136320001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402689308969926656,"note":"Value kept but may cause issues"} 
[2026-09-08 12:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4317052114995388416,"note":"Value kept but may cause issues"} 
[2026-09-08 12:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788852104000,"timestamp_ms":1788852104000,"timestamp_seconds":1788852104,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe4eb40"} 
[2026-09-08 12:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 12:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:53: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-09-08 12:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946136320001,"66":27865,"35":206,"81":47616,"24":42,"16":402689308969926656,"45":4317052114995388416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-08 12:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946136320001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:53:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-08 12:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402689308969926656,"km_value":402689308969926.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4317052114995388416,"description":"Unknown IO ID 45"} 
[2026-09-08 12:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946136320001,"power":27865,"unknown_35":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4317052114995388416}} 
[2026-09-08 12:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":175720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:53:19] local.INFO: GPS data processed {"connection_id":175720,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:53:19] local.INFO: Acknowledgment sent {"connection_id":175720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:53:49] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:53:49] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:53:49] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:54:04] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:54:04] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:54:04] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:54:05] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:54:05] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 12:54:05] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:55:24] local.INFO: TCP Data received {"connection_id":175721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:55:24] local.INFO: Processing buffer {"connection_id":175721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:55:24] local.INFO: IMEI packet received {"connection_id":175721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":175721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:55:44] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:55:44] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 12:55:44] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 12:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:58:06] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:58:06] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:58:06] local.INFO: IMEI packet received {"connection_id":174646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":174646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:58:07] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe9d8f8012d232b00071a75100057007929..."} 
[2026-09-08 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe9d8f8012d232b00071a75100057007929..."} 
[2026-09-08 12:58:07] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe9d8f8012d232b00071a75100057007929..."} 
[2026-09-08 12:58:07] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe9"} 
[2026-09-08 12:58:07] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe9"} 
[2026-09-08 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":757279488,"raw_latitude":119174416,"longitude_deg":75.7279488,"latitude_deg":11.9174416,"altitude":87,"angle":121,"satellites":41,"speed":45,"hex_longitude":"2d232b00","hex_latitude":"071a7510","is_valid_coordinates":true} 
[2026-09-08 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946220800001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18517175971086336,"note":"Value kept but may cause issues"} 
[2026-09-08 12:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2531937814765488128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788852427000,"timestamp_ms":1788852427000,"timestamp_seconds":1788852427,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe9d8f8"} 
[2026-09-08 12:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 12:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946220800001,"66":14428,"137":206,"94":10752,"24":45,"16":18517175971086336,"45":2531937814765488128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 12:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946220800001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 12:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18517175971086336,"km_value":18517175971086.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2531937814765488128,"description":"Unknown IO ID 45"} 
[2026-09-08 12:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946220800001,"power":14428,"unknown_137":206,"unknown_94":10752,"ignition":45,"odometer":null,"unknown_45":2531937814765488128}} 
[2026-09-08 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:58:07] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:58:07] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:58:38] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fe9e0c8012d233480071a72780056006c28..."} 
[2026-09-08 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fe9e0c8012d233480071a72780056006c28..."} 
[2026-09-08 12:58:38] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fe9e0c8012d233480071a72780056006c28..."} 
[2026-09-08 12:58:38] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fe9"} 
[2026-09-08 12:58:38] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fe9"} 
[2026-09-08 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":757281920,"raw_latitude":119173752,"longitude_deg":75.728192,"latitude_deg":11.9173752,"altitude":86,"angle":108,"satellites":40,"speed":49,"hex_longitude":"2d233480","hex_latitude":"071a7278","is_valid_coordinates":true} 
[2026-09-08 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946221312001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18517296230170624,"note":"Value kept but may cause issues"} 
[2026-09-08 12:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2534119245834686464,"note":"Value kept but may cause issues"} 
[2026-09-08 12:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788852429000,"timestamp_ms":1788852429000,"timestamp_seconds":1788852429,"priority":1,"record_length":96,"hex_timestamp":"000001a07fe9e0c8"} 
[2026-09-08 12:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 12:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946221312001,"66":14396,"137":206,"94":10752,"24":49,"16":18517296230170624,"45":2534119245834686464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 12:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946221312001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:58:38] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 12:58:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 12:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18517296230170624,"km_value":18517296230170.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2534119245834686464,"description":"Unknown IO ID 45"} 
[2026-09-08 12:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946221312001,"power":14396,"unknown_137":206,"unknown_94":10752,"ignition":49,"odometer":null,"unknown_45":2534119245834686464}} 
[2026-09-08 12:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:58:38] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:58:38] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:59:02] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:02] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:02] local.INFO: IMEI packet received {"connection_id":175724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 12:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":175724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:59:02] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:02] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:02] local.INFO: IMEI packet received {"connection_id":175724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":175724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:59:07] local.INFO: TCP Data received {"connection_id":177151,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:07] local.INFO: Processing buffer {"connection_id":177151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:07] local.INFO: IMEI packet received {"connection_id":177151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":177151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:59:07] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:07] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 12:59:07] local.INFO: IMEI packet received {"connection_id":175724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 12:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":175724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:59:08] local.INFO: TCP Data received {"connection_id":177151,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07feab3b8012d3fa880069954c00019004835..."} 
[2026-09-08 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feab3b8012d3fa880069954c00019004835..."} 
[2026-09-08 12:59:08] local.INFO: Processing buffer {"connection_id":177151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feab3b8012d3fa880069954c00019004835..."} 
[2026-09-08 12:59:08] local.INFO: Packet analysis {"connection_id":177151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fea"} 
[2026-09-08 12:59:08] local.INFO: Extracted packet for processing {"connection_id":177151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fea"} 
[2026-09-08 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":759146624,"raw_latitude":110712000,"longitude_deg":75.9146624,"latitude_deg":11.0712,"altitude":25,"angle":72,"satellites":53,"speed":59,"hex_longitude":"2d3fa880","hex_latitude":"069954c0","is_valid_coordinates":true} 
[2026-09-08 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946234112001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402714142470832128,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4577697943331033088,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788852483000,"timestamp_ms":1788852483000,"timestamp_seconds":1788852483,"priority":1,"record_length":96,"hex_timestamp":"000001a07feab3b8"} 
[2026-09-08 12:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 12:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946234112001,"66":27713,"73":206,"81":47616,"24":59,"16":402714142470832128,"45":4577697943331033088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-08 12:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946234112001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:59:08] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-08 12:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402714142470832128,"km_value":402714142470832.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4577697943331033088,"description":"Unknown IO ID 45"} 
[2026-09-08 12:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946234112001,"power":27713,"unknown_73":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4577697943331033088}} 
[2026-09-08 12:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":177151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:59:08] local.INFO: GPS data processed {"connection_id":177151,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:59:08] local.INFO: Acknowledgment sent {"connection_id":177151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:59:10] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feae298012d238800071958300041009e2a..."} 
[2026-09-08 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feae298012d238800071958300041009e2a..."} 
[2026-09-08 12:59:10] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feae298012d238800071958300041009e2a..."} 
[2026-09-08 12:59:10] local.INFO: Packet analysis {"connection_id":175724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fea"} 
[2026-09-08 12:59:10] local.INFO: Extracted packet for processing {"connection_id":175724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fea"} 
[2026-09-08 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":757303296,"raw_latitude":119101488,"longitude_deg":75.7303296,"latitude_deg":11.9101488,"altitude":65,"angle":158,"satellites":42,"speed":50,"hex_longitude":"2d238800","hex_latitude":"07195830","is_valid_coordinates":true} 
[2026-09-08 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946236672001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18521196060475392,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2556777981443557376,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788852495000,"timestamp_ms":1788852495000,"timestamp_seconds":1788852495,"priority":1,"record_length":96,"hex_timestamp":"000001a07feae298"} 
[2026-09-08 12:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 12:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946236672001,"66":14428,"139":206,"94":10752,"24":50,"16":18521196060475392,"45":2556777981443557376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946236672001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18521196060475392,"km_value":18521196060475.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2556777981443557376,"description":"Unknown IO ID 45"} 
[2026-09-08 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946236672001,"power":14428,"unknown_139":206,"unknown_94":10752,"ignition":50,"odometer":null,"unknown_45":2556777981443557376}} 
[2026-09-08 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":175724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:59:10] local.INFO: GPS data processed {"connection_id":175724,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:59:10] local.INFO: Acknowledgment sent {"connection_id":175724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:59:11] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feb01d8012d2395c0071934980043009f27..."} 
[2026-09-08 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feb01d8012d2395c0071934980043009f27..."} 
[2026-09-08 12:59:12] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feb01d8012d2395c0071934980043009f27..."} 
[2026-09-08 12:59:12] local.INFO: Packet analysis {"connection_id":175724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:12] local.INFO: Extracted packet for processing {"connection_id":175724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":757306816,"raw_latitude":119092376,"longitude_deg":75.7306816,"latitude_deg":11.9092376,"altitude":67,"angle":159,"satellites":39,"speed":47,"hex_longitude":"2d2395c0","hex_latitude":"07193498","is_valid_coordinates":true} 
[2026-09-08 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946238720001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18521668506877952,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2560296418650107904,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788852503000,"timestamp_ms":1788852503000,"timestamp_seconds":1788852503,"priority":1,"record_length":96,"hex_timestamp":"000001a07feb01d8"} 
[2026-09-08 12:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 12:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946238720001,"66":13798,"139":206,"94":10752,"24":47,"16":18521668506877952,"45":2560296418650107904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 12:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946238720001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 12:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18521668506877952,"km_value":18521668506877.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2560296418650107904,"description":"Unknown IO ID 45"} 
[2026-09-08 12:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946238720001,"power":13798,"unknown_139":206,"unknown_94":10752,"ignition":47,"odometer":null,"unknown_45":2560296418650107904}} 
[2026-09-08 12:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":175724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:59:12] local.INFO: GPS data processed {"connection_id":175724,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:59:12] local.INFO: Acknowledgment sent {"connection_id":175724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:59:43] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feb9648012d23a2000718b388005400c527..."} 
[2026-09-08 12:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feb9648012d23a2000718b388005400c527..."} 
[2026-09-08 12:59:43] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feb9648012d23a2000718b388005400c527..."} 
[2026-09-08 12:59:43] local.INFO: Packet analysis {"connection_id":175724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:43] local.INFO: Extracted packet for processing {"connection_id":175724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:43] local.INFO: GPS Element Parsed {"raw_longitude":757309952,"raw_latitude":119059336,"longitude_deg":75.7309952,"latitude_deg":11.9059336,"altitude":84,"angle":197,"satellites":39,"speed":34,"hex_longitude":"2d23a200","hex_latitude":"0718b388","is_valid_coordinates":true} 
[2026-09-08 12:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946248704001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18523395083730944,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567333293058598912,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788852541000,"timestamp_ms":1788852541000,"timestamp_seconds":1788852541,"priority":1,"record_length":96,"hex_timestamp":"000001a07feb9648"} 
[2026-09-08 12:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 12:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 12:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 12:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 12:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946248704001,"66":13972,"139":206,"94":10752,"24":34,"16":18523395083730944,"45":2567333293058598912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 12:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 12:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 12:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946248704001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:59:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 12:59:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 12:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18523395083730944,"km_value":18523395083730.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567333293058598912,"description":"Unknown IO ID 45"} 
[2026-09-08 12:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946248704001,"power":13972,"unknown_139":206,"unknown_94":10752,"ignition":34,"odometer":null,"unknown_45":2567333293058598912}} 
[2026-09-08 12:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":175724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:59:43] local.INFO: GPS data processed {"connection_id":175724,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:59:43] local.INFO: Acknowledgment sent {"connection_id":175724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:59:47] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:47] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:47] local.INFO: IMEI packet received {"connection_id":175725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 12:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":175725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 12:59:48] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:48] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 12:59:48] local.INFO: IMEI packet received {"connection_id":175725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 12:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":175725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 12:59:49] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07feb86a8012d40b8c00698e6280023007c34..."} 
[2026-09-08 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feb86a8012d40b8c00698e6280023007c34..."} 
[2026-09-08 12:59:49] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feb86a8012d40b8c00698e6280023007c34..."} 
[2026-09-08 12:59:49] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:49] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:49] local.INFO: GPS Element Parsed {"raw_longitude":759216320,"raw_latitude":110683688,"longitude_deg":75.921632,"latitude_deg":11.0683688,"altitude":35,"angle":124,"satellites":52,"speed":55,"hex_longitude":"2d40b8c0","hex_latitude":"0698e628","is_valid_coordinates":true} 
[2026-09-08 12:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946247680001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402717917747085312,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4654962824433164288,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788852537000,"timestamp_ms":1788852537000,"timestamp_seconds":1788852537,"priority":1,"record_length":96,"hex_timestamp":"000001a07feb86a8"} 
[2026-09-08 12:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 12:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:59: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-09-08 12:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946247680001,"66":27995,"72":206,"81":47616,"24":55,"16":402717917747085312,"45":4654962824433164288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-08 12:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946247680001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:59:49] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-08 12:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402717917747085312,"km_value":402717917747085.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4654962824433164288,"description":"Unknown IO ID 45"} 
[2026-09-08 12:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946247680001,"power":27995,"unknown_72":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4654962824433164288}} 
[2026-09-08 12:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:59:49] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:59:49] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 12:59:52] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07feba200012d40d9800698d0c00024007a33..."} 
[2026-09-08 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feba200012d40d9800698d0c00024007a33..."} 
[2026-09-08 12:59:52] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feba200012d40d9800698d0c00024007a33..."} 
[2026-09-08 12:59:52] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:52] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 12:59:52] local.INFO: GPS Element Parsed {"raw_longitude":759224704,"raw_latitude":110678208,"longitude_deg":75.9224704,"latitude_deg":11.0678208,"altitude":36,"angle":122,"satellites":51,"speed":56,"hex_longitude":"2d40d980","hex_latitude":"0698d0c0","is_valid_coordinates":true} 
[2026-09-08 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 12:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946249472001,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402718394488455168,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4663688548709705728,"note":"Value kept but may cause issues"} 
[2026-09-08 12:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 12:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788852544000,"timestamp_ms":1788852544000,"timestamp_seconds":1788852544,"priority":1,"record_length":96,"hex_timestamp":"000001a07feba200"} 
[2026-09-08 12:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 12:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 12:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 12:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 12:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 12:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 12:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 12:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 12:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 12:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 12:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 12:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 12:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946249472001,"66":28006,"72":206,"81":47616,"24":56,"16":402718394488455168,"45":4663688548709705728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-08 12:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 12:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 12:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946249472001,"description":"Unknown IO ID 0"} 
[2026-09-08 12:59:52] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-08 12:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 12:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402718394488455168,"km_value":402718394488455.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 12:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4663688548709705728,"description":"Unknown IO ID 45"} 
[2026-09-08 12:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946249472001,"power":28006,"unknown_72":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4663688548709705728}} 
[2026-09-08 12:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 12:59:52] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-08 12:59:52] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:00:00] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:00] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:00] local.INFO: IMEI packet received {"connection_id":177152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":177152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:00:01] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:01] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:01] local.INFO: IMEI packet received {"connection_id":177152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":177152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:00:04] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:04] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:04] local.INFO: IMEI packet received {"connection_id":177152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":177152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:00:06] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:06] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:00:06] local.INFO: IMEI packet received {"connection_id":177152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":177152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:00:08] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feb9a30012d23a0400718b0c8005300d326..."} 
[2026-09-08 13:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feb9a30012d23a0400718b0c8005300d326..."} 
[2026-09-08 13:00:08] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feb9a30012d23a0400718b0c8005300d326..."} 
[2026-09-08 13:00:08] local.INFO: Packet analysis {"connection_id":177152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:08] local.INFO: Extracted packet for processing {"connection_id":177152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:08] local.INFO: GPS Element Parsed {"raw_longitude":757309504,"raw_latitude":119058632,"longitude_deg":75.7309504,"latitude_deg":11.9058632,"altitude":83,"angle":211,"satellites":38,"speed":32,"hex_longitude":"2d23a040","hex_latitude":"0718b0c8","is_valid_coordinates":true} 
[2026-09-08 13:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946250496001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18523438033403904,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567614768033794048,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788852542000,"timestamp_ms":1788852542000,"timestamp_seconds":1788852542,"priority":1,"record_length":96,"hex_timestamp":"000001a07feb9a30"} 
[2026-09-08 13:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 13:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946250496001,"66":14004,"139":206,"94":10752,"24":32,"16":18523438033403904,"45":2567614768033794048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946250496001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:00:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:00:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18523438033403904,"km_value":18523438033403.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567614768033794048,"description":"Unknown IO ID 45"} 
[2026-09-08 13:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946250496001,"power":14004,"unknown_139":206,"unknown_94":10752,"ignition":32,"odometer":null,"unknown_45":2567614768033794048}} 
[2026-09-08 13:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":177152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:00:08] local.INFO: GPS data processed {"connection_id":177152,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:00:08] local.INFO: Acknowledgment sent {"connection_id":177152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:00:13] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feb9e18012d239dc00718ae60005300e027..."} 
[2026-09-08 13:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feb9e18012d239dc00718ae60005300e027..."} 
[2026-09-08 13:00:13] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feb9e18012d239dc00718ae60005300e027..."} 
[2026-09-08 13:00:13] local.INFO: Packet analysis {"connection_id":177152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:13] local.INFO: Extracted packet for processing {"connection_id":177152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:13] local.INFO: GPS Element Parsed {"raw_longitude":757308864,"raw_latitude":119058016,"longitude_deg":75.7308864,"latitude_deg":11.9058016,"altitude":83,"angle":224,"satellites":39,"speed":34,"hex_longitude":"2d239dc0","hex_latitude":"0718ae60","is_valid_coordinates":true} 
[2026-09-08 13:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946250752001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18523476688109568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567122186824370176,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788852543000,"timestamp_ms":1788852543000,"timestamp_seconds":1788852543,"priority":1,"record_length":96,"hex_timestamp":"000001a07feb9e18"} 
[2026-09-08 13:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 13:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946250752001,"66":14004,"139":206,"94":10752,"24":34,"16":18523476688109568,"45":2567122186824370176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946250752001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:00:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:00:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18523476688109568,"km_value":18523476688109.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567122186824370176,"description":"Unknown IO ID 45"} 
[2026-09-08 13:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946250752001,"power":14004,"unknown_139":206,"unknown_94":10752,"ignition":34,"odometer":null,"unknown_45":2567122186824370176}} 
[2026-09-08 13:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":177152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:00:13] local.INFO: GPS data processed {"connection_id":177152,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:00:13] local.INFO: Acknowledgment sent {"connection_id":177152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:00:24] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07febbd58012d40fb400698bb080024007a31..."} 
[2026-09-08 13:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07febbd58012d40fb400698bb080024007a31..."} 
[2026-09-08 13:00:24] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07febbd58012d40fb400698bb080024007a31..."} 
[2026-09-08 13:00:24] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:24] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":759233344,"raw_latitude":110672648,"longitude_deg":75.9233344,"latitude_deg":11.0672648,"altitude":36,"angle":122,"satellites":49,"speed":58,"hex_longitude":"2d40fb40","hex_latitude":"0698bb08","is_valid_coordinates":true} 
[2026-09-08 13:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946251264001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402718888409694208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4672906854195576832,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788852551000,"timestamp_ms":1788852551000,"timestamp_seconds":1788852551,"priority":1,"record_length":96,"hex_timestamp":"000001a07febbd58"} 
[2026-09-08 13:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 13:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946251264001,"66":27908,"72":206,"81":47616,"24":58,"16":402718888409694208,"45":4672906854195576832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-08 13:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946251264001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:00:24] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-08 13:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 13:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402718888409694208,"km_value":402718888409694.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4672906854195576832,"description":"Unknown IO ID 45"} 
[2026-09-08 13:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946251264001,"power":27908,"unknown_72":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4672906854195576832}} 
[2026-09-08 13:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:00:24] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:00:24] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:00:41] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:41] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:41] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:00:41] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:41] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:41] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:00:45] local.INFO: TCP Data received {"connection_id":177152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fec4de0012d23844007182d40004f009429..."} 
[2026-09-08 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fec4de0012d23844007182d40004f009429..."} 
[2026-09-08 13:00:45] local.INFO: Processing buffer {"connection_id":177152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fec4de0012d23844007182d40004f009429..."} 
[2026-09-08 13:00:45] local.INFO: Packet analysis {"connection_id":177152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fec"} 
[2026-09-08 13:00:45] local.INFO: Extracted packet for processing {"connection_id":177152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fec"} 
[2026-09-08 13:00:45] local.INFO: GPS Element Parsed {"raw_longitude":757302336,"raw_latitude":119024960,"longitude_deg":75.7302336,"latitude_deg":11.902496,"altitude":79,"angle":148,"satellites":41,"speed":21,"hex_longitude":"2d238440","hex_latitude":"07182d40","is_valid_coordinates":true} 
[2026-09-08 13:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946260992001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18525400833458176,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2557692775096856576,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788852588000,"timestamp_ms":1788852588000,"timestamp_seconds":1788852588,"priority":1,"record_length":96,"hex_timestamp":"000001a07fec4de0"} 
[2026-09-08 13:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 13:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946260992001,"66":14070,"139":206,"94":10752,"24":21,"16":18525400833458176,"45":2557692775096856576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946260992001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:00:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:00:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18525400833458176,"km_value":18525400833458.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2557692775096856576,"description":"Unknown IO ID 45"} 
[2026-09-08 13:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946260992001,"power":14070,"unknown_139":206,"unknown_94":10752,"ignition":21,"odometer":null,"unknown_45":2557692775096856576}} 
[2026-09-08 13:00:45] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:45] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:00:45] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":177152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:00:45] local.INFO: GPS data processed {"connection_id":177152,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:00:45] local.INFO: Acknowledgment sent {"connection_id":177152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:00:46] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07febd4c8012d4119000698a7700025007c30..."} 
[2026-09-08 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07febd4c8012d4119000698a7700025007c30..."} 
[2026-09-08 13:00:46] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07febd4c8012d4119000698a7700025007c30..."} 
[2026-09-08 13:00:46] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:46] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":759240960,"raw_latitude":110667632,"longitude_deg":75.924096,"latitude_deg":11.0667632,"altitude":37,"angle":124,"satellites":48,"speed":61,"hex_longitude":"2d411900","hex_latitude":"0698a770","is_valid_coordinates":true} 
[2026-09-08 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946253056001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402719322201391104,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4682406634658138112,"note":"Value kept but may cause issues"} 
[2026-09-08 13:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788852557000,"timestamp_ms":1788852557000,"timestamp_seconds":1788852557,"priority":1,"record_length":96,"hex_timestamp":"000001a07febd4c8"} 
[2026-09-08 13:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 13:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:00: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-09-08 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946253056001,"66":27745,"72":206,"81":47616,"24":61,"16":402719322201391104,"45":4682406634658138112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-08 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946253056001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:00:46] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-08 13:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402719322201391104,"km_value":402719322201391.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4682406634658138112,"description":"Unknown IO ID 45"} 
[2026-09-08 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946253056001,"power":27745,"unknown_72":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4682406634658138112}} 
[2026-09-08 13:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:00:46] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:00:46] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:00:59] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:00:59] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:00:59] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:01:01] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:01:01] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:01:01] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:01:06] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:01:06] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:01:06] local.INFO: IMEI packet received {"connection_id":175726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":175726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:01:07] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fec6550012d238a40071824b80051008328..."} 
[2026-09-08 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fec6550012d238a40071824b80051008328..."} 
[2026-09-08 13:01:07] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fec6550012d238a40071824b80051008328..."} 
[2026-09-08 13:01:07] local.INFO: Packet analysis {"connection_id":175726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fec"} 
[2026-09-08 13:01:07] local.INFO: Extracted packet for processing {"connection_id":175726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fec"} 
[2026-09-08 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":757303872,"raw_latitude":119022776,"longitude_deg":75.7303872,"latitude_deg":11.9022776,"altitude":81,"angle":131,"satellites":40,"speed":21,"hex_longitude":"2d238a40","hex_latitude":"071824b8","is_valid_coordinates":true} 
[2026-09-08 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946262528001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18525529682477056,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2559240887467851776,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788852594000,"timestamp_ms":1788852594000,"timestamp_seconds":1788852594,"priority":1,"record_length":96,"hex_timestamp":"000001a07fec6550"} 
[2026-09-08 13:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 13:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946262528001,"66":14515,"139":206,"94":10752,"24":21,"16":18525529682477056,"45":2559240887467851776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946262528001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18525529682477056,"km_value":18525529682477.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2559240887467851776,"description":"Unknown IO ID 45"} 
[2026-09-08 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946262528001,"power":14515,"unknown_139":206,"unknown_94":10752,"ignition":21,"odometer":null,"unknown_45":2559240887467851776}} 
[2026-09-08 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":175726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:01:07] local.INFO: GPS data processed {"connection_id":175726,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:01:07] local.INFO: Acknowledgment sent {"connection_id":175726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:01:17] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07febec38012d4136c0069893800024007b30..."} 
[2026-09-08 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07febec38012d4136c0069893800024007b30..."} 
[2026-09-08 13:01:17] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07febec38012d4136c0069893800024007b30..."} 
[2026-09-08 13:01:17] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:01:17] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07feb"} 
[2026-09-08 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":759248576,"raw_latitude":110662528,"longitude_deg":75.9248576,"latitude_deg":11.0662528,"altitude":36,"angle":123,"satellites":48,"speed":60,"hex_longitude":"2d4136c0","hex_latitude":"06989380","is_valid_coordinates":true} 
[2026-09-08 13:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946254592001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402719764583022592,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4690780515213996032,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788852563000,"timestamp_ms":1788852563000,"timestamp_seconds":1788852563,"priority":1,"record_length":96,"hex_timestamp":"000001a07febec38"} 
[2026-09-08 13:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 13:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:01: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-09-08 13:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946254592001,"66":27593,"72":206,"81":47616,"24":60,"16":402719764583022592,"45":4690780515213996032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-08 13:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946254592001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:01:17] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-08 13:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 13:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402719764583022592,"km_value":402719764583022.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4690780515213996032,"description":"Unknown IO ID 45"} 
[2026-09-08 13:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946254592001,"power":27593,"unknown_72":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4690780515213996032}} 
[2026-09-08 13:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:01:17] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:01:17] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:01:39] local.INFO: TCP Data received {"connection_id":175726,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fed3458012d23ee80071802b8005800b926..."} 
[2026-09-08 13:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fed3458012d23ee80071802b8005800b926..."} 
[2026-09-08 13:01:39] local.INFO: Processing buffer {"connection_id":175726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fed3458012d23ee80071802b8005800b926..."} 
[2026-09-08 13:01:39] local.INFO: Packet analysis {"connection_id":175726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:01:39] local.INFO: Extracted packet for processing {"connection_id":175726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":757329536,"raw_latitude":119014072,"longitude_deg":75.7329536,"latitude_deg":11.9014072,"altitude":88,"angle":185,"satellites":38,"speed":6,"hex_longitude":"2d23ee80","hex_latitude":"071802b8","is_valid_coordinates":true} 
[2026-09-08 13:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946277376001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18526878302208000,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2589147603740618752,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788852647000,"timestamp_ms":1788852647000,"timestamp_seconds":1788852647,"priority":1,"record_length":96,"hex_timestamp":"000001a07fed3458"} 
[2026-09-08 13:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 13:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946277376001,"66":13852,"139":206,"94":10752,"24":6,"16":18526878302208000,"45":2589147603740618752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946277376001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:01:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:01:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18526878302208000,"km_value":18526878302208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2589147603740618752,"description":"Unknown IO ID 45"} 
[2026-09-08 13:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946277376001,"power":13852,"unknown_139":206,"unknown_94":10752,"ignition":6,"odometer":null,"unknown_45":2589147603740618752}} 
[2026-09-08 13:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":175726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:01:39] local.INFO: GPS data processed {"connection_id":175726,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:01:39] local.INFO: Acknowledgment sent {"connection_id":175726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:01:41] local.INFO: TCP Data received {"connection_id":177153,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:01:41] local.INFO: Processing buffer {"connection_id":177153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:01:41] local.INFO: IMEI packet received {"connection_id":177153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":177153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:01:46] local.INFO: TCP Data received {"connection_id":177153,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:01:46] local.INFO: Processing buffer {"connection_id":177153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:01:46] local.INFO: IMEI packet received {"connection_id":177153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":177153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:01:47] local.INFO: TCP Data received {"connection_id":177153,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fed3840012d426cc00697f588002e006e2e..."} 
[2026-09-08 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fed3840012d426cc00697f588002e006e2e..."} 
[2026-09-08 13:01:47] local.INFO: Processing buffer {"connection_id":177153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fed3840012d426cc00697f588002e006e2e..."} 
[2026-09-08 13:01:47] local.INFO: Packet analysis {"connection_id":177153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:01:47] local.INFO: Extracted packet for processing {"connection_id":177153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":759327936,"raw_latitude":110622088,"longitude_deg":75.9327936,"latitude_deg":11.0622088,"altitude":46,"angle":110,"satellites":46,"speed":33,"hex_longitude":"2d426cc0","hex_latitude":"0697f588","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946274816001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402724050960384000,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4776489645611560960,"note":"Value kept but may cause issues"} 
[2026-09-08 13:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788852648000,"timestamp_ms":1788852648000,"timestamp_seconds":1788852648,"priority":1,"record_length":96,"hex_timestamp":"000001a07fed3840"} 
[2026-09-08 13:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 13:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946274816001,"66":27843,"29":206,"81":47616,"24":33,"16":402724050960384000,"45":4776489645611560960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-08 13:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946274816001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:01:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 13:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 13:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402724050960384000,"km_value":402724050960384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4776489645611560960,"description":"Unknown IO ID 45"} 
[2026-09-08 13:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946274816001,"power":27843,"unknown_29":206,"unknown_81":47616,"ignition":33,"odometer":null,"unknown_45":4776489645611560960}} 
[2026-09-08 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":177153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:01:47] local.INFO: GPS data processed {"connection_id":177153,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:01:47] local.INFO: Acknowledgment sent {"connection_id":177153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:02:01] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:02:01] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:02:01] local.INFO: IMEI packet received {"connection_id":174391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:02:06] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:02:06] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:02:06] local.INFO: IMEI packet received {"connection_id":174391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":174391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:02:08] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fed3840012d23ee8007180228005800ce26..."} 
[2026-09-08 13:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fed3840012d23ee8007180228005800ce26..."} 
[2026-09-08 13:02:08] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fed3840012d23ee8007180228005800ce26..."} 
[2026-09-08 13:02:08] local.INFO: Packet analysis {"connection_id":174391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:02:08] local.INFO: Extracted packet for processing {"connection_id":174391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:02:08] local.INFO: GPS Element Parsed {"raw_longitude":757329536,"raw_latitude":119013928,"longitude_deg":75.7329536,"latitude_deg":11.9013928,"altitude":88,"angle":206,"satellites":38,"speed":6,"hex_longitude":"2d23ee80","hex_latitude":"07180228","is_valid_coordinates":true} 
[2026-09-08 13:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946277632001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18526882597175296,"note":"Value kept but may cause issues"} 
[2026-09-08 13:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2589147603740571648,"note":"Value kept but may cause issues"} 
[2026-09-08 13:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788852648000,"timestamp_ms":1788852648000,"timestamp_seconds":1788852648,"priority":1,"record_length":96,"hex_timestamp":"000001a07fed3840"} 
[2026-09-08 13:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 13:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946277632001,"66":13820,"139":206,"94":10752,"24":6,"16":18526882597175296,"45":2589147603740571648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946277632001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:02:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:02:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18526882597175296,"km_value":18526882597175.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2589147603740571648,"description":"Unknown IO ID 45"} 
[2026-09-08 13:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946277632001,"power":13820,"unknown_139":206,"unknown_94":10752,"ignition":6,"odometer":null,"unknown_45":2589147603740571648}} 
[2026-09-08 13:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":174391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:02:08] local.INFO: GPS data processed {"connection_id":174391,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:02:08] local.INFO: Acknowledgment sent {"connection_id":174391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:02:41] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fed3c28012d23ee00071801a0005800da26..."} 
[2026-09-08 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fed3c28012d23ee00071801a0005800da26..."} 
[2026-09-08 13:02:41] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fed3c28012d23ee00071801a0005800da26..."} 
[2026-09-08 13:02:41] local.INFO: Packet analysis {"connection_id":174391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:02:41] local.INFO: Extracted packet for processing {"connection_id":174391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":757329408,"raw_latitude":119013792,"longitude_deg":75.7329408,"latitude_deg":11.9013792,"altitude":88,"angle":218,"satellites":38,"speed":7,"hex_longitude":"2d23ee00","hex_latitude":"071801a0","is_valid_coordinates":true} 
[2026-09-08 13:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946277888001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18526895482077184,"note":"Value kept but may cause issues"} 
[2026-09-08 13:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2589147603740534784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788852649000,"timestamp_ms":1788852649000,"timestamp_seconds":1788852649,"priority":1,"record_length":96,"hex_timestamp":"000001a07fed3c28"} 
[2026-09-08 13:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 13:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946277888001,"66":13820,"139":206,"94":10752,"24":7,"16":18526895482077184,"45":2589147603740534784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946277888001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:02:41] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:02:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18526895482077184,"km_value":18526895482077.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2589147603740534784,"description":"Unknown IO ID 45"} 
[2026-09-08 13:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946277888001,"power":13820,"unknown_139":206,"unknown_94":10752,"ignition":7,"odometer":null,"unknown_45":2589147603740534784}} 
[2026-09-08 13:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":174391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:02:41] local.INFO: GPS data processed {"connection_id":174391,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:02:41] local.INFO: Acknowledgment sent {"connection_id":174391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:03:05] local.INFO: TCP Data received {"connection_id":177153,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07fed6338012d4290400697e8880032006f2f..."} 
[2026-09-08 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fed6338012d4290400697e8880032006f2f..."} 
[2026-09-08 13:03:05] local.INFO: Processing buffer {"connection_id":177153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fed6338012d4290400697e8880032006f2f..."} 
[2026-09-08 13:03:05] local.INFO: Packet analysis {"connection_id":177153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:03:05] local.INFO: Extracted packet for processing {"connection_id":177153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fed"} 
[2026-09-08 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":759337024,"raw_latitude":110618760,"longitude_deg":75.9337024,"latitude_deg":11.061876,"altitude":50,"angle":111,"satellites":47,"speed":35,"hex_longitude":"2d429040","hex_latitude":"0697e888","is_valid_coordinates":true} 
[2026-09-08 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946277888001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402724510521884672,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4786411638539782144,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788852659000,"timestamp_ms":1788852659000,"timestamp_seconds":1788852659,"priority":1,"record_length":96,"hex_timestamp":"000001a07fed6338"} 
[2026-09-08 13:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 13:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946277888001,"66":27821,"29":206,"81":47616,"24":35,"16":402724510521884672,"45":4786411638539782144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-08 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946277888001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:03:05] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 13:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-08 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402724510521884672,"km_value":402724510521884.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4786411638539782144,"description":"Unknown IO ID 45"} 
[2026-09-08 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946277888001,"power":27821,"unknown_29":206,"unknown_81":47616,"ignition":35,"odometer":null,"unknown_45":4786411638539782144}} 
[2026-09-08 13:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":177153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:03:05] local.INFO: GPS data processed {"connection_id":177153,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:03:05] local.INFO: Acknowledgment sent {"connection_id":177153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:03:06] local.INFO: TCP Data received {"connection_id":177154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:06] local.INFO: Processing buffer {"connection_id":177154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:06] local.INFO: IMEI packet received {"connection_id":177154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":177154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:03:07] local.INFO: TCP Data received {"connection_id":177154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:07] local.INFO: Processing buffer {"connection_id":177154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:07] local.INFO: IMEI packet received {"connection_id":177154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":177154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:03:11] local.INFO: TCP Data received {"connection_id":177154,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:11] local.INFO: Processing buffer {"connection_id":177154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:11] local.INFO: IMEI packet received {"connection_id":177154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":177154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:03:13] local.INFO: TCP Data received {"connection_id":177154,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feeab58012d23e3c00717fb000054003221..."} 
[2026-09-08 13:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feeab58012d23e3c00717fb000054003221..."} 
[2026-09-08 13:03:13] local.INFO: Processing buffer {"connection_id":177154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feeab58012d23e3c00717fb000054003221..."} 
[2026-09-08 13:03:13] local.INFO: Packet analysis {"connection_id":177154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fee"} 
[2026-09-08 13:03:13] local.INFO: Extracted packet for processing {"connection_id":177154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fee"} 
[2026-09-08 13:03:13] local.INFO: GPS Element Parsed {"raw_longitude":757326784,"raw_latitude":119012096,"longitude_deg":75.7326784,"latitude_deg":11.9012096,"altitude":84,"angle":50,"satellites":33,"speed":3,"hex_longitude":"2d23e3c0","hex_latitude":"0717fb00","is_valid_coordinates":true} 
[2026-09-08 13:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946301952001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18527114525409280,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2585981010252072960,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788852743000,"timestamp_ms":1788852743000,"timestamp_seconds":1788852743,"priority":1,"record_length":96,"hex_timestamp":"000001a07feeab58"} 
[2026-09-08 13:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946301952001,"66":14265,"139":206,"94":10752,"24":3,"16":18527114525409280,"45":2585981010252072960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946301952001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18527114525409280,"km_value":18527114525409.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2585981010252072960,"description":"Unknown IO ID 45"} 
[2026-09-08 13:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946301952001,"power":14265,"unknown_139":206,"unknown_94":10752,"ignition":3,"odometer":null,"unknown_45":2585981010252072960}} 
[2026-09-08 13:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":177154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:03:13] local.INFO: GPS data processed {"connection_id":177154,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:03:13] local.INFO: Acknowledgment sent {"connection_id":177154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:03:21] local.INFO: TCP Data received {"connection_id":177154,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feeaf40012d23e4800717faf00054003d22..."} 
[2026-09-08 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feeaf40012d23e4800717faf00054003d22..."} 
[2026-09-08 13:03:21] local.INFO: Processing buffer {"connection_id":177154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feeaf40012d23e4800717faf00054003d22..."} 
[2026-09-08 13:03:21] local.INFO: Packet analysis {"connection_id":177154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fee"} 
[2026-09-08 13:03:21] local.INFO: Extracted packet for processing {"connection_id":177154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fee"} 
[2026-09-08 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":757326976,"raw_latitude":119012080,"longitude_deg":75.7326976,"latitude_deg":11.901208,"altitude":84,"angle":61,"satellites":34,"speed":4,"hex_longitude":"2d23e480","hex_latitude":"0717faf0","is_valid_coordinates":true} 
[2026-09-08 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946302208001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18527123115343872,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2586121747740426240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788852744000,"timestamp_ms":1788852744000,"timestamp_seconds":1788852744,"priority":1,"record_length":96,"hex_timestamp":"000001a07feeaf40"} 
[2026-09-08 13:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946302208001,"66":14428,"139":206,"94":10752,"24":4,"16":18527123115343872,"45":2586121747740426240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946302208001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:03:21] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:03:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18527123115343872,"km_value":18527123115343.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2586121747740426240,"description":"Unknown IO ID 45"} 
[2026-09-08 13:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946302208001,"power":14428,"unknown_139":206,"unknown_94":10752,"ignition":4,"odometer":null,"unknown_45":2586121747740426240}} 
[2026-09-08 13:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":177154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:03:21] local.INFO: GPS data processed {"connection_id":177154,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:03:21] local.INFO: Acknowledgment sent {"connection_id":177154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:03:59] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:59] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:03:59] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:04:01] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:04:01] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:04:01] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:04:05] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:04:05] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:04:05] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:04:07] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07feebaf8012d23e6400717fb080054003022..."} 
[2026-09-08 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07feebaf8012d23e6400717fb080054003022..."} 
[2026-09-08 13:04:07] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07feebaf8012d23e6400717fb080054003022..."} 
[2026-09-08 13:04:07] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fee"} 
[2026-09-08 13:04:07] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fee"} 
[2026-09-08 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":757327424,"raw_latitude":119012104,"longitude_deg":75.7327424,"latitude_deg":11.9012104,"altitude":84,"angle":48,"satellites":34,"speed":7,"hex_longitude":"2d23e640","hex_latitude":"0717fb08","is_valid_coordinates":true} 
[2026-09-08 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946302464001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18527144590180352,"note":"Value kept but may cause issues"} 
[2026-09-08 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2586332853972955136,"note":"Value kept but may cause issues"} 
[2026-09-08 13:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788852747000,"timestamp_ms":1788852747000,"timestamp_seconds":1788852747,"priority":1,"record_length":96,"hex_timestamp":"000001a07feebaf8"} 
[2026-09-08 13:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 13:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946302464001,"66":14428,"139":206,"94":10752,"24":7,"16":18527144590180352,"45":2586332853972955136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946302464001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18527144590180352,"km_value":18527144590180.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2586332853972955136,"description":"Unknown IO ID 45"} 
[2026-09-08 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946302464001,"power":14428,"unknown_139":206,"unknown_94":10752,"ignition":7,"odometer":null,"unknown_45":2586332853972955136}} 
[2026-09-08 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:04:07] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:04:07] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:04:40] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fefd820012d23a1c0071817500052012027..."} 
[2026-09-08 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fefd820012d23a1c0071817500052012027..."} 
[2026-09-08 13:04:40] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fefd820012d23a1c0071817500052012027..."} 
[2026-09-08 13:04:40] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fef"} 
[2026-09-08 13:04:40] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fef"} 
[2026-09-08 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":757309888,"raw_latitude":119019344,"longitude_deg":75.7309888,"latitude_deg":11.9019344,"altitude":82,"angle":288,"satellites":39,"speed":11,"hex_longitude":"2d23a1c0","hex_latitude":"07181750","is_valid_coordinates":true} 
[2026-09-08 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946321408001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18528282756513792,"note":"Value kept but may cause issues"} 
[2026-09-08 13:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2568036980488615936,"note":"Value kept but may cause issues"} 
[2026-09-08 13:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788852820000,"timestamp_ms":1788852820000,"timestamp_seconds":1788852820,"priority":1,"record_length":96,"hex_timestamp":"000001a07fefd820"} 
[2026-09-08 13:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 13:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946321408001,"66":13896,"139":206,"94":10752,"24":11,"16":18528282756513792,"45":2568036980488615936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946321408001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:04:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:04:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18528282756513792,"km_value":18528282756513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2568036980488615936,"description":"Unknown IO ID 45"} 
[2026-09-08 13:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946321408001,"power":13896,"unknown_139":206,"unknown_94":10752,"ignition":11,"odometer":null,"unknown_45":2568036980488615936}} 
[2026-09-08 13:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:04:40] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:04:40] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:05:01] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:01] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:01] local.INFO: IMEI packet received {"connection_id":174393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":174393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:05:03] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:03] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:03] local.INFO: IMEI packet received {"connection_id":174393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":174393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:05:07] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:07] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:05:07] local.INFO: IMEI packet received {"connection_id":174393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":174393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:05:08] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fefdc08012d23a080071817d80052012b28..."} 
[2026-09-08 13:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fefdc08012d23a080071817d80052012b28..."} 
[2026-09-08 13:05:08] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fefdc08012d23a080071817d80052012b28..."} 
[2026-09-08 13:05:08] local.INFO: Packet analysis {"connection_id":174393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fef"} 
[2026-09-08 13:05:08] local.INFO: Extracted packet for processing {"connection_id":174393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fef"} 
[2026-09-08 13:05:08] local.INFO: GPS Element Parsed {"raw_longitude":757309568,"raw_latitude":119019480,"longitude_deg":75.7309568,"latitude_deg":11.901948,"altitude":82,"angle":299,"satellites":40,"speed":13,"hex_longitude":"2d23a080","hex_latitude":"071817d8","is_valid_coordinates":true} 
[2026-09-08 13:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946321920001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18528299936382976,"note":"Value kept but may cause issues"} 
[2026-09-08 13:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567544399279378432,"note":"Value kept but may cause issues"} 
[2026-09-08 13:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788852821000,"timestamp_ms":1788852821000,"timestamp_seconds":1788852821,"priority":1,"record_length":96,"hex_timestamp":"000001a07fefdc08"} 
[2026-09-08 13:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-08 13:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946321920001,"66":13896,"139":206,"94":10752,"24":13,"16":18528299936382976,"45":2567544399279378432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946321920001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:05:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:05:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18528299936382976,"km_value":18528299936382.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567544399279378432,"description":"Unknown IO ID 45"} 
[2026-09-08 13:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946321920001,"power":13896,"unknown_139":206,"unknown_94":10752,"ignition":13,"odometer":null,"unknown_45":2567544399279378432}} 
[2026-09-08 13:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":174393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:05:08] local.INFO: GPS data processed {"connection_id":174393,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:05:08] local.INFO: Acknowledgment sent {"connection_id":174393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:05:40] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff012b8012d238c40071822980053013825..."} 
[2026-09-08 13:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff012b8012d238c40071822980053013825..."} 
[2026-09-08 13:05:40] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff012b8012d238c40071822980053013825..."} 
[2026-09-08 13:05:40] local.INFO: Packet analysis {"connection_id":174393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff0"} 
[2026-09-08 13:05:40] local.INFO: Extracted packet for processing {"connection_id":174393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff0"} 
[2026-09-08 13:05:40] local.INFO: GPS Element Parsed {"raw_longitude":757304384,"raw_latitude":119022232,"longitude_deg":75.7304384,"latitude_deg":11.9022232,"altitude":83,"angle":312,"satellites":37,"speed":10,"hex_longitude":"2d238c40","hex_latitude":"07182298","is_valid_coordinates":true} 
[2026-09-08 13:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946322176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18528579109257216,"note":"Value kept but may cause issues"} 
[2026-09-08 13:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567192555558524928,"note":"Value kept but may cause issues"} 
[2026-09-08 13:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788852835000,"timestamp_ms":1788852835000,"timestamp_seconds":1788852835,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff012b8"} 
[2026-09-08 13:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-08 13:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946322176001,"66":13993,"139":206,"94":10752,"24":10,"16":18528579109257216,"45":2567192555558524928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946322176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:05:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:05:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18528579109257216,"km_value":18528579109257.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567192555558524928,"description":"Unknown IO ID 45"} 
[2026-09-08 13:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946322176001,"power":13993,"unknown_139":206,"unknown_94":10752,"ignition":10,"odometer":null,"unknown_45":2567192555558524928}} 
[2026-09-08 13:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":174393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:05:40] local.INFO: GPS data processed {"connection_id":174393,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:05:40] local.INFO: Acknowledgment sent {"connection_id":174393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:06:01] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:06:01] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:06:01] local.INFO: IMEI packet received {"connection_id":177156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":177156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:06:09] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:06:09] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:06:09] local.INFO: IMEI packet received {"connection_id":177156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":177156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:06:12] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff035e0012d238600071828180057014529..."} 
[2026-09-08 13:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff035e0012d238600071828180057014529..."} 
[2026-09-08 13:06:12] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff035e0012d238600071828180057014529..."} 
[2026-09-08 13:06:12] local.INFO: Packet analysis {"connection_id":177156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff0"} 
[2026-09-08 13:06:12] local.INFO: Extracted packet for processing {"connection_id":177156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff0"} 
[2026-09-08 13:06:12] local.INFO: GPS Element Parsed {"raw_longitude":757302784,"raw_latitude":119023640,"longitude_deg":75.7302784,"latitude_deg":11.902364,"altitude":87,"angle":325,"satellites":41,"speed":9,"hex_longitude":"2d238600","hex_latitude":"07182818","is_valid_coordinates":true} 
[2026-09-08 13:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946325760001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18528682188472320,"note":"Value kept but may cause issues"} 
[2026-09-08 13:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2561492687280838656,"note":"Value kept but may cause issues"} 
[2026-09-08 13:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788852844000,"timestamp_ms":1788852844000,"timestamp_seconds":1788852844,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff035e0"} 
[2026-09-08 13:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 13:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946325760001,"66":13972,"139":206,"94":10752,"24":9,"16":18528682188472320,"45":2561492687280838656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946325760001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:06:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:06:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18528682188472320,"km_value":18528682188472.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2561492687280838656,"description":"Unknown IO ID 45"} 
[2026-09-08 13:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946325760001,"power":13972,"unknown_139":206,"unknown_94":10752,"ignition":9,"odometer":null,"unknown_45":2561492687280838656}} 
[2026-09-08 13:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":177156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:06:12] local.INFO: GPS data processed {"connection_id":177156,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:06:12] local.INFO: Acknowledgment sent {"connection_id":177156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:06:43] local.INFO: TCP Data received {"connection_id":177156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff087e8012d238000071831400055014925..."} 
[2026-09-08 13:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff087e8012d238000071831400055014925..."} 
[2026-09-08 13:06:43] local.INFO: Processing buffer {"connection_id":177156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff087e8012d238000071831400055014925..."} 
[2026-09-08 13:06:43] local.INFO: Packet analysis {"connection_id":177156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff0"} 
[2026-09-08 13:06:43] local.INFO: Extracted packet for processing {"connection_id":177156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff0"} 
[2026-09-08 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":757301248,"raw_latitude":119025984,"longitude_deg":75.7301248,"latitude_deg":11.9025984,"altitude":85,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d238000","hex_latitude":"07183140","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946328064001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18528819627425792,"note":"Value kept but may cause issues"} 
[2026-09-08 13:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2559733468676757504,"note":"Value kept but may cause issues"} 
[2026-09-08 13:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788852865000,"timestamp_ms":1788852865000,"timestamp_seconds":1788852865,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff087e8"} 
[2026-09-08 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-09-08 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 13:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946328064001,"66":13972,"139":206,"94":10752,"24":0,"16":18528819627425792,"45":2559733468676757504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946328064001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:06:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:06:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18528819627425792,"km_value":18528819627425.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2559733468676757504,"description":"Unknown IO ID 45"} 
[2026-09-08 13:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946328064001,"power":13972,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2559733468676757504}} 
[2026-09-08 13:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":177156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:06:43] local.INFO: GPS data processed {"connection_id":177156,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:06:43] local.INFO: Acknowledgment sent {"connection_id":177156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:06:45] local.INFO: TCP Data received {"connection_id":174394,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:06:45] local.INFO: Processing buffer {"connection_id":174394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:06:45] local.INFO: IMEI packet received {"connection_id":174394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":174394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:07:01] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:01] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:01] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:07:02] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:02] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:02] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:07:06] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:06] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:07:06] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:07:07] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff225f8012d23a240071817b00055004429..."} 
[2026-09-08 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff225f8012d23a240071817b00055004429..."} 
[2026-09-08 13:07:07] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff225f8012d23a240071817b00055004429..."} 
[2026-09-08 13:07:07] local.INFO: Packet analysis {"connection_id":174651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff2"} 
[2026-09-08 13:07:07] local.INFO: Extracted packet for processing {"connection_id":174651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff2"} 
[2026-09-08 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":757310016,"raw_latitude":119019440,"longitude_deg":75.7310016,"latitude_deg":11.901944,"altitude":85,"angle":68,"satellites":41,"speed":9,"hex_longitude":"2d23a240","hex_latitude":"071817b0","is_valid_coordinates":true} 
[2026-09-08 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946360064001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18529386563108864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567192555558504448,"note":"Value kept but may cause issues"} 
[2026-09-08 13:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788852971000,"timestamp_ms":1788852971000,"timestamp_seconds":1788852971,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff225f8"} 
[2026-09-08 13:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 13:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946360064001,"66":14298,"139":206,"94":10752,"24":9,"16":18529386563108864,"45":2567192555558504448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946360064001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18529386563108864,"km_value":18529386563108.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567192555558504448,"description":"Unknown IO ID 45"} 
[2026-09-08 13:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946360064001,"power":14298,"unknown_139":206,"unknown_94":10752,"ignition":9,"odometer":null,"unknown_45":2567192555558504448}} 
[2026-09-08 13:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":174651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:07:08] local.INFO: GPS data processed {"connection_id":174651,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:07:08] local.INFO: Acknowledgment sent {"connection_id":174651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:07:40] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff24150012d23ab0007181a580055004f29..."} 
[2026-09-08 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff24150012d23ab0007181a580055004f29..."} 
[2026-09-08 13:07:40] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff24150012d23ab0007181a580055004f29..."} 
[2026-09-08 13:07:40] local.INFO: Packet analysis {"connection_id":174651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff2"} 
[2026-09-08 13:07:40] local.INFO: Extracted packet for processing {"connection_id":174651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff2"} 
[2026-09-08 13:07:40] local.INFO: GPS Element Parsed {"raw_longitude":757312256,"raw_latitude":119020120,"longitude_deg":75.7312256,"latitude_deg":11.902012,"altitude":85,"angle":79,"satellites":41,"speed":16,"hex_longitude":"2d23ab00","hex_latitude":"07181a58","is_valid_coordinates":true} 
[2026-09-08 13:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946360576001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18529498232258560,"note":"Value kept but may cause issues"} 
[2026-09-08 13:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567685136767758336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788852978000,"timestamp_ms":1788852978000,"timestamp_seconds":1788852978,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff24150"} 
[2026-09-08 13:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946360576001,"66":14428,"139":206,"94":10752,"24":16,"16":18529498232258560,"45":2567685136767758336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946360576001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:07:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:07:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18529498232258560,"km_value":18529498232258.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567685136767758336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946360576001,"power":14428,"unknown_139":206,"unknown_94":10752,"ignition":16,"odometer":null,"unknown_45":2567685136767758336}} 
[2026-09-08 13:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":174651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:07:40] local.INFO: GPS data processed {"connection_id":174651,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:07:40] local.INFO: Acknowledgment sent {"connection_id":174651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:08:15] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:15] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:15] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:08:16] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:16] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:16] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:08:21] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:21] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:08:21] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:08:22] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff24920012d23ae8007181a900057005b29..."} 
[2026-09-08 13:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff24920012d23ae8007181a900057005b29..."} 
[2026-09-08 13:08:22] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff24920012d23ae8007181a900057005b29..."} 
[2026-09-08 13:08:22] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff2"} 
[2026-09-08 13:08:22] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff2"} 
[2026-09-08 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":757313152,"raw_latitude":119020176,"longitude_deg":75.7313152,"latitude_deg":11.9020176,"altitude":87,"angle":91,"satellites":41,"speed":19,"hex_longitude":"2d23ae80","hex_latitude":"07181a90","is_valid_coordinates":true} 
[2026-09-08 13:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946362368001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18529541181931520,"note":"Value kept but may cause issues"} 
[2026-09-08 13:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2570148042814150656,"note":"Value kept but may cause issues"} 
[2026-09-08 13:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788852980000,"timestamp_ms":1788852980000,"timestamp_seconds":1788852980,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff24920"} 
[2026-09-08 13:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 13:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946362368001,"66":14450,"139":206,"94":10752,"24":19,"16":18529541181931520,"45":2570148042814150656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946362368001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18529541181931520,"km_value":18529541181931.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2570148042814150656,"description":"Unknown IO ID 45"} 
[2026-09-08 13:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946362368001,"power":14450,"unknown_139":206,"unknown_94":10752,"ignition":19,"odometer":null,"unknown_45":2570148042814150656}} 
[2026-09-08 13:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:08:22] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:08:22] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:09:06] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:09:06] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:09:06] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:09:11] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:09:11] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:09:11] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:09:13] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff3b850012d241040071813280057008627..."} 
[2026-09-08 13:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff3b850012d241040071813280057008627..."} 
[2026-09-08 13:09:13] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff3b850012d241040071813280057008627..."} 
[2026-09-08 13:09:13] local.INFO: Packet analysis {"connection_id":174396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff3"} 
[2026-09-08 13:09:13] local.INFO: Extracted packet for processing {"connection_id":174396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff3"} 
[2026-09-08 13:09:13] local.INFO: GPS Element Parsed {"raw_longitude":757338176,"raw_latitude":119018280,"longitude_deg":75.7338176,"latitude_deg":11.901828,"altitude":87,"angle":134,"satellites":39,"speed":5,"hex_longitude":"2d241040","hex_latitude":"07181328","is_valid_coordinates":true} 
[2026-09-08 13:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946386432001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18530937046302720,"note":"Value kept but may cause issues"} 
[2026-09-08 13:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598365909228951552,"note":"Value kept but may cause issues"} 
[2026-09-08 13:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788853074000,"timestamp_ms":1788853074000,"timestamp_seconds":1788853074,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff3b850"} 
[2026-09-08 13:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-08 13:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946386432001,"66":13015,"139":206,"94":10752,"24":5,"16":18530937046302720,"45":2598365909228951552},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946386432001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:09:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:09:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18530937046302720,"km_value":18530937046302.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598365909228951552,"description":"Unknown IO ID 45"} 
[2026-09-08 13:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946386432001,"power":13015,"unknown_139":206,"unknown_94":10752,"ignition":5,"odometer":null,"unknown_45":2598365909228951552}} 
[2026-09-08 13:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":174396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:09:13] local.INFO: GPS data processed {"connection_id":174396,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:09:13] local.INFO: Acknowledgment sent {"connection_id":174396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:09:44] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff3c7f0012d241140071811b8005700a328..."} 
[2026-09-08 13:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff3c7f0012d241140071811b8005700a328..."} 
[2026-09-08 13:09:44] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff3c7f0012d241140071811b8005700a328..."} 
[2026-09-08 13:09:44] local.INFO: Packet analysis {"connection_id":174396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff3"} 
[2026-09-08 13:09:44] local.INFO: Extracted packet for processing {"connection_id":174396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff3"} 
[2026-09-08 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":757338432,"raw_latitude":119017912,"longitude_deg":75.7338432,"latitude_deg":11.9017912,"altitude":87,"angle":163,"satellites":40,"speed":5,"hex_longitude":"2d241140","hex_latitude":"071811b8","is_valid_coordinates":true} 
[2026-09-08 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946386944001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18530958521139200,"note":"Value kept but may cause issues"} 
[2026-09-08 13:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598647384205633536,"note":"Value kept but may cause issues"} 
[2026-09-08 13:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788853078000,"timestamp_ms":1788853078000,"timestamp_seconds":1788853078,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff3c7f0"} 
[2026-09-08 13:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 13:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946386944001,"66":12961,"139":206,"94":10752,"24":5,"16":18530958521139200,"45":2598647384205633536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946386944001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:09:44] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:09:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18530958521139200,"km_value":18530958521139.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598647384205633536,"description":"Unknown IO ID 45"} 
[2026-09-08 13:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946386944001,"power":12961,"unknown_139":206,"unknown_94":10752,"ignition":5,"odometer":null,"unknown_45":2598647384205633536}} 
[2026-09-08 13:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":174396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:09:44] local.INFO: GPS data processed {"connection_id":174396,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:09:44] local.INFO: Acknowledgment sent {"connection_id":174396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:10:01] local.INFO: TCP Data received {"connection_id":174653,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:10:01] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:10:01] local.INFO: IMEI packet received {"connection_id":174653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":174653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:10:06] local.INFO: TCP Data received {"connection_id":174653,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:10:06] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:10:06] local.INFO: IMEI packet received {"connection_id":174653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":174653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:10:07] local.INFO: TCP Data received {"connection_id":174653,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff3e348012d2411c007180e88005800b528..."} 
[2026-09-08 13:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff3e348012d2411c007180e88005800b528..."} 
[2026-09-08 13:10:07] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff3e348012d2411c007180e88005800b528..."} 
[2026-09-08 13:10:07] local.INFO: Packet analysis {"connection_id":174653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff3"} 
[2026-09-08 13:10:07] local.INFO: Extracted packet for processing {"connection_id":174653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff3"} 
[2026-09-08 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":757338560,"raw_latitude":119017096,"longitude_deg":75.733856,"latitude_deg":11.9017096,"altitude":88,"angle":181,"satellites":40,"speed":5,"hex_longitude":"2d2411c0","hex_latitude":"07180e88","is_valid_coordinates":true} 
[2026-09-08 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946387968001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531001470812160,"note":"Value kept but may cause issues"} 
[2026-09-08 13:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598928859182249984,"note":"Value kept but may cause issues"} 
[2026-09-08 13:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853085000,"timestamp_ms":1788853085000,"timestamp_seconds":1788853085,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff3e348"} 
[2026-09-08 13:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 13:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946387968001,"66":13015,"139":206,"94":10752,"24":5,"16":18531001470812160,"45":2598928859182249984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946387968001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531001470812160,"km_value":18531001470812.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598928859182249984,"description":"Unknown IO ID 45"} 
[2026-09-08 13:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946387968001,"power":13015,"unknown_139":206,"unknown_94":10752,"ignition":5,"odometer":null,"unknown_45":2598928859182249984}} 
[2026-09-08 13:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":174653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:10:07] local.INFO: GPS data processed {"connection_id":174653,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:10:07] local.INFO: Acknowledgment sent {"connection_id":174653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:10:38] local.INFO: TCP Data received {"connection_id":174653,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff40a58012d2410c007180ae8005700d929..."} 
[2026-09-08 13:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff40a58012d2410c007180ae8005700d929..."} 
[2026-09-08 13:10:38] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff40a58012d2410c007180ae8005700d929..."} 
[2026-09-08 13:10:38] local.INFO: Packet analysis {"connection_id":174653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:10:38] local.INFO: Extracted packet for processing {"connection_id":174653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":757338304,"raw_latitude":119016168,"longitude_deg":75.7338304,"latitude_deg":11.9016168,"altitude":87,"angle":217,"satellites":41,"speed":5,"hex_longitude":"2d2410c0","hex_latitude":"07180ae8","is_valid_coordinates":true} 
[2026-09-08 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946389760001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531048715452416,"note":"Value kept but may cause issues"} 
[2026-09-08 13:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599069596670396416,"note":"Value kept but may cause issues"} 
[2026-09-08 13:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853095000,"timestamp_ms":1788853095000,"timestamp_seconds":1788853095,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff40a58"} 
[2026-09-08 13:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 13:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946389760001,"66":13124,"139":206,"94":10752,"24":5,"16":18531048715452416,"45":2599069596670396416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946389760001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:10:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:10:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531048715452416,"km_value":18531048715452.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2599069596670396416,"description":"Unknown IO ID 45"} 
[2026-09-08 13:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946389760001,"power":13124,"unknown_139":206,"unknown_94":10752,"ignition":5,"odometer":null,"unknown_45":2599069596670396416}} 
[2026-09-08 13:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":174653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:10:38] local.INFO: GPS data processed {"connection_id":174653,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:10:38] local.INFO: Acknowledgment sent {"connection_id":174653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:11:01] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:11:01] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:11:01] local.INFO: IMEI packet received {"connection_id":175730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":175730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:11:02] local.INFO: TCP Data received {"connection_id":177159,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:02] local.INFO: Processing buffer {"connection_id":177159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:02] local.INFO: IMEI packet received {"connection_id":177159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":177159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:11:06] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:11:06] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:11:06] local.INFO: IMEI packet received {"connection_id":175730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":175730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:11:07] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff45c60012d240fc007180a20005700d927..."} 
[2026-09-08 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff45c60012d240fc007180a20005700d927..."} 
[2026-09-08 13:11:07] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff45c60012d240fc007180a20005700d927..."} 
[2026-09-08 13:11:07] local.INFO: Packet analysis {"connection_id":175730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:07] local.INFO: Extracted packet for processing {"connection_id":175730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946392320001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598788121693448192,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853116000,"timestamp_ms":1788853116000,"timestamp_seconds":1788853116,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff45c60"} 
[2026-09-08 13:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 13:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946392320001,"66":12993,"139":206,"94":10752,"24":0,"16":18531083075190784,"45":2598788121693448192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946392320001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598788121693448192,"description":"Unknown IO ID 45"} 
[2026-09-08 13:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946392320001,"power":12993,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598788121693448192}} 
[2026-09-08 13:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":175730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:11:07] local.INFO: GPS data processed {"connection_id":175730,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:11:07] local.INFO: Acknowledgment sent {"connection_id":175730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:11:07] local.INFO: TCP Data received {"connection_id":177159,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:07] local.INFO: Processing buffer {"connection_id":177159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:07] local.INFO: IMEI packet received {"connection_id":177159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":177159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:11:10] local.INFO: TCP Data received {"connection_id":177159,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff450a8012d457080069628d00029005132..."} 
[2026-09-08 13:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff450a8012d457080069628d00029005132..."} 
[2026-09-08 13:11:10] local.INFO: Processing buffer {"connection_id":177159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff450a8012d457080069628d00029005132..."} 
[2026-09-08 13:11:10] local.INFO: Packet analysis {"connection_id":177159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:10] local.INFO: Extracted packet for processing {"connection_id":177159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:10] local.INFO: GPS Element Parsed {"raw_longitude":759525504,"raw_latitude":110504144,"longitude_deg":75.9525504,"latitude_deg":11.0504144,"altitude":41,"angle":81,"satellites":50,"speed":18,"hex_longitude":"2d457080","hex_latitude":"069628d0","is_valid_coordinates":true} 
[2026-09-08 13:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946395648001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402739345338925056,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5001247414483863552,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788853113000,"timestamp_ms":1788853113000,"timestamp_seconds":1788853113,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff450a8"} 
[2026-09-08 13:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 13:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946395648001,"66":27745,"173":206,"19":48128,"24":18,"16":402739345338925056,"45":5001247414483863552},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-09-08 13:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946395648001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:11:10] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-08 13:11:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402739345338925056,"km_value":402739345338925.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5001247414483863552,"description":"Unknown IO ID 45"} 
[2026-09-08 13:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946395648001,"power":27745,"unknown_173":206,"unknown_19":48128,"ignition":18,"odometer":null,"unknown_45":5001247414483863552}} 
[2026-09-08 13:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":177159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:11:10] local.INFO: GPS data processed {"connection_id":177159,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:11:10] local.INFO: Acknowledgment sent {"connection_id":177159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:11:13] local.INFO: TCP Data received {"connection_id":177159,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff46c00012d457cc0069629d0002900602f..."} 
[2026-09-08 13:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff46c00012d457cc0069629d0002900602f..."} 
[2026-09-08 13:11:13] local.INFO: Processing buffer {"connection_id":177159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff46c00012d457cc0069629d0002900602f..."} 
[2026-09-08 13:11:13] local.INFO: Packet analysis {"connection_id":177159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:13] local.INFO: Extracted packet for processing {"connection_id":177159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:13] local.INFO: GPS Element Parsed {"raw_longitude":759528640,"raw_latitude":110504400,"longitude_deg":75.952864,"latitude_deg":11.05044,"altitude":41,"angle":96,"satellites":47,"speed":16,"hex_longitude":"2d457cc0","hex_latitude":"069629d0","is_valid_coordinates":true} 
[2026-09-08 13:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946396928001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402739495662780416,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5003639951786037248,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788853120000,"timestamp_ms":1788853120000,"timestamp_seconds":1788853120,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff46c00"} 
[2026-09-08 13:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 13:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946396928001,"66":27658,"173":206,"19":48128,"24":16,"16":402739495662780416,"45":5003639951786037248},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-09-08 13:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946396928001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402739495662780416,"km_value":402739495662780.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5003639951786037248,"description":"Unknown IO ID 45"} 
[2026-09-08 13:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946396928001,"power":27658,"unknown_173":206,"unknown_19":48128,"ignition":16,"odometer":null,"unknown_45":5003639951786037248}} 
[2026-09-08 13:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":177159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:11:13] local.INFO: GPS data processed {"connection_id":177159,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:11:13] local.INFO: Acknowledgment sent {"connection_id":177159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:11:38] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff4ae68012d240fc007180a20005700d928..."} 
[2026-09-08 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff4ae68012d240fc007180a20005700d928..."} 
[2026-09-08 13:11:38] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff4ae68012d240fc007180a20005700d928..."} 
[2026-09-08 13:11:38] local.INFO: Packet analysis {"connection_id":175730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:38] local.INFO: Extracted packet for processing {"connection_id":175730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946397696001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853137000,"timestamp_ms":1788853137000,"timestamp_seconds":1788853137,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff4ae68"} 
[2026-09-08 13:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 13:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946397696001,"66":13048,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946397696001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:11:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:11:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946397696001,"power":13048,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":175730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:11:38] local.INFO: GPS data processed {"connection_id":175730,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:11:38] local.INFO: Acknowledgment sent {"connection_id":175730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:11:41] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:41] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:11:41] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:12:01] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:01] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:01] local.INFO: IMEI packet received {"connection_id":177160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":177160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:12:02] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:02] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:02] local.INFO: IMEI packet received {"connection_id":177160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":177160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:12:02] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:02] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:02] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:12:06] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:06] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:12:06] local.INFO: IMEI packet received {"connection_id":177160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":177160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:12:07] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff50070012d240fc007180a20005700d928..."} 
[2026-09-08 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff50070012d240fc007180a20005700d928..."} 
[2026-09-08 13:12:07] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff50070012d240fc007180a20005700d928..."} 
[2026-09-08 13:12:07] local.INFO: Packet analysis {"connection_id":177160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:12:07] local.INFO: Extracted packet for processing {"connection_id":177160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946403072001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853158000,"timestamp_ms":1788853158000,"timestamp_seconds":1788853158,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff50070"} 
[2026-09-08 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-08 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946403072001,"66":13004,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946403072001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946403072001,"power":13004,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":177160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:12:07] local.INFO: GPS data processed {"connection_id":177160,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:12:07] local.INFO: Acknowledgment sent {"connection_id":177160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:12:11] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff477b8012d458200069628a80029006e32..."} 
[2026-09-08 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff477b8012d458200069628a80029006e32..."} 
[2026-09-08 13:12:11] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff477b8012d458200069628a80029006e32..."} 
[2026-09-08 13:12:11] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:12:11] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff4"} 
[2026-09-08 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":759529984,"raw_latitude":110504104,"longitude_deg":75.9529984,"latitude_deg":11.0504104,"altitude":41,"angle":110,"satellites":50,"speed":16,"hex_longitude":"2d458200","hex_latitude":"069628a8","is_valid_coordinates":true} 
[2026-09-08 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946398720001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402739560087289856,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5007088020250808320,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788853123000,"timestamp_ms":1788853123000,"timestamp_seconds":1788853123,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff477b8"} 
[2026-09-08 13:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946398720001,"66":27930,"173":206,"19":48128,"24":16,"16":402739560087289856,"45":5007088020250808320},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-09-08 13:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946398720001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402739560087289856,"km_value":402739560087289.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5007088020250808320,"description":"Unknown IO ID 45"} 
[2026-09-08 13:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946398720001,"power":27930,"unknown_173":206,"unknown_19":48128,"ignition":16,"odometer":null,"unknown_45":5007088020250808320}} 
[2026-09-08 13:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:12:11] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:12:11] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:12:14] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:12:14] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:12:14] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:12:38] local.INFO: TCP Data received {"connection_id":177160,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff55278012d240fc007180a20005700d928..."} 
[2026-09-08 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff55278012d240fc007180a20005700d928..."} 
[2026-09-08 13:12:38] local.INFO: Processing buffer {"connection_id":177160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff55278012d240fc007180a20005700d928..."} 
[2026-09-08 13:12:38] local.INFO: Packet analysis {"connection_id":177160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:12:38] local.INFO: Extracted packet for processing {"connection_id":177160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946408448001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853179000,"timestamp_ms":1788853179000,"timestamp_seconds":1788853179,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff55278"} 
[2026-09-08 13:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946408448001,"66":13004,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946408448001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:12:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:12:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946408448001,"power":13004,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":177160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:12:38] local.INFO: GPS data processed {"connection_id":177160,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:12:38] local.INFO: Acknowledgment sent {"connection_id":177160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:12:41] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:41] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:41] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:12:45] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:45] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:45] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:12:46] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:46] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:46] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:12:46] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:46] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:12:46] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:12:48] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff6bdc0012d46bd800695ef280030005c2d..."} 
[2026-09-08 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff6bdc0012d46bd800695ef280030005c2d..."} 
[2026-09-08 13:12:48] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff6bdc0012d46bd800695ef280030005c2d..."} 
[2026-09-08 13:12:48] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:12:48] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":759610752,"raw_latitude":110489384,"longitude_deg":75.9610752,"latitude_deg":11.0489384,"altitude":48,"angle":92,"satellites":45,"speed":24,"hex_longitude":"2d46bd80","hex_latitude":"0695ef28","is_valid_coordinates":true} 
[2026-09-08 13:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946433792001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402743580176678912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5087026913633089536,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788853272000,"timestamp_ms":1788853272000,"timestamp_seconds":1788853272,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff6bdc0"} 
[2026-09-08 13:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 13:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946433792001,"66":27767,"173":206,"19":48128,"24":24,"16":402743580176678912,"45":5087026913633089536},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-09-08 13:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946433792001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:12:48] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-08 13:12:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402743580176678912,"km_value":402743580176678.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5087026913633089536,"description":"Unknown IO ID 45"} 
[2026-09-08 13:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946433792001,"power":27767,"unknown_173":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":5087026913633089536}} 
[2026-09-08 13:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:12:48] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:12:48] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:12:50] local.INFO: TCP Data received {"connection_id":174655,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:12:50] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:12:50] local.INFO: IMEI packet received {"connection_id":174655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":174655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:12:53] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff6fc40012d46e1000695f0380034005530..."} 
[2026-09-08 13:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff6fc40012d46e1000695f0380034005530..."} 
[2026-09-08 13:12:53] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff6fc40012d46e1000695f0380034005530..."} 
[2026-09-08 13:12:53] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:12:53] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:12:53] local.INFO: GPS Element Parsed {"raw_longitude":759619840,"raw_latitude":110489656,"longitude_deg":75.961984,"latitude_deg":11.0489656,"altitude":52,"angle":85,"satellites":48,"speed":24,"hex_longitude":"2d46e100","hex_latitude":"0695f038","is_valid_coordinates":true} 
[2026-09-08 13:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946437632001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402744009673408512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5097371119026907136,"note":"Value kept but may cause issues"} 
[2026-09-08 13:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788853288000,"timestamp_ms":1788853288000,"timestamp_seconds":1788853288,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff6fc40"} 
[2026-09-08 13:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 13:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946437632001,"66":27767,"173":206,"19":48128,"24":24,"16":402744009673408512,"45":5097371119026907136},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-09-08 13:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946437632001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:12:53] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-08 13:12:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402744009673408512,"km_value":402744009673408.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5097371119026907136,"description":"Unknown IO ID 45"} 
[2026-09-08 13:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946437632001,"power":27767,"unknown_173":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":5097371119026907136}} 
[2026-09-08 13:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:12:53] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:12:53] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:13:05] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:05] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:05] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:13:06] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:06] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:06] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:13:11] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:11] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:13:11] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:13:12] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff5a480012d240fc007180a20005700d929..."} 
[2026-09-08 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff5a480012d240fc007180a20005700d929..."} 
[2026-09-08 13:13:12] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff5a480012d240fc007180a20005700d929..."} 
[2026-09-08 13:13:12] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:13:12] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946413824001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788853200000,"timestamp_ms":1788853200000,"timestamp_seconds":1788853200,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff5a480"} 
[2026-09-08 13:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946413824001,"66":12950,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946413824001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:13:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:13:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946413824001,"power":12950,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:13:12] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:13:12] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:13:24] local.INFO: TCP Data received {"connection_id":174399,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff72f08012d4704800695f3500038004d31..."} 
[2026-09-08 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff72f08012d4704800695f3500038004d31..."} 
[2026-09-08 13:13:24] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff72f08012d4704800695f3500038004d31..."} 
[2026-09-08 13:13:24] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:13:24] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:13:24] local.INFO: GPS Element Parsed {"raw_longitude":759628928,"raw_latitude":110490448,"longitude_deg":75.9628928,"latitude_deg":11.0490448,"altitude":56,"angle":77,"satellites":49,"speed":28,"hex_longitude":"2d470480","hex_latitude":"0695f350","is_valid_coordinates":true} 
[2026-09-08 13:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946441728001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402744447760072704,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5107363480700205056,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788853301000,"timestamp_ms":1788853301000,"timestamp_seconds":1788853301,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff72f08"} 
[2026-09-08 13:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 13:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946441728001,"66":27843,"173":206,"19":48128,"24":28,"16":402744447760072704,"45":5107363480700205056},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-09-08 13:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946441728001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:13:24] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-08 13:13:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402744447760072704,"km_value":402744447760072.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5107363480700205056,"description":"Unknown IO ID 45"} 
[2026-09-08 13:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946441728001,"power":27843,"unknown_173":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":5107363480700205056}} 
[2026-09-08 13:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:13:24] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:13:24] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:13:42] local.INFO: TCP Data received {"connection_id":175732,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:42] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:42] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:13:42] local.INFO: TCP Data received {"connection_id":175732,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:42] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:42] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:13:43] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff5f688012d240fc007180a20005700d92a..."} 
[2026-09-08 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff5f688012d240fc007180a20005700d92a..."} 
[2026-09-08 13:13:43] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff5f688012d240fc007180a20005700d92a..."} 
[2026-09-08 13:13:43] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:13:43] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff5"} 
[2026-09-08 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946419200001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788853221000,"timestamp_ms":1788853221000,"timestamp_seconds":1788853221,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff5f688"} 
[2026-09-08 13:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946419200001,"66":12950,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946419200001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:13:43] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:13:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946419200001,"power":12950,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:13:43] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:13:43] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:13:46] local.INFO: TCP Data received {"connection_id":175732,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:46] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:13:46] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:13:47] local.INFO: TCP Data received {"connection_id":175732,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff761d0012d4727400695fc58003800462c..."} 
[2026-09-08 13:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff761d0012d4727400695fc58003800462c..."} 
[2026-09-08 13:13:47] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff761d0012d4727400695fc58003800462c..."} 
[2026-09-08 13:13:47] local.INFO: Packet analysis {"connection_id":175732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:13:47] local.INFO: Extracted packet for processing {"connection_id":175732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":759637824,"raw_latitude":110492760,"longitude_deg":75.9637824,"latitude_deg":11.049276,"altitude":56,"angle":70,"satellites":44,"speed":26,"hex_longitude":"2d472740","hex_latitude":"0695fc58","is_valid_coordinates":true} 
[2026-09-08 13:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946445056001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402744885846736896,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117355842373636096,"note":"Value kept but may cause issues"} 
[2026-09-08 13:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788853314000,"timestamp_ms":1788853314000,"timestamp_seconds":1788853314,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff761d0"} 
[2026-09-08 13:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 13:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946445056001,"66":27876,"171":206,"19":48128,"24":26,"16":402744885846736896,"45":5117355842373636096},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946445056001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:13:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:13:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402744885846736896,"km_value":402744885846736.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117355842373636096,"description":"Unknown IO ID 45"} 
[2026-09-08 13:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946445056001,"power":27876,"unknown_171":206,"unknown_19":48128,"ignition":26,"odometer":null,"unknown_45":5117355842373636096}} 
[2026-09-08 13:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":175732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:13:48] local.INFO: GPS data processed {"connection_id":175732,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:13:48] local.INFO: Acknowledgment sent {"connection_id":175732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:14:01] local.INFO: TCP Data received {"connection_id":177161,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:14:01] local.INFO: Processing buffer {"connection_id":177161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:14:01] local.INFO: IMEI packet received {"connection_id":177161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":177161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:14:06] local.INFO: TCP Data received {"connection_id":177161,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:14:06] local.INFO: Processing buffer {"connection_id":177161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:14:06] local.INFO: IMEI packet received {"connection_id":177161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":177161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:14:07] local.INFO: TCP Data received {"connection_id":177161,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff64890012d240fc007180a20005700d92a..."} 
[2026-09-08 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff64890012d240fc007180a20005700d92a..."} 
[2026-09-08 13:14:07] local.INFO: Processing buffer {"connection_id":177161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff64890012d240fc007180a20005700d92a..."} 
[2026-09-08 13:14:07] local.INFO: Packet analysis {"connection_id":177161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:14:07] local.INFO: Extracted packet for processing {"connection_id":177161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946424576001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853242000,"timestamp_ms":1788853242000,"timestamp_seconds":1788853242,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff64890"} 
[2026-09-08 13:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946424576001,"66":12950,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946424576001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946424576001,"power":12950,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":177161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:14:07] local.INFO: GPS data processed {"connection_id":177161,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:14:07] local.INFO: Acknowledgment sent {"connection_id":177161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:14:19] local.INFO: TCP Data received {"connection_id":175732,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff79498012d474c0006960570003a00512e..."} 
[2026-09-08 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff79498012d474c0006960570003a00512e..."} 
[2026-09-08 13:14:19] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff79498012d474c0006960570003a00512e..."} 
[2026-09-08 13:14:19] local.INFO: Packet analysis {"connection_id":175732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:14:19] local.INFO: Extracted packet for processing {"connection_id":175732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":759647232,"raw_latitude":110495088,"longitude_deg":75.9647232,"latitude_deg":11.0495088,"altitude":58,"angle":81,"satellites":46,"speed":30,"hex_longitude":"2d474c00","hex_latitude":"06960570","is_valid_coordinates":true} 
[2026-09-08 13:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946448384001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402745345408237568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127137097814923264,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788853327000,"timestamp_ms":1788853327000,"timestamp_seconds":1788853327,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff79498"} 
[2026-09-08 13:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 13:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946448384001,"66":27800,"171":206,"19":48128,"24":30,"16":402745345408237568,"45":5127137097814923264},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946448384001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:14:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:14:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402745345408237568,"km_value":402745345408237.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127137097814923264,"description":"Unknown IO ID 45"} 
[2026-09-08 13:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946448384001,"power":27800,"unknown_171":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5127137097814923264}} 
[2026-09-08 13:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":175732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:14:19] local.INFO: GPS data processed {"connection_id":175732,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:14:19] local.INFO: Acknowledgment sent {"connection_id":175732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:14:38] local.INFO: TCP Data received {"connection_id":177161,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff69a98012d240fc007180a20005700d92a..."} 
[2026-09-08 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff69a98012d240fc007180a20005700d92a..."} 
[2026-09-08 13:14:38] local.INFO: Processing buffer {"connection_id":177161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff69a98012d240fc007180a20005700d92a..."} 
[2026-09-08 13:14:38] local.INFO: Packet analysis {"connection_id":177161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:14:38] local.INFO: Extracted packet for processing {"connection_id":177161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946429952001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853263000,"timestamp_ms":1788853263000,"timestamp_seconds":1788853263,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff69a98"} 
[2026-09-08 13:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946429952001,"66":12863,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946429952001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:14:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:14:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946429952001,"power":12863,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":177161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:14:38] local.INFO: GPS data processed {"connection_id":177161,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:14:38] local.INFO: Acknowledgment sent {"connection_id":177161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:14:41] local.INFO: TCP Data received {"connection_id":174402,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:41] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:41] local.INFO: IMEI packet received {"connection_id":174402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":174402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:14:46] local.INFO: TCP Data received {"connection_id":174402,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:46] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:46] local.INFO: IMEI packet received {"connection_id":174402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:14:46] local.INFO: TCP Data received {"connection_id":174402,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:46] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:14:46] local.INFO: IMEI packet received {"connection_id":174402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:14:47] local.INFO: TCP Data received {"connection_id":174402,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff79498012d474c0006960570003a00512e..."} 
[2026-09-08 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff79498012d474c0006960570003a00512e..."} 
[2026-09-08 13:14:47] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff79498012d474c0006960570003a00512e..."} 
[2026-09-08 13:14:47] local.INFO: Packet analysis {"connection_id":174402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:14:47] local.INFO: Extracted packet for processing {"connection_id":174402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":759647232,"raw_latitude":110495088,"longitude_deg":75.9647232,"latitude_deg":11.0495088,"altitude":58,"angle":81,"satellites":46,"speed":30,"hex_longitude":"2d474c00","hex_latitude":"06960570","is_valid_coordinates":true} 
[2026-09-08 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946451712001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402745345408237568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5137481303209635840,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788853327000,"timestamp_ms":1788853327000,"timestamp_seconds":1788853327,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff79498"} 
[2026-09-08 13:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 13:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946451712001,"66":27800,"171":206,"19":48128,"24":30,"16":402745345408237568,"45":5137481303209635840},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946451712001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:14:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:14:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402745345408237568,"km_value":402745345408237.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5137481303209635840,"description":"Unknown IO ID 45"} 
[2026-09-08 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946451712001,"power":27800,"unknown_171":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5137481303209635840}} 
[2026-09-08 13:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":174402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:14:47] local.INFO: GPS data processed {"connection_id":174402,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:14:47] local.INFO: Acknowledgment sent {"connection_id":174402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:14:53] local.INFO: TCP Data received {"connection_id":174402,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff7bf90012d476fc006960c50003a004d2c..."} 
[2026-09-08 13:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff7bf90012d476fc006960c50003a004d2c..."} 
[2026-09-08 13:14:53] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff7bf90012d476fc006960c50003a004d2c..."} 
[2026-09-08 13:14:53] local.INFO: Packet analysis {"connection_id":174402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:14:53] local.INFO: Extracted packet for processing {"connection_id":174402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:14:53] local.INFO: GPS Element Parsed {"raw_longitude":759656384,"raw_latitude":110496848,"longitude_deg":75.9656384,"latitude_deg":11.0496848,"altitude":58,"angle":77,"satellites":44,"speed":34,"hex_longitude":"2d476fc0","hex_latitude":"06960c50","is_valid_coordinates":true} 
[2026-09-08 13:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946451712001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402745792084836352,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5137481303209635840,"note":"Value kept but may cause issues"} 
[2026-09-08 13:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788853338000,"timestamp_ms":1788853338000,"timestamp_seconds":1788853338,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff7bf90"} 
[2026-09-08 13:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 13:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946451712001,"66":27876,"171":206,"19":48128,"24":34,"16":402745792084836352,"45":5137481303209635840},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946451712001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:14:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:14:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402745792084836352,"km_value":402745792084836.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5137481303209635840,"description":"Unknown IO ID 45"} 
[2026-09-08 13:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946451712001,"power":27876,"unknown_171":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":5137481303209635840}} 
[2026-09-08 13:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":174402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:14:53] local.INFO: GPS data processed {"connection_id":174402,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:14:53] local.INFO: Acknowledgment sent {"connection_id":174402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:15:01] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:15:01] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:15:01] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:15:07] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:15:07] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:15:07] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:15:08] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff6eca0012d240fc007180a20005700d927..."} 
[2026-09-08 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff6eca0012d240fc007180a20005700d927..."} 
[2026-09-08 13:15:08] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff6eca0012d240fc007180a20005700d927..."} 
[2026-09-08 13:15:08] local.INFO: Packet analysis {"connection_id":175733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:15:08] local.INFO: Extracted packet for processing {"connection_id":175733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff6"} 
[2026-09-08 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946435328001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788853284000,"timestamp_ms":1788853284000,"timestamp_seconds":1788853284,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff6eca0"} 
[2026-09-08 13:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 13:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946435328001,"66":12885,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946435328001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946435328001,"power":12885,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":175733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:15:08] local.INFO: GPS data processed {"connection_id":175733,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:15:08] local.INFO: Acknowledgment sent {"connection_id":175733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:15:23] local.INFO: TCP Data received {"connection_id":174402,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff7ee70012d478e0006961190003b00592f..."} 
[2026-09-08 13:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff7ee70012d478e0006961190003b00592f..."} 
[2026-09-08 13:15:23] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff7ee70012d478e0006961190003b00592f..."} 
[2026-09-08 13:15:23] local.INFO: Packet analysis {"connection_id":174402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:15:23] local.INFO: Extracted packet for processing {"connection_id":174402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:15:23] local.INFO: GPS Element Parsed {"raw_longitude":759664128,"raw_latitude":110498192,"longitude_deg":75.9664128,"latitude_deg":11.0498192,"altitude":59,"angle":89,"satellites":47,"speed":12,"hex_longitude":"2d478e00","hex_latitude":"06961190","is_valid_coordinates":true} 
[2026-09-08 13:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946454528001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402746165746991104,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5147544033627492352,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788853350000,"timestamp_ms":1788853350000,"timestamp_seconds":1788853350,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff7ee70"} 
[2026-09-08 13:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 13:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946454528001,"66":27767,"171":206,"19":48128,"24":12,"16":402746165746991104,"45":5147544033627492352},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946454528001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:15:23] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402746165746991104,"km_value":402746165746991.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5147544033627492352,"description":"Unknown IO ID 45"} 
[2026-09-08 13:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946454528001,"power":27767,"unknown_171":206,"unknown_19":48128,"ignition":12,"odometer":null,"unknown_45":5147544033627492352}} 
[2026-09-08 13:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":174402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:15:24] local.INFO: GPS data processed {"connection_id":174402,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:15:24] local.INFO: Acknowledgment sent {"connection_id":174402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:15:45] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff73ea8012d240fc007180a20005700d92a..."} 
[2026-09-08 13:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff73ea8012d240fc007180a20005700d92a..."} 
[2026-09-08 13:15:45] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff73ea8012d240fc007180a20005700d92a..."} 
[2026-09-08 13:15:45] local.INFO: Packet analysis {"connection_id":175733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:15:45] local.INFO: Extracted packet for processing {"connection_id":175733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:15:45] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946440704001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788853305000,"timestamp_ms":1788853305000,"timestamp_seconds":1788853305,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff73ea8"} 
[2026-09-08 13:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 13:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946440704001,"66":12885,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946440704001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:15:45] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:15:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946440704001,"power":12885,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":175733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:15:45] local.INFO: GPS data processed {"connection_id":175733,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:15:45] local.INFO: Acknowledgment sent {"connection_id":175733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:15:48] local.INFO: TCP Data received {"connection_id":175734,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:15:48] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:15:48] local.INFO: IMEI packet received {"connection_id":175734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":175734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:15:51] local.INFO: TCP Data received {"connection_id":175734,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:15:51] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:15:51] local.INFO: IMEI packet received {"connection_id":175734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":175734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:15:52] local.INFO: TCP Data received {"connection_id":175734,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff7fa28012d47928006961240003b004c2f..."} 
[2026-09-08 13:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff7fa28012d47928006961240003b004c2f..."} 
[2026-09-08 13:15:52] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff7fa28012d47928006961240003b004c2f..."} 
[2026-09-08 13:15:52] local.INFO: Packet analysis {"connection_id":175734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:15:52] local.INFO: Extracted packet for processing {"connection_id":175734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":759665280,"raw_latitude":110498368,"longitude_deg":75.966528,"latitude_deg":11.0498368,"altitude":59,"angle":76,"satellites":47,"speed":18,"hex_longitude":"2d479280","hex_latitude":"06961240","is_valid_coordinates":true} 
[2026-09-08 13:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946457600001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402746221581565952,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5156058651673333760,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788853353000,"timestamp_ms":1788853353000,"timestamp_seconds":1788853353,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff7fa28"} 
[2026-09-08 13:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 13:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946457600001,"66":27865,"171":206,"19":48128,"24":18,"16":402746221581565952,"45":5156058651673333760},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946457600001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:15:52] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:15:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402746221581565952,"km_value":402746221581565.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5156058651673333760,"description":"Unknown IO ID 45"} 
[2026-09-08 13:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946457600001,"power":27865,"unknown_171":206,"unknown_19":48128,"ignition":18,"odometer":null,"unknown_45":5156058651673333760}} 
[2026-09-08 13:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":175734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:15:52] local.INFO: GPS data processed {"connection_id":175734,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:15:52] local.INFO: Acknowledgment sent {"connection_id":175734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:15:57] local.INFO: TCP Data received {"connection_id":175734,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff80db0012d479e00069613e0003a00582f..."} 
[2026-09-08 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff80db0012d479e00069613e0003a00582f..."} 
[2026-09-08 13:15:57] local.INFO: Processing buffer {"connection_id":175734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff80db0012d479e00069613e0003a00582f..."} 
[2026-09-08 13:15:57] local.INFO: Packet analysis {"connection_id":175734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:15:57] local.INFO: Extracted packet for processing {"connection_id":175734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:15:57] local.INFO: GPS Element Parsed {"raw_longitude":759668224,"raw_latitude":110498784,"longitude_deg":75.9668224,"latitude_deg":11.0498784,"altitude":58,"angle":88,"satellites":47,"speed":25,"hex_longitude":"2d479e00","hex_latitude":"069613e0","is_valid_coordinates":true} 
[2026-09-08 13:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946458368001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402746363315486720,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5157325289068576768,"note":"Value kept but may cause issues"} 
[2026-09-08 13:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788853358000,"timestamp_ms":1788853358000,"timestamp_seconds":1788853358,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff80db0"} 
[2026-09-08 13:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 13:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946458368001,"66":27908,"171":206,"19":48128,"24":25,"16":402746363315486720,"45":5157325289068576768},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946458368001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:15:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:15:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402746363315486720,"km_value":402746363315486.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5157325289068576768,"description":"Unknown IO ID 45"} 
[2026-09-08 13:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946458368001,"power":27908,"unknown_171":206,"unknown_19":48128,"ignition":25,"odometer":null,"unknown_45":5157325289068576768}} 
[2026-09-08 13:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":175734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:15:58] local.INFO: GPS data processed {"connection_id":175734,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:15:58] local.INFO: Acknowledgment sent {"connection_id":175734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:16:06] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:16:06] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:16:06] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:16:11] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:16:11] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:16:11] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:16:12] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff790b0012d240fc007180a20005700d928..."} 
[2026-09-08 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff790b0012d240fc007180a20005700d928..."} 
[2026-09-08 13:16:12] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff790b0012d240fc007180a20005700d928..."} 
[2026-09-08 13:16:12] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:16:12] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946446080001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788853326000,"timestamp_ms":1788853326000,"timestamp_seconds":1788853326,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff790b0"} 
[2026-09-08 13:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 13:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946446080001,"66":12863,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946446080001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946446080001,"power":12863,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:16:12] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:16:12] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:16:16] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff7e2b8012d240fc007180a20005700d927..."} 
[2026-09-08 13:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff7e2b8012d240fc007180a20005700d927..."} 
[2026-09-08 13:16:16] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff7e2b8012d240fc007180a20005700d927..."} 
[2026-09-08 13:16:16] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:16:16] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff7"} 
[2026-09-08 13:16:16] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946451456001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788853347000,"timestamp_ms":1788853347000,"timestamp_seconds":1788853347,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff7e2b8"} 
[2026-09-08 13:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 13:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946451456001,"66":12841,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946451456001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:16:16] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:16:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946451456001,"power":12841,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:16:16] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:16:16] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:16:43] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:16:43] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:16:43] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:16:47] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:16:47] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:16:47] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:16:48] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffa9238012d48860006962ef0004400552c..."} 
[2026-09-08 13:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffa9238012d48860006962ef0004400552c..."} 
[2026-09-08 13:16:48] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffa9238012d48860006962ef0004400552c..."} 
[2026-09-08 13:16:48] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffa"} 
[2026-09-08 13:16:48] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffa"} 
[2026-09-08 13:16:48] local.INFO: GPS Element Parsed {"raw_longitude":759727616,"raw_latitude":110505712,"longitude_deg":75.9727616,"latitude_deg":11.0505712,"altitude":68,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d488600","hex_latitude":"06962ef0","is_valid_coordinates":true} 
[2026-09-08 13:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946496512001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749228058673152,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224949652225189888,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788853523000,"timestamp_ms":1788853523000,"timestamp_seconds":1788853523,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffa9238"} 
[2026-09-08 13:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 13:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946496512001,"66":27865,"171":206,"19":48128,"24":0,"16":402749228058673152,"45":5224949652225189888},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946496512001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:16:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:16:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749228058673152,"km_value":402749228058673.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224949652225189888,"description":"Unknown IO ID 45"} 
[2026-09-08 13:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946496512001,"power":27865,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5224949652225189888}} 
[2026-09-08 13:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:16:48] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:16:48] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:16:50] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffac118012d48890006962f68004600482d..."} 
[2026-09-08 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffac118012d48890006962f68004600482d..."} 
[2026-09-08 13:16:50] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffac118012d48890006962f68004600482d..."} 
[2026-09-08 13:16:50] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffa"} 
[2026-09-08 13:16:50] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffa"} 
[2026-09-08 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":759728384,"raw_latitude":110505832,"longitude_deg":75.9728384,"latitude_deg":11.0505832,"altitude":70,"angle":72,"satellites":45,"speed":8,"hex_longitude":"2d488900","hex_latitude":"06962f68","is_valid_coordinates":true} 
[2026-09-08 13:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946501888001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749266713378816,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225864445899501568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788853535000,"timestamp_ms":1788853535000,"timestamp_seconds":1788853535,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffac118"} 
[2026-09-08 13:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 13:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946501888001,"66":27745,"171":206,"19":48128,"24":8,"16":402749266713378816,"45":5225864445899501568},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946501888001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:16:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:16:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749266713378816,"km_value":402749266713378.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225864445899501568,"description":"Unknown IO ID 45"} 
[2026-09-08 13:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946501888001,"power":27745,"unknown_171":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5225864445899501568}} 
[2026-09-08 13:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:16:50] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:16:50] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:17:01] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:01] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:01] local.INFO: IMEI packet received {"connection_id":175736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:17:06] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:06] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:06] local.INFO: IMEI packet received {"connection_id":175736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":175736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:17:07] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff834c0012d240fc007180a20005700d926..."} 
[2026-09-08 13:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff834c0012d240fc007180a20005700d926..."} 
[2026-09-08 13:17:07] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff834c0012d240fc007180a20005700d926..."} 
[2026-09-08 13:17:07] local.INFO: Packet analysis {"connection_id":175736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:17:07] local.INFO: Extracted packet for processing {"connection_id":175736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946456832001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853368000,"timestamp_ms":1788853368000,"timestamp_seconds":1788853368,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff834c0"} 
[2026-09-08 13:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 13:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946456832001,"66":12841,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946456832001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:17:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:17:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946456832001,"power":12841,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":175736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:17:07] local.INFO: GPS data processed {"connection_id":175736,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:17:07] local.INFO: Acknowledgment sent {"connection_id":175736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:17:22] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffaf3e0012d4888c006962fe8004601092d..."} 
[2026-09-08 13:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffaf3e0012d4888c006962fe8004601092d..."} 
[2026-09-08 13:17:22] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffaf3e0012d4888c006962fe8004601092d..."} 
[2026-09-08 13:17:22] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffa"} 
[2026-09-08 13:17:22] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffa"} 
[2026-09-08 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":759728320,"raw_latitude":110505960,"longitude_deg":75.972832,"latitude_deg":11.050596,"altitude":70,"angle":265,"satellites":45,"speed":6,"hex_longitude":"2d4888c0","hex_latitude":"06962fe8","is_valid_coordinates":true} 
[2026-09-08 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946504960001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749322547953664,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226708870829664256,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788853548000,"timestamp_ms":1788853548000,"timestamp_seconds":1788853548,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffaf3e0"} 
[2026-09-08 13:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 13:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946504960001,"66":27919,"171":206,"19":48128,"24":6,"16":402749322547953664,"45":5226708870829664256},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946504960001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:17:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:17:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749322547953664,"km_value":402749322547953.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226708870829664256,"description":"Unknown IO ID 45"} 
[2026-09-08 13:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946504960001,"power":27919,"unknown_171":206,"unknown_19":48128,"ignition":6,"odometer":null,"unknown_45":5226708870829664256}} 
[2026-09-08 13:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:17:22] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:17:22] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:17:38] local.INFO: TCP Data received {"connection_id":175736,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff886c8012d240fc007180a20005700d928..."} 
[2026-09-08 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff886c8012d240fc007180a20005700d928..."} 
[2026-09-08 13:17:38] local.INFO: Processing buffer {"connection_id":175736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff886c8012d240fc007180a20005700d928..."} 
[2026-09-08 13:17:38] local.INFO: Packet analysis {"connection_id":175736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:17:38] local.INFO: Extracted packet for processing {"connection_id":175736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946462208001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853389000,"timestamp_ms":1788853389000,"timestamp_seconds":1788853389,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff886c8"} 
[2026-09-08 13:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 13:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946462208001,"66":12776,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946462208001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946462208001,"power":12776,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":175736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:17:38] local.INFO: GPS data processed {"connection_id":175736,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:17:38] local.INFO: Acknowledgment sent {"connection_id":175736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:17:41] local.INFO: TCP Data received {"connection_id":175737,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:17:41] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:17:41] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:17:47] local.INFO: TCP Data received {"connection_id":175737,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:17:47] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:17:47] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:17:49] local.INFO: TCP Data received {"connection_id":175737,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffb45e8012d48854006963000004801092c..."} 
[2026-09-08 13:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffb45e8012d48854006963000004801092c..."} 
[2026-09-08 13:17:49] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffb45e8012d48854006963000004801092c..."} 
[2026-09-08 13:17:49] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffb"} 
[2026-09-08 13:17:49] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffb"} 
[2026-09-08 13:17:49] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946508288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226638502085519360,"note":"Value kept but may cause issues"} 
[2026-09-08 13:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788853569000,"timestamp_ms":1788853569000,"timestamp_seconds":1788853569,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffb45e8"} 
[2026-09-08 13:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 13:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946508288001,"66":27984,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5226638502085519360},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946508288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:17:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:17:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226638502085519360,"description":"Unknown IO ID 45"} 
[2026-09-08 13:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946508288001,"power":27984,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5226638502085519360}} 
[2026-09-08 13:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:17:49] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:17:49] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:17:59] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:59] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:17:59] local.INFO: IMEI packet received {"connection_id":177164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":177164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:18:01] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:18:01] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:18:01] local.INFO: IMEI packet received {"connection_id":177164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":177164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:18:06] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:18:06] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:18:06] local.INFO: IMEI packet received {"connection_id":177164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":177164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:18:07] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff8d8d0012d240fc007180a20005700d927..."} 
[2026-09-08 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff8d8d0012d240fc007180a20005700d927..."} 
[2026-09-08 13:18:07] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff8d8d0012d240fc007180a20005700d927..."} 
[2026-09-08 13:18:07] local.INFO: Packet analysis {"connection_id":177164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:18:07] local.INFO: Extracted packet for processing {"connection_id":177164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff8"} 
[2026-09-08 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946467584001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853410000,"timestamp_ms":1788853410000,"timestamp_seconds":1788853410,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff8d8d0"} 
[2026-09-08 13:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 13:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946467584001,"66":12809,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946467584001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946467584001,"power":12809,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":177164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:18:07] local.INFO: GPS data processed {"connection_id":177164,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:18:07] local.INFO: Acknowledgment sent {"connection_id":177164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:18:09] local.INFO: TCP Data received {"connection_id":177163,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:18:09] local.INFO: Processing buffer {"connection_id":177163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:18:09] local.INFO: IMEI packet received {"connection_id":177163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":177163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:18:22] local.INFO: TCP Data received {"connection_id":175737,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffb97f0012d48854006963000004801092c..."} 
[2026-09-08 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffb97f0012d48854006963000004801092c..."} 
[2026-09-08 13:18:22] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffb97f0012d48854006963000004801092c..."} 
[2026-09-08 13:18:22] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffb"} 
[2026-09-08 13:18:22] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffb"} 
[2026-09-08 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946513664001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788853590000,"timestamp_ms":1788853590000,"timestamp_seconds":1788853590,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffb97f0"} 
[2026-09-08 13:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 13:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946513664001,"66":27995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946513664001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:18:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:18:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946513664001,"power":27995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:18:22] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:18:22] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:18:38] local.INFO: TCP Data received {"connection_id":177164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ff92ad8012d240fc007180a20005700d92a..."} 
[2026-09-08 13:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ff92ad8012d240fc007180a20005700d92a..."} 
[2026-09-08 13:18:38] local.INFO: Processing buffer {"connection_id":177164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ff92ad8012d240fc007180a20005700d92a..."} 
[2026-09-08 13:18:38] local.INFO: Packet analysis {"connection_id":177164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ff9"} 
[2026-09-08 13:18:38] local.INFO: Extracted packet for processing {"connection_id":177164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ff9"} 
[2026-09-08 13:18:38] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946472960001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853431000,"timestamp_ms":1788853431000,"timestamp_seconds":1788853431,"priority":1,"record_length":96,"hex_timestamp":"000001a07ff92ad8"} 
[2026-09-08 13:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-677061663146111040,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1703542990,"corrected_to":0} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2818649380,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221690378,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121329214574174,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3589013504,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1732232192509139242,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,138,94,24,241,157,16,213,160,134,45,192,10,87,40,66,52,38,226,1,240,41,227,127,4,113,205,62,15,32,42,239,50,2,65,7,236],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1703542990,"validated":0}]} 
[2026-09-08 13:18:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269249442826682368,"timestamp_seconds":6269249442826682.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946472960001,"66":12798,"138":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-08 13:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946472960001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:18:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-08 13:18:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946472960001,"power":12798,"unknown_138":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":177164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:18:38] local.INFO: GPS data processed {"connection_id":177164,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:18:38] local.INFO: Acknowledgment sent {"connection_id":177164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:18:41] local.INFO: TCP Data received {"connection_id":174659,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:18:41] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:18:41] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:18:47] local.INFO: TCP Data received {"connection_id":174659,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:18:47] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:18:47] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:18:48] local.INFO: TCP Data received {"connection_id":174659,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffbe9f8012d48854006963000004801092e..."} 
[2026-09-08 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffbe9f8012d48854006963000004801092e..."} 
[2026-09-08 13:18:48] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffbe9f8012d48854006963000004801092e..."} 
[2026-09-08 13:18:48] local.INFO: Packet analysis {"connection_id":174659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffb"} 
[2026-09-08 13:18:48] local.INFO: Extracted packet for processing {"connection_id":174659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffb"} 
[2026-09-08 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":46,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946519040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788853611000,"timestamp_ms":1788853611000,"timestamp_seconds":1788853611,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffbe9f8"} 
[2026-09-08 13:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 13:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946519040001,"66":27713,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946519040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:18:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946519040001,"power":27713,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":174659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:18:48] local.INFO: GPS data processed {"connection_id":174659,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:18:48] local.INFO: Acknowledgment sent {"connection_id":174659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:19:01] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:01] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:01] local.INFO: IMEI packet received {"connection_id":177165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":177165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:19:02] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:02] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:02] local.INFO: IMEI packet received {"connection_id":177165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":177165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:19:06] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:06] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:19:06] local.INFO: IMEI packet received {"connection_id":177165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":177165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:19:07] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffcb130012d240fc007180a20005700d929..."} 
[2026-09-08 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffcb130012d240fc007180a20005700d929..."} 
[2026-09-08 13:19:07] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffcb130012d240fc007180a20005700d929..."} 
[2026-09-08 13:19:07] local.INFO: Packet analysis {"connection_id":177165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:19:07] local.INFO: Extracted packet for processing {"connection_id":177165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946532096001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853662000,"timestamp_ms":1788853662000,"timestamp_seconds":1788853662,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffcb130"} 
[2026-09-08 13:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3252742148295494176,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":127,"raw_value":4212590593,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1804468430,"corrected_to":0} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221690378,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199531,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3589013504,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":107,"raw_value":-8214338816496887808,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785235891666288642,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,142,94,24,241,157,16,213,160,13,45,192,10,87,35,66,187,39,105,1,240,123,227,127,4,113,205,197,15,32,239,49,2,65,7,107,68,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1804468430,"validated":0}]} 
[2026-09-08 13:19:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269249429941780480,"timestamp_seconds":6269249429941780.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946532096001,"66":12591,"142":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 13:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946532096001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946532096001,"power":12591,"unknown_142":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":177165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:19:07] local.INFO: GPS data processed {"connection_id":177165,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:19:07] local.INFO: Acknowledgment sent {"connection_id":177165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:19:20] local.INFO: TCP Data received {"connection_id":174659,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffc3c00012d48854006963000004801092c..."} 
[2026-09-08 13:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffc3c00012d48854006963000004801092c..."} 
[2026-09-08 13:19:20] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffc3c00012d48854006963000004801092c..."} 
[2026-09-08 13:19:20] local.INFO: Packet analysis {"connection_id":174659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:19:20] local.INFO: Extracted packet for processing {"connection_id":174659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:19:20] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946524416001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788853632000,"timestamp_ms":1788853632000,"timestamp_seconds":1788853632,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffc3c00"} 
[2026-09-08 13:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 13:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946524416001,"66":27995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946524416001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:19:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:19:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946524416001,"power":27995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":174659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:19:20] local.INFO: GPS data processed {"connection_id":174659,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:19:20] local.INFO: Acknowledgment sent {"connection_id":174659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:19:38] local.INFO: TCP Data received {"connection_id":177165,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffd0338012d240fc007180a20005700d926..."} 
[2026-09-08 13:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffd0338012d240fc007180a20005700d926..."} 
[2026-09-08 13:19:38] local.INFO: Processing buffer {"connection_id":177165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffd0338012d240fc007180a20005700d926..."} 
[2026-09-08 13:19:38] local.INFO: Packet analysis {"connection_id":177165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:19:38] local.INFO: Extracted packet for processing {"connection_id":177165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:19:38] local.INFO: GPS Element Parsed {"raw_longitude":757338048,"raw_latitude":119015968,"longitude_deg":75.7338048,"latitude_deg":11.9015968,"altitude":87,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d240fc0","hex_latitude":"07180a20","is_valid_coordinates":true} 
[2026-09-08 13:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946537472001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531083075190784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598506646716686336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853683000,"timestamp_ms":1788853683000,"timestamp_seconds":1788853683,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffd0338"} 
[2026-09-08 13:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 13:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946537472001,"66":13928,"142":206,"94":10752,"24":0,"16":18531083075190784,"45":2598506646716686336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 13:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946537472001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531083075190784,"km_value":18531083075190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598506646716686336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946537472001,"power":13928,"unknown_142":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2598506646716686336}} 
[2026-09-08 13:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":177165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:19:38] local.INFO: GPS data processed {"connection_id":177165,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:19:38] local.INFO: Acknowledgment sent {"connection_id":177165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:19:47] local.INFO: TCP Data received {"connection_id":177166,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:19:47] local.INFO: Processing buffer {"connection_id":177166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:19:47] local.INFO: IMEI packet received {"connection_id":177166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":177166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:19:52] local.INFO: TCP Data received {"connection_id":177166,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:19:52] local.INFO: Processing buffer {"connection_id":177166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:19:52] local.INFO: IMEI packet received {"connection_id":177166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":177166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:19:57] local.INFO: TCP Data received {"connection_id":177166,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffc8e08012d48854006963000004801092d..."} 
[2026-09-08 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffc8e08012d48854006963000004801092d..."} 
[2026-09-08 13:19:57] local.INFO: Processing buffer {"connection_id":177166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffc8e08012d48854006963000004801092d..."} 
[2026-09-08 13:19:57] local.INFO: Packet analysis {"connection_id":177166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:19:57] local.INFO: Extracted packet for processing {"connection_id":177166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946529792001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788853653000,"timestamp_ms":1788853653000,"timestamp_seconds":1788853653,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffc8e08"} 
[2026-09-08 13:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 13:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946529792001,"66":27919,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946529792001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:19:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:19:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946529792001,"power":27919,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":177166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:19:57] local.INFO: GPS data processed {"connection_id":177166,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:19:57] local.INFO: Acknowledgment sent {"connection_id":177166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:20:01] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:20:01] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:20:01] local.INFO: IMEI packet received {"connection_id":177167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":177167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:20:06] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:20:06] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:20:06] local.INFO: IMEI packet received {"connection_id":177167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":177167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:20:09] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe0120012d2404c00717f4180051012129..."} 
[2026-09-08 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe0120012d2404c00717f4180051012129..."} 
[2026-09-08 13:20:09] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe0120012d2404c00717f4180051012129..."} 
[2026-09-08 13:20:09] local.INFO: Packet analysis {"connection_id":177167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:20:09] local.INFO: Extracted packet for processing {"connection_id":177167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":757335232,"raw_latitude":119010328,"longitude_deg":75.7335232,"latitude_deg":11.9010328,"altitude":81,"angle":289,"satellites":41,"speed":8,"hex_longitude":"2d2404c0","hex_latitude":"0717f418","is_valid_coordinates":true} 
[2026-09-08 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946559232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531426672574464,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2595551159459774464,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788853748000,"timestamp_ms":1788853748000,"timestamp_seconds":1788853748,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe0120"} 
[2026-09-08 13:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 13:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946559232001,"66":14298,"142":206,"94":10752,"24":8,"16":18531426672574464,"45":2595551159459774464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946559232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:20:09] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 13:20:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531426672574464,"km_value":18531426672574.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2595551159459774464,"description":"Unknown IO ID 45"} 
[2026-09-08 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946559232001,"power":14298,"unknown_142":206,"unknown_94":10752,"ignition":8,"odometer":null,"unknown_45":2595551159459774464}} 
[2026-09-08 13:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":177167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:20:09] local.INFO: GPS data processed {"connection_id":177167,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:20:09] local.INFO: Acknowledgment sent {"connection_id":177167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:20:41] local.INFO: TCP Data received {"connection_id":177167,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe0508012d2403c00717f4700050012c29..."} 
[2026-09-08 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe0508012d2403c00717f4700050012c29..."} 
[2026-09-08 13:20:41] local.INFO: Processing buffer {"connection_id":177167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe0508012d2403c00717f4700050012c29..."} 
[2026-09-08 13:20:41] local.INFO: Packet analysis {"connection_id":177167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:20:41] local.INFO: Extracted packet for processing {"connection_id":177167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":757334976,"raw_latitude":119010416,"longitude_deg":75.7334976,"latitude_deg":11.9010416,"altitude":80,"angle":300,"satellites":41,"speed":10,"hex_longitude":"2d2403c0","hex_latitude":"0717f470","is_valid_coordinates":true} 
[2026-09-08 13:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946559488001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531439557476352,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2595410421971425280,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788853749000,"timestamp_ms":1788853749000,"timestamp_seconds":1788853749,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe0508"} 
[2026-09-08 13:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946559488001,"66":14298,"142":206,"94":10752,"24":10,"16":18531439557476352,"45":2595410421971425280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 13:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946559488001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:20:41] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 13:20:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531439557476352,"km_value":18531439557476.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2595410421971425280,"description":"Unknown IO ID 45"} 
[2026-09-08 13:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946559488001,"power":14298,"unknown_142":206,"unknown_94":10752,"ignition":10,"odometer":null,"unknown_45":2595410421971425280}} 
[2026-09-08 13:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":177167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:20:41] local.INFO: GPS data processed {"connection_id":177167,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:20:41] local.INFO: Acknowledgment sent {"connection_id":177167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:20:41] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:20:41] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:20:41] local.INFO: IMEI packet received {"connection_id":174660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":174660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:20:47] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:20:47] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:20:47] local.INFO: IMEI packet received {"connection_id":174660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:20:49] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffce010012d48854006963000004801092d..."} 
[2026-09-08 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffce010012d48854006963000004801092d..."} 
[2026-09-08 13:20:49] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffce010012d48854006963000004801092d..."} 
[2026-09-08 13:20:49] local.INFO: Packet analysis {"connection_id":174660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:20:49] local.INFO: Extracted packet for processing {"connection_id":174660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffc"} 
[2026-09-08 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946535168001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788853674000,"timestamp_ms":1788853674000,"timestamp_seconds":1788853674,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffce010"} 
[2026-09-08 13:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 13:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946535168001,"66":28006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946535168001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:20:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:20:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946535168001,"power":28006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":174660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:20:49] local.INFO: GPS data processed {"connection_id":174660,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:20:49] local.INFO: Acknowledgment sent {"connection_id":174660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:21:06] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:21:06] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:21:06] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:21:11] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:21:11] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:21:11] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:21:12] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe0cd8012d2401c00717f5e00051013829..."} 
[2026-09-08 13:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe0cd8012d2401c00717f5e00051013829..."} 
[2026-09-08 13:21:12] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe0cd8012d2401c00717f5e00051013829..."} 
[2026-09-08 13:21:12] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:21:12] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":757334464,"raw_latitude":119010784,"longitude_deg":75.7334464,"latitude_deg":11.9010784,"altitude":81,"angle":312,"satellites":41,"speed":14,"hex_longitude":"2d2401c0","hex_latitude":"0717f5e0","is_valid_coordinates":true} 
[2026-09-08 13:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946559744001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531469622247424,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2595128946994737152,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788853751000,"timestamp_ms":1788853751000,"timestamp_seconds":1788853751,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe0cd8"} 
[2026-09-08 13:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946559744001,"66":14298,"142":206,"94":10752,"24":14,"16":18531469622247424,"45":2595128946994737152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 13:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946559744001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:21:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 13:21:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531469622247424,"km_value":18531469622247.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2595128946994737152,"description":"Unknown IO ID 45"} 
[2026-09-08 13:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946559744001,"power":14298,"unknown_142":206,"unknown_94":10752,"ignition":14,"odometer":null,"unknown_45":2595128946994737152}} 
[2026-09-08 13:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:21:12] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:21:12] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:21:13] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe2830012d23f7c00717fe180052012b29..."} 
[2026-09-08 13:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe2830012d23f7c00717fe180052012b29..."} 
[2026-09-08 13:21:13] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe2830012d23f7c00717fe180052012b29..."} 
[2026-09-08 13:21:13] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:21:13] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:21:13] local.INFO: GPS Element Parsed {"raw_longitude":757331904,"raw_latitude":119012888,"longitude_deg":75.7331904,"latitude_deg":11.9012888,"altitude":82,"angle":299,"satellites":41,"speed":22,"hex_longitude":"2d23f7c0","hex_latitude":"0717fe18","is_valid_coordinates":true} 
[2026-09-08 13:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946560256001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18531628536037376,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2594565997041410048,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788853758000,"timestamp_ms":1788853758000,"timestamp_seconds":1788853758,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe2830"} 
[2026-09-08 13:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946560256001,"66":14363,"142":206,"94":10752,"24":22,"16":18531628536037376,"45":2594565997041410048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 13:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946560256001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:21:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 13:21:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18531628536037376,"km_value":18531628536037.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2594565997041410048,"description":"Unknown IO ID 45"} 
[2026-09-08 13:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946560256001,"power":14363,"unknown_142":206,"unknown_94":10752,"ignition":22,"odometer":null,"unknown_45":2594565997041410048}} 
[2026-09-08 13:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:21:13] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:21:13] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:21:21] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffd3218012d48854006963000004801092c..."} 
[2026-09-08 13:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffd3218012d48854006963000004801092c..."} 
[2026-09-08 13:21:21] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffd3218012d48854006963000004801092c..."} 
[2026-09-08 13:21:21] local.INFO: Packet analysis {"connection_id":174660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:21:21] local.INFO: Extracted packet for processing {"connection_id":174660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:21:21] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946540544001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788853695000,"timestamp_ms":1788853695000,"timestamp_seconds":1788853695,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffd3218"} 
[2026-09-08 13:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 13:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946540544001,"66":27995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946540544001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:21:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:21:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946540544001,"power":27995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:21:21] local.INFO: GPS data processed {"connection_id":174660,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:21:21] local.INFO: Acknowledgment sent {"connection_id":174660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:21:41] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:21:41] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:21:41] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:21:44] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe6e80012d23d84007181058005001272a..."} 
[2026-09-08 13:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe6e80012d23d84007181058005001272a..."} 
[2026-09-08 13:21:44] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe6e80012d23d84007181058005001272a..."} 
[2026-09-08 13:21:44] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:21:44] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:21:44] local.INFO: GPS Element Parsed {"raw_longitude":757323840,"raw_latitude":119017560,"longitude_deg":75.732384,"latitude_deg":11.901756,"altitude":80,"angle":295,"satellites":42,"speed":18,"hex_longitude":"2d23d840","hex_latitude":"07181058","is_valid_coordinates":true} 
[2026-09-08 13:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946562048001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532075212636160,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2591751247274842112,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788853776000,"timestamp_ms":1788853776000,"timestamp_seconds":1788853776,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe6e80"} 
[2026-09-08 13:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 13:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946562048001,"66":13015,"139":206,"94":10752,"24":18,"16":18532075212636160,"45":2591751247274842112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946562048001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:21:44] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:21:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532075212636160,"km_value":18532075212636.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2591751247274842112,"description":"Unknown IO ID 45"} 
[2026-09-08 13:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946562048001,"power":13015,"unknown_139":206,"unknown_94":10752,"ignition":18,"odometer":null,"unknown_45":2591751247274842112}} 
[2026-09-08 13:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:21:44] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:21:44] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:21:47] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:21:47] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:21:47] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:21:47] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffd8420012d48854006963000004801092c..."} 
[2026-09-08 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffd8420012d48854006963000004801092c..."} 
[2026-09-08 13:21:47] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffd8420012d48854006963000004801092c..."} 
[2026-09-08 13:21:47] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:21:47] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946545920001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788853716000,"timestamp_ms":1788853716000,"timestamp_seconds":1788853716,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffd8420"} 
[2026-09-08 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 13:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946545920001,"66":27974,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946545920001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946545920001,"power":27974,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:21:47] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:21:47] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:22:01] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:22:01] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:22:01] local.INFO: IMEI packet received {"connection_id":174406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":174406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:22:06] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:22:06] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:22:06] local.INFO: IMEI packet received {"connection_id":174406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":174406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:22:07] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffead00012d23c080071818080050011729..."} 
[2026-09-08 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffead00012d23c080071818080050011729..."} 
[2026-09-08 13:22:07] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffead00012d23c080071818080050011729..."} 
[2026-09-08 13:22:07] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:22:07] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":757317760,"raw_latitude":119019528,"longitude_deg":75.731776,"latitude_deg":11.9019528,"altitude":80,"angle":279,"satellites":41,"speed":6,"hex_longitude":"2d23c080","hex_latitude":"07181808","is_valid_coordinates":true} 
[2026-09-08 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946566656001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532380155314176,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2582884785509652480,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853792000,"timestamp_ms":1788853792000,"timestamp_seconds":1788853792,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffead00"} 
[2026-09-08 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946566656001,"66":13048,"139":206,"94":10752,"24":6,"16":18532380155314176,"45":2582884785509652480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946566656001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532380155314176,"km_value":18532380155314.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2582884785509652480,"description":"Unknown IO ID 45"} 
[2026-09-08 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946566656001,"power":13048,"unknown_139":206,"unknown_94":10752,"ignition":6,"odometer":null,"unknown_45":2582884785509652480}} 
[2026-09-08 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:22:07] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:22:07] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:22:11] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffeff08012d23bbc0071819200051011928..."} 
[2026-09-08 13:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffeff08012d23bbc0071819200051011928..."} 
[2026-09-08 13:22:11] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffeff08012d23bbc0071819200051011928..."} 
[2026-09-08 13:22:11] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:22:11] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946570752001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2576199754813278208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788853813000,"timestamp_ms":1788853813000,"timestamp_seconds":1788853813,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffeff08"} 
[2026-09-08 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-09-08 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-08 13:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946570752001,"66":12993,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2576199754813278208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946570752001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2576199754813278208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946570752001,"power":12993,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2576199754813278208}} 
[2026-09-08 13:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:22:12] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:22:12] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:22:19] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffdd628012d48854006963000004801092b..."} 
[2026-09-08 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffdd628012d48854006963000004801092b..."} 
[2026-09-08 13:22:19] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffdd628012d48854006963000004801092b..."} 
[2026-09-08 13:22:19] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:22:19] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffd"} 
[2026-09-08 13:22:19] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946551296001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788853737000,"timestamp_ms":1788853737000,"timestamp_seconds":1788853737,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffdd628"} 
[2026-09-08 13:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 13:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946551296001,"66":27995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946551296001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:22:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:22:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946551296001,"power":27995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:22:19] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:22:19] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:22:43] local.INFO: TCP Data received {"connection_id":174406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fff5110012d23bbc0071819200051011928..."} 
[2026-09-08 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fff5110012d23bbc0071819200051011928..."} 
[2026-09-08 13:22:43] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fff5110012d23bbc0071819200051011928..."} 
[2026-09-08 13:22:43] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:22:43] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946576128001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788853834000,"timestamp_ms":1788853834000,"timestamp_seconds":1788853834,"priority":1,"record_length":96,"hex_timestamp":"000001a07fff5110"} 
[2026-09-08 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-09-08 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 13:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946576128001,"66":12885,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946576128001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:22:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:22:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946576128001,"power":12885,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:22:43] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:22:43] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:22:46] local.INFO: TCP Data received {"connection_id":175739,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:22:46] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:22:46] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:22:52] local.INFO: TCP Data received {"connection_id":175739,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:22:52] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:22:52] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:22:55] local.INFO: TCP Data received {"connection_id":175739,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe2830012d48854006963000004801092d..."} 
[2026-09-08 13:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe2830012d48854006963000004801092d..."} 
[2026-09-08 13:22:55] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe2830012d48854006963000004801092d..."} 
[2026-09-08 13:22:55] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:22:55] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:22:55] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946556672001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788853758000,"timestamp_ms":1788853758000,"timestamp_seconds":1788853758,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe2830"} 
[2026-09-08 13:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 13:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946556672001,"66":27908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946556672001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:22:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:22:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946556672001,"power":27908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:22:55] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:22:55] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:23:01] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:23:01] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:23:01] local.INFO: IMEI packet received {"connection_id":177170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":177170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:23:06] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:23:06] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:23:06] local.INFO: IMEI packet received {"connection_id":177170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":177170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:23:07] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07fffa318012d23bbc0071819200051011929..."} 
[2026-09-08 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fffa318012d23bbc0071819200051011929..."} 
[2026-09-08 13:23:07] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fffa318012d23bbc0071819200051011929..."} 
[2026-09-08 13:23:07] local.INFO: Packet analysis {"connection_id":177170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:23:07] local.INFO: Extracted packet for processing {"connection_id":177170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946581504001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853855000,"timestamp_ms":1788853855000,"timestamp_seconds":1788853855,"priority":1,"record_length":96,"hex_timestamp":"000001a07fffa318"} 
[2026-09-08 13:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 13:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946581504001,"66":12863,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946581504001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:23:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:23:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946581504001,"power":12863,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":177170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:23:08] local.INFO: GPS data processed {"connection_id":177170,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:23:08] local.INFO: Acknowledgment sent {"connection_id":177170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:23:39] local.INFO: TCP Data received {"connection_id":177170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffff520012d23bbc007181920005101192a..."} 
[2026-09-08 13:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffff520012d23bbc007181920005101192a..."} 
[2026-09-08 13:23:39] local.INFO: Processing buffer {"connection_id":177170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffff520012d23bbc007181920005101192a..."} 
[2026-09-08 13:23:39] local.INFO: Packet analysis {"connection_id":177170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:23:39] local.INFO: Extracted packet for processing {"connection_id":177170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:23:39] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":42,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 13:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946586880001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788853876000,"timestamp_ms":1788853876000,"timestamp_seconds":1788853876,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffff520"} 
[2026-09-08 13:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 13:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946586880001,"66":12841,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946586880001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:23:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:23:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946586880001,"power":12841,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":177170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:23:39] local.INFO: GPS data processed {"connection_id":177170,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:23:39] local.INFO: Acknowledgment sent {"connection_id":177170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:23:41] local.INFO: TCP Data received {"connection_id":174407,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:23:41] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:23:41] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:23:44] local.INFO: TCP Data received {"connection_id":174662,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:23:44] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:23:44] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:23:46] local.INFO: TCP Data received {"connection_id":174407,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:23:46] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:23:46] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:23:48] local.INFO: TCP Data received {"connection_id":174407,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffe7a38012d48854006963000004801092e..."} 
[2026-09-08 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffe7a38012d48854006963000004801092e..."} 
[2026-09-08 13:23:48] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffe7a38012d48854006963000004801092e..."} 
[2026-09-08 13:23:48] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:23:48] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:23:48] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":46,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946562048001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788853779000,"timestamp_ms":1788853779000,"timestamp_seconds":1788853779,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffe7a38"} 
[2026-09-08 13:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 13:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946562048001,"66":28028,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946562048001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946562048001,"power":28028,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:23:48] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:23:48] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:24:00] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:00] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:00] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:24:01] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:01] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:01] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:24:06] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:06] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:24:06] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:24:07] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080004728012d23bbc007181920005101192b..."} 
[2026-09-08 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080004728012d23bbc007181920005101192b..."} 
[2026-09-08 13:24:07] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080004728012d23bbc007181920005101192b..."} 
[2026-09-08 13:24:07] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:24:07] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":43,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946592256001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853897000,"timestamp_ms":1788853897000,"timestamp_seconds":1788853897,"priority":1,"record_length":96,"hex_timestamp":"000001a080004728"} 
[2026-09-08 13:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 13:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946592256001,"66":12798,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946592256001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:24:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:24:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946592256001,"power":12798,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:24:07] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:24:07] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:24:20] local.INFO: TCP Data received {"connection_id":174407,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07ffecc40012d48854006963000004801092d..."} 
[2026-09-08 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ffecc40012d48854006963000004801092d..."} 
[2026-09-08 13:24:20] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ffecc40012d48854006963000004801092d..."} 
[2026-09-08 13:24:20] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:24:20] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ffe"} 
[2026-09-08 13:24:20] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946567424001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788853800000,"timestamp_ms":1788853800000,"timestamp_seconds":1788853800,"priority":1,"record_length":96,"hex_timestamp":"000001a07ffecc40"} 
[2026-09-08 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-09-08 13:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-08 13:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946567424001,"66":28050,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946567424001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:24:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:24:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946567424001,"power":28050,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:24:20] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:24:20] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:24:39] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080009930012d23bbc007181920005101192a..."} 
[2026-09-08 13:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080009930012d23bbc007181920005101192a..."} 
[2026-09-08 13:24:39] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080009930012d23bbc007181920005101192a..."} 
[2026-09-08 13:24:39] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:24:39] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:24:39] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":42,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 13:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946597632001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788853918000,"timestamp_ms":1788853918000,"timestamp_seconds":1788853918,"priority":1,"record_length":96,"hex_timestamp":"000001a080009930"} 
[2026-09-08 13:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 13:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946597632001,"66":11656,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946597632001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:24:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:24:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946597632001,"power":11656,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:24:39] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:24:39] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:24:47] local.INFO: TCP Data received {"connection_id":175740,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:24:47] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:24:47] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:25:01] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:01] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:01] local.INFO: IMEI packet received {"connection_id":177172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":177172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:25:03] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:03] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:03] local.INFO: IMEI packet received {"connection_id":177172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":177172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:25:06] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:06] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:25:06] local.INFO: IMEI packet received {"connection_id":177172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":177172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:25:07] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08000eb38012d23bbc007181920005101192b..."} 
[2026-09-08 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08000eb38012d23bbc007181920005101192b..."} 
[2026-09-08 13:25:07] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08000eb38012d23bbc007181920005101192b..."} 
[2026-09-08 13:25:07] local.INFO: Packet analysis {"connection_id":177172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:25:07] local.INFO: Extracted packet for processing {"connection_id":177172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":43,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946603008001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788853939000,"timestamp_ms":1788853939000,"timestamp_seconds":1788853939,"priority":1,"record_length":96,"hex_timestamp":"000001a08000eb38"} 
[2026-09-08 13:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-08 13:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946603008001,"66":12722,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946603008001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:25:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:25:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946603008001,"power":12722,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":177172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:25:07] local.INFO: GPS data processed {"connection_id":177172,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:25:07] local.INFO: Acknowledgment sent {"connection_id":177172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:25:14] local.INFO: TCP Data received {"connection_id":175740,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:14] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:14] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:25:20] local.INFO: TCP Data received {"connection_id":175740,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07fff1e48012d48854006963000004801092c..."} 
[2026-09-08 13:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fff1e48012d48854006963000004801092c..."} 
[2026-09-08 13:25:20] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fff1e48012d48854006963000004801092c..."} 
[2026-09-08 13:25:20] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:25:20] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:25:20] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946572800001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788853821000,"timestamp_ms":1788853821000,"timestamp_seconds":1788853821,"priority":1,"record_length":96,"hex_timestamp":"000001a07fff1e48"} 
[2026-09-08 13:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-08 13:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946572800001,"66":28050,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946572800001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:25:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:25:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946572800001,"power":28050,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:25:20] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:25:20] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:25:22] local.INFO: TCP Data received {"connection_id":175740,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a07fff2618012d48854006963000004801092c..."} 
[2026-09-08 13:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07fff2618012d48854006963000004801092c..."} 
[2026-09-08 13:25:22] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07fff2618012d48854006963000004801092c..."} 
[2026-09-08 13:25:22] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:25:22] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07fff"} 
[2026-09-08 13:25:22] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946578176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788853823000,"timestamp_ms":1788853823000,"timestamp_seconds":1788853823,"priority":1,"record_length":96,"hex_timestamp":"000001a07fff2618"} 
[2026-09-08 13:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-08 13:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946578176001,"66":28006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946578176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:25:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:25:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946578176001,"power":28006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:25:22] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:25:22] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:25:38] local.INFO: TCP Data received {"connection_id":177172,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080013d40012d23bbc007181920005101192b..."} 
[2026-09-08 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080013d40012d23bbc007181920005101192b..."} 
[2026-09-08 13:25:38] local.INFO: Processing buffer {"connection_id":177172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080013d40012d23bbc007181920005101192b..."} 
[2026-09-08 13:25:38] local.INFO: Packet analysis {"connection_id":177172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:25:38] local.INFO: Extracted packet for processing {"connection_id":177172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":757316544,"raw_latitude":119019808,"longitude_deg":75.7316544,"latitude_deg":11.9019808,"altitude":81,"angle":281,"satellites":43,"speed":0,"hex_longitude":"2d23bbc0","hex_latitude":"07181920","is_valid_coordinates":true} 
[2026-09-08 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946608384001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532448874790912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574862748673974272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788853960000,"timestamp_ms":1788853960000,"timestamp_seconds":1788853960,"priority":1,"record_length":96,"hex_timestamp":"000001a080013d40"} 
[2026-09-08 13:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 13:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946608384001,"66":12689,"139":206,"94":10752,"24":0,"16":18532448874790912,"45":2574862748673974272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946608384001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532448874790912,"km_value":18532448874790.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574862748673974272,"description":"Unknown IO ID 45"} 
[2026-09-08 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946608384001,"power":12689,"unknown_139":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":2574862748673974272}} 
[2026-09-08 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":177172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:25:38] local.INFO: GPS data processed {"connection_id":177172,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:25:38] local.INFO: Acknowledgment sent {"connection_id":177172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:25:42] local.INFO: TCP Data received {"connection_id":174663,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:42] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:42] local.INFO: IMEI packet received {"connection_id":174663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":174663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:25:46] local.INFO: TCP Data received {"connection_id":174663,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:46] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:25:46] local.INFO: IMEI packet received {"connection_id":174663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":174663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:25:48] local.INFO: TCP Data received {"connection_id":174663,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080009160012d4883c006963000004801092b..."} 
[2026-09-08 13:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080009160012d4883c006963000004801092b..."} 
[2026-09-08 13:25:48] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080009160012d4883c006963000004801092b..."} 
[2026-09-08 13:25:48] local.INFO: Packet analysis {"connection_id":174663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:25:48] local.INFO: Extracted packet for processing {"connection_id":174663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:25:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946578688001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788853916000,"timestamp_ms":1788853916000,"timestamp_seconds":1788853916,"priority":1,"record_length":96,"hex_timestamp":"000001a080009160"} 
[2026-09-08 13:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 13:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946578688001,"66":26963,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946578688001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:25:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:25:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946578688001,"power":26963,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":174663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:25:48] local.INFO: GPS data processed {"connection_id":174663,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:25:48] local.INFO: Acknowledgment sent {"connection_id":174663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:26:01] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:01] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:01] local.INFO: IMEI packet received {"connection_id":175741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":175741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:26:01] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:01] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:01] local.INFO: IMEI packet received {"connection_id":175741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":175741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:26:06] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:06] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:26:06] local.INFO: IMEI packet received {"connection_id":175741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":175741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:26:11] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080039ab8012d23a28007181788005701062b..."} 
[2026-09-08 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080039ab8012d23a28007181788005701062b..."} 
[2026-09-08 13:26:11] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080039ab8012d23a28007181788005701062b..."} 
[2026-09-08 13:26:11] local.INFO: Packet analysis {"connection_id":175741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08003"} 
[2026-09-08 13:26:11] local.INFO: Extracted packet for processing {"connection_id":175741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08003"} 
[2026-09-08 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":757310080,"raw_latitude":119019400,"longitude_deg":75.731008,"latitude_deg":11.90194,"altitude":87,"angle":262,"satellites":43,"speed":10,"hex_longitude":"2d23a280","hex_latitude":"07181788","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946653184001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532762407403520,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2568036980488656896,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788854115000,"timestamp_ms":1788854115000,"timestamp_seconds":1788854115,"priority":1,"record_length":96,"hex_timestamp":"000001a080039ab8"} 
[2026-09-08 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-09-08 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-08 13:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946653184001,"66":14113,"139":206,"94":10752,"24":10,"16":18532762407403520,"45":2568036980488656896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946653184001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532762407403520,"km_value":18532762407403.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2568036980488656896,"description":"Unknown IO ID 45"} 
[2026-09-08 13:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946653184001,"power":14113,"unknown_139":206,"unknown_94":10752,"ignition":10,"odometer":null,"unknown_45":2568036980488656896}} 
[2026-09-08 13:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":175741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:26:11] local.INFO: GPS data processed {"connection_id":175741,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:26:11] local.INFO: Acknowledgment sent {"connection_id":175741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:26:19] local.INFO: TCP Data received {"connection_id":174663,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08000ef20012d48854006963000004801092e..."} 
[2026-09-08 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08000ef20012d48854006963000004801092e..."} 
[2026-09-08 13:26:19] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08000ef20012d48854006963000004801092e..."} 
[2026-09-08 13:26:19] local.INFO: Packet analysis {"connection_id":174663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:26:19] local.INFO: Extracted packet for processing {"connection_id":174663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08000"} 
[2026-09-08 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":46,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946602496001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788853940000,"timestamp_ms":1788853940000,"timestamp_seconds":1788853940,"priority":1,"record_length":96,"hex_timestamp":"000001a08000ef20"} 
[2026-09-08 13:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-08 13:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946602496001,"66":27876,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946602496001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:26:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:26:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946602496001,"power":27876,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":174663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:26:19] local.INFO: GPS data processed {"connection_id":174663,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:26:19] local.INFO: Acknowledgment sent {"connection_id":174663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:26:41] local.INFO: TCP Data received {"connection_id":174664,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:26:41] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:26:41] local.INFO: IMEI packet received {"connection_id":174664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":174664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:26:43] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080039ea0012d23a1c007181788005601152c..."} 
[2026-09-08 13:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080039ea0012d23a1c007181788005601152c..."} 
[2026-09-08 13:26:43] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080039ea0012d23a1c007181788005601152c..."} 
[2026-09-08 13:26:43] local.INFO: Packet analysis {"connection_id":175741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08003"} 
[2026-09-08 13:26:43] local.INFO: Extracted packet for processing {"connection_id":175741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08003"} 
[2026-09-08 13:26:43] local.INFO: GPS Element Parsed {"raw_longitude":757309888,"raw_latitude":119019400,"longitude_deg":75.7309888,"latitude_deg":11.90194,"altitude":86,"angle":277,"satellites":44,"speed":11,"hex_longitude":"2d23a1c0","hex_latitude":"07181788","is_valid_coordinates":true} 
[2026-09-08 13:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946653440001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18532775292305408,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567755505511925760,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788854116000,"timestamp_ms":1788854116000,"timestamp_seconds":1788854116,"priority":1,"record_length":96,"hex_timestamp":"000001a080039ea0"} 
[2026-09-08 13:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-08 13:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946653440001,"66":14211,"139":206,"94":10752,"24":11,"16":18532775292305408,"45":2567755505511925760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946653440001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:26:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:26:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18532775292305408,"km_value":18532775292305.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567755505511925760,"description":"Unknown IO ID 45"} 
[2026-09-08 13:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946653440001,"power":14211,"unknown_139":206,"unknown_94":10752,"ignition":11,"odometer":null,"unknown_45":2567755505511925760}} 
[2026-09-08 13:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":175741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:26:43] local.INFO: GPS data processed {"connection_id":175741,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:26:43] local.INFO: Acknowledgment sent {"connection_id":175741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:26:47] local.INFO: TCP Data received {"connection_id":174664,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:26:47] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:26:47] local.INFO: IMEI packet received {"connection_id":174664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:26:49] local.INFO: TCP Data received {"connection_id":174664,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080014128012d48854006963000004801092d..."} 
[2026-09-08 13:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080014128012d48854006963000004801092d..."} 
[2026-09-08 13:26:49] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080014128012d48854006963000004801092d..."} 
[2026-09-08 13:26:49] local.INFO: Packet analysis {"connection_id":174664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:26:49] local.INFO: Extracted packet for processing {"connection_id":174664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:26:49] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946608640001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788853961000,"timestamp_ms":1788853961000,"timestamp_seconds":1788853961,"priority":1,"record_length":96,"hex_timestamp":"000001a080014128"} 
[2026-09-08 13:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 13:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946608640001,"66":27691,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946608640001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:26:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:26:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946608640001,"power":27691,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":174664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:26:49] local.INFO: GPS data processed {"connection_id":174664,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:26:49] local.INFO: Acknowledgment sent {"connection_id":174664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:27:05] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:05] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:05] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:27:06] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:06] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:06] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:27:07] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:07] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:07] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:27:08] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080048900012d237ac007185840004f015629..."} 
[2026-09-08 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080048900012d237ac007185840004f015629..."} 
[2026-09-08 13:27:08] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080048900012d237ac007185840004f015629..."} 
[2026-09-08 13:27:08] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08004"} 
[2026-09-08 13:27:08] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08004"} 
[2026-09-08 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":757299904,"raw_latitude":119035968,"longitude_deg":75.7299904,"latitude_deg":11.9035968,"altitude":79,"angle":342,"satellites":41,"speed":29,"hex_longitude":"2d237ac0","hex_latitude":"07185840","is_valid_coordinates":true} 
[2026-09-08 13:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946667264001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18533797494521856,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2556848350167390208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788854176000,"timestamp_ms":1788854176000,"timestamp_seconds":1788854176,"priority":1,"record_length":96,"hex_timestamp":"000001a080048900"} 
[2026-09-08 13:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 13:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946667264001,"66":14243,"139":206,"94":10752,"24":29,"16":18533797494521856,"45":2556848350167390208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946667264001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:27:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:27:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18533797494521856,"km_value":18533797494521.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2556848350167390208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946667264001,"power":14243,"unknown_139":206,"unknown_94":10752,"ignition":29,"odometer":null,"unknown_45":2556848350167390208}} 
[2026-09-08 13:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:27:08] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:27:08] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:27:09] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08004b3f8012d236cc007187940004b01552a..."} 
[2026-09-08 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08004b3f8012d236cc007187940004b01552a..."} 
[2026-09-08 13:27:09] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08004b3f8012d236cc007187940004b01552a..."} 
[2026-09-08 13:27:09] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08004"} 
[2026-09-08 13:27:09] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08004"} 
[2026-09-08 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":757296320,"raw_latitude":119044416,"longitude_deg":75.729632,"latitude_deg":11.9044416,"altitude":75,"angle":341,"satellites":42,"speed":36,"hex_longitude":"2d236cc0","hex_latitude":"07187940","is_valid_coordinates":true} 
[2026-09-08 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946669056001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18534244171120640,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2556566875191918592,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788854187000,"timestamp_ms":1788854187000,"timestamp_seconds":1788854187,"priority":1,"record_length":96,"hex_timestamp":"000001a08004b3f8"} 
[2026-09-08 13:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 13:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946669056001,"66":14341,"139":206,"94":10752,"24":36,"16":18534244171120640,"45":2556566875191918592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946669056001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:27:09] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:27:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18534244171120640,"km_value":18534244171120.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2556566875191918592,"description":"Unknown IO ID 45"} 
[2026-09-08 13:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946669056001,"power":14341,"unknown_139":206,"unknown_94":10752,"ignition":36,"odometer":null,"unknown_45":2556566875191918592}} 
[2026-09-08 13:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:27:09] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:27:09] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:27:21] local.INFO: TCP Data received {"connection_id":174664,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:27:21] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:27:21] local.INFO: Packet analysis {"connection_id":174664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:27:21] local.INFO: Extracted packet for processing {"connection_id":174664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:27:21] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":46,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946614016001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788853965000,"timestamp_ms":1788853965000,"timestamp_seconds":1788853965,"priority":1,"record_length":96,"hex_timestamp":"000001a0800150c8"} 
[2026-09-08 13:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 13:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946614016001,"66":27658,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946614016001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:27:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:27:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946614016001,"power":27658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":174664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:27:21] local.INFO: GPS data processed {"connection_id":174664,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:27:21] local.INFO: Acknowledgment sent {"connection_id":174664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:27:40] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08004bbc8012d236b8007188088004b01652a..."} 
[2026-09-08 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08004bbc8012d236b8007188088004b01652a..."} 
[2026-09-08 13:27:40] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08004bbc8012d236b8007188088004b01652a..."} 
[2026-09-08 13:27:40] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08004"} 
[2026-09-08 13:27:40] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08004"} 
[2026-09-08 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":757296000,"raw_latitude":119046280,"longitude_deg":75.7296,"latitude_deg":11.904628,"altitude":75,"angle":357,"satellites":42,"speed":38,"hex_longitude":"2d236b80","hex_latitude":"07188088","is_valid_coordinates":true} 
[2026-09-08 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946671872001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18534334365433856,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2552626225520132096,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788854189000,"timestamp_ms":1788854189000,"timestamp_seconds":1788854189,"priority":1,"record_length":96,"hex_timestamp":"000001a08004bbc8"} 
[2026-09-08 13:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987711417,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2147738864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503882419994624,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1804271822,"corrected_to":0} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84763115543533595,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738795,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3620864000,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.WARNING: Large IO value detected {"io_id":104,"raw_value":24208102882545664,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,139,94,24,241,157,16,216,160,137,45,192,88,79,41,10,66,109,69,82,40,97,1,240,185,227,128,4,113,205,5,248,134,239,55,2,65,7,84,14,206,104],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1804271822,"validated":0}]} 
[2026-09-08 13:27:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404694666700652544,"timestamp_seconds":5404694666700653.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946671872001,"66":14341,"139":206,"94":10752,"24":38,"16":18534334365433856,"45":2552626225520132096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946671872001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:27:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:27:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18534334365433856,"km_value":18534334365433.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2552626225520132096,"description":"Unknown IO ID 45"} 
[2026-09-08 13:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946671872001,"power":14341,"unknown_139":206,"unknown_94":10752,"ignition":38,"odometer":null,"unknown_45":2552626225520132096}} 
[2026-09-08 13:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:27:40] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:27:40] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:27:41] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:27:41] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:27:41] local.INFO: IMEI packet received {"connection_id":174665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":174665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:27:47] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:27:47] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:27:47] local.INFO: IMEI packet received {"connection_id":174665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":174665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:27:48] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:27:48] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:27:48] local.INFO: Packet analysis {"connection_id":174665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:27:48] local.INFO: Extracted packet for processing {"connection_id":174665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":46,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946614016001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788853965000,"timestamp_ms":1788853965000,"timestamp_seconds":1788853965,"priority":1,"record_length":96,"hex_timestamp":"000001a0800150c8"} 
[2026-09-08 13:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 13:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946614016001,"66":27658,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946614016001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:27:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:27:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946614016001,"power":27658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":174665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:27:48] local.INFO: GPS data processed {"connection_id":174665,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:27:48] local.INFO: Acknowledgment sent {"connection_id":174665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:27:58] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:58] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:27:58] local.INFO: IMEI packet received {"connection_id":177176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":177176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:28:01] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:28:01] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:28:01] local.INFO: IMEI packet received {"connection_id":177176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":177176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:28:06] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:28:06] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:28:06] local.INFO: IMEI packet received {"connection_id":177176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":177176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:28:07] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080054868012d23aac00718f1000049016727..."} 
[2026-09-08 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080054868012d23aac00718f1000049016727..."} 
[2026-09-08 13:28:07] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080054868012d23aac00718f1000049016727..."} 
[2026-09-08 13:28:07] local.INFO: Packet analysis {"connection_id":177176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:07] local.INFO: Extracted packet for processing {"connection_id":177176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":757312192,"raw_latitude":119075072,"longitude_deg":75.7312192,"latitude_deg":11.9075072,"altitude":73,"angle":359,"satellites":39,"speed":34,"hex_longitude":"2d23aac0","hex_latitude":"0718f100","is_valid_coordinates":true} 
[2026-09-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946681344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18536060942286848,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2570218411572185088,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854225000,"timestamp_ms":1788854225000,"timestamp_seconds":1788854225,"priority":1,"record_length":96,"hex_timestamp":"000001a080054868"} 
[2026-09-08 13:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946681344001,"66":14265,"139":206,"94":10752,"24":34,"16":18536060942286848,"45":2570218411572185088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946681344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18536060942286848,"km_value":18536060942286.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2570218411572185088,"description":"Unknown IO ID 45"} 
[2026-09-08 13:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946681344001,"power":14265,"unknown_139":206,"unknown_94":10752,"ignition":34,"odometer":null,"unknown_45":2570218411572185088}} 
[2026-09-08 13:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":177176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:28:07] local.INFO: GPS data processed {"connection_id":177176,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:28:07] local.INFO: Acknowledgment sent {"connection_id":177176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:28:20] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:28:20] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800150c8012d48854006963000004801092e..."} 
[2026-09-08 13:28:20] local.INFO: Packet analysis {"connection_id":174665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:28:20] local.INFO: Extracted packet for processing {"connection_id":174665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08001"} 
[2026-09-08 13:28:20] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110505984,"longitude_deg":75.9727424,"latitude_deg":11.0505984,"altitude":72,"angle":265,"satellites":46,"speed":0,"hex_longitude":"2d488540","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946614016001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788853965000,"timestamp_ms":1788853965000,"timestamp_seconds":1788853965,"priority":1,"record_length":96,"hex_timestamp":"000001a0800150c8"} 
[2026-09-08 13:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 13:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946614016001,"66":27658,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946614016001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:28:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:28:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946614016001,"power":27658,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":174665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:28:20] local.INFO: GPS data processed {"connection_id":174665,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:28:20] local.INFO: Acknowledgment sent {"connection_id":174665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:28:39] local.INFO: TCP Data received {"connection_id":177176,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080054c50012d23a8800718f3980049015728..."} 
[2026-09-08 13:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080054c50012d23a8800718f3980049015728..."} 
[2026-09-08 13:28:39] local.INFO: Processing buffer {"connection_id":177176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080054c50012d23a8800718f3980049015728..."} 
[2026-09-08 13:28:39] local.INFO: Packet analysis {"connection_id":177176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:39] local.INFO: Extracted packet for processing {"connection_id":177176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:39] local.INFO: GPS Element Parsed {"raw_longitude":757311616,"raw_latitude":119075736,"longitude_deg":75.7311616,"latitude_deg":11.9075736,"altitude":73,"angle":343,"satellites":40,"speed":32,"hex_longitude":"2d23a880","hex_latitude":"0718f398","is_valid_coordinates":true} 
[2026-09-08 13:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946681600001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18536103891959808,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2570077674084040704,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788854226000,"timestamp_ms":1788854226000,"timestamp_seconds":1788854226,"priority":1,"record_length":96,"hex_timestamp":"000001a080054c50"} 
[2026-09-08 13:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946681600001,"66":14233,"139":206,"94":10752,"24":32,"16":18536103891959808,"45":2570077674084040704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 13:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946681600001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:28:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 13:28:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18536103891959808,"km_value":18536103891959.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2570077674084040704,"description":"Unknown IO ID 45"} 
[2026-09-08 13:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946681600001,"power":14233,"unknown_139":206,"unknown_94":10752,"ignition":32,"odometer":null,"unknown_45":2570077674084040704}} 
[2026-09-08 13:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":177176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:28:39] local.INFO: GPS data processed {"connection_id":177176,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:28:39] local.INFO: Acknowledgment sent {"connection_id":177176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:28:47] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:28:47] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:28:47] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:28:52] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:28:52] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:28:52] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:28:53] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:28:53] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:28:53] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:53] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:28:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:28:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:28:53] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:28:53] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:28:58] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:28:58] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:28:58] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:58] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:28:58] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:28:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:28:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:28:58] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:28:58] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:29:04] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:29:04] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:29:04] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:29:04] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:29:04] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:29:04] local.INFO: IMEI packet received {"connection_id":175743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":175743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:29:05] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800603e8012d237cc00719b8900041000326..."} 
[2026-09-08 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800603e8012d237cc00719b8900041000326..."} 
[2026-09-08 13:29:05] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800603e8012d237cc00719b8900041000326..."} 
[2026-09-08 13:29:05] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08006"} 
[2026-09-08 13:29:05] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08006"} 
[2026-09-08 13:29:05] local.INFO: GPS Element Parsed {"raw_longitude":757300416,"raw_latitude":119126160,"longitude_deg":75.7300416,"latitude_deg":11.912616,"altitude":65,"angle":3,"satellites":38,"speed":44,"hex_longitude":"2d237cc0","hex_latitude":"0719b890","is_valid_coordinates":true} 
[2026-09-08 13:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946691840001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18538676577370112,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2556285400235931648,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788854273000,"timestamp_ms":1788854273000,"timestamp_seconds":1788854273,"priority":1,"record_length":96,"hex_timestamp":"000001a0800603e8"} 
[2026-09-08 13:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 13:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946691840001,"66":14341,"137":206,"94":10752,"24":44,"16":18538676577370112,"45":2556285400235931648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 13:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946691840001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:29:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 13:29:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18538676577370112,"km_value":18538676577370.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2556285400235931648,"description":"Unknown IO ID 45"} 
[2026-09-08 13:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946691840001,"power":14341,"unknown_137":206,"unknown_94":10752,"ignition":44,"odometer":null,"unknown_45":2556285400235931648}} 
[2026-09-08 13:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:29:05] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:29:05] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:29:06] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080062328012d237fc00719daf00043015f28..."} 
[2026-09-08 13:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080062328012d237fc00719daf00043015f28..."} 
[2026-09-08 13:29:06] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080062328012d237fc00719daf00043015f28..."} 
[2026-09-08 13:29:06] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08006"} 
[2026-09-08 13:29:06] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08006"} 
[2026-09-08 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":757301184,"raw_latitude":119134960,"longitude_deg":75.7301184,"latitude_deg":11.913496,"altitude":67,"angle":351,"satellites":40,"speed":44,"hex_longitude":"2d237fc0","hex_latitude":"0719daf0","is_valid_coordinates":true} 
[2026-09-08 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693888001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18539106074099712,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2557129825168429056,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788854281000,"timestamp_ms":1788854281000,"timestamp_seconds":1788854281,"priority":1,"record_length":96,"hex_timestamp":"000001a080062328"} 
[2026-09-08 13:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987711855,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2147842864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503882475044864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1703477454,"corrected_to":0} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837541,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3676569600,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84763127354693906,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":19703279122393600,"corrected_to":0} 
[2026-09-08 13:29:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,137,94,24,241,157,16,220,160,228,45,192,148,63,42,10,66,213,128,130,64,44,197,1,240,218,227,25,4,113,205,46,131,154,39,239,55,2,65,7,69,206,120,200],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1703477454,"validated":0},{"io_id":200,"original":19703279122393600,"validated":0}]} 
[2026-09-08 13:29:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683747074211840000,"timestamp_seconds":4683747074211840,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693888001,"66":14026,"137":206,"94":10752,"24":44,"16":18539106074099712,"45":2557129825168429056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 13:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693888001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:29:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 13:29:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18539106074099712,"km_value":18539106074099.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2557129825168429056,"description":"Unknown IO ID 45"} 
[2026-09-08 13:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693888001,"power":14026,"unknown_137":206,"unknown_94":10752,"ignition":44,"odometer":null,"unknown_45":2557129825168429056}} 
[2026-09-08 13:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:29:06] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:29:06] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:29:14] local.INFO: TCP Data received {"connection_id":175742,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:29:14] local.INFO: Processing buffer {"connection_id":175742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:29:14] local.INFO: IMEI packet received {"connection_id":175742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":175742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:29:37] local.INFO: TCP Data received {"connection_id":175743,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080062328012d237fc00719daf00043015f28..."} 
[2026-09-08 13:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080062328012d237fc00719daf00043015f28..."} 
[2026-09-08 13:29:37] local.INFO: Processing buffer {"connection_id":175743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080062328012d237fc00719daf00043015f28..."} 
[2026-09-08 13:29:37] local.INFO: Packet analysis {"connection_id":175743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08006"} 
[2026-09-08 13:29:37] local.INFO: Extracted packet for processing {"connection_id":175743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08006"} 
[2026-09-08 13:29:37] local.INFO: GPS Element Parsed {"raw_longitude":757301184,"raw_latitude":119134960,"longitude_deg":75.7301184,"latitude_deg":11.913496,"altitude":67,"angle":351,"satellites":40,"speed":44,"hex_longitude":"2d237fc0","hex_latitude":"0719daf0","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946695936001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18539106074099712,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2557974250100813824,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788854281000,"timestamp_ms":1788854281000,"timestamp_seconds":1788854281,"priority":1,"record_length":96,"hex_timestamp":"000001a080062328"} 
[2026-09-08 13:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 13:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946695936001,"66":14026,"137":206,"94":10752,"24":44,"16":18539106074099712,"45":2557974250100813824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 13:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946695936001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:29:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 13:29:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18539106074099712,"km_value":18539106074099.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2557974250100813824,"description":"Unknown IO ID 45"} 
[2026-09-08 13:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946695936001,"power":14026,"unknown_137":206,"unknown_94":10752,"ignition":44,"odometer":null,"unknown_45":2557974250100813824}} 
[2026-09-08 13:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":175743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:29:38] local.INFO: GPS data processed {"connection_id":175743,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:29:38] local.INFO: Acknowledgment sent {"connection_id":175743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:29:41] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:29:41] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:29:41] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:29:44] local.INFO: TCP Data received {"connection_id":177177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:29:44] local.INFO: Processing buffer {"connection_id":177177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:29:44] local.INFO: IMEI packet received {"connection_id":177177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":177177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:29:47] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:29:47] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:29:47] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:29:48] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:29:48] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:29:48] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:29:48] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:29:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:29:48] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:29:48] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:30:01] local.INFO: TCP Data received {"connection_id":174410,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:30:01] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:30:01] local.INFO: IMEI packet received {"connection_id":174410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":174410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:30:04] local.INFO: TCP Data received {"connection_id":174410,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:30:04] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:30:04] local.INFO: IMEI packet received {"connection_id":174410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":174410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:30:05] local.INFO: TCP Data received {"connection_id":174410,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800705b8012d230b00071aa5000057014c2a..."} 
[2026-09-08 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800705b8012d230b00071aa5000057014c2a..."} 
[2026-09-08 13:30:05] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800705b8012d230b00071aa5000057014c2a..."} 
[2026-09-08 13:30:05] local.INFO: Packet analysis {"connection_id":174410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08007"} 
[2026-09-08 13:30:05] local.INFO: Extracted packet for processing {"connection_id":174410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08007"} 
[2026-09-08 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":757271296,"raw_latitude":119186688,"longitude_deg":75.7271296,"latitude_deg":11.9186688,"altitude":87,"angle":332,"satellites":42,"speed":42,"hex_longitude":"2d230b00","hex_latitude":"071aa500","is_valid_coordinates":true} 
[2026-09-08 13:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946708480001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18542207040487424,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2529474908719992832,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788854339000,"timestamp_ms":1788854339000,"timestamp_seconds":1788854339,"priority":1,"record_length":96,"hex_timestamp":"000001a0800705b8"} 
[2026-09-08 13:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 13:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946708480001,"66":14004,"137":206,"94":10752,"24":42,"16":18542207040487424,"45":2529474908719992832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 13:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946708480001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:30:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 13:30:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18542207040487424,"km_value":18542207040487.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2529474908719992832,"description":"Unknown IO ID 45"} 
[2026-09-08 13:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946708480001,"power":14004,"unknown_137":206,"unknown_94":10752,"ignition":42,"odometer":null,"unknown_45":2529474908719992832}} 
[2026-09-08 13:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":174410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:30:05] local.INFO: GPS data processed {"connection_id":174410,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:30:05] local.INFO: Acknowledgment sent {"connection_id":174410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:30:21] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:30:21] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:30:21] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:30:21] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:30:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:30:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:30:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:30:21] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:30:21] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:30:39] local.INFO: TCP Data received {"connection_id":174410,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800728e0012d22f900071ac728005c014e2a..."} 
[2026-09-08 13:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800728e0012d22f900071ac728005c014e2a..."} 
[2026-09-08 13:30:39] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800728e0012d22f900071ac728005c014e2a..."} 
[2026-09-08 13:30:39] local.INFO: Packet analysis {"connection_id":174410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08007"} 
[2026-09-08 13:30:39] local.INFO: Extracted packet for processing {"connection_id":174410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08007"} 
[2026-09-08 13:30:39] local.INFO: GPS Element Parsed {"raw_longitude":757266688,"raw_latitude":119195432,"longitude_deg":75.7266688,"latitude_deg":11.9195432,"altitude":92,"angle":334,"satellites":42,"speed":42,"hex_longitude":"2d22f900","hex_latitude":"071ac728","is_valid_coordinates":true} 
[2026-09-08 13:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946710784001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18542683781857280,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2525112046583087104,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788854348000,"timestamp_ms":1788854348000,"timestamp_seconds":1788854348,"priority":1,"record_length":96,"hex_timestamp":"000001a0800728e0"} 
[2026-09-08 13:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 13:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946710784001,"66":14080,"137":206,"94":10752,"24":42,"16":18542683781857280,"45":2525112046583087104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 13:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946710784001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:30:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 13:30:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18542683781857280,"km_value":18542683781857.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2525112046583087104,"description":"Unknown IO ID 45"} 
[2026-09-08 13:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946710784001,"power":14080,"unknown_137":206,"unknown_94":10752,"ignition":42,"odometer":null,"unknown_45":2525112046583087104}} 
[2026-09-08 13:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":174410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:30:39] local.INFO: GPS data processed {"connection_id":174410,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:30:39] local.INFO: Acknowledgment sent {"connection_id":174410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:30:41] local.INFO: TCP Data received {"connection_id":174668,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:30:41] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:30:41] local.INFO: IMEI packet received {"connection_id":174668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":174668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:30:47] local.INFO: TCP Data received {"connection_id":174668,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:30:47] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:30:47] local.INFO: IMEI packet received {"connection_id":174668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:30:49] local.INFO: TCP Data received {"connection_id":174668,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:30:49] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:30:49] local.INFO: Packet analysis {"connection_id":174668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:30:49] local.INFO: Extracted packet for processing {"connection_id":174668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:30:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:30:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":174668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:30:49] local.INFO: GPS data processed {"connection_id":174668,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:30:49] local.INFO: Acknowledgment sent {"connection_id":174668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:31:01] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:01] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:01] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:31:02] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:02] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:02] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:31:05] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:05] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:31:05] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:31:06] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080073880012d22f080071ad538005e013d2b..."} 
[2026-09-08 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080073880012d22f080071ad538005e013d2b..."} 
[2026-09-08 13:31:06] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080073880012d22f080071ad538005e013d2b..."} 
[2026-09-08 13:31:06] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08007"} 
[2026-09-08 13:31:06] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08007"} 
[2026-09-08 13:31:06] local.INFO: GPS Element Parsed {"raw_longitude":757264512,"raw_latitude":119199032,"longitude_deg":75.7264512,"latitude_deg":11.9199032,"altitude":94,"angle":317,"satellites":43,"speed":41,"hex_longitude":"2d22f080","hex_latitude":"071ad538","is_valid_coordinates":true} 
[2026-09-08 13:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946713088001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18542885645320192,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2520045497004533760,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788854352000,"timestamp_ms":1788854352000,"timestamp_seconds":1788854352,"priority":1,"record_length":96,"hex_timestamp":"000001a080073880"} 
[2026-09-08 13:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445983488,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2147919864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13460873,"corrected_to":0} 
[2026-09-08 13:31:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1703477454,"corrected_to":0} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2550213923,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080549,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3743809536,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,137,94,24,241,157,16,224,160,5,45,165,87,42,10,66,226,128,132,78,40,223,218,1,240,246,227,26,4,113,205,39,183,64,248,41,239,54,2,65,7,68,44],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":246,"original":13460873,"validated":0},{"io_id":205,"original":1703477454,"validated":0}]} 
[2026-09-08 13:31:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6629666068764426240,"timestamp_seconds":6629666068764426.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946713088001,"66":13972,"137":206,"94":10752,"24":41,"16":18542885645320192,"45":2520045497004533760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 13:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946713088001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:31:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 13:31:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 13:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18542885645320192,"km_value":18542885645320.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2520045497004533760,"description":"Unknown IO ID 45"} 
[2026-09-08 13:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946713088001,"power":13972,"unknown_137":206,"unknown_94":10752,"ignition":41,"odometer":null,"unknown_45":2520045497004533760}} 
[2026-09-08 13:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:31:06] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:31:06] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:31:21] local.INFO: TCP Data received {"connection_id":174668,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:21] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:21] local.INFO: Packet analysis {"connection_id":174668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:31:21] local.INFO: Extracted packet for processing {"connection_id":174668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:31:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:31:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":174668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:31:21] local.INFO: GPS data processed {"connection_id":174668,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:31:21] local.INFO: Acknowledgment sent {"connection_id":174668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:31:41] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08008af80012d21f280071b2460008c01432b..."} 
[2026-09-08 13:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08008af80012d21f280071b2460008c01432b..."} 
[2026-09-08 13:31:41] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08008af80012d21f280071b2460008c01432b..."} 
[2026-09-08 13:31:41] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08008"} 
[2026-09-08 13:31:41] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08008"} 
[2026-09-08 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":757199488,"raw_latitude":119219296,"longitude_deg":75.7199488,"latitude_deg":11.9219296,"altitude":140,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2d21f280","hex_latitude":"071b2460","is_valid_coordinates":true} 
[2026-09-08 13:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946733312001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18546231424843776,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2446369421856626688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788854448000,"timestamp_ms":1788854448000,"timestamp_seconds":1788854448,"priority":1,"record_length":96,"hex_timestamp":"000001a08008af80"} 
[2026-09-08 13:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 13:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946733312001,"66":12722,"55":206,"83":41984,"24":0,"16":18546231424843776,"45":2446369421856626688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 13:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946733312001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18546231424843776,"km_value":18546231424843.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2446369421856626688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946733312001,"power":12722,"unknown_55":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2446369421856626688}} 
[2026-09-08 13:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:31:41] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:31:41] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:31:47] local.INFO: TCP Data received {"connection_id":175745,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:31:47] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:31:47] local.INFO: IMEI packet received {"connection_id":175745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":175745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:31:52] local.INFO: TCP Data received {"connection_id":175745,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:31:52] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:31:52] local.INFO: IMEI packet received {"connection_id":175745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":175745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:31:53] local.INFO: TCP Data received {"connection_id":175745,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:53] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:53] local.INFO: Packet analysis {"connection_id":175745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:31:53] local.INFO: Extracted packet for processing {"connection_id":175745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:31:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:31:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:31:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":175745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:31:53] local.INFO: GPS data processed {"connection_id":175745,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:31:53] local.INFO: Acknowledgment sent {"connection_id":175745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:31:58] local.INFO: TCP Data received {"connection_id":175745,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:58] local.INFO: Processing buffer {"connection_id":175745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:31:58] local.INFO: Packet analysis {"connection_id":175745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:31:58] local.INFO: Extracted packet for processing {"connection_id":175745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:31:58] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:31:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:31:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":175745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:31:58] local.INFO: GPS data processed {"connection_id":175745,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:31:58] local.INFO: Acknowledgment sent {"connection_id":175745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:32:06] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:06] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:06] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:32:08] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:08] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:08] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:32:11] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:11] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:32:11] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:32:11] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080093838012d21af80071b3a00007d011929..."} 
[2026-09-08 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080093838012d21af80071b3a00007d011929..."} 
[2026-09-08 13:32:11] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080093838012d21af80071b3a00007d011929..."} 
[2026-09-08 13:32:11] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:32:11] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":757182336,"raw_latitude":119224832,"longitude_deg":75.7182336,"latitude_deg":11.9224832,"altitude":125,"angle":281,"satellites":41,"speed":38,"hex_longitude":"2d21af80","hex_latitude":"071b3a00","is_valid_coordinates":true} 
[2026-09-08 13:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946747392001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18547176317648896,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2428355023348533248,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788854483000,"timestamp_ms":1788854483000,"timestamp_seconds":1788854483,"priority":1,"record_length":96,"hex_timestamp":"000001a080093838"} 
[2026-09-08 13:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-08 13:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946747392001,"66":12743,"55":206,"83":41984,"24":38,"16":18547176317648896,"45":2428355023348533248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 13:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946747392001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18547176317648896,"km_value":18547176317648.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2428355023348533248,"description":"Unknown IO ID 45"} 
[2026-09-08 13:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946747392001,"power":12743,"unknown_55":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":2428355023348533248}} 
[2026-09-08 13:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:32:11] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:32:11] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:32:15] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080094008012d21a800071b3ca8007b012529..."} 
[2026-09-08 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080094008012d21a800071b3ca8007b012529..."} 
[2026-09-08 13:32:15] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080094008012d21a800071b3ca8007b012529..."} 
[2026-09-08 13:32:15] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:32:15] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":757180416,"raw_latitude":119225512,"longitude_deg":75.7180416,"latitude_deg":11.9225512,"altitude":123,"angle":293,"satellites":41,"speed":41,"hex_longitude":"2d21a800","hex_latitude":"071b3ca8","is_valid_coordinates":true} 
[2026-09-08 13:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946747648001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18547270806929408,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2427299492185899008,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788854485000,"timestamp_ms":1788854485000,"timestamp_seconds":1788854485,"priority":1,"record_length":96,"hex_timestamp":"000001a080094008"} 
[2026-09-08 13:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-08 13:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946747648001,"66":12722,"55":206,"83":41984,"24":41,"16":18547270806929408,"45":2427299492185899008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 13:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946747648001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:32:15] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 13:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18547270806929408,"km_value":18547270806929.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2427299492185899008,"description":"Unknown IO ID 45"} 
[2026-09-08 13:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946747648001,"power":12722,"unknown_55":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":2427299492185899008}} 
[2026-09-08 13:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:32:15] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:32:15] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:32:42] local.INFO: TCP Data received {"connection_id":177179,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:32:42] local.INFO: Processing buffer {"connection_id":177179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:32:42] local.INFO: IMEI packet received {"connection_id":177179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":177179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:32:47] local.INFO: TCP Data received {"connection_id":177179,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:32:47] local.INFO: Processing buffer {"connection_id":177179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:32:47] local.INFO: IMEI packet received {"connection_id":177179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":177179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:32:48] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080095390012d219480071b46b00079013426..."} 
[2026-09-08 13:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080095390012d219480071b46b00079013426..."} 
[2026-09-08 13:32:48] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080095390012d219480071b46b00079013426..."} 
[2026-09-08 13:32:48] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:32:48] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:32:48] local.INFO: GPS Element Parsed {"raw_longitude":757175424,"raw_latitude":119228080,"longitude_deg":75.7175424,"latitude_deg":11.922808,"altitude":121,"angle":308,"satellites":38,"speed":45,"hex_longitude":"2d219480","hex_latitude":"071b46b0","is_valid_coordinates":true} 
[2026-09-08 13:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946748160001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18547537094901760,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2425188429860743168,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854490000,"timestamp_ms":1788854490000,"timestamp_seconds":1788854490,"priority":1,"record_length":96,"hex_timestamp":"000001a080095390"} 
[2026-09-08 13:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 13:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946748160001,"66":12689,"55":206,"83":41984,"24":45,"16":18547537094901760,"45":2425188429860743168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 13:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946748160001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:32:48] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 13:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18547537094901760,"km_value":18547537094901.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2425188429860743168,"description":"Unknown IO ID 45"} 
[2026-09-08 13:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946748160001,"power":12689,"unknown_55":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":2425188429860743168}} 
[2026-09-08 13:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:32:48] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:32:48] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:32:49] local.INFO: TCP Data received {"connection_id":177179,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:32:49] local.INFO: Processing buffer {"connection_id":177179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:32:49] local.INFO: Packet analysis {"connection_id":177179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:32:49] local.INFO: Extracted packet for processing {"connection_id":177179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:32:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:32:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:32:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":177179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:32:49] local.INFO: GPS data processed {"connection_id":177179,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:32:49] local.INFO: Acknowledgment sent {"connection_id":177179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:33:01] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:33:01] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:33:01] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:33:06] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:33:06] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:33:06] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:33:07] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080096b00012d218a40071b50480077014023..."} 
[2026-09-08 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080096b00012d218a40071b50480077014023..."} 
[2026-09-08 13:33:07] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080096b00012d218a40071b50480077014023..."} 
[2026-09-08 13:33:07] local.INFO: Packet analysis {"connection_id":175747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:33:07] local.INFO: Extracted packet for processing {"connection_id":175747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08009"} 
[2026-09-08 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":757172800,"raw_latitude":119230536,"longitude_deg":75.71728,"latitude_deg":11.9230536,"altitude":119,"angle":320,"satellites":35,"speed":18,"hex_longitude":"2d218a40","hex_latitude":"071b5048","is_valid_coordinates":true} 
[2026-09-08 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946749440001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18547713188560896,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2419699667815542784,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854496000,"timestamp_ms":1788854496000,"timestamp_seconds":1788854496,"priority":1,"record_length":96,"hex_timestamp":"000001a080096b00"} 
[2026-09-08 13:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 13:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946749440001,"66":12602,"132":206,"83":41984,"24":18,"16":18547713188560896,"45":2419699667815542784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-08 13:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946749440001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:33:07] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-08 13:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18547713188560896,"km_value":18547713188560.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2419699667815542784,"description":"Unknown IO ID 45"} 
[2026-09-08 13:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946749440001,"power":12602,"unknown_132":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2419699667815542784}} 
[2026-09-08 13:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":175747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:33:07] local.INFO: GPS data processed {"connection_id":175747,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:33:07] local.INFO: Acknowledgment sent {"connection_id":175747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:33:25] local.INFO: TCP Data received {"connection_id":177179,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:33:25] local.INFO: Processing buffer {"connection_id":177179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08005f830012d4883c006963000004e01092a..."} 
[2026-09-08 13:33:25] local.INFO: Packet analysis {"connection_id":177179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:33:25] local.INFO: Extracted packet for processing {"connection_id":177179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08005"} 
[2026-09-08 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946615040001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667038208,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788854270000,"timestamp_ms":1788854270000,"timestamp_seconds":1788854270,"priority":1,"record_length":96,"hex_timestamp":"000001a08005f830"} 
[2026-09-08 13:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 13:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946615040001,"66":26539,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225653339667038208},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946615040001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:33:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:33:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667038208,"description":"Unknown IO ID 45"} 
[2026-09-08 13:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946615040001,"power":26539,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225653339667038208}} 
[2026-09-08 13:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":177179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:33:25] local.INFO: GPS data processed {"connection_id":177179,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:33:25] local.INFO: Acknowledgment sent {"connection_id":177179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:33:39] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a4d90012d20c6c0071be4000052016328..."} 
[2026-09-08 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a4d90012d20c6c0071be4000052016328..."} 
[2026-09-08 13:33:39] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a4d90012d20c6c0071be4000052016328..."} 
[2026-09-08 13:33:39] local.INFO: Packet analysis {"connection_id":175747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:33:39] local.INFO: Extracted packet for processing {"connection_id":175747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":757122752,"raw_latitude":119268352,"longitude_deg":75.7122752,"latitude_deg":11.9268352,"altitude":82,"angle":355,"satellites":40,"speed":45,"hex_longitude":"2d20c6c0","hex_latitude":"071be400","is_valid_coordinates":true} 
[2026-09-08 13:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946765312001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18550865694556160,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361997297599531008,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788854554000,"timestamp_ms":1788854554000,"timestamp_seconds":1788854554,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a4d90"} 
[2026-09-08 13:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2148137864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3872456704,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":8192,"corrected_to":0} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184179925197,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2710044768,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3221691291,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1602486478,"corrected_to":0} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579359,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-8934914802073987072,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,57,83,24,241,157,16,231,160,65,45,192,214,38,10,66,54,64,203,85,26,1,240,69,227,128,27,4,113,205,49,3,96,239,48,132,2,7,99,51,95],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":203,"original":8192,"validated":0},{"io_id":205,"original":1602486478,"validated":0}]} 
[2026-09-08 13:33:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5909092310228795392,"timestamp_seconds":5909092310228795.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946765312001,"66":11721,"57":206,"83":41984,"24":45,"16":18550865694556160,"45":2361997297599531008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946765312001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:33:39] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18550865694556160,"km_value":18550865694556.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361997297599531008,"description":"Unknown IO ID 45"} 
[2026-09-08 13:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946765312001,"power":11721,"unknown_57":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":2361997297599531008}} 
[2026-09-08 13:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":175747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:33:39] local.INFO: GPS data processed {"connection_id":175747,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:33:39] local.INFO: Acknowledgment sent {"connection_id":175747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:33:41] local.INFO: TCP Data received {"connection_id":177180,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:33:41] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:33:41] local.INFO: IMEI packet received {"connection_id":177180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":177180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:33:47] local.INFO: TCP Data received {"connection_id":177180,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:33:47] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:33:47] local.INFO: IMEI packet received {"connection_id":177180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":177180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:33:48] local.INFO: TCP Data received {"connection_id":177180,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:33:48] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:33:48] local.INFO: Packet analysis {"connection_id":177180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:33:48] local.INFO: Extracted packet for processing {"connection_id":177180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:33:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:33:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":177180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:33:48] local.INFO: GPS data processed {"connection_id":177180,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:33:48] local.INFO: Acknowledgment sent {"connection_id":177180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:34:01] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:34:01] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:34:01] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:34:06] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:34:06] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:34:06] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:34:07] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a6cd0012d20c8c0071c07c00052000228..."} 
[2026-09-08 13:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a6cd0012d20c8c0071c07c00052000228..."} 
[2026-09-08 13:34:07] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a6cd0012d20c8c0071c07c00052000228..."} 
[2026-09-08 13:34:07] local.INFO: Packet analysis {"connection_id":174414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:34:07] local.INFO: Extracted packet for processing {"connection_id":174414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":757123264,"raw_latitude":119277504,"longitude_deg":75.7123264,"latitude_deg":11.9277504,"altitude":82,"angle":2,"satellites":40,"speed":42,"hex_longitude":"2d20c8c0","hex_latitude":"071c07c0","is_valid_coordinates":true} 
[2026-09-08 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946765824001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18551308076187648,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361786191367634944,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854562000,"timestamp_ms":1788854562000,"timestamp_seconds":1788854562,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a6cd0"} 
[2026-09-08 13:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 13:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946765824001,"66":12537,"57":206,"83":41984,"24":42,"16":18551308076187648,"45":2361786191367634944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946765824001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:34:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18551308076187648,"km_value":18551308076187.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361786191367634944,"description":"Unknown IO ID 45"} 
[2026-09-08 13:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946765824001,"power":12537,"unknown_57":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":2361786191367634944}} 
[2026-09-08 13:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":174414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:34:07] local.INFO: GPS data processed {"connection_id":174414,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:34:07] local.INFO: Acknowledgment sent {"connection_id":174414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:34:19] local.INFO: TCP Data received {"connection_id":177180,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:34:19] local.INFO: Processing buffer {"connection_id":177180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:34:19] local.INFO: Packet analysis {"connection_id":177180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:34:19] local.INFO: Extracted packet for processing {"connection_id":177180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:34:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:34:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":177180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:34:19] local.INFO: GPS data processed {"connection_id":177180,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:34:19] local.INFO: Acknowledgment sent {"connection_id":177180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:34:38] local.INFO: TCP Data received {"connection_id":174414,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800b8610012d206cc0071d01a0003e013328..."} 
[2026-09-08 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800b8610012d206cc0071d01a0003e013328..."} 
[2026-09-08 13:34:38] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800b8610012d206cc0071d01a0003e013328..."} 
[2026-09-08 13:34:38] local.INFO: Packet analysis {"connection_id":174414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:34:38] local.INFO: Extracted packet for processing {"connection_id":174414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":757099712,"raw_latitude":119341472,"longitude_deg":75.7099712,"latitude_deg":11.9341472,"altitude":62,"angle":307,"satellites":40,"speed":32,"hex_longitude":"2d206cc0","hex_latitude":"071d01a0","is_valid_coordinates":true} 
[2026-09-08 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946784768001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18554782704730112,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2339971880690212864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788854634000,"timestamp_ms":1788854634000,"timestamp_seconds":1788854634,"priority":1,"record_length":96,"hex_timestamp":"000001a0800b8610"} 
[2026-09-08 13:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 13:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946784768001,"66":14211,"57":206,"83":41984,"24":32,"16":18554782704730112,"45":2339971880690212864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946784768001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:34:38] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18554782704730112,"km_value":18554782704730.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2339971880690212864,"description":"Unknown IO ID 45"} 
[2026-09-08 13:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946784768001,"power":14211,"unknown_57":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2339971880690212864}} 
[2026-09-08 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":174414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:34:38] local.INFO: GPS data processed {"connection_id":174414,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:34:38] local.INFO: Acknowledgment sent {"connection_id":174414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:34:41] local.INFO: TCP Data received {"connection_id":177181,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:34:41] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:34:41] local.INFO: IMEI packet received {"connection_id":177181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":177181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:34:47] local.INFO: TCP Data received {"connection_id":177181,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:34:47] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:34:47] local.INFO: IMEI packet received {"connection_id":177181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":177181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:34:48] local.INFO: TCP Data received {"connection_id":177181,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:34:48] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:34:48] local.INFO: Packet analysis {"connection_id":177181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:34:48] local.INFO: Extracted packet for processing {"connection_id":177181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:34:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:34:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:34:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":177181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:34:48] local.INFO: GPS data processed {"connection_id":177181,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:34:48] local.INFO: Acknowledgment sent {"connection_id":177181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:35:06] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:06] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:06] local.INFO: IMEI packet received {"connection_id":177183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":177183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:35:09] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:09] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:09] local.INFO: IMEI packet received {"connection_id":177183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":177183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:35:09] local.INFO: TCP Data received {"connection_id":177182,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:35:09] local.INFO: Processing buffer {"connection_id":177182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:35:09] local.INFO: IMEI packet received {"connection_id":177182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":177182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:35:10] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800b8de0012d2066c0071d0500003e012428..."} 
[2026-09-08 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800b8de0012d2066c0071d0500003e012428..."} 
[2026-09-08 13:35:10] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800b8de0012d2066c0071d0500003e012428..."} 
[2026-09-08 13:35:10] local.INFO: Packet analysis {"connection_id":177183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:35:10] local.INFO: Extracted packet for processing {"connection_id":177183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":757098176,"raw_latitude":119342336,"longitude_deg":75.7098176,"latitude_deg":11.9342336,"altitude":62,"angle":292,"satellites":40,"speed":37,"hex_longitude":"2d2066c0","hex_latitude":"071d0500","is_valid_coordinates":true} 
[2026-09-08 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946786304001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18554868604076032,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2336453443482394624,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788854636000,"timestamp_ms":1788854636000,"timestamp_seconds":1788854636,"priority":1,"record_length":96,"hex_timestamp":"000001a0800b8de0"} 
[2026-09-08 13:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 13:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946786304001,"66":13080,"57":206,"83":41984,"24":37,"16":18554868604076032,"45":2336453443482394624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946786304001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18554868604076032,"km_value":18554868604076.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2336453443482394624,"description":"Unknown IO ID 45"} 
[2026-09-08 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946786304001,"power":13080,"unknown_57":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":2336453443482394624}} 
[2026-09-08 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":177183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:35:10] local.INFO: GPS data processed {"connection_id":177183,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:35:10] local.INFO: Acknowledgment sent {"connection_id":177183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:35:12] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800b95b0012d205f00071d06e0003f011828..."} 
[2026-09-08 13:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800b95b0012d205f00071d06e0003f011828..."} 
[2026-09-08 13:35:12] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800b95b0012d205f00071d06e0003f011828..."} 
[2026-09-08 13:35:12] local.INFO: Packet analysis {"connection_id":177183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:35:12] local.INFO: Extracted packet for processing {"connection_id":177183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:35:12] local.INFO: GPS Element Parsed {"raw_longitude":757096192,"raw_latitude":119342816,"longitude_deg":75.7096192,"latitude_deg":11.9342816,"altitude":63,"angle":280,"satellites":40,"speed":40,"hex_longitude":"2d205f00","hex_latitude":"071d06e0","is_valid_coordinates":true} 
[2026-09-08 13:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946786816001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18554963093356544,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2334764593622351872,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788854638000,"timestamp_ms":1788854638000,"timestamp_seconds":1788854638,"priority":1,"record_length":96,"hex_timestamp":"000001a0800b95b0"} 
[2026-09-08 13:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 13:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946786816001,"66":14233,"57":206,"83":41984,"24":40,"16":18554963093356544,"45":2334764593622351872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946786816001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:35:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18554963093356544,"km_value":18554963093356.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2334764593622351872,"description":"Unknown IO ID 45"} 
[2026-09-08 13:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946786816001,"power":14233,"unknown_57":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":2334764593622351872}} 
[2026-09-08 13:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":177183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:35:12] local.INFO: GPS data processed {"connection_id":177183,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:35:12] local.INFO: Acknowledgment sent {"connection_id":177183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:35:20] local.INFO: TCP Data received {"connection_id":177181,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:35:20] local.INFO: Processing buffer {"connection_id":177181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:35:20] local.INFO: Packet analysis {"connection_id":177181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:35:20] local.INFO: Extracted packet for processing {"connection_id":177181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:35:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:35:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:35:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":177181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:35:20] local.INFO: GPS data processed {"connection_id":177181,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:35:20] local.INFO: Acknowledgment sent {"connection_id":177181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:35:41] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:35:41] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:35:41] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:35:43] local.INFO: TCP Data received {"connection_id":177183,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800bb8d8012d2038c0071d0ae0003e011129..."} 
[2026-09-08 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800bb8d8012d2038c0071d0ae0003e011129..."} 
[2026-09-08 13:35:43] local.INFO: Processing buffer {"connection_id":177183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800bb8d8012d2038c0071d0ae0003e011129..."} 
[2026-09-08 13:35:43] local.INFO: Packet analysis {"connection_id":177183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:35:43] local.INFO: Extracted packet for processing {"connection_id":177183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800b"} 
[2026-09-08 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":757086400,"raw_latitude":119343840,"longitude_deg":75.70864,"latitude_deg":11.934384,"altitude":62,"angle":273,"satellites":41,"speed":43,"hex_longitude":"2d2038c0","hex_latitude":"071d0ae0","is_valid_coordinates":true} 
[2026-09-08 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946787328001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18555431244791808,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2332583162552967168,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788854647000,"timestamp_ms":1788854647000,"timestamp_seconds":1788854647,"priority":1,"record_length":96,"hex_timestamp":"000001a0800bb8d8"} 
[2026-09-08 13:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 13:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946787328001,"66":14298,"57":206,"83":41984,"24":43,"16":18555431244791808,"45":2332583162552967168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946787328001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18555431244791808,"km_value":18555431244791.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2332583162552967168,"description":"Unknown IO ID 45"} 
[2026-09-08 13:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946787328001,"power":14298,"unknown_57":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":2332583162552967168}} 
[2026-09-08 13:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":177183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:35:43] local.INFO: GPS data processed {"connection_id":177183,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:35:43] local.INFO: Acknowledgment sent {"connection_id":177183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:35:47] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:35:47] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:35:47] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:35:49] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:35:49] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:35:49] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:35:49] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:35:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:35:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:35:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:35:49] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:35:49] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:35:58] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:58] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:58] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:35:59] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:59] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:35:59] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:36:01] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:36:01] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:36:01] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:36:06] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:36:06] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:36:06] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:36:07] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800c9f50012d1fb600071da1e80043011f28..."} 
[2026-09-08 13:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800c9f50012d1fb600071da1e80043011f28..."} 
[2026-09-08 13:36:07] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800c9f50012d1fb600071da1e80043011f28..."} 
[2026-09-08 13:36:07] local.INFO: Packet analysis {"connection_id":174415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800c"} 
[2026-09-08 13:36:07] local.INFO: Extracted packet for processing {"connection_id":174415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800c"} 
[2026-09-08 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":757052928,"raw_latitude":119382504,"longitude_deg":75.7052928,"latitude_deg":11.9382504,"altitude":67,"angle":287,"satellites":40,"speed":34,"hex_longitude":"2d1fb600","hex_latitude":"071da1e8","is_valid_coordinates":true} 
[2026-09-08 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946804224001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18558085534580736,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2286702741359112192,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854706000,"timestamp_ms":1788854706000,"timestamp_seconds":1788854706,"priority":1,"record_length":96,"hex_timestamp":"000001a0800c9f50"} 
[2026-09-08 13:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946804224001,"66":14298,"57":206,"83":41984,"24":34,"16":18558085534580736,"45":2286702741359112192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946804224001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:36:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18558085534580736,"km_value":18558085534580.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2286702741359112192,"description":"Unknown IO ID 45"} 
[2026-09-08 13:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946804224001,"power":14298,"unknown_57":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2286702741359112192}} 
[2026-09-08 13:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":174415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:36:07] local.INFO: GPS data processed {"connection_id":174415,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:36:07] local.INFO: Acknowledgment sent {"connection_id":174415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:36:20] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:20] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:20] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:36:20] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:36:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:36:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:36:20] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:36:20] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:36:38] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800cab08012d1fab80071da3c00043011128..."} 
[2026-09-08 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800cab08012d1fab80071da3c00043011128..."} 
[2026-09-08 13:36:38] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800cab08012d1fab80071da3c00043011128..."} 
[2026-09-08 13:36:38] local.INFO: Packet analysis {"connection_id":174415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800c"} 
[2026-09-08 13:36:38] local.INFO: Extracted packet for processing {"connection_id":174415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800c"} 
[2026-09-08 13:36:38] local.INFO: GPS Element Parsed {"raw_longitude":757050240,"raw_latitude":119382976,"longitude_deg":75.705024,"latitude_deg":11.9382976,"altitude":67,"angle":273,"satellites":40,"speed":35,"hex_longitude":"2d1fab80","hex_latitude":"071da3c0","is_valid_coordinates":true} 
[2026-09-08 13:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946804736001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18558214383599616,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2285013891499026432,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788854709000,"timestamp_ms":1788854709000,"timestamp_seconds":1788854709,"priority":1,"record_length":96,"hex_timestamp":"000001a0800cab08"} 
[2026-09-08 13:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946804736001,"66":14265,"57":206,"83":41984,"24":35,"16":18558214383599616,"45":2285013891499026432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946804736001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:36:38] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18558214383599616,"km_value":18558214383599.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2285013891499026432,"description":"Unknown IO ID 45"} 
[2026-09-08 13:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946804736001,"power":14265,"unknown_57":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":2285013891499026432}} 
[2026-09-08 13:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":174415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:36:38] local.INFO: GPS data processed {"connection_id":174415,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:36:38] local.INFO: Acknowledgment sent {"connection_id":174415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:36:47] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:36:47] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:36:47] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:36:52] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:36:52] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:36:52] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:36:53] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:53] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:53] local.INFO: Packet analysis {"connection_id":174671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:36:53] local.INFO: Extracted packet for processing {"connection_id":174671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:36:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:36:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:36:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":174671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:36:53] local.INFO: GPS data processed {"connection_id":174671,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:36:53] local.INFO: Acknowledgment sent {"connection_id":174671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:36:58] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:58] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:36:58] local.INFO: Packet analysis {"connection_id":174671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:36:58] local.INFO: Extracted packet for processing {"connection_id":174671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:36:58] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:36:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:36:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":174671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:36:58] local.INFO: GPS data processed {"connection_id":174671,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:36:58] local.INFO: Acknowledgment sent {"connection_id":174671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:37:01] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:37:01] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:37:01] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:37:06] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:37:06] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:37:06] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:37:07] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800cb2d8012d1fa480071da4f80045012028..."} 
[2026-09-08 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800cb2d8012d1fa480071da4f80045012028..."} 
[2026-09-08 13:37:07] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800cb2d8012d1fa480071da4f80045012028..."} 
[2026-09-08 13:37:07] local.INFO: Packet analysis {"connection_id":174417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800c"} 
[2026-09-08 13:37:07] local.INFO: Extracted packet for processing {"connection_id":174417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800c"} 
[2026-09-08 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":757048448,"raw_latitude":119383288,"longitude_deg":75.7048448,"latitude_deg":11.9383288,"altitude":69,"angle":288,"satellites":40,"speed":34,"hex_longitude":"2d1fa480","hex_latitude":"071da4f8","is_valid_coordinates":true} 
[2026-09-08 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946805504001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18558300282945536,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2282058404243685376,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854711000,"timestamp_ms":1788854711000,"timestamp_seconds":1788854711,"priority":1,"record_length":96,"hex_timestamp":"000001a0800cb2d8"} 
[2026-09-08 13:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946805504001,"66":14298,"57":206,"83":41984,"24":34,"16":18558300282945536,"45":2282058404243685376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 13:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946805504001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18558300282945536,"km_value":18558300282945.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2282058404243685376,"description":"Unknown IO ID 45"} 
[2026-09-08 13:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946805504001,"power":14298,"unknown_57":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2282058404243685376}} 
[2026-09-08 13:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":174417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:37:07] local.INFO: GPS data processed {"connection_id":174417,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:37:07] local.INFO: Acknowledgment sent {"connection_id":174417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:37:38] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800e4918012d1e7f00071da910004c00ee28..."} 
[2026-09-08 13:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800e4918012d1e7f00071da910004c00ee28..."} 
[2026-09-08 13:37:38] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800e4918012d1e7f00071da910004c00ee28..."} 
[2026-09-08 13:37:38] local.INFO: Packet analysis {"connection_id":174417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:37:38] local.INFO: Extracted packet for processing {"connection_id":174417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756973312,"raw_latitude":119384336,"longitude_deg":75.6973312,"latitude_deg":11.9384336,"altitude":76,"angle":238,"satellites":40,"speed":25,"hex_longitude":"2d1e7f00","hex_latitude":"071da910","is_valid_coordinates":true} 
[2026-09-08 13:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946832384001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18562062674296832,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2198038123695992832,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788854815000,"timestamp_ms":1788854815000,"timestamp_seconds":1788854815,"priority":1,"record_length":96,"hex_timestamp":"000001a0800e4918"} 
[2026-09-08 13:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 13:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946832384001,"66":14026,"108":206,"83":41984,"24":25,"16":18562062674296832,"45":2198038123695992832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 13:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946832384001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:37:38] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 13:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18562062674296832,"km_value":18562062674296.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2198038123695992832,"description":"Unknown IO ID 45"} 
[2026-09-08 13:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946832384001,"power":14026,"unknown_108":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2198038123695992832}} 
[2026-09-08 13:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":174417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:37:38] local.INFO: GPS data processed {"connection_id":174417,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:37:38] local.INFO: Acknowledgment sent {"connection_id":174417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:37:42] local.INFO: TCP Data received {"connection_id":177184,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:37:42] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:37:42] local.INFO: IMEI packet received {"connection_id":177184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":177184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:37:47] local.INFO: TCP Data received {"connection_id":177184,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:37:47] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:37:47] local.INFO: IMEI packet received {"connection_id":177184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":177184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:37:48] local.INFO: TCP Data received {"connection_id":177184,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:37:48] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:37:48] local.INFO: Packet analysis {"connection_id":177184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:37:48] local.INFO: Extracted packet for processing {"connection_id":177184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":177184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:37:48] local.INFO: GPS data processed {"connection_id":177184,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:37:48] local.INFO: Acknowledgment sent {"connection_id":177184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:38:01] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:01] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:01] local.INFO: IMEI packet received {"connection_id":177186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":177186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:38:01] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:01] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:01] local.INFO: IMEI packet received {"connection_id":177186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":177186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:38:06] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:06] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:38:06] local.INFO: IMEI packet received {"connection_id":177186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":177186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:38:07] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800e4d00012d1e7cc0071da840004c00fd28..."} 
[2026-09-08 13:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800e4d00012d1e7cc0071da840004c00fd28..."} 
[2026-09-08 13:38:07] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800e4d00012d1e7cc0071da840004c00fd28..."} 
[2026-09-08 13:38:07] local.INFO: Packet analysis {"connection_id":177186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:38:07] local.INFO: Extracted packet for processing {"connection_id":177186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756972736,"raw_latitude":119384128,"longitude_deg":75.6972736,"latitude_deg":11.9384128,"altitude":76,"angle":253,"satellites":40,"speed":25,"hex_longitude":"2d1e7cc0","hex_latitude":"071da840","is_valid_coordinates":true} 
[2026-09-08 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946832640001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18562092739067904,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197475173742481408,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854816000,"timestamp_ms":1788854816000,"timestamp_seconds":1788854816,"priority":1,"record_length":96,"hex_timestamp":"000001a0800e4d00"} 
[2026-09-08 13:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 13:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946832640001,"66":13906,"108":206,"83":41984,"24":25,"16":18562092739067904,"45":2197475173742481408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 13:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946832640001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18562092739067904,"km_value":18562092739067.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2197475173742481408,"description":"Unknown IO ID 45"} 
[2026-09-08 13:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946832640001,"power":13906,"unknown_108":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2197475173742481408}} 
[2026-09-08 13:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":177186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:38:07] local.INFO: GPS data processed {"connection_id":177186,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:38:07] local.INFO: Acknowledgment sent {"connection_id":177186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:38:20] local.INFO: TCP Data received {"connection_id":177184,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:38:20] local.INFO: Processing buffer {"connection_id":177184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800a8ff8012d4883c006963000004e01092b..."} 
[2026-09-08 13:38:20] local.INFO: Packet analysis {"connection_id":177184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:38:20] local.INFO: Extracted packet for processing {"connection_id":177184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800a"} 
[2026-09-08 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946693120001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788854571000,"timestamp_ms":1788854571000,"timestamp_seconds":1788854571,"priority":1,"record_length":96,"hex_timestamp":"000001a0800a8ff8"} 
[2026-09-08 13:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-08 13:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946693120001,"66":26256,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946693120001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:38:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:38:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946693120001,"power":26256,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":177184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:38:20] local.INFO: GPS data processed {"connection_id":177184,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:38:20] local.INFO: Acknowledgment sent {"connection_id":177184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:38:38] local.INFO: TCP Data received {"connection_id":177186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800e50e8012d1e7a00071da818004c010b28..."} 
[2026-09-08 13:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800e50e8012d1e7a00071da818004c010b28..."} 
[2026-09-08 13:38:38] local.INFO: Processing buffer {"connection_id":177186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800e50e8012d1e7a00071da818004c010b28..."} 
[2026-09-08 13:38:38] local.INFO: Packet analysis {"connection_id":177186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:38:38] local.INFO: Extracted packet for processing {"connection_id":177186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756972032,"raw_latitude":119384088,"longitude_deg":75.6972032,"latitude_deg":11.9384088,"altitude":76,"angle":267,"satellites":40,"speed":27,"hex_longitude":"2d1e7a00","hex_latitude":"071da818","is_valid_coordinates":true} 
[2026-09-08 13:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946832896001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18562127098806272,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2196841855044829184,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788854817000,"timestamp_ms":1788854817000,"timestamp_seconds":1788854817,"priority":1,"record_length":96,"hex_timestamp":"000001a0800e50e8"} 
[2026-09-08 13:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 13:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946832896001,"66":13906,"108":206,"83":41984,"24":27,"16":18562127098806272,"45":2196841855044829184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 13:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946832896001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:38:38] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 13:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18562127098806272,"km_value":18562127098806.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2196841855044829184,"description":"Unknown IO ID 45"} 
[2026-09-08 13:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946832896001,"power":13906,"unknown_108":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2196841855044829184}} 
[2026-09-08 13:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":177186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:38:38] local.INFO: GPS data processed {"connection_id":177186,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:38:38] local.INFO: Acknowledgment sent {"connection_id":177186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:38:41] local.INFO: TCP Data received {"connection_id":174418,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:38:41] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:38:41] local.INFO: IMEI packet received {"connection_id":174418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":174418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:38:46] local.INFO: TCP Data received {"connection_id":174418,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:38:46] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:38:46] local.INFO: IMEI packet received {"connection_id":174418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":174418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:38:48] local.INFO: TCP Data received {"connection_id":174418,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:38:48] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:38:48] local.INFO: Packet analysis {"connection_id":174418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:38:48] local.INFO: Extracted packet for processing {"connection_id":174418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:38:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:38:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:38:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":174418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:38:48] local.INFO: GPS data processed {"connection_id":174418,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:38:48] local.INFO: Acknowledgment sent {"connection_id":174418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:39:06] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:39:06] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:39:06] local.INFO: IMEI packet received {"connection_id":174419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":174419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:39:09] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:39:09] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:39:09] local.INFO: IMEI packet received {"connection_id":174419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":174419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:39:10] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0800e6088012d1e6e40071da930004e011827..."} 
[2026-09-08 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800e6088012d1e6e40071da930004e011827..."} 
[2026-09-08 13:39:10] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800e6088012d1e6e40071da930004e011827..."} 
[2026-09-08 13:39:10] local.INFO: Packet analysis {"connection_id":174419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:39:10] local.INFO: Extracted packet for processing {"connection_id":174419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800e"} 
[2026-09-08 13:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756969024,"raw_latitude":119384368,"longitude_deg":75.6969024,"latitude_deg":11.9384368,"altitude":78,"angle":280,"satellites":39,"speed":31,"hex_longitude":"2d1e6e40","hex_latitude":"071da930","is_valid_coordinates":true} 
[2026-09-08 13:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946833152001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18562268832727040,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2196067798858864640,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788854821000,"timestamp_ms":1788854821000,"timestamp_seconds":1788854821,"priority":1,"record_length":96,"hex_timestamp":"000001a0800e6088"} 
[2026-09-08 13:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 13:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946833152001,"66":14070,"108":206,"83":41984,"24":31,"16":18562268832727040,"45":2196067798858864640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 13:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946833152001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:39:10] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 13:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18562268832727040,"km_value":18562268832727.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2196067798858864640,"description":"Unknown IO ID 45"} 
[2026-09-08 13:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946833152001,"power":14070,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2196067798858864640}} 
[2026-09-08 13:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":174419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:39:10] local.INFO: GPS data processed {"connection_id":174419,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:39:10] local.INFO: Acknowledgment sent {"connection_id":174419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:39:19] local.INFO: TCP Data received {"connection_id":174418,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:39:19] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:39:19] local.INFO: Packet analysis {"connection_id":174418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:39:19] local.INFO: Extracted packet for processing {"connection_id":174418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:39:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:39:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:39:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":174418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:39:19] local.INFO: GPS data processed {"connection_id":174418,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:39:19] local.INFO: Acknowledgment sent {"connection_id":174418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:39:41] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080103160012d1cefc0071db8100052015728..."} 
[2026-09-08 13:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080103160012d1cefc0071db8100052015728..."} 
[2026-09-08 13:39:41] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080103160012d1cefc0071db8100052015728..."} 
[2026-09-08 13:39:41] local.INFO: Packet analysis {"connection_id":174419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:39:41] local.INFO: Extracted packet for processing {"connection_id":174419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756871104,"raw_latitude":119388176,"longitude_deg":75.6871104,"latitude_deg":11.9388176,"altitude":82,"angle":343,"satellites":40,"speed":30,"hex_longitude":"2d1cefc0","hex_latitude":"071db810","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946864128001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18567177980346368,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085588870500575232,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788854940000,"timestamp_ms":1788854940000,"timestamp_seconds":1788854940,"priority":1,"record_length":96,"hex_timestamp":"000001a080103160"} 
[2026-09-08 13:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 13:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946864128001,"66":14004,"109":206,"83":41984,"24":30,"16":18567177980346368,"45":2085588870500575232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946864128001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:39:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18567177980346368,"km_value":18567177980346.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085588870500575232,"description":"Unknown IO ID 45"} 
[2026-09-08 13:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946864128001,"power":14004,"unknown_109":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2085588870500575232}} 
[2026-09-08 13:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":174419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:39:41] local.INFO: GPS data processed {"connection_id":174419,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:39:41] local.INFO: Acknowledgment sent {"connection_id":174419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:39:47] local.INFO: TCP Data received {"connection_id":177189,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:39:47] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:39:47] local.INFO: IMEI packet received {"connection_id":177189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":177189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:39:52] local.INFO: TCP Data received {"connection_id":177189,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:39:52] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:39:52] local.INFO: IMEI packet received {"connection_id":177189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":177189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:39:53] local.INFO: TCP Data received {"connection_id":177189,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:39:53] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:39:53] local.INFO: Packet analysis {"connection_id":177189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:39:53] local.INFO: Extracted packet for processing {"connection_id":177189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:39:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:39:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:39:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":177189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:39:53] local.INFO: GPS data processed {"connection_id":177189,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:39:53] local.INFO: Acknowledgment sent {"connection_id":177189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:40:03] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:03] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:03] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:40:05] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:05] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:05] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:40:06] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:06] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:40:06] local.INFO: IMEI packet received {"connection_id":175749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":175749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:40:07] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080103548012d1cf040071dbb680052016628..."} 
[2026-09-08 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080103548012d1cf040071dbb680052016628..."} 
[2026-09-08 13:40:07] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080103548012d1cf040071dbb680052016628..."} 
[2026-09-08 13:40:07] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:40:07] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756871232,"raw_latitude":119389032,"longitude_deg":75.6871232,"latitude_deg":11.9389032,"altitude":82,"angle":358,"satellites":40,"speed":30,"hex_longitude":"2d1cf040","hex_latitude":"071dbb68","is_valid_coordinates":true} 
[2026-09-08 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946864640001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18567220930019328,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085096289291735040,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788854941000,"timestamp_ms":1788854941000,"timestamp_seconds":1788854941,"priority":1,"record_length":96,"hex_timestamp":"000001a080103548"} 
[2026-09-08 13:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 13:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946864640001,"66":14004,"109":206,"83":41984,"24":30,"16":18567220930019328,"45":2085096289291735040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946864640001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:40:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18567220930019328,"km_value":18567220930019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085096289291735040,"description":"Unknown IO ID 45"} 
[2026-09-08 13:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946864640001,"power":14004,"unknown_109":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2085096289291735040}} 
[2026-09-08 13:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:40:07] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:40:07] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:40:08] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080103930012d1cf180071dbea00051000928..."} 
[2026-09-08 13:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080103930012d1cf180071dbea00051000928..."} 
[2026-09-08 13:40:08] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080103930012d1cf180071dbea00051000928..."} 
[2026-09-08 13:40:08] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:40:08] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756871552,"raw_latitude":119389856,"longitude_deg":75.6871552,"latitude_deg":11.9389856,"altitude":81,"angle":9,"satellites":40,"speed":29,"hex_longitude":"2d1cf180","hex_latitude":"071dbea0","is_valid_coordinates":true} 
[2026-09-08 13:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946864896001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18567263879692288,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085237026780309504,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788854942000,"timestamp_ms":1788854942000,"timestamp_seconds":1788854942,"priority":1,"record_length":96,"hex_timestamp":"000001a080103930"} 
[2026-09-08 13:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 13:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946864896001,"66":13798,"109":206,"83":41984,"24":29,"16":18567263879692288,"45":2085237026780309504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946864896001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:40:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18567263879692288,"km_value":18567263879692.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085237026780309504,"description":"Unknown IO ID 45"} 
[2026-09-08 13:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946864896001,"power":13798,"unknown_109":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2085237026780309504}} 
[2026-09-08 13:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:40:09] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:40:09] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:40:25] local.INFO: TCP Data received {"connection_id":177189,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:40:25] local.INFO: Processing buffer {"connection_id":177189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:40:25] local.INFO: Packet analysis {"connection_id":177189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:40:25] local.INFO: Extracted packet for processing {"connection_id":177189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:40:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:40:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":177189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:40:25] local.INFO: GPS data processed {"connection_id":177189,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:40:25] local.INFO: Acknowledgment sent {"connection_id":177189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:40:40] local.INFO: TCP Data received {"connection_id":175749,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080106428012d1cf640071dd9a80054016627..."} 
[2026-09-08 13:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080106428012d1cf640071dd9a80054016627..."} 
[2026-09-08 13:40:40] local.INFO: Processing buffer {"connection_id":175749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080106428012d1cf640071dd9a80054016627..."} 
[2026-09-08 13:40:40] local.INFO: Packet analysis {"connection_id":175749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:40:40] local.INFO: Extracted packet for processing {"connection_id":175749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08010"} 
[2026-09-08 13:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756872768,"raw_latitude":119396776,"longitude_deg":75.6872768,"latitude_deg":11.9396776,"altitude":84,"angle":358,"satellites":39,"speed":21,"hex_longitude":"2d1cf640","hex_latitude":"071dd9a8","is_valid_coordinates":true} 
[2026-09-08 13:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946865152001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18567603182108672,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085588870501408768,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788854953000,"timestamp_ms":1788854953000,"timestamp_seconds":1788854953,"priority":1,"record_length":96,"hex_timestamp":"000001a080106428"} 
[2026-09-08 13:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 13:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946865152001,"66":13993,"109":206,"83":41984,"24":21,"16":18567603182108672,"45":2085588870501408768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946865152001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:40:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18567603182108672,"km_value":18567603182108.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085588870501408768,"description":"Unknown IO ID 45"} 
[2026-09-08 13:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946865152001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2085588870501408768}} 
[2026-09-08 13:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":175749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:40:40] local.INFO: GPS data processed {"connection_id":175749,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:40:40] local.INFO: Acknowledgment sent {"connection_id":175749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:40:41] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:40:41] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:40:41] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:40:44] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:40:44] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:40:44] local.INFO: IMEI packet received {"connection_id":174421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":174421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:40:47] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:40:47] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:40:47] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:40:48] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:40:48] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:40:48] local.INFO: Packet analysis {"connection_id":174420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:40:48] local.INFO: Extracted packet for processing {"connection_id":174420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:40:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":174420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:40:48] local.INFO: GPS data processed {"connection_id":174420,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:40:48] local.INFO: Acknowledgment sent {"connection_id":174420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:41:02] local.INFO: TCP Data received {"connection_id":175750,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:02] local.INFO: Processing buffer {"connection_id":175750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:02] local.INFO: IMEI packet received {"connection_id":175750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":175750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:41:06] local.INFO: TCP Data received {"connection_id":175750,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:06] local.INFO: Processing buffer {"connection_id":175750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:06] local.INFO: IMEI packet received {"connection_id":175750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":175750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:41:13] local.INFO: TCP Data received {"connection_id":175750,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:13] local.INFO: Processing buffer {"connection_id":175750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:41:13] local.INFO: IMEI packet received {"connection_id":175750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":175750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:41:20] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:20] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:20] local.INFO: Packet analysis {"connection_id":174420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:41:20] local.INFO: Extracted packet for processing {"connection_id":174420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:41:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:41:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:41:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":174420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:41:20] local.INFO: GPS data processed {"connection_id":174420,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:41:20] local.INFO: Acknowledgment sent {"connection_id":174420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:41:27] local.INFO: TCP Data received {"connection_id":175750,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080112b60012d1d1600071e53500047014c2a..."} 
[2026-09-08 13:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080112b60012d1d1600071e53500047014c2a..."} 
[2026-09-08 13:41:27] local.INFO: Processing buffer {"connection_id":175750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080112b60012d1d1600071e53500047014c2a..."} 
[2026-09-08 13:41:27] local.INFO: Packet analysis {"connection_id":175750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08011"} 
[2026-09-08 13:41:27] local.INFO: Extracted packet for processing {"connection_id":175750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08011"} 
[2026-09-08 13:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756880896,"raw_latitude":119427920,"longitude_deg":75.6880896,"latitude_deg":11.942792,"altitude":71,"angle":332,"satellites":42,"speed":21,"hex_longitude":"2d1d1600","hex_latitude":"071e5350","is_valid_coordinates":true} 
[2026-09-08 13:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946879488001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18569252449550336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096355288369696768,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788855004000,"timestamp_ms":1788855004000,"timestamp_seconds":1788855004,"priority":1,"record_length":96,"hex_timestamp":"000001a080112b60"} 
[2026-09-08 13:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:41: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-09-08 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946879488001,"66":14374,"109":206,"83":41984,"24":21,"16":18569252449550336,"45":2096355288369696768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946879488001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:41:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18569252449550336,"km_value":18569252449550.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096355288369696768,"description":"Unknown IO ID 45"} 
[2026-09-08 13:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946879488001,"power":14374,"unknown_109":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2096355288369696768}} 
[2026-09-08 13:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":175750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:41:27] local.INFO: GPS data processed {"connection_id":175750,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:41:27] local.INFO: Acknowledgment sent {"connection_id":175750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:41:29] local.INFO: TCP Data received {"connection_id":175750,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080112f48012d1d14c0071e55000047013a2a..."} 
[2026-09-08 13:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080112f48012d1d14c0071e55000047013a2a..."} 
[2026-09-08 13:41:29] local.INFO: Processing buffer {"connection_id":175750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080112f48012d1d14c0071e55000047013a2a..."} 
[2026-09-08 13:41:29] local.INFO: Packet analysis {"connection_id":175750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08011"} 
[2026-09-08 13:41:29] local.INFO: Extracted packet for processing {"connection_id":175750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08011"} 
[2026-09-08 13:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756880576,"raw_latitude":119428352,"longitude_deg":75.6880576,"latitude_deg":11.9428352,"altitude":71,"angle":314,"satellites":42,"speed":21,"hex_longitude":"2d1d14c0","hex_latitude":"071e5500","is_valid_coordinates":true} 
[2026-09-08 13:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946881024001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18569278219354112,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095862707161092096,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788855005000,"timestamp_ms":1788855005000,"timestamp_seconds":1788855005,"priority":1,"record_length":96,"hex_timestamp":"000001a080112f48"} 
[2026-09-08 13:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 13:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946881024001,"66":14374,"109":206,"83":41984,"24":21,"16":18569278219354112,"45":2095862707161092096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946881024001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:41:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18569278219354112,"km_value":18569278219354.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095862707161092096,"description":"Unknown IO ID 45"} 
[2026-09-08 13:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946881024001,"power":14374,"unknown_109":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2095862707161092096}} 
[2026-09-08 13:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":175750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:41:29] local.INFO: GPS data processed {"connection_id":175750,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:41:29] local.INFO: Acknowledgment sent {"connection_id":175750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:41:47] local.INFO: TCP Data received {"connection_id":174422,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:41:47] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:41:47] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:41:52] local.INFO: TCP Data received {"connection_id":174422,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:41:52] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:41:52] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:41:54] local.INFO: TCP Data received {"connection_id":174422,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:54] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:54] local.INFO: Packet analysis {"connection_id":174422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:41:54] local.INFO: Extracted packet for processing {"connection_id":174422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:41:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:41:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:41:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":174422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:41:54] local.INFO: GPS data processed {"connection_id":174422,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:41:54] local.INFO: Acknowledgment sent {"connection_id":174422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:41:57] local.INFO: TCP Data received {"connection_id":174422,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:57] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:41:57] local.INFO: Packet analysis {"connection_id":174422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:41:57] local.INFO: Extracted packet for processing {"connection_id":174422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:41:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:41:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":174422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:41:57] local.INFO: GPS data processed {"connection_id":174422,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:41:57] local.INFO: Acknowledgment sent {"connection_id":174422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:42:14] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:14] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:14] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:42:16] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:16] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:16] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:42:20] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:20] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:42:20] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:42:35] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080127768012d1c2f80071e5b48005800fc28..."} 
[2026-09-08 13:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080127768012d1c2f80071e5b48005800fc28..."} 
[2026-09-08 13:42:35] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080127768012d1c2f80071e5b48005800fc28..."} 
[2026-09-08 13:42:35] local.INFO: Packet analysis {"connection_id":174673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08012"} 
[2026-09-08 13:42:35] local.INFO: Extracted packet for processing {"connection_id":174673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08012"} 
[2026-09-08 13:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756821888,"raw_latitude":119429960,"longitude_deg":75.6821888,"latitude_deg":11.942996,"altitude":88,"angle":252,"satellites":40,"speed":34,"hex_longitude":"2d1c2f80","hex_latitude":"071e5b48","is_valid_coordinates":true} 
[2026-09-08 13:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946899968001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18572228861886464,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2039567711820552192,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788855089000,"timestamp_ms":1788855089000,"timestamp_seconds":1788855089,"priority":1,"record_length":96,"hex_timestamp":"000001a080127768"} 
[2026-09-08 13:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987714937,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2148640864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84755749674622573,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":32769,"corrected_to":0} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503882988519424,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3892391196,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402043,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4190830592,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.WARNING: Large IO value detected {"io_id":184,"raw_value":21956285821885696,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,83,24,241,157,16,250,160,64,45,128,110,97,37,10,66,71,17,39,246,1,240,82,227,30,4,113,205,26,187,182,248,41,239,54,2,65,7,206,184],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":246,"original":32769,"validated":0},{"io_id":205,"original":996999374,"validated":0}]} 
[2026-09-08 13:42:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6917794168858673152,"timestamp_seconds":6917794168858673.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946899968001,"66":14298,"107":206,"83":41984,"24":34,"16":18572228861886464,"45":2039567711820552192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 13:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946899968001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:42:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 13:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18572228861886464,"km_value":18572228861886.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2039567711820552192,"description":"Unknown IO ID 45"} 
[2026-09-08 13:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946899968001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2039567711820552192}} 
[2026-09-08 13:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":174673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:42:35] local.INFO: GPS data processed {"connection_id":174673,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:42:35] local.INFO: Acknowledgment sent {"connection_id":174673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:42:43] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:42:43] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:42:43] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:42:44] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801292c0012d1c1780071e57b80058010d28..."} 
[2026-09-08 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801292c0012d1c1780071e57b80058010d28..."} 
[2026-09-08 13:42:44] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801292c0012d1c1780071e57b80058010d28..."} 
[2026-09-08 13:42:44] local.INFO: Packet analysis {"connection_id":174673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08012"} 
[2026-09-08 13:42:44] local.INFO: Extracted packet for processing {"connection_id":174673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08012"} 
[2026-09-08 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756815744,"raw_latitude":119429048,"longitude_deg":75.6815744,"latitude_deg":11.9429048,"altitude":88,"angle":269,"satellites":40,"speed":31,"hex_longitude":"2d1c1780","hex_latitude":"071e57b8","is_valid_coordinates":true} 
[2026-09-08 13:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946902784001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18572525214629888,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2030982725029808128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788855096000,"timestamp_ms":1788855096000,"timestamp_seconds":1788855096,"priority":1,"record_length":96,"hex_timestamp":"000001a0801292c0"} 
[2026-09-08 13:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946902784001,"66":14298,"107":206,"83":41984,"24":31,"16":18572525214629888,"45":2030982725029808128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-08 13:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946902784001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:42:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-08 13:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18572525214629888,"km_value":18572525214629.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2030982725029808128,"description":"Unknown IO ID 45"} 
[2026-09-08 13:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946902784001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2030982725029808128}} 
[2026-09-08 13:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":174673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:42:44] local.INFO: GPS data processed {"connection_id":174673,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:42:44] local.INFO: Acknowledgment sent {"connection_id":174673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:42:47] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:42:47] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:42:47] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:42:50] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:42:50] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:42:50] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:42:50] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:42:50] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:42:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:42:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:42:50] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:42:50] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:43:01] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:43:01] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:43:01] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:43:09] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:43:09] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:43:09] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:43:12] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08012aa30012d1c04c0071e5a280059011927..."} 
[2026-09-08 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08012aa30012d1c04c0071e5a280059011927..."} 
[2026-09-08 13:43:12] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08012aa30012d1c04c0071e5a280059011927..."} 
[2026-09-08 13:43:12] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08012"} 
[2026-09-08 13:43:12] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08012"} 
[2026-09-08 13:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756810944,"raw_latitude":119429672,"longitude_deg":75.6810944,"latitude_deg":11.9429672,"altitude":89,"angle":281,"satellites":39,"speed":31,"hex_longitude":"2d1c04c0","hex_latitude":"071e5a28","is_valid_coordinates":true} 
[2026-09-08 13:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946904576001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18572757142863872,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2024227325588518912,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788855102000,"timestamp_ms":1788855102000,"timestamp_seconds":1788855102,"priority":1,"record_length":96,"hex_timestamp":"000001a08012aa30"} 
[2026-09-08 13:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 13:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946904576001,"66":14363,"109":206,"83":41984,"24":31,"16":18572757142863872,"45":2024227325588518912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 13:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946904576001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:43:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 13:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18572757142863872,"km_value":18572757142863.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2024227325588518912,"description":"Unknown IO ID 45"} 
[2026-09-08 13:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946904576001,"power":14363,"unknown_109":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2024227325588518912}} 
[2026-09-08 13:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:43:13] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:43:13] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:43:39] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:43:39] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:43:39] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:43:39] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:43:39] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:43:39] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:43:39] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:43:44] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bba0012d1b51c0071ebe880056015124..."} 
[2026-09-08 13:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bba0012d1b51c0071ebe880056015124..."} 
[2026-09-08 13:43:44] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bba0012d1b51c0071ebe880056015124..."} 
[2026-09-08 13:43:44] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:43:44] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756765120,"raw_latitude":119455368,"longitude_deg":75.676512,"latitude_deg":11.9455368,"altitude":86,"angle":337,"satellites":36,"speed":24,"hex_longitude":"2d1b51c0","hex_latitude":"071ebe88","is_valid_coordinates":true} 
[2026-09-08 13:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946923776001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18575553166573568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847123927283712,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788855172000,"timestamp_ms":1788855172000,"timestamp_seconds":1788855172,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bba0"} 
[2026-09-08 13:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 13:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946923776001,"66":14374,"106":206,"83":41984,"24":24,"16":18575553166573568,"45":1968847123927283712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 13:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946923776001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:43:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 13:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18575553166573568,"km_value":18575553166573.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847123927283712,"description":"Unknown IO ID 45"} 
[2026-09-08 13:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946923776001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1968847123927283712}} 
[2026-09-08 13:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:43:44] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:43:44] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:43:45] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:43:45] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0800f27c0012d4883c006963000004e01092d..."} 
[2026-09-08 13:43:45] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:43:45] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0800f"} 
[2026-09-08 13:43:45] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946770176001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788854872000,"timestamp_ms":1788854872000,"timestamp_seconds":1788854872,"priority":1,"record_length":96,"hex_timestamp":"000001a0800f27c0"} 
[2026-09-08 13:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 13:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946770176001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946770176001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:43:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:43:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946770176001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:43:45] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:43:45] local.ERROR: TCP Connection error {"connection_id":174423,"code":2,"message":"client closed"} 
[2026-09-08 13:43:45] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:43:46] local.INFO: TCP Data received {"connection_id":174424,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:43:46] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:43:46] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:43:52] local.INFO: TCP Data received {"connection_id":174424,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:43:52] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:43:52] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:43:55] local.INFO: TCP Data received {"connection_id":174424,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:43:55] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:43:55] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:43:55] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:43:55] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:43:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:43:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:43:55] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:43:55] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:44:05] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:05] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:05] local.INFO: IMEI packet received {"connection_id":177192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":177192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:44:06] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:06] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:06] local.INFO: IMEI packet received {"connection_id":177192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":177192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:44:06] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:06] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:06] local.INFO: IMEI packet received {"connection_id":177192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":177192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:44:07] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:07] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:44:07] local.INFO: IMEI packet received {"connection_id":177192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":177192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:44:07] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08013cf28012d1b4bc0071ecac80052014327..."} 
[2026-09-08 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013cf28012d1b4bc0071ecac80052014327..."} 
[2026-09-08 13:44:07] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013cf28012d1b4bc0071ecac80052014327..."} 
[2026-09-08 13:44:07] local.INFO: Packet analysis {"connection_id":177192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:07] local.INFO: Extracted packet for processing {"connection_id":177192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756763584,"raw_latitude":119458504,"longitude_deg":75.6763584,"latitude_deg":11.9458504,"altitude":82,"angle":323,"satellites":39,"speed":29,"hex_longitude":"2d1b4bc0","hex_latitude":"071ecac8","is_valid_coordinates":true} 
[2026-09-08 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924032001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18575724965265408,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968565648950724608,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855177000,"timestamp_ms":1788855177000,"timestamp_seconds":1788855177,"priority":1,"record_length":96,"hex_timestamp":"000001a08013cf28"} 
[2026-09-08 13:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 13:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924032001,"66":14396,"106":206,"83":41984,"24":29,"16":18575724965265408,"45":1968565648950724608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 13:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924032001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18575724965265408,"km_value":18575724965265.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968565648950724608,"description":"Unknown IO ID 45"} 
[2026-09-08 13:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924032001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1968565648950724608}} 
[2026-09-08 13:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":177192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:44:07] local.INFO: GPS data processed {"connection_id":177192,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:44:07] local.INFO: Acknowledgment sent {"connection_id":177192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:44:08] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08013d6f8012d1b47c0071eced80051013526..."} 
[2026-09-08 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013d6f8012d1b47c0071eced80051013526..."} 
[2026-09-08 13:44:08] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013d6f8012d1b47c0071eced80051013526..."} 
[2026-09-08 13:44:08] local.INFO: Packet analysis {"connection_id":177192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:08] local.INFO: Extracted packet for processing {"connection_id":177192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119459544,"longitude_deg":75.676256,"latitude_deg":11.9459544,"altitude":81,"angle":309,"satellites":38,"speed":30,"hex_longitude":"2d1b47c0","hex_latitude":"071eced8","is_valid_coordinates":true} 
[2026-09-08 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946925312001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18575793684742144,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966876799091263488,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788855179000,"timestamp_ms":1788855179000,"timestamp_seconds":1788855179,"priority":1,"record_length":96,"hex_timestamp":"000001a08013d6f8"} 
[2026-09-08 13:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 13:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946925312001,"66":14341,"106":206,"83":41984,"24":30,"16":18575793684742144,"45":1966876799091263488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 13:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946925312001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 13:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18575793684742144,"km_value":18575793684742.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966876799091263488,"description":"Unknown IO ID 45"} 
[2026-09-08 13:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946925312001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1966876799091263488}} 
[2026-09-08 13:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":177192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:44:08] local.INFO: GPS data processed {"connection_id":177192,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:44:08] local.INFO: Acknowledgment sent {"connection_id":177192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:44:09] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801405d8012d1b2b40071ee4d00048013429..."} 
[2026-09-08 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801405d8012d1b2b40071ee4d00048013429..."} 
[2026-09-08 13:44:09] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801405d8012d1b2b40071ee4d00048013429..."} 
[2026-09-08 13:44:09] local.INFO: Packet analysis {"connection_id":177192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:44:09] local.INFO: Extracted packet for processing {"connection_id":177192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756755264,"raw_latitude":119465168,"longitude_deg":75.6755264,"latitude_deg":11.9465168,"altitude":72,"angle":308,"satellites":41,"speed":28,"hex_longitude":"2d1b2b40","hex_latitude":"071ee4d0","is_valid_coordinates":true} 
[2026-09-08 13:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946925824001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18576236066373632,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965750899184687104,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788855191000,"timestamp_ms":1788855191000,"timestamp_seconds":1788855191,"priority":1,"record_length":96,"hex_timestamp":"000001a0801405d8"} 
[2026-09-08 13:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987715472,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2148771864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":51200,"corrected_to":0} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503883065720832,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3129999448,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3892391195,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4266328064,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84754118660791996,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.WARNING: Large IO value detected {"io_id":96,"raw_value":27304232986090496,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:09] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,254,160,207,45,192,202,82,39,10,66,187,190,86,36,183,1,240,92,227,128,30,4,113,205,20,175,144,239,56,2,65,7,91,26,206,168,96],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":202,"original":51200,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-08 13:44:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837005029375868928,"timestamp_seconds":5837005029375869.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946925824001,"66":12950,"101":206,"83":41984,"24":28,"16":18576236066373632,"45":1965750899184687104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946925824001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:44:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18576236066373632,"km_value":18576236066373.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965750899184687104,"description":"Unknown IO ID 45"} 
[2026-09-08 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946925824001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1965750899184687104}} 
[2026-09-08 13:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":177192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:44:09] local.INFO: GPS data processed {"connection_id":177192,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:44:09] local.INFO: Acknowledgment sent {"connection_id":177192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:44:27] local.INFO: TCP Data received {"connection_id":174424,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:44:27] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:44:27] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:27] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:27] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:44:27] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:44:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:44:27] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:44:27] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:44:41] local.INFO: TCP Data received {"connection_id":177192,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080145bc8012d1b00c0071ef5800050016029..."} 
[2026-09-08 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080145bc8012d1b00c0071ef5800050016029..."} 
[2026-09-08 13:44:41] local.INFO: Processing buffer {"connection_id":177192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080145bc8012d1b00c0071ef5800050016029..."} 
[2026-09-08 13:44:41] local.INFO: Packet analysis {"connection_id":177192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:44:41] local.INFO: Extracted packet for processing {"connection_id":177192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756744384,"raw_latitude":119469440,"longitude_deg":75.6744384,"latitude_deg":11.946944,"altitude":80,"angle":352,"satellites":41,"speed":26,"hex_longitude":"2d1b00c0","hex_latitude":"071ef580","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946934016001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18576923261140992,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945766175840395264,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788855213000,"timestamp_ms":1788855213000,"timestamp_seconds":1788855213,"priority":1,"record_length":96,"hex_timestamp":"000001a080145bc8"} 
[2026-09-08 13:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 13:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946934016001,"66":13820,"101":206,"83":41984,"24":26,"16":18576923261140992,"45":1945766175840395264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946934016001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:44:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18576923261140992,"km_value":18576923261140.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945766175840395264,"description":"Unknown IO ID 45"} 
[2026-09-08 13:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946934016001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1945766175840395264}} 
[2026-09-08 13:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":177192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:44:41] local.INFO: GPS data processed {"connection_id":177192,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:44:41] local.INFO: Acknowledgment sent {"connection_id":177192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:44:47] local.INFO: TCP Data received {"connection_id":177193,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:44:47] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:44:47] local.INFO: IMEI packet received {"connection_id":177193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":177193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:44:52] local.INFO: TCP Data received {"connection_id":177193,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:44:52] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:44:52] local.INFO: IMEI packet received {"connection_id":177193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":177193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:44:57] local.INFO: TCP Data received {"connection_id":177193,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:44:57] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:44:57] local.INFO: Packet analysis {"connection_id":177193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:57] local.INFO: Extracted packet for processing {"connection_id":177193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:44:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:44:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:44:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":177193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:44:57] local.INFO: GPS data processed {"connection_id":177193,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:44:57] local.INFO: Acknowledgment sent {"connection_id":177193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:45:00] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:00] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:00] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:45:01] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:01] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:01] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:45:02] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:02] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:02] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:45:02] local.INFO: TCP Data received {"connection_id":177193,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:45:02] local.INFO: Processing buffer {"connection_id":177193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:45:02] local.INFO: Packet analysis {"connection_id":177193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:45:02] local.INFO: Extracted packet for processing {"connection_id":177193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":177193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:45:02] local.INFO: GPS data processed {"connection_id":177193,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:45:02] local.INFO: Acknowledgment sent {"connection_id":177193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:45:03] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:03] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:03] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:45:03] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080148e90012d1afc80071f1680004d01542a..."} 
[2026-09-08 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080148e90012d1afc80071f1680004d01542a..."} 
[2026-09-08 13:45:03] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080148e90012d1afc80071f1680004d01542a..."} 
[2026-09-08 13:45:03] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:45:03] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756743296,"raw_latitude":119477888,"longitude_deg":75.6743296,"latitude_deg":11.9477888,"altitude":77,"angle":340,"satellites":42,"speed":13,"hex_longitude":"2d1afc80","hex_latitude":"071f1680","is_valid_coordinates":true} 
[2026-09-08 13:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946934528001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18577335578001408,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945766175840763904,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788855226000,"timestamp_ms":1788855226000,"timestamp_seconds":1788855226,"priority":1,"record_length":96,"hex_timestamp":"000001a080148e90"} 
[2026-09-08 13:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 13:45: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-09-08 13:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946934528001,"66":14080,"101":206,"83":41984,"24":13,"16":18577335578001408,"45":1945766175840763904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946934528001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:45:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18577335578001408,"km_value":18577335578001.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945766175840763904,"description":"Unknown IO ID 45"} 
[2026-09-08 13:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946934528001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1945766175840763904}} 
[2026-09-08 13:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:45:04] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:45:04] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:45:04] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08014bd70012d1afc40071f18e8004b000229..."} 
[2026-09-08 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08014bd70012d1afc40071f18e8004b000229..."} 
[2026-09-08 13:45:04] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08014bd70012d1afc40071f18e8004b000229..."} 
[2026-09-08 13:45:04] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:45:04] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756743232,"raw_latitude":119478504,"longitude_deg":75.6743232,"latitude_deg":11.9478504,"altitude":75,"angle":2,"satellites":41,"speed":5,"hex_longitude":"2d1afc40","hex_latitude":"071f18e8","is_valid_coordinates":true} 
[2026-09-08 13:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946937856001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18577374232707072,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944569907191906304,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788855238000,"timestamp_ms":1788855238000,"timestamp_seconds":1788855238,"priority":1,"record_length":96,"hex_timestamp":"000001a08014bd70"} 
[2026-09-08 13:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2148811864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3953131599,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-08 13:45:04] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4286119936,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,255,160,91,45,192,245,80,41,10,66,239,39,64,1,240,154,227,128,30,4,113,205,21,72,96,54,2,65,7,78,23],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-08 13:45:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548808755263373312,"timestamp_seconds":5548808755263373.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946937856001,"66":14407,"101":206,"83":41984,"24":5,"16":18577374232707072,"45":1944569907191906304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946937856001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:45:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18577374232707072,"km_value":18577374232707.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944569907191906304,"description":"Unknown IO ID 45"} 
[2026-09-08 13:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946937856001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1944569907191906304}} 
[2026-09-08 13:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:45:04] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:45:04] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:45:36] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08014d4e0012d1afc00071f1f30004a015c27..."} 
[2026-09-08 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08014d4e0012d1afc00071f1f30004a015c27..."} 
[2026-09-08 13:45:36] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08014d4e0012d1afc00071f1f30004a015c27..."} 
[2026-09-08 13:45:36] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:45:36] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08014"} 
[2026-09-08 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756743168,"raw_latitude":119480112,"longitude_deg":75.6743168,"latitude_deg":11.9480112,"altitude":74,"angle":348,"satellites":39,"speed":12,"hex_longitude":"2d1afc00","hex_latitude":"071f1f30","is_valid_coordinates":true} 
[2026-09-08 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946940928001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18577451542118400,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944499538447886336,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788855244000,"timestamp_ms":1788855244000,"timestamp_seconds":1788855244,"priority":1,"record_length":96,"hex_timestamp":"000001a08014d4e0"} 
[2026-09-08 13:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 13:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946940928001,"66":13167,"101":206,"83":41984,"24":12,"16":18577451542118400,"45":1944499538447886336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946940928001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:45:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18577451542118400,"km_value":18577451542118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944499538447886336,"description":"Unknown IO ID 45"} 
[2026-09-08 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946940928001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1944499538447886336}} 
[2026-09-08 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:45:36] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:45:36] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:45:41] local.INFO: TCP Data received {"connection_id":174674,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:45:41] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:45:41] local.INFO: IMEI packet received {"connection_id":174674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:45:47] local.INFO: TCP Data received {"connection_id":174674,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:45:47] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:45:47] local.INFO: IMEI packet received {"connection_id":174674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:45:48] local.INFO: TCP Data received {"connection_id":174674,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:45:48] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:45:48] local.INFO: Packet analysis {"connection_id":174674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:45:48] local.INFO: Extracted packet for processing {"connection_id":174674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:45:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:45:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:45:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":174674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:45:48] local.INFO: GPS data processed {"connection_id":174674,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:45:48] local.INFO: Acknowledgment sent {"connection_id":174674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:45:59] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:59] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:45:59] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:46:01] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:01] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:01] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:46:02] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:02] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:02] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:46:03] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:03] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:46:03] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:46:03] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080159c18012d1ab980071f4db8003b00002a..."} 
[2026-09-08 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080159c18012d1ab980071f4db8003b00002a..."} 
[2026-09-08 13:46:03] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080159c18012d1ab980071f4db8003b00002a..."} 
[2026-09-08 13:46:03] local.INFO: Packet analysis {"connection_id":175752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08015"} 
[2026-09-08 13:46:03] local.INFO: Extracted packet for processing {"connection_id":175752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08015"} 
[2026-09-08 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756726144,"raw_latitude":119492024,"longitude_deg":75.6726144,"latitude_deg":11.9492024,"altitude":59,"angle":0,"satellites":42,"speed":23,"hex_longitude":"2d1ab980","hex_latitude":"071f4db8","is_valid_coordinates":true} 
[2026-09-08 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946954752001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18578718557470720,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925711083755501568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788855295000,"timestamp_ms":1788855295000,"timestamp_seconds":1788855295,"priority":1,"record_length":96,"hex_timestamp":"000001a080159c18"} 
[2026-09-08 13:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 13:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946954752001,"66":14352,"101":206,"83":41984,"24":23,"16":18578718557470720,"45":1925711083755501568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946954752001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:46:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18578718557470720,"km_value":18578718557470.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925711083755501568,"description":"Unknown IO ID 45"} 
[2026-09-08 13:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946954752001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1925711083755501568}} 
[2026-09-08 13:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":175752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:46:03] local.INFO: GPS data processed {"connection_id":175752,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:46:03] local.INFO: Acknowledgment sent {"connection_id":175752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:46:09] local.INFO: TCP Data received {"connection_id":177195,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:46:09] local.INFO: Processing buffer {"connection_id":177195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:46:09] local.INFO: IMEI packet received {"connection_id":177195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":177195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:46:20] local.INFO: TCP Data received {"connection_id":174674,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:46:20] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:46:20] local.INFO: Packet analysis {"connection_id":174674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:46:20] local.INFO: Extracted packet for processing {"connection_id":174674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:46:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:46:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:46:20] local.INFO: GPS data processed {"connection_id":174674,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:46:20] local.INFO: Acknowledgment sent {"connection_id":174674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:46:34] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801672f0012d1a7980071fc9c80035014c25..."} 
[2026-09-08 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801672f0012d1a7980071fc9c80035014c25..."} 
[2026-09-08 13:46:34] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801672f0012d1a7980071fc9c80035014c25..."} 
[2026-09-08 13:46:34] local.INFO: Packet analysis {"connection_id":175752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08016"} 
[2026-09-08 13:46:34] local.INFO: Extracted packet for processing {"connection_id":175752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08016"} 
[2026-09-08 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756709760,"raw_latitude":119523784,"longitude_deg":75.670976,"latitude_deg":11.9523784,"altitude":53,"angle":332,"satellites":37,"speed":46,"hex_longitude":"2d1a7980","hex_latitude":"071fc9c8","is_valid_coordinates":true} 
[2026-09-08 13:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946968064001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18580780141772800,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911848441159573504,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788855350000,"timestamp_ms":1788855350000,"timestamp_seconds":1788855350,"priority":1,"record_length":96,"hex_timestamp":"000001a0801672f0"} 
[2026-09-08 13:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 13:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946968064001,"66":14428,"101":206,"83":41984,"24":46,"16":18580780141772800,"45":1911848441159573504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946968064001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:46:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18580780141772800,"km_value":18580780141772.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911848441159573504,"description":"Unknown IO ID 45"} 
[2026-09-08 13:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946968064001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1911848441159573504}} 
[2026-09-08 13:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":175752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:46:35] local.INFO: GPS data processed {"connection_id":175752,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:46:35] local.INFO: Acknowledgment sent {"connection_id":175752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:46:42] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:46:42] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:46:42] local.INFO: IMEI packet received {"connection_id":174426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":174426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:46:47] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:46:47] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:46:47] local.INFO: IMEI packet received {"connection_id":174426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:46:48] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:46:48] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:46:48] local.INFO: Packet analysis {"connection_id":174426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:46:48] local.INFO: Extracted packet for processing {"connection_id":174426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:46:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:46:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":174426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:46:48] local.INFO: GPS data processed {"connection_id":174426,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:46:48] local.INFO: Acknowledgment sent {"connection_id":174426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:47:02] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:02] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:02] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:47:05] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:05] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:05] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:47:06] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:06] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:47:06] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:47:06] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080167ea8012d1a71c0071fd4b80034013928..."} 
[2026-09-08 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080167ea8012d1a71c0071fd4b80034013928..."} 
[2026-09-08 13:47:06] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080167ea8012d1a71c0071fd4b80034013928..."} 
[2026-09-08 13:47:06] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08016"} 
[2026-09-08 13:47:06] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08016"} 
[2026-09-08 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756707776,"raw_latitude":119526584,"longitude_deg":75.6707776,"latitude_deg":11.9526584,"altitude":52,"angle":313,"satellites":40,"speed":45,"hex_longitude":"2d1a71c0","hex_latitude":"071fd4b8","is_valid_coordinates":true} 
[2026-09-08 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946969600001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18580947645497344,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907696685254559744,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788855353000,"timestamp_ms":1788855353000,"timestamp_seconds":1788855353,"priority":1,"record_length":96,"hex_timestamp":"000001a080167ea8"} 
[2026-09-08 13:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:47: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-09-08 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 13:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946969600001,"66":13863,"101":206,"83":41984,"24":45,"16":18580947645497344,"45":1907696685254559744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946969600001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:47:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18580947645497344,"km_value":18580947645497.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907696685254559744,"description":"Unknown IO ID 45"} 
[2026-09-08 13:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946969600001,"power":13863,"unknown_101":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1907696685254559744}} 
[2026-09-08 13:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:47:07] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:47:07] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:47:11] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080168678012d1a6a80071fd9b80032012d28..."} 
[2026-09-08 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080168678012d1a6a80071fd9b80032012d28..."} 
[2026-09-08 13:47:11] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080168678012d1a6a80071fd9b80032012d28..."} 
[2026-09-08 13:47:11] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08016"} 
[2026-09-08 13:47:11] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08016"} 
[2026-09-08 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119527864,"longitude_deg":75.670592,"latitude_deg":11.9527864,"altitude":50,"angle":301,"satellites":40,"speed":38,"hex_longitude":"2d1a6a80","hex_latitude":"071fd9b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946970368001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18581050724712448,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905515254185768960,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788855355000,"timestamp_ms":1788855355000,"timestamp_seconds":1788855355,"priority":1,"record_length":96,"hex_timestamp":"000001a080168678"} 
[2026-09-08 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-09-08 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-08 13:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946970368001,"66":14396,"101":206,"83":41984,"24":38,"16":18581050724712448,"45":1905515254185768960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 13:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946970368001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18581050724712448,"km_value":18581050724712.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905515254185768960,"description":"Unknown IO ID 45"} 
[2026-09-08 13:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946970368001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1905515254185768960}} 
[2026-09-08 13:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:47:11] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:47:11] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:47:21] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:47:21] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:47:21] local.INFO: Packet analysis {"connection_id":174426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:47:21] local.INFO: Extracted packet for processing {"connection_id":174426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:47:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:47:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":174426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:47:21] local.INFO: GPS data processed {"connection_id":174426,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:47:21] local.INFO: Acknowledgment sent {"connection_id":174426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:47:44] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080176cf0012d19ca0007201be8002d014c27..."} 
[2026-09-08 13:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080176cf0012d19ca0007201be8002d014c27..."} 
[2026-09-08 13:47:44] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080176cf0012d19ca0007201be8002d014c27..."} 
[2026-09-08 13:47:44] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08017"} 
[2026-09-08 13:47:44] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08017"} 
[2026-09-08 13:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119544808,"longitude_deg":75.6664832,"latitude_deg":11.9544808,"altitude":45,"angle":332,"satellites":39,"speed":36,"hex_longitude":"2d19ca00","hex_latitude":"07201be8","is_valid_coordinates":true} 
[2026-09-08 13:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946985472001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18583279812739072,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753642496,"note":"Value kept but may cause issues"} 
[2026-09-08 13:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788855414000,"timestamp_ms":1788855414000,"timestamp_seconds":1788855414,"priority":1,"record_length":96,"hex_timestamp":"000001a080176cf0"} 
[2026-09-08 13:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 13:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946985472001,"66":14363,"103":206,"83":41984,"24":36,"16":18583279812739072,"45":1859423726753642496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 13:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946985472001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:47:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 13:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18583279812739072,"km_value":18583279812739.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753642496,"description":"Unknown IO ID 45"} 
[2026-09-08 13:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946985472001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1859423726753642496}} 
[2026-09-08 13:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:47:44] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:47:44] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:47:47] local.INFO: TCP Data received {"connection_id":175755,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:47:47] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:47:47] local.INFO: IMEI packet received {"connection_id":175755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:47:55] local.INFO: TCP Data received {"connection_id":175755,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:47:55] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:47:55] local.INFO: IMEI packet received {"connection_id":175755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":175755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:48:00] local.INFO: TCP Data received {"connection_id":174676,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:00] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:00] local.INFO: IMEI packet received {"connection_id":174676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":174676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:48:00] local.INFO: TCP Data received {"connection_id":175755,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:48:00] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:48:00] local.INFO: Packet analysis {"connection_id":175755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:48:00] local.INFO: Extracted packet for processing {"connection_id":175755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:48:00] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:48:00] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":175755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:48:00] local.INFO: GPS data processed {"connection_id":175755,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:48:00] local.INFO: Acknowledgment sent {"connection_id":175755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:48:01] local.INFO: TCP Data received {"connection_id":174676,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:01] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:01] local.INFO: IMEI packet received {"connection_id":174676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":174676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:48:01] local.INFO: TCP Data received {"connection_id":175755,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:48:01] local.INFO: Processing buffer {"connection_id":175755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08013bf88012d4883c006963000004e01092a..."} 
[2026-09-08 13:48:01] local.INFO: Packet analysis {"connection_id":175755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:48:01] local.INFO: Extracted packet for processing {"connection_id":175755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08013"} 
[2026-09-08 13:48:01] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946847232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788855173000,"timestamp_ms":1788855173000,"timestamp_seconds":1788855173,"priority":1,"record_length":96,"hex_timestamp":"000001a08013bf88"} 
[2026-09-08 13:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946847232001,"66":26060,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946847232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:48:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:48:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946847232001,"power":26060,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":175755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:48:01] local.INFO: GPS data processed {"connection_id":175755,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:48:01] local.INFO: Acknowledgment sent {"connection_id":175755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:48:02] local.INFO: TCP Data received {"connection_id":174676,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:02] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:02] local.INFO: IMEI packet received {"connection_id":174676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":174676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:48:03] local.INFO: TCP Data received {"connection_id":174676,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:03] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:48:03] local.INFO: IMEI packet received {"connection_id":174676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":174676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:48:41] local.INFO: TCP Data received {"connection_id":174427,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:48:41] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:48:41] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:48:46] local.INFO: TCP Data received {"connection_id":174427,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:48:46] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:48:46] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:48:48] local.INFO: TCP Data received {"connection_id":174427,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:48:48] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:48:48] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:48:48] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:48:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:48:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:48:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:48:48] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:48:48] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:49:19] local.INFO: TCP Data received {"connection_id":174427,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:49:19] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:49:19] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:49:19] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:49:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:49:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:49:19] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:49:19] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:49:41] local.INFO: TCP Data received {"connection_id":177197,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:49:41] local.INFO: Processing buffer {"connection_id":177197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:49:41] local.INFO: IMEI packet received {"connection_id":177197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":177197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:49:47] local.INFO: TCP Data received {"connection_id":177197,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:49:47] local.INFO: Processing buffer {"connection_id":177197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:49:47] local.INFO: IMEI packet received {"connection_id":177197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":177197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:49:49] local.INFO: TCP Data received {"connection_id":177197,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:49:49] local.INFO: Processing buffer {"connection_id":177197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:49:49] local.INFO: Packet analysis {"connection_id":177197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:49:49] local.INFO: Extracted packet for processing {"connection_id":177197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:49:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:49:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":177197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:49:49] local.INFO: GPS data processed {"connection_id":177197,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:49:49] local.INFO: Acknowledgment sent {"connection_id":177197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:50:21] local.INFO: TCP Data received {"connection_id":177197,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:21] local.INFO: Processing buffer {"connection_id":177197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:21] local.INFO: Packet analysis {"connection_id":177197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:50:21] local.INFO: Extracted packet for processing {"connection_id":177197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:50:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:50:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":177197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:50:21] local.INFO: GPS data processed {"connection_id":177197,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:50:21] local.INFO: Acknowledgment sent {"connection_id":177197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:50:47] local.INFO: TCP Data received {"connection_id":177199,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:50:47] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:50:47] local.INFO: IMEI packet received {"connection_id":177199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":177199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:50:52] local.INFO: TCP Data received {"connection_id":177199,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:50:52] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:50:52] local.INFO: IMEI packet received {"connection_id":177199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":177199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:50:53] local.INFO: TCP Data received {"connection_id":177199,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:53] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:53] local.INFO: Packet analysis {"connection_id":177199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:50:53] local.INFO: Extracted packet for processing {"connection_id":177199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:50:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:50:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":177199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:50:54] local.INFO: GPS data processed {"connection_id":177199,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:50:54] local.INFO: Acknowledgment sent {"connection_id":177199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:50:59] local.INFO: TCP Data received {"connection_id":177199,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:59] local.INFO: Processing buffer {"connection_id":177199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:50:59] local.INFO: Packet analysis {"connection_id":177199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:50:59] local.INFO: Extracted packet for processing {"connection_id":177199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:50:59] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:50:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":177199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:50:59] local.INFO: GPS data processed {"connection_id":177199,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:50:59] local.INFO: Acknowledgment sent {"connection_id":177199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:51:41] local.INFO: TCP Data received {"connection_id":177201,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:51:41] local.INFO: Processing buffer {"connection_id":177201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:51:41] local.INFO: IMEI packet received {"connection_id":177201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":177201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:51:44] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:51:44] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:51:44] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:51:47] local.INFO: TCP Data received {"connection_id":177201,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:51:47] local.INFO: Processing buffer {"connection_id":177201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:51:47] local.INFO: IMEI packet received {"connection_id":177201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":177201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:51:48] local.INFO: TCP Data received {"connection_id":177201,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:51:48] local.INFO: Processing buffer {"connection_id":177201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:51:48] local.INFO: Packet analysis {"connection_id":177201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:51:48] local.INFO: Extracted packet for processing {"connection_id":177201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:51:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:51:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":177201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:51:48] local.INFO: GPS data processed {"connection_id":177201,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:51:48] local.INFO: Acknowledgment sent {"connection_id":177201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:52:20] local.INFO: TCP Data received {"connection_id":177201,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:52:20] local.INFO: Processing buffer {"connection_id":177201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:52:20] local.INFO: Packet analysis {"connection_id":177201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:52:20] local.INFO: Extracted packet for processing {"connection_id":177201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 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-09-08 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 13:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:52:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:52:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":177201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:52:20] local.INFO: GPS data processed {"connection_id":177201,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:52:20] local.INFO: Acknowledgment sent {"connection_id":177201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:52:41] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:52:41] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:52:41] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:52:47] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:52:47] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:52:47] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:52:49] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:52:49] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:52:49] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:52:49] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:52:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:52:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:52:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:52:49] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:52:49] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:53:05] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:53:05] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:53:05] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:53:06] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801bc250012d1824400721b800004a011d2c..."} 
[2026-09-08 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801bc250012d1824400721b800004a011d2c..."} 
[2026-09-08 13:53:06] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801bc250012d1824400721b800004a011d2c..."} 
[2026-09-08 13:53:06] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:53:06] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650304,"longitude_deg":75.6556864,"latitude_deg":11.9650304,"altitude":74,"angle":285,"satellites":44,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-09-08 13:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947058432001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592050135957504,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934832128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788855698000,"timestamp_ms":1788855698000,"timestamp_seconds":1788855698,"priority":1,"record_length":96,"hex_timestamp":"000001a0801bc250"} 
[2026-09-08 13:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 13:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947058432001,"66":13091,"105":206,"83":41984,"24":6,"16":18592050135957504,"45":1739726492934832128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947058432001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:53:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592050135957504,"km_value":18592050135957.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934832128,"description":"Unknown IO ID 45"} 
[2026-09-08 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947058432001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934832128}} 
[2026-09-08 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:53:06] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:53:06] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:53:21] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:53:21] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080185750012d4883c006963000004e010929..."} 
[2026-09-08 13:53:21] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:53:21] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08018"} 
[2026-09-08 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":78,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457946924288001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788855474000,"timestamp_ms":1788855474000,"timestamp_seconds":1788855474,"priority":1,"record_length":96,"hex_timestamp":"000001a080185750"} 
[2026-09-08 13:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 13:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457946924288001,"66":26006,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457946924288001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457946924288001,"power":26006,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:53:21] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:53:21] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:53:37] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801bca20012d1823400721b7b8004a00cd2c..."} 
[2026-09-08 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801bca20012d1823400721b7b8004a00cd2c..."} 
[2026-09-08 13:53:37] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801bca20012d1823400721b7b8004a00cd2c..."} 
[2026-09-08 13:53:37] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:53:37] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650232,"longitude_deg":75.6556608,"latitude_deg":11.9650232,"altitude":74,"angle":205,"satellites":44,"speed":5,"hex_longitude":"2d182340","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-09-08 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947058688001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592063020859392,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446509568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788855700000,"timestamp_ms":1788855700000,"timestamp_seconds":1788855700,"priority":1,"record_length":96,"hex_timestamp":"000001a0801bca20"} 
[2026-09-08 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 13:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947058688001,"66":13037,"105":206,"83":41984,"24":5,"16":18592063020859392,"45":1739585755446509568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947058688001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:53:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592063020859392,"km_value":18592063020859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446509568,"description":"Unknown IO ID 45"} 
[2026-09-08 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947058688001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446509568}} 
[2026-09-08 13:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:53:37] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:53:37] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:53:47] local.INFO: TCP Data received {"connection_id":175758,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:53:47] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:53:47] local.INFO: IMEI packet received {"connection_id":175758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":175758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:53:52] local.INFO: TCP Data received {"connection_id":175758,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:53:52] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:53:52] local.INFO: IMEI packet received {"connection_id":175758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":175758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:53:54] local.INFO: TCP Data received {"connection_id":175758,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:53:54] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:53:54] local.INFO: Packet analysis {"connection_id":175758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:53:54] local.INFO: Extracted packet for processing {"connection_id":175758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:53:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:53:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:53:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":175758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:53:54] local.INFO: GPS data processed {"connection_id":175758,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:53:54] local.INFO: Acknowledgment sent {"connection_id":175758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:53:57] local.INFO: TCP Data received {"connection_id":175758,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:53:57] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:53:57] local.INFO: Packet analysis {"connection_id":175758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:53:57] local.INFO: Extracted packet for processing {"connection_id":175758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:53:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:53:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:53:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":175758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:53:57] local.INFO: GPS data processed {"connection_id":175758,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:53:57] local.INFO: Acknowledgment sent {"connection_id":175758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:54:01] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:54:01] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:54:01] local.INFO: IMEI packet received {"connection_id":177202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":177202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:54:06] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:54:06] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:54:06] local.INFO: IMEI packet received {"connection_id":177202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":177202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:54:07] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801bce08012d1823000721b728004b00b32c..."} 
[2026-09-08 13:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801bce08012d1823000721b728004b00b32c..."} 
[2026-09-08 13:54:07] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801bce08012d1823000721b728004b00b32c..."} 
[2026-09-08 13:54:07] local.INFO: Packet analysis {"connection_id":177202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:54:07] local.INFO: Extracted packet for processing {"connection_id":177202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650088,"longitude_deg":75.6556544,"latitude_deg":11.9650088,"altitude":75,"angle":179,"satellites":44,"speed":6,"hex_longitude":"2d182300","hex_latitude":"0721b728","is_valid_coordinates":true} 
[2026-09-08 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947059200001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592071610793984,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469780480,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855701000,"timestamp_ms":1788855701000,"timestamp_seconds":1788855701,"priority":1,"record_length":96,"hex_timestamp":"000001a0801bce08"} 
[2026-09-08 13:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 13:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947059200001,"66":13037,"105":206,"83":41984,"24":6,"16":18592071610793984,"45":1739304280469780480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947059200001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592071610793984,"km_value":18592071610793.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469780480,"description":"Unknown IO ID 45"} 
[2026-09-08 13:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947059200001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739304280469780480}} 
[2026-09-08 13:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":177202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:54:07] local.INFO: GPS data processed {"connection_id":177202,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:54:07] local.INFO: Acknowledgment sent {"connection_id":177202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:54:38] local.INFO: TCP Data received {"connection_id":177202,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801bd9c0012d1822c00721b568004b00bf2c..."} 
[2026-09-08 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801bd9c0012d1822c00721b568004b00bf2c..."} 
[2026-09-08 13:54:38] local.INFO: Processing buffer {"connection_id":177202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801bd9c0012d1822c00721b568004b00bf2c..."} 
[2026-09-08 13:54:38] local.INFO: Packet analysis {"connection_id":177202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:54:38] local.INFO: Extracted packet for processing {"connection_id":177202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649640,"longitude_deg":75.655648,"latitude_deg":11.964964,"altitude":75,"angle":191,"satellites":44,"speed":7,"hex_longitude":"2d1822c0","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-08 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947059456001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592093085630464,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725565952,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788855704000,"timestamp_ms":1788855704000,"timestamp_seconds":1788855704,"priority":1,"record_length":96,"hex_timestamp":"000001a0801bd9c0"} 
[2026-09-08 13:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 13:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947059456001,"66":13059,"105":206,"83":41984,"24":7,"16":18592093085630464,"45":1739233911725565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947059456001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592093085630464,"km_value":18592093085630.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725565952,"description":"Unknown IO ID 45"} 
[2026-09-08 13:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947059456001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739233911725565952}} 
[2026-09-08 13:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":177202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:54:38] local.INFO: GPS data processed {"connection_id":177202,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:54:38] local.INFO: Acknowledgment sent {"connection_id":177202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:54:41] local.INFO: TCP Data received {"connection_id":175759,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:54:41] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:54:41] local.INFO: IMEI packet received {"connection_id":175759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":175759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:54:46] local.INFO: TCP Data received {"connection_id":175759,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:54:46] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:54:46] local.INFO: IMEI packet received {"connection_id":175759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":175759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:54:47] local.INFO: TCP Data received {"connection_id":175759,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:54:47] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:54:47] local.INFO: Packet analysis {"connection_id":175759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:54:47] local.INFO: Extracted packet for processing {"connection_id":175759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:54:47] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:54:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":175759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:54:47] local.INFO: GPS data processed {"connection_id":175759,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:54:47] local.INFO: Acknowledgment sent {"connection_id":175759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:55:01] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:55:01] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:55:01] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:55:06] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:55:06] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:55:06] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:55:07] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801bdda8012d1822800721b4d0004b00d02c..."} 
[2026-09-08 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801bdda8012d1822800721b4d0004b00d02c..."} 
[2026-09-08 13:55:07] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801bdda8012d1822800721b4d0004b00d02c..."} 
[2026-09-08 13:55:07] local.INFO: Packet analysis {"connection_id":174432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:55:07] local.INFO: Extracted packet for processing {"connection_id":174432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801b"} 
[2026-09-08 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649488,"longitude_deg":75.6556416,"latitude_deg":11.9649488,"altitude":75,"angle":208,"satellites":44,"speed":6,"hex_longitude":"2d182280","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-09-08 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947060224001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592101675565056,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981273600,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855705000,"timestamp_ms":1788855705000,"timestamp_seconds":1788855705,"priority":1,"record_length":96,"hex_timestamp":"000001a0801bdda8"} 
[2026-09-08 13:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164287929706,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709963,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149299864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8193,"corrected_to":0} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3078619210,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,160,206,45,183,75,44,10,66,202,64,74,194,1,240,35,227,128,33,4,113,205,7,186,36,43,239,49,2,11],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":202,"original":8193,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 13:55:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404529748544520192,"timestamp_seconds":5404529748544520.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947060224001,"66":13059,"105":206,"83":41984,"24":6,"16":18592101675565056,"45":1739163542981273600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947060224001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592101675565056,"km_value":18592101675565.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981273600,"description":"Unknown IO ID 45"} 
[2026-09-08 13:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947060224001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739163542981273600}} 
[2026-09-08 13:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":174432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:55:07] local.INFO: GPS data processed {"connection_id":174432,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:55:07] local.INFO: Acknowledgment sent {"connection_id":174432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:55:20] local.INFO: TCP Data received {"connection_id":175759,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:55:20] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:55:20] local.INFO: Packet analysis {"connection_id":175759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:55:20] local.INFO: Extracted packet for processing {"connection_id":175759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:55:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:55:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":175759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:55:20] local.INFO: GPS data processed {"connection_id":175759,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:55:20] local.INFO: Acknowledgment sent {"connection_id":175759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:55:38] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801c2fb0012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801c2fb0012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:55:38] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801c2fb0012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:55:38] local.INFO: Packet analysis {"connection_id":174432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:55:38] local.INFO: Extracted packet for processing {"connection_id":174432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947060480001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237057024,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788855726000,"timestamp_ms":1788855726000,"timestamp_seconds":1788855726,"priority":1,"record_length":96,"hex_timestamp":"000001a0801c2fb0"} 
[2026-09-08 13:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158264909162,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709962,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149300864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8193,"corrected_to":0} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3087007818,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692855,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,13,160,217,45,192,181,75,44,10,66,206,183,202,64,1,240,237,227,128,33,4,113,205,6,190,36,43,239,49,2,7,74],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":202,"original":8193,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 13:55:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404548440242126848,"timestamp_seconds":5404548440242127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947060480001,"66":12993,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1739093174237057024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947060480001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237057024,"description":"Unknown IO ID 45"} 
[2026-09-08 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947060480001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237057024}} 
[2026-09-08 13:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":174432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:55:39] local.INFO: GPS data processed {"connection_id":174432,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:55:39] local.INFO: Acknowledgment sent {"connection_id":174432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:55:41] local.INFO: TCP Data received {"connection_id":175760,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:55:41] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:55:41] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:55:47] local.INFO: TCP Data received {"connection_id":175760,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:55:47] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:55:47] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:55:48] local.INFO: TCP Data received {"connection_id":175760,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:55:48] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:55:48] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:55:48] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:55:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:55:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:55:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:55:48] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:55:48] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:56:06] local.INFO: TCP Data received {"connection_id":177203,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:56:06] local.INFO: Processing buffer {"connection_id":177203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:56:06] local.INFO: IMEI packet received {"connection_id":177203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":177203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:56:11] local.INFO: TCP Data received {"connection_id":177203,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:56:11] local.INFO: Processing buffer {"connection_id":177203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:56:11] local.INFO: IMEI packet received {"connection_id":177203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":177203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:56:12] local.INFO: TCP Data received {"connection_id":177203,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801c81b8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801c81b8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:56:12] local.INFO: Processing buffer {"connection_id":177203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801c81b8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:56:12] local.INFO: Packet analysis {"connection_id":177203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:12] local.INFO: Extracted packet for processing {"connection_id":177203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947065856001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788855747000,"timestamp_ms":1788855747000,"timestamp_seconds":1788855747,"priority":1,"record_length":96,"hex_timestamp":"000001a0801c81b8"} 
[2026-09-08 13:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 13:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947065856001,"66":12993,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947065856001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:56:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947065856001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":177203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:56:12] local.INFO: GPS data processed {"connection_id":177203,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:56:12] local.INFO: Acknowledgment sent {"connection_id":177203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:56:14] local.INFO: TCP Data received {"connection_id":177203,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cd3c0012d1821800721b3b8004b00d32d..."} 
[2026-09-08 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cd3c0012d1821800721b3b8004b00d32d..."} 
[2026-09-08 13:56:14] local.INFO: Processing buffer {"connection_id":177203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cd3c0012d1821800721b3b8004b00d32d..."} 
[2026-09-08 13:56:14] local.INFO: Packet analysis {"connection_id":177203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:14] local.INFO: Extracted packet for processing {"connection_id":177203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947071232001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788855768000,"timestamp_ms":1788855768000,"timestamp_seconds":1788855768,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cd3c0"} 
[2026-09-08 13:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 13:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947071232001,"66":12939,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947071232001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:56:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947071232001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":177203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:56:15] local.INFO: GPS data processed {"connection_id":177203,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:56:15] local.INFO: Acknowledgment sent {"connection_id":177203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:56:20] local.INFO: TCP Data received {"connection_id":175760,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:56:20] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:56:20] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:20] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:56:20] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:56:20] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:56:41] local.INFO: TCP Data received {"connection_id":174681,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:56:41] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:56:41] local.INFO: IMEI packet received {"connection_id":174681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":174681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:56:45] local.INFO: TCP Data received {"connection_id":177203,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801d25c8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801d25c8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:56:45] local.INFO: Processing buffer {"connection_id":177203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801d25c8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:56:45] local.INFO: Packet analysis {"connection_id":177203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801d"} 
[2026-09-08 13:56:45] local.INFO: Extracted packet for processing {"connection_id":177203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801d"} 
[2026-09-08 13:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947076608001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788855789000,"timestamp_ms":1788855789000,"timestamp_seconds":1788855789,"priority":1,"record_length":96,"hex_timestamp":"000001a0801d25c8"} 
[2026-09-08 13:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 13:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947076608001,"66":12841,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947076608001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947076608001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":177203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:56:45] local.INFO: GPS data processed {"connection_id":177203,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:56:45] local.INFO: Acknowledgment sent {"connection_id":177203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:56:47] local.INFO: TCP Data received {"connection_id":174681,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:56:47] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:56:47] local.INFO: IMEI packet received {"connection_id":174681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:56:48] local.INFO: TCP Data received {"connection_id":174681,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:56:48] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:56:48] local.INFO: Packet analysis {"connection_id":174681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:48] local.INFO: Extracted packet for processing {"connection_id":174681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:56:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:56:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:56:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":174681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:56:48] local.INFO: GPS data processed {"connection_id":174681,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:56:48] local.INFO: Acknowledgment sent {"connection_id":174681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:57:01] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:01] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:01] local.INFO: IMEI packet received {"connection_id":177204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":177204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:57:04] local.INFO: TCP Data received {"connection_id":175762,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:57:04] local.INFO: Processing buffer {"connection_id":175762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:57:04] local.INFO: IMEI packet received {"connection_id":175762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":175762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:57:06] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:06] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:06] local.INFO: IMEI packet received {"connection_id":177204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":177204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:57:07] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801d77d0012d1821800721b3b8004b00d32b..."} 
[2026-09-08 13:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801d77d0012d1821800721b3b8004b00d32b..."} 
[2026-09-08 13:57:07] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801d77d0012d1821800721b3b8004b00d32b..."} 
[2026-09-08 13:57:07] local.INFO: Packet analysis {"connection_id":177204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801d"} 
[2026-09-08 13:57:07] local.INFO: Extracted packet for processing {"connection_id":177204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801d"} 
[2026-09-08 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947081984001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855810000,"timestamp_ms":1788855810000,"timestamp_seconds":1788855810,"priority":1,"record_length":96,"hex_timestamp":"000001a0801d77d0"} 
[2026-09-08 13:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 13:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947081984001,"66":12819,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947081984001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947081984001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":177204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:57:07] local.INFO: GPS data processed {"connection_id":177204,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:57:07] local.INFO: Acknowledgment sent {"connection_id":177204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:57:11] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801dc9d8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801dc9d8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:57:11] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801dc9d8012d1821800721b3b8004b00d32c..."} 
[2026-09-08 13:57:11] local.INFO: Packet analysis {"connection_id":177204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801d"} 
[2026-09-08 13:57:11] local.INFO: Extracted packet for processing {"connection_id":177204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801d"} 
[2026-09-08 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947087360001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788855831000,"timestamp_ms":1788855831000,"timestamp_seconds":1788855831,"priority":1,"record_length":96,"hex_timestamp":"000001a0801dc9d8"} 
[2026-09-08 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-09-08 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149308864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2003547685370995456,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503883319869440,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3015180363,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182152400208128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398639025671763,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429454505713120044,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195072768,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84750507667038647,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.WARNING: Large IO value detected {"io_id":184,"raw_value":20830029483083008,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,13,160,37,45,128,179,75,44,10,66,211,129,1,240,193,227,33,4,113,205,221,34,208,239,51,2,7,164,69,32,184],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-08 13:57:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551734481649664,"timestamp_seconds":5404551734481650.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 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-09-08 13:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947087360001,"66":12798,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947087360001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947087360001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":177204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:57:12] local.INFO: GPS data processed {"connection_id":177204,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:57:12] local.INFO: Acknowledgment sent {"connection_id":177204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:57:20] local.INFO: TCP Data received {"connection_id":174681,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:20] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:20] local.INFO: Packet analysis {"connection_id":174681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:57:20] local.INFO: Extracted packet for processing {"connection_id":174681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:57:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:57:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:57:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:57:20] local.INFO: GPS data processed {"connection_id":174681,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:57:20] local.INFO: Acknowledgment sent {"connection_id":174681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:57:43] local.INFO: TCP Data received {"connection_id":177204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801e1be0012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801e1be0012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:57:43] local.INFO: Processing buffer {"connection_id":177204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801e1be0012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:57:43] local.INFO: Packet analysis {"connection_id":177204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801e"} 
[2026-09-08 13:57:43] local.INFO: Extracted packet for processing {"connection_id":177204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801e"} 
[2026-09-08 13:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947092736001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788855852000,"timestamp_ms":1788855852000,"timestamp_seconds":1788855852,"priority":1,"record_length":96,"hex_timestamp":"000001a0801e1be0"} 
[2026-09-08 13:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 13:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947092736001,"66":12841,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947092736001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:57:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947092736001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":177204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:57:43] local.INFO: GPS data processed {"connection_id":177204,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:57:43] local.INFO: Acknowledgment sent {"connection_id":177204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:57:44] local.INFO: TCP Data received {"connection_id":177205,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:57:44] local.INFO: Processing buffer {"connection_id":177205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 13:57:44] local.INFO: IMEI packet received {"connection_id":177205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 13:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":177205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:57:47] local.INFO: TCP Data received {"connection_id":175763,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:57:47] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:57:47] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:57:52] local.INFO: TCP Data received {"connection_id":175763,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:57:52] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:57:52] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:57:53] local.INFO: TCP Data received {"connection_id":175763,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:53] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:53] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:57:53] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:57:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:57:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:57:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:57:53] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:57:53] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:57:59] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:59] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:57:59] local.INFO: IMEI packet received {"connection_id":177206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":177206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:57:59] local.INFO: TCP Data received {"connection_id":175763,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:59] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801cef18012d4883c006963000003f010929..."} 
[2026-09-08 13:57:59] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:57:59] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801c"} 
[2026-09-08 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947001344001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788855775000,"timestamp_ms":1788855775000,"timestamp_seconds":1788855775,"priority":1,"record_length":96,"hex_timestamp":"000001a0801cef18"} 
[2026-09-08 13:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 13:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947001344001,"66":25854,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947001344001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947001344001,"power":25854,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:57:59] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:57:59] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:58:01] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:58:01] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:58:01] local.INFO: IMEI packet received {"connection_id":177206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":177206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:58:06] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:58:06] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:58:06] local.INFO: IMEI packet received {"connection_id":177206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":177206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:58:07] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801e6de8012d1821800721b3b8004b00d32f..."} 
[2026-09-08 13:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801e6de8012d1821800721b3b8004b00d32f..."} 
[2026-09-08 13:58:07] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801e6de8012d1821800721b3b8004b00d32f..."} 
[2026-09-08 13:58:07] local.INFO: Packet analysis {"connection_id":177206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801e"} 
[2026-09-08 13:58:07] local.INFO: Extracted packet for processing {"connection_id":177206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801e"} 
[2026-09-08 13:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947098112001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855873000,"timestamp_ms":1788855873000,"timestamp_seconds":1788855873,"priority":1,"record_length":96,"hex_timestamp":"000001a0801e6de8"} 
[2026-09-08 13:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 13:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947098112001,"66":12809,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947098112001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947098112001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":177206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:58:07] local.INFO: GPS data processed {"connection_id":177206,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:58:07] local.INFO: Acknowledgment sent {"connection_id":177206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:58:38] local.INFO: TCP Data received {"connection_id":177206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801ebff0012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801ebff0012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:58:38] local.INFO: Processing buffer {"connection_id":177206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801ebff0012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:58:38] local.INFO: Packet analysis {"connection_id":177206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801e"} 
[2026-09-08 13:58:38] local.INFO: Extracted packet for processing {"connection_id":177206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801e"} 
[2026-09-08 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947103488001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788855894000,"timestamp_ms":1788855894000,"timestamp_seconds":1788855894,"priority":1,"record_length":96,"hex_timestamp":"000001a0801ebff0"} 
[2026-09-08 13:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149351864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2031035476065395072,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402567477572013,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428486935480685356,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,13,160,27,45,128,179,75,46,10,66,201,44,119,1,240,19,227,33,4,113,205,211,184,239,50,2,7,164,111],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 13:58:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551751661518848,"timestamp_seconds":5404551751661519.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947103488001,"66":12809,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947103488001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947103488001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":177206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:58:38] local.INFO: GPS data processed {"connection_id":177206,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:58:38] local.INFO: Acknowledgment sent {"connection_id":177206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:58:42] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:58:42] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:58:42] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:58:47] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:58:47] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:58:47] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:58:49] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:58:49] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:58:49] local.INFO: Packet analysis {"connection_id":174682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 13:58:49] local.INFO: Extracted packet for processing {"connection_id":174682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 13:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 13:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:58:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:58:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:58:49] local.INFO: GPS data processed {"connection_id":174682,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:58:49] local.INFO: Acknowledgment sent {"connection_id":174682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:59:01] local.INFO: TCP Data received {"connection_id":177208,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:01] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:01] local.INFO: IMEI packet received {"connection_id":177208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 13:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":177208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:59:02] local.INFO: TCP Data received {"connection_id":177208,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:02] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:02] local.INFO: IMEI packet received {"connection_id":177208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":177208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:59:06] local.INFO: TCP Data received {"connection_id":177208,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:06] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 13:59:06] local.INFO: IMEI packet received {"connection_id":177208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 13:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":177208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:59:07] local.INFO: TCP Data received {"connection_id":177208,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801f11f8012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801f11f8012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:59:07] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801f11f8012d1821800721b3b8004b00d32e..."} 
[2026-09-08 13:59:07] local.INFO: Packet analysis {"connection_id":177208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801f"} 
[2026-09-08 13:59:07] local.INFO: Extracted packet for processing {"connection_id":177208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801f"} 
[2026-09-08 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947108864001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855915000,"timestamp_ms":1788855915000,"timestamp_seconds":1788855915,"priority":1,"record_length":96,"hex_timestamp":"000001a0801f11f8"} 
[2026-09-08 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149372864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2054125220248691072,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428486935480685356,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,160,109,45,128,179,75,47,10,66,27,46,201,1,240,254,227,33,4,113,205,37,184,44,239,50,2,7,164,111],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 13:59:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551747366551552,"timestamp_seconds":5404551747366552.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947108864001,"66":12809,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947108864001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947108864001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":177208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:59:07] local.INFO: GPS data processed {"connection_id":177208,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:59:07] local.INFO: Acknowledgment sent {"connection_id":177208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:59:21] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:59:21] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:59:21] local.INFO: Packet analysis {"connection_id":174682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 13:59:21] local.INFO: Extracted packet for processing {"connection_id":174682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 13:59:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 13:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 13:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 13:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:59:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":174682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:59:21] local.INFO: GPS data processed {"connection_id":174682,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:59:21] local.INFO: Acknowledgment sent {"connection_id":174682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:59:38] local.INFO: TCP Data received {"connection_id":177208,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801f6400012d1821800721b3b8004b00d32f..."} 
[2026-09-08 13:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801f6400012d1821800721b3b8004b00d32f..."} 
[2026-09-08 13:59:38] local.INFO: Processing buffer {"connection_id":177208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801f6400012d1821800721b3b8004b00d32f..."} 
[2026-09-08 13:59:38] local.INFO: Packet analysis {"connection_id":177208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801f"} 
[2026-09-08 13:59:38] local.INFO: Extracted packet for processing {"connection_id":177208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801f"} 
[2026-09-08 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 13:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947114240001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788855936000,"timestamp_ms":1788855936000,"timestamp_seconds":1788855936,"priority":1,"record_length":96,"hex_timestamp":"000001a0801f6400"} 
[2026-09-08 13:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 13: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149393864,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2077214964431987072,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587212466933331,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428486935480685357,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,160,191,45,128,179,75,46,10,66,109,47,27,1,240,41,227,33,4,113,205,119,184,43,239,50,2,7,164,111],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 13:59:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551747366551552,"timestamp_seconds":5404551747366552.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 13:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 13:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 13:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 13:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947114240001,"66":12798,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 13:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 13:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 13:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947114240001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:59:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 13:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 13:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 13:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947114240001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 13:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":177208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:59:38] local.INFO: GPS data processed {"connection_id":177208,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:59:38] local.INFO: Acknowledgment sent {"connection_id":177208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 13:59:41] local.INFO: TCP Data received {"connection_id":174433,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:59:41] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:59:41] local.INFO: IMEI packet received {"connection_id":174433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 13:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":174433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 13:59:47] local.INFO: TCP Data received {"connection_id":174433,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:59:47] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 13:59:47] local.INFO: IMEI packet received {"connection_id":174433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 13:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 13:59:48] local.INFO: TCP Data received {"connection_id":174433,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:59:48] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 13:59:48] local.INFO: Packet analysis {"connection_id":174433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 13:59:48] local.INFO: Extracted packet for processing {"connection_id":174433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 13:59:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 13: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-09-08 13:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 13:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 13:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 13:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 13:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 13:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 13: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-09-08 13:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 13:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 13:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 13:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 13:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 13:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 13:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 13:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 13:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 13:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 13:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 13:59:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 13:59:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 13:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 13:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 13:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 13:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":174433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 13:59:48] local.INFO: GPS data processed {"connection_id":174433,"processed":1,"errors":0,"total":1} 
[2026-09-08 13:59:48] local.INFO: Acknowledgment sent {"connection_id":174433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:00:01] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:00:01] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:00:01] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:00:05] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:00:05] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:00:05] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:00:05] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0801fb608012d1821800721b3b8004b00d32f..."} 
[2026-09-08 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0801fb608012d1821800721b3b8004b00d32f..."} 
[2026-09-08 14:00:05] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0801fb608012d1821800721b3b8004b00d32f..."} 
[2026-09-08 14:00:05] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0801f"} 
[2026-09-08 14:00:05] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0801f"} 
[2026-09-08 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947119616001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788855957000,"timestamp_ms":1788855957000,"timestamp_seconds":1788855957,"priority":1,"record_length":96,"hex_timestamp":"000001a0801fb608"} 
[2026-09-08 14:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947119616001,"66":12776,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947119616001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:00:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947119616001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 14:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:00:06] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:00:06] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:00:20] local.INFO: TCP Data received {"connection_id":174433,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:20] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:20] local.INFO: Packet analysis {"connection_id":174433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:00:20] local.INFO: Extracted packet for processing {"connection_id":174433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:00:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:00:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:00:20] local.INFO: GPS data processed {"connection_id":174433,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:00:20] local.INFO: Acknowledgment sent {"connection_id":174433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:00:37] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080200810012d1821800721b3b8004b00d32f..."} 
[2026-09-08 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080200810012d1821800721b3b8004b00d32f..."} 
[2026-09-08 14:00:37] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080200810012d1821800721b3b8004b00d32f..."} 
[2026-09-08 14:00:37] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:00:37] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947124992001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788855978000,"timestamp_ms":1788855978000,"timestamp_seconds":1788855978,"priority":1,"record_length":96,"hex_timestamp":"000001a080200810"} 
[2026-09-08 14:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 14:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947124992001,"66":12743,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947124992001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 14:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947124992001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 14:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:00:37] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:00:37] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:00:47] local.INFO: TCP Data received {"connection_id":175765,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:00:47] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:00:47] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:00:52] local.INFO: TCP Data received {"connection_id":175765,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:00:52] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:00:52] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:00:53] local.INFO: TCP Data received {"connection_id":175765,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:53] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:53] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:00:53] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:00:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:00:53] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:00:53] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:00:58] local.INFO: TCP Data received {"connection_id":175765,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:58] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:00:58] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:00:58] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:00:58] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:00:58] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:00:58] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:01:00] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:01:00] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:01:00] local.INFO: IMEI packet received {"connection_id":174683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:01:06] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:01:06] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:01:06] local.INFO: IMEI packet received {"connection_id":174683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":174683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:01:07] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080205a18012d1821800721b3b8004b00d32e..."} 
[2026-09-08 14:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080205a18012d1821800721b3b8004b00d32e..."} 
[2026-09-08 14:01:07] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080205a18012d1821800721b3b8004b00d32e..."} 
[2026-09-08 14:01:07] local.INFO: Packet analysis {"connection_id":174683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:01:07] local.INFO: Extracted packet for processing {"connection_id":174683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 14:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947130368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788855999000,"timestamp_ms":1788855999000,"timestamp_seconds":1788855999,"priority":1,"record_length":96,"hex_timestamp":"000001a080205a18"} 
[2026-09-08 14:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-08 14:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947130368001,"66":12722,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947130368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 14:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947130368001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 14:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":174683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:01:07] local.INFO: GPS data processed {"connection_id":174683,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:01:07] local.INFO: Acknowledgment sent {"connection_id":174683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:01:38] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08020ac20012d1821800721b3b8004b00d330..."} 
[2026-09-08 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08020ac20012d1821800721b3b8004b00d330..."} 
[2026-09-08 14:01:38] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08020ac20012d1821800721b3b8004b00d330..."} 
[2026-09-08 14:01:38] local.INFO: Packet analysis {"connection_id":174683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:01:38] local.INFO: Extracted packet for processing {"connection_id":174683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947135744001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856020000,"timestamp_ms":1788856020000,"timestamp_seconds":1788856020,"priority":1,"record_length":96,"hex_timestamp":"000001a08020ac20"} 
[2026-09-08 14:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 14:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947135744001,"66":12722,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947135744001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 14:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947135744001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 14:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":174683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:01:38] local.INFO: GPS data processed {"connection_id":174683,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:01:38] local.INFO: Acknowledgment sent {"connection_id":174683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:01:47] local.INFO: TCP Data received {"connection_id":175766,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:01:47] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:01:47] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:01:47] local.INFO: TCP Data received {"connection_id":175766,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:01:47] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:01:47] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:01:48] local.INFO: TCP Data received {"connection_id":175766,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:01:48] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:01:48] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:01:48] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:01:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:01:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:01:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:01:48] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:01:48] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:01:52] local.INFO: TCP Data received {"connection_id":175766,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:01:52] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:01:52] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:01:52] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:01:52] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:01:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:01:53] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:01:53] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:02:00] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:02:00] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:02:00] local.INFO: IMEI packet received {"connection_id":174685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":174685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:02:06] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:02:06] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:02:06] local.INFO: IMEI packet received {"connection_id":174685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":174685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:02:07] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08020fe28012d1821800721b3b8004b00d330..."} 
[2026-09-08 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08020fe28012d1821800721b3b8004b00d330..."} 
[2026-09-08 14:02:07] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08020fe28012d1821800721b3b8004b00d330..."} 
[2026-09-08 14:02:07] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:02:07] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08020"} 
[2026-09-08 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649208,"longitude_deg":75.655616,"latitude_deg":11.9649208,"altitude":75,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-08 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947141120001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592118855434240,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260274688,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788856041000,"timestamp_ms":1788856041000,"timestamp_seconds":1788856041,"priority":1,"record_length":96,"hex_timestamp":"000001a08020fe28"} 
[2026-09-08 14:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 14:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947141120001,"66":12667,"105":206,"83":41984,"24":0,"16":18592118855434240,"45":1738811699260274688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947141120001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592118855434240,"km_value":18592118855434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260274688,"description":"Unknown IO ID 45"} 
[2026-09-08 14:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947141120001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260274688}} 
[2026-09-08 14:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:02:07] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:02:07] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:02:24] local.INFO: TCP Data received {"connection_id":175766,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:02:24] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:02:24] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:02:24] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:02:24] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:02:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:02:24] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:02:24] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:02:38] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080248480012d181fc00721b288004900d32d..."} 
[2026-09-08 14:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080248480012d181fc00721b288004900d32d..."} 
[2026-09-08 14:02:38] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080248480012d181fc00721b288004900d32d..."} 
[2026-09-08 14:02:38] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08024"} 
[2026-09-08 14:02:38] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08024"} 
[2026-09-08 14:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947200256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856272000,"timestamp_ms":1788856272000,"timestamp_seconds":1788856272,"priority":1,"record_length":96,"hex_timestamp":"000001a080248480"} 
[2026-09-08 14:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 14:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947200256001,"66":12591,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947200256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:02:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947200256001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:02:38] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:02:38] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:02:41] local.INFO: TCP Data received {"connection_id":174436,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:02:41] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:02:41] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:02:47] local.INFO: TCP Data received {"connection_id":174436,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:02:47] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:02:47] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:02:50] local.INFO: TCP Data received {"connection_id":174436,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:02:50] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:02:50] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:02:50] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:02:50] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:02:50] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:03:06] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:03:06] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:03:06] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:03:11] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:03:11] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:03:11] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:03:12] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08024d688012d181fc00721b288004900d32c..."} 
[2026-09-08 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08024d688012d181fc00721b288004900d32c..."} 
[2026-09-08 14:03:12] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08024d688012d181fc00721b288004900d32c..."} 
[2026-09-08 14:03:12] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08024"} 
[2026-09-08 14:03:12] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08024"} 
[2026-09-08 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947205632001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788856293000,"timestamp_ms":1788856293000,"timestamp_seconds":1788856293,"priority":1,"record_length":96,"hex_timestamp":"000001a08024d688"} 
[2026-09-08 14:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 14:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947205632001,"66":12613,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947205632001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:03:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947205632001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:03:12] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:03:12] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:03:14] local.INFO: TCP Data received {"connection_id":177209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:03:14] local.INFO: Processing buffer {"connection_id":177209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:03:14] local.INFO: IMEI packet received {"connection_id":177209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":177209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:03:14] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080252890012d181fc00721b288004900d32d..."} 
[2026-09-08 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080252890012d181fc00721b288004900d32d..."} 
[2026-09-08 14:03:14] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080252890012d181fc00721b288004900d32d..."} 
[2026-09-08 14:03:14] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08025"} 
[2026-09-08 14:03:14] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08025"} 
[2026-09-08 14:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947211008001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788856314000,"timestamp_ms":1788856314000,"timestamp_seconds":1788856314,"priority":1,"record_length":96,"hex_timestamp":"000001a080252890"} 
[2026-09-08 14:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 14:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947211008001,"66":12580,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947211008001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:03:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947211008001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:03:15] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:03:15] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:03:22] local.INFO: TCP Data received {"connection_id":174436,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:03:22] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802182f8012d4883c006963000003e01092a..."} 
[2026-09-08 14:03:22] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:03:22] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08021"} 
[2026-09-08 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947078400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788856075000,"timestamp_ms":1788856075000,"timestamp_seconds":1788856075,"priority":1,"record_length":96,"hex_timestamp":"000001a0802182f8"} 
[2026-09-08 14:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947078400001,"66":25995,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947078400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947078400001,"power":25995,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:03:22] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:03:22] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:03:45] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080257a98012d181fc00721b288004900d32c..."} 
[2026-09-08 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080257a98012d181fc00721b288004900d32c..."} 
[2026-09-08 14:03:45] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080257a98012d181fc00721b288004900d32c..."} 
[2026-09-08 14:03:45] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08025"} 
[2026-09-08 14:03:45] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08025"} 
[2026-09-08 14:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947216384001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788856335000,"timestamp_ms":1788856335000,"timestamp_seconds":1788856335,"priority":1,"record_length":96,"hex_timestamp":"000001a080257a98"} 
[2026-09-08 14:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-08 14:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947216384001,"66":12591,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947216384001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:03:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947216384001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:03:46] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:03:46] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:03:47] local.INFO: TCP Data received {"connection_id":174687,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:03:47] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:03:47] local.INFO: IMEI packet received {"connection_id":174687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:03:50] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:03:50] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:03:50] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:03:52] local.INFO: TCP Data received {"connection_id":174687,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:03:52] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:03:52] local.INFO: IMEI packet received {"connection_id":174687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":174687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:03:54] local.INFO: TCP Data received {"connection_id":174687,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:03:54] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:03:54] local.INFO: Packet analysis {"connection_id":174687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:03:54] local.INFO: Extracted packet for processing {"connection_id":174687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:03:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:03:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:03:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":174687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:03:54] local.INFO: GPS data processed {"connection_id":174687,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:03:54] local.INFO: Acknowledgment sent {"connection_id":174687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:03:57] local.INFO: TCP Data received {"connection_id":174687,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:03:57] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:03:57] local.INFO: Packet analysis {"connection_id":174687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:03:57] local.INFO: Extracted packet for processing {"connection_id":174687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:03:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:03:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":174687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:03:57] local.INFO: GPS data processed {"connection_id":174687,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:03:57] local.INFO: Acknowledgment sent {"connection_id":174687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:04:01] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:01] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:01] local.INFO: IMEI packet received {"connection_id":174437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":174437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:04:06] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:06] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:06] local.INFO: IMEI packet received {"connection_id":174437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":174437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:04:06] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08025cca0012d181fc00721b288004900d32b..."} 
[2026-09-08 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08025cca0012d181fc00721b288004900d32b..."} 
[2026-09-08 14:04:06] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08025cca0012d181fc00721b288004900d32b..."} 
[2026-09-08 14:04:06] local.INFO: Packet analysis {"connection_id":174437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08025"} 
[2026-09-08 14:04:06] local.INFO: Extracted packet for processing {"connection_id":174437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08025"} 
[2026-09-08 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947221760001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788856356000,"timestamp_ms":1788856356000,"timestamp_seconds":1788856356,"priority":1,"record_length":96,"hex_timestamp":"000001a08025cca0"} 
[2026-09-08 14:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 14:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947221760001,"66":12504,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947221760001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947221760001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":174437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:04:07] local.INFO: GPS data processed {"connection_id":174437,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:04:07] local.INFO: Acknowledgment sent {"connection_id":174437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:04:38] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ea8012d181fc00721b288004900d32e..."} 
[2026-09-08 14:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ea8012d181fc00721b288004900d32e..."} 
[2026-09-08 14:04:38] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ea8012d181fc00721b288004900d32e..."} 
[2026-09-08 14:04:38] local.INFO: Packet analysis {"connection_id":174437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:04:38] local.INFO: Extracted packet for processing {"connection_id":174437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947227136001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856377000,"timestamp_ms":1788856377000,"timestamp_seconds":1788856377,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ea8"} 
[2026-09-08 14:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 14:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947227136001,"66":12558,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947227136001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:04:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947227136001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":174437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:04:38] local.INFO: GPS data processed {"connection_id":174437,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:04:38] local.INFO: Acknowledgment sent {"connection_id":174437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:04:41] local.INFO: TCP Data received {"connection_id":177210,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:04:41] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:04:41] local.INFO: IMEI packet received {"connection_id":177210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":177210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:04:47] local.INFO: TCP Data received {"connection_id":177210,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:04:47] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:04:47] local.INFO: IMEI packet received {"connection_id":177210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":177210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:04:49] local.INFO: TCP Data received {"connection_id":177210,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:04:49] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:04:49] local.INFO: Packet analysis {"connection_id":177210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:04:49] local.INFO: Extracted packet for processing {"connection_id":177210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:04:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:04:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":177210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:04:49] local.INFO: GPS data processed {"connection_id":177210,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:04:49] local.INFO: Acknowledgment sent {"connection_id":177210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:04:59] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:59] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:04:59] local.INFO: IMEI packet received {"connection_id":174438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":174438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:05:00] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:05:00] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:05:00] local.INFO: IMEI packet received {"connection_id":174438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":174438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:05:06] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:05:06] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:05:06] local.INFO: IMEI packet received {"connection_id":174438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":174438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:05:07] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802670b0012d181fc00721b288004900d32d..."} 
[2026-09-08 14:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802670b0012d181fc00721b288004900d32d..."} 
[2026-09-08 14:05:07] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802670b0012d181fc00721b288004900d32d..."} 
[2026-09-08 14:05:07] local.INFO: Packet analysis {"connection_id":174438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:07] local.INFO: Extracted packet for processing {"connection_id":174438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232512001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788856398000,"timestamp_ms":1788856398000,"timestamp_seconds":1788856398,"priority":1,"record_length":96,"hex_timestamp":"000001a0802670b0"} 
[2026-09-08 14:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149855864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643656,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2995257417,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,13,160,204,45,192,178,73,43,10,66,122,44,40,1,240,36,227,128,33,4,113,205,132,31,136,239,49,2,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 14:05:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260436559290695680,"timestamp_seconds":5260436559290696.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 14:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232512001,"66":12558,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232512001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232512001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":174438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:05:07] local.INFO: GPS data processed {"connection_id":174438,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:05:07] local.INFO: Acknowledgment sent {"connection_id":174438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:05:21] local.INFO: TCP Data received {"connection_id":177210,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:05:21] local.INFO: Processing buffer {"connection_id":177210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:05:21] local.INFO: Packet analysis {"connection_id":177210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:21] local.INFO: Extracted packet for processing {"connection_id":177210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:05:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:05:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":177210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:05:21] local.INFO: GPS data processed {"connection_id":177210,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:05:21] local.INFO: Acknowledgment sent {"connection_id":177210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:05:41] local.INFO: TCP Data received {"connection_id":175768,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:05:41] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:05:41] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:05:47] local.INFO: TCP Data received {"connection_id":175768,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:05:47] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:05:47] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:05:49] local.INFO: TCP Data received {"connection_id":175768,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:05:49] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:05:49] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:49] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:05:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:05:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:05:49] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:05:49] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:05:50] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08026c2b8012d181fc00721b288004900d32c..."} 
[2026-09-08 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08026c2b8012d181fc00721b288004900d32c..."} 
[2026-09-08 14:05:50] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08026c2b8012d181fc00721b288004900d32c..."} 
[2026-09-08 14:05:50] local.INFO: Packet analysis {"connection_id":174438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:50] local.INFO: Extracted packet for processing {"connection_id":174438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947237888001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788856419000,"timestamp_ms":1788856419000,"timestamp_seconds":1788856419,"priority":1,"record_length":96,"hex_timestamp":"000001a08026c2b8"} 
[2026-09-08 14:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149876864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643656,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2995257417,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 14:05:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,13,160,30,45,192,178,73,46,10,66,204,43,122,1,240,47,227,128,33,4,113,205,214,31,136,44,239,49,2,7,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 14:05:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260436554995728384,"timestamp_seconds":5260436554995728.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 14:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947237888001,"66":12558,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947237888001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:05:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947237888001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":174438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:05:50] local.INFO: GPS data processed {"connection_id":174438,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:05:50] local.INFO: Acknowledgment sent {"connection_id":174438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:06:01] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:06:01] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:06:01] local.INFO: IMEI packet received {"connection_id":174689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":174689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:06:05] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:06:06] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:06:06] local.INFO: IMEI packet received {"connection_id":174689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":174689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:06:06] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802714c0012d181fc00721b288004900d32e..."} 
[2026-09-08 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802714c0012d181fc00721b288004900d32e..."} 
[2026-09-08 14:06:06] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802714c0012d181fc00721b288004900d32e..."} 
[2026-09-08 14:06:06] local.INFO: Packet analysis {"connection_id":174689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:06:06] local.INFO: Extracted packet for processing {"connection_id":174689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947243264001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788856440000,"timestamp_ms":1788856440000,"timestamp_seconds":1788856440,"priority":1,"record_length":96,"hex_timestamp":"000001a0802714c0"} 
[2026-09-08 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149897864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643656,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2995257417,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,160,112,45,192,178,73,10,66,30,46,204,1,240,216,227,128,33,4,113,205,40,31,136,239,49,2,7,106,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 14:06:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260436550700761088,"timestamp_seconds":5260436550700761.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947243264001,"66":13396,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947243264001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947243264001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":174689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:06:06] local.INFO: GPS data processed {"connection_id":174689,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:06:06] local.INFO: Acknowledgment sent {"connection_id":174689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:06:21] local.INFO: TCP Data received {"connection_id":175768,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:21] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:21] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:06:21] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:06:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:06:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:06:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:06:21] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:06:21] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:06:38] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802766c8012d181fc00721b288004900d32d..."} 
[2026-09-08 14:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802766c8012d181fc00721b288004900d32d..."} 
[2026-09-08 14:06:38] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802766c8012d181fc00721b288004900d32d..."} 
[2026-09-08 14:06:38] local.INFO: Packet analysis {"connection_id":174689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:06:38] local.INFO: Extracted packet for processing {"connection_id":174689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":73,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-09-08 14:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947248640001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592153215172608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856461000,"timestamp_ms":1788856461000,"timestamp_seconds":1788856461,"priority":1,"record_length":96,"hex_timestamp":"000001a0802766c8"} 
[2026-09-08 14:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 14:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947248640001,"66":12526,"105":206,"83":41984,"24":0,"16":18592153215172608,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947248640001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592153215172608,"km_value":18592153215172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947248640001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":174689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:06:38] local.INFO: GPS data processed {"connection_id":174689,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:06:38] local.INFO: Acknowledgment sent {"connection_id":174689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:06:47] local.INFO: TCP Data received {"connection_id":174440,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:06:47] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:06:47] local.INFO: IMEI packet received {"connection_id":174440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:06:52] local.INFO: TCP Data received {"connection_id":174440,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:06:52] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:06:52] local.INFO: IMEI packet received {"connection_id":174440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:06:54] local.INFO: TCP Data received {"connection_id":174440,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:54] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:54] local.INFO: Packet analysis {"connection_id":174440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:06:54] local.INFO: Extracted packet for processing {"connection_id":174440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:06:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:06: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:06:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:06:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":174440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:06:54] local.INFO: GPS data processed {"connection_id":174440,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:06:54] local.INFO: Acknowledgment sent {"connection_id":174440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:06:57] local.INFO: TCP Data received {"connection_id":174440,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:57] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:06:57] local.INFO: Packet analysis {"connection_id":174440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:06:57] local.INFO: Extracted packet for processing {"connection_id":174440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:06:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:06:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:06:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":174440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:06:57] local.INFO: GPS data processed {"connection_id":174440,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:06:57] local.INFO: Acknowledgment sent {"connection_id":174440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:07:01] local.INFO: TCP Data received {"connection_id":177212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:07:01] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:07:01] local.INFO: IMEI packet received {"connection_id":177212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":177212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:07:06] local.INFO: TCP Data received {"connection_id":177212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:07:06] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:07:06] local.INFO: IMEI packet received {"connection_id":177212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":177212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:07:06] local.INFO: TCP Data received {"connection_id":177212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802791c0012d181dc00721b120004b00df2e..."} 
[2026-09-08 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802791c0012d181dc00721b120004b00df2e..."} 
[2026-09-08 14:07:06] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802791c0012d181dc00721b120004b00df2e..."} 
[2026-09-08 14:07:06] local.INFO: Packet analysis {"connection_id":177212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:07:06] local.INFO: Extracted packet for processing {"connection_id":177212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648544,"longitude_deg":75.65552,"latitude_deg":11.9648544,"altitude":75,"angle":223,"satellites":46,"speed":4,"hex_longitude":"2d181dc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-09-08 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947254016001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592183279943680,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788856472000,"timestamp_ms":1788856472000,"timestamp_seconds":1788856472,"priority":1,"record_length":96,"hex_timestamp":"000001a0802791c0"} 
[2026-09-08 14:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 14:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947254016001,"66":12841,"105":206,"83":41984,"24":4,"16":18592183279943680,"45":1738319118050953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947254016001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592183279943680,"km_value":18592183279943.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947254016001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-09-08 14:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":177212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:07:07] local.INFO: GPS data processed {"connection_id":177212,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:07:07] local.INFO: Acknowledgment sent {"connection_id":177212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:07:38] local.INFO: TCP Data received {"connection_id":177212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080279d78012d181d000721b010004c00d22e..."} 
[2026-09-08 14:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080279d78012d181d000721b010004c00d22e..."} 
[2026-09-08 14:07:38] local.INFO: Processing buffer {"connection_id":177212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080279d78012d181d000721b010004c00d22e..."} 
[2026-09-08 14:07:38] local.INFO: Packet analysis {"connection_id":177212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:07:38] local.INFO: Extracted packet for processing {"connection_id":177212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648272,"longitude_deg":75.6555008,"latitude_deg":11.9648272,"altitude":76,"angle":210,"satellites":46,"speed":2,"hex_longitude":"2d181d00","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-09-08 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947256832001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592200459812864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097439744,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856475000,"timestamp_ms":1788856475000,"timestamp_seconds":1788856475,"priority":1,"record_length":96,"hex_timestamp":"000001a080279d78"} 
[2026-09-08 14:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 14:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947256832001,"66":12809,"105":206,"83":41984,"24":2,"16":18592200459812864,"45":1737756168097439744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947256832001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:07:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592200459812864,"km_value":18592200459812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097439744,"description":"Unknown IO ID 45"} 
[2026-09-08 14:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947256832001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737756168097439744}} 
[2026-09-08 14:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":177212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:07:38] local.INFO: GPS data processed {"connection_id":177212,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:07:38] local.INFO: Acknowledgment sent {"connection_id":177212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:07:42] local.INFO: TCP Data received {"connection_id":177213,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:07:42] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:07:42] local.INFO: IMEI packet received {"connection_id":177213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":177213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:07:47] local.INFO: TCP Data received {"connection_id":177213,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:07:47] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:07:47] local.INFO: IMEI packet received {"connection_id":177213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":177213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:07:48] local.INFO: TCP Data received {"connection_id":177213,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:07:48] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:07:48] local.INFO: Packet analysis {"connection_id":177213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:07:48] local.INFO: Extracted packet for processing {"connection_id":177213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:07:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 14:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:07:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:07:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":177213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:07:48] local.INFO: GPS data processed {"connection_id":177213,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:07:48] local.INFO: Acknowledgment sent {"connection_id":177213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:08:01] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:01] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:01] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:08:02] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:02] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:02] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:08:06] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:06] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:08:06] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:08:07] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08027ef80012d181d000721af88004c00ce2f..."} 
[2026-09-08 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08027ef80012d181d000721af88004c00ce2f..."} 
[2026-09-08 14:08:07] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08027ef80012d181d000721af88004c00ce2f..."} 
[2026-09-08 14:08:07] local.INFO: Packet analysis {"connection_id":174690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:08:07] local.INFO: Extracted packet for processing {"connection_id":174690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08027"} 
[2026-09-08 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":47,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947257600001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864837120,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788856496000,"timestamp_ms":1788856496000,"timestamp_seconds":1788856496,"priority":1,"record_length":96,"hex_timestamp":"000001a08027ef80"} 
[2026-09-08 14:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2149981864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2723727801564274624,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2995257417,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":1009032173442879059,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428152683912287019,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,13,160,145,45,192,177,75,46,10,66,102,178,73,20,1,240,84,227,128,33,4,113,205,112,31,136,239,49,2,7,164,119],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 14:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608241892982784,"timestamp_seconds":5476608241892983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 14:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947257600001,"66":12765,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864837120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947257600001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864837120,"description":"Unknown IO ID 45"} 
[2026-09-08 14:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947257600001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864837120}} 
[2026-09-08 14:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":174690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:08:07] local.INFO: GPS data processed {"connection_id":174690,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:08:07] local.INFO: Acknowledgment sent {"connection_id":174690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:08:20] local.INFO: TCP Data received {"connection_id":177213,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:08:20] local.INFO: Processing buffer {"connection_id":177213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080261ac0012d4883c006963000003e010928..."} 
[2026-09-08 14:08:20] local.INFO: Packet analysis {"connection_id":177213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:08:20] local.INFO: Extracted packet for processing {"connection_id":177213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08026"} 
[2026-09-08 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947155200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856376000,"timestamp_ms":1788856376000,"timestamp_seconds":1788856376,"priority":1,"record_length":96,"hex_timestamp":"000001a080261ac0"} 
[2026-09-08 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-09-08 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 14:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947155200001,"66":25952,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947155200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:08:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:08:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947155200001,"power":25952,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":177213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:08:20] local.INFO: GPS data processed {"connection_id":177213,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:08:20] local.INFO: Acknowledgment sent {"connection_id":177213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:08:38] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080284188012d181d000721af88004c00ce2e..."} 
[2026-09-08 14:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080284188012d181d000721af88004c00ce2e..."} 
[2026-09-08 14:08:38] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080284188012d181d000721af88004c00ce2e..."} 
[2026-09-08 14:08:38] local.INFO: Packet analysis {"connection_id":174690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08028"} 
[2026-09-08 14:08:38] local.INFO: Extracted packet for processing {"connection_id":174690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08028"} 
[2026-09-08 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947262976001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856517000,"timestamp_ms":1788856517000,"timestamp_seconds":1788856517,"priority":1,"record_length":96,"hex_timestamp":"000001a080284188"} 
[2026-09-08 14:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-08 14:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947262976001,"66":12722,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947262976001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947262976001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":174690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:08:38] local.INFO: GPS data processed {"connection_id":174690,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:08:38] local.INFO: Acknowledgment sent {"connection_id":174690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:08:42] local.INFO: TCP Data received {"connection_id":177214,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:08:42] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:08:42] local.INFO: IMEI packet received {"connection_id":177214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:08:47] local.INFO: TCP Data received {"connection_id":177214,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:08:47] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:08:47] local.INFO: IMEI packet received {"connection_id":177214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":177214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:08:48] local.INFO: TCP Data received {"connection_id":177214,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:08:48] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:08:48] local.INFO: Packet analysis {"connection_id":177214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:08:48] local.INFO: Extracted packet for processing {"connection_id":177214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:08:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:08:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":177214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:08:48] local.INFO: GPS data processed {"connection_id":177214,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:08:48] local.INFO: Acknowledgment sent {"connection_id":177214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:08:54] local.INFO: TCP Data received {"connection_id":177215,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:08:54] local.INFO: Processing buffer {"connection_id":177215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:08:54] local.INFO: IMEI packet received {"connection_id":177215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":177215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:09:00] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:00] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:00] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:09:04] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:04] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:04] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:09:06] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:06] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:09:06] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:09:07] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080289390012d181d000721af88004c00ce2e..."} 
[2026-09-08 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080289390012d181d000721af88004c00ce2e..."} 
[2026-09-08 14:09:07] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080289390012d181d000721af88004c00ce2e..."} 
[2026-09-08 14:09:07] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08028"} 
[2026-09-08 14:09:07] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08028"} 
[2026-09-08 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947268352001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788856538000,"timestamp_ms":1788856538000,"timestamp_seconds":1788856538,"priority":1,"record_length":96,"hex_timestamp":"000001a080289390"} 
[2026-09-08 14:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 14:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947268352001,"66":12678,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947268352001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947268352001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:09:07] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:09:07] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:09:20] local.INFO: TCP Data received {"connection_id":177214,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:09:20] local.INFO: Processing buffer {"connection_id":177214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:09:20] local.INFO: Packet analysis {"connection_id":177214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:09:20] local.INFO: Extracted packet for processing {"connection_id":177214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":177214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:09:20] local.INFO: GPS data processed {"connection_id":177214,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:09:20] local.INFO: Acknowledgment sent {"connection_id":177214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:09:38] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08028e598012d181d000721af88004c00ce2c..."} 
[2026-09-08 14:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08028e598012d181d000721af88004c00ce2c..."} 
[2026-09-08 14:09:38] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08028e598012d181d000721af88004c00ce2c..."} 
[2026-09-08 14:09:38] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08028"} 
[2026-09-08 14:09:38] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08028"} 
[2026-09-08 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947273728001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788856559000,"timestamp_ms":1788856559000,"timestamp_seconds":1788856559,"priority":1,"record_length":96,"hex_timestamp":"000001a08028e598"} 
[2026-09-08 14:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947273728001,"66":12613,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947273728001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:09:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947273728001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:09:38] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:09:38] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:09:41] local.INFO: TCP Data received {"connection_id":175770,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:09:41] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:09:41] local.INFO: IMEI packet received {"connection_id":175770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":175770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:09:47] local.INFO: TCP Data received {"connection_id":175770,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:09:47] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:09:47] local.INFO: IMEI packet received {"connection_id":175770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:09:48] local.INFO: TCP Data received {"connection_id":175770,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:09:48] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:09:48] local.INFO: Packet analysis {"connection_id":175770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:09:48] local.INFO: Extracted packet for processing {"connection_id":175770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:09:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:09:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:09:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":175770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:09:48] local.INFO: GPS data processed {"connection_id":175770,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:09:48] local.INFO: Acknowledgment sent {"connection_id":175770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:10:00] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:10:00] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:10:00] local.INFO: IMEI packet received {"connection_id":177217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":177217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:10:05] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:10:05] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:10:05] local.INFO: IMEI packet received {"connection_id":177217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":177217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:10:06] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802937a0012d181d000721af88004c00ce2c..."} 
[2026-09-08 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802937a0012d181d000721af88004c00ce2c..."} 
[2026-09-08 14:10:06] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802937a0012d181d000721af88004c00ce2c..."} 
[2026-09-08 14:10:06] local.INFO: Packet analysis {"connection_id":177217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08029"} 
[2026-09-08 14:10:06] local.INFO: Extracted packet for processing {"connection_id":177217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08029"} 
[2026-09-08 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947279104001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788856580000,"timestamp_ms":1788856580000,"timestamp_seconds":1788856580,"priority":1,"record_length":96,"hex_timestamp":"000001a0802937a0"} 
[2026-09-08 14:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 14:10: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-09-08 14:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947279104001,"66":12548,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947279104001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947279104001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":177217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:10:06] local.INFO: GPS data processed {"connection_id":177217,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:10:06] local.INFO: Acknowledgment sent {"connection_id":177217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:10:20] local.INFO: TCP Data received {"connection_id":175770,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:20] local.INFO: Processing buffer {"connection_id":175770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:20] local.INFO: Packet analysis {"connection_id":175770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:10:20] local.INFO: Extracted packet for processing {"connection_id":175770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:10:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:10:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:10:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":175770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:10:20] local.INFO: GPS data processed {"connection_id":175770,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:10:20] local.INFO: Acknowledgment sent {"connection_id":175770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:10:37] local.INFO: TCP Data received {"connection_id":177217,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802989a8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802989a8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:10:37] local.INFO: Processing buffer {"connection_id":177217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802989a8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:10:37] local.INFO: Packet analysis {"connection_id":177217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08029"} 
[2026-09-08 14:10:37] local.INFO: Extracted packet for processing {"connection_id":177217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08029"} 
[2026-09-08 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947284480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788856601000,"timestamp_ms":1788856601000,"timestamp_seconds":1788856601,"priority":1,"record_length":96,"hex_timestamp":"000001a0802989a8"} 
[2026-09-08 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2150076864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184216232141,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2944925772,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 14:10:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,13,160,229,45,175,76,44,10,66,147,46,65,1,240,178,227,128,33,4,113,205,29,239,50,2,7,75,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 14:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603835256406016,"timestamp_seconds":5476603835256406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947284480001,"66":12558,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947284480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947284480001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":177217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:10:37] local.INFO: GPS data processed {"connection_id":177217,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:10:37] local.INFO: Acknowledgment sent {"connection_id":177217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:10:47] local.INFO: TCP Data received {"connection_id":175771,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:10:47] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:10:47] local.INFO: IMEI packet received {"connection_id":175771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":175771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:10:52] local.INFO: TCP Data received {"connection_id":175771,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:10:52] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:10:52] local.INFO: IMEI packet received {"connection_id":175771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":175771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:10:53] local.INFO: TCP Data received {"connection_id":175771,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:53] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:53] local.INFO: Packet analysis {"connection_id":175771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:10:53] local.INFO: Extracted packet for processing {"connection_id":175771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:10:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:10:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:10:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":175771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:10:53] local.INFO: GPS data processed {"connection_id":175771,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:10:53] local.INFO: Acknowledgment sent {"connection_id":175771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:10:57] local.INFO: TCP Data received {"connection_id":175771,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:57] local.INFO: Processing buffer {"connection_id":175771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:10:57] local.INFO: Packet analysis {"connection_id":175771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:10:57] local.INFO: Extracted packet for processing {"connection_id":175771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:10:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:10:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":175771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:10:57] local.INFO: GPS data processed {"connection_id":175771,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:10:57] local.INFO: Acknowledgment sent {"connection_id":175771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:11:05] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:11:05] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:11:05] local.INFO: IMEI packet received {"connection_id":177218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":177218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:11:10] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:11:10] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:11:10] local.INFO: IMEI packet received {"connection_id":177218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":177218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:11:11] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08029dbb0012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08029dbb0012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:11:11] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08029dbb0012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:11:11] local.INFO: Packet analysis {"connection_id":177218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08029"} 
[2026-09-08 14:11:11] local.INFO: Extracted packet for processing {"connection_id":177218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08029"} 
[2026-09-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947289856001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788856622000,"timestamp_ms":1788856622000,"timestamp_seconds":1788856622,"priority":1,"record_length":96,"hex_timestamp":"000001a08029dbb0"} 
[2026-09-08 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-09-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2150079864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249379841738387744,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2944925772,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817322,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408043522,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,13,160,55,45,175,76,44,10,66,229,147,1,240,134,227,128,33,4,113,205,239,29,136,47,49,2,7,106,73,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-08 14:11:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603830961438720,"timestamp_seconds":5476603830961439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 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-09-08 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947289856001,"66":12504,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947289856001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947289856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":177218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:11:11] local.INFO: GPS data processed {"connection_id":177218,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:11:11] local.INFO: Acknowledgment sent {"connection_id":177218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:11:11] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802a2db8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802a2db8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:11:11] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802a2db8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:11:11] local.INFO: Packet analysis {"connection_id":177218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:11:11] local.INFO: Extracted packet for processing {"connection_id":177218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947295232001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788856643000,"timestamp_ms":1788856643000,"timestamp_seconds":1788856643,"priority":1,"record_length":96,"hex_timestamp":"000001a0802a2db8"} 
[2026-09-08 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-09-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 14:11: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-09-08 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-09-08 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-09-08 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947295232001,"66":12461,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947295232001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947295232001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":177218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:11:11] local.INFO: GPS data processed {"connection_id":177218,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:11:11] local.INFO: Acknowledgment sent {"connection_id":177218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:11:41] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:11:41] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:11:41] local.INFO: IMEI packet received {"connection_id":174692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":174692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:11:42] local.INFO: TCP Data received {"connection_id":177218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802a7fc0012d181d000721af88004c00ce29..."} 
[2026-09-08 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802a7fc0012d181d000721af88004c00ce29..."} 
[2026-09-08 14:11:42] local.INFO: Processing buffer {"connection_id":177218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802a7fc0012d181d000721af88004c00ce29..."} 
[2026-09-08 14:11:42] local.INFO: Packet analysis {"connection_id":177218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:11:42] local.INFO: Extracted packet for processing {"connection_id":177218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947300608001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788856664000,"timestamp_ms":1788856664000,"timestamp_seconds":1788856664,"priority":1,"record_length":96,"hex_timestamp":"000001a0802a7fc0"} 
[2026-09-08 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-09-08 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947300608001,"66":12504,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947300608001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947300608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":177218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:11:42] local.INFO: GPS data processed {"connection_id":177218,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:11:42] local.INFO: Acknowledgment sent {"connection_id":177218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:11:47] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:11:47] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:11:47] local.INFO: IMEI packet received {"connection_id":174692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:11:48] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:11:48] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:11:48] local.INFO: Packet analysis {"connection_id":174692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:11:48] local.INFO: Extracted packet for processing {"connection_id":174692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:11:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:11:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:11:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":174692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:11:48] local.INFO: GPS data processed {"connection_id":174692,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:11:48] local.INFO: Acknowledgment sent {"connection_id":174692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:12:00] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:12:00] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:12:00] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:12:06] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:12:06] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:12:06] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:12:06] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ad1c8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ad1c8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:12:06] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ad1c8012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:12:06] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:12:06] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947305984001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788856685000,"timestamp_ms":1788856685000,"timestamp_seconds":1788856685,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ad1c8"} 
[2026-09-08 14:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 14:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947305984001,"66":12461,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947305984001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947305984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:12:06] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:12:06] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:12:21] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:12:21] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:12:21] local.INFO: Packet analysis {"connection_id":174692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:12:21] local.INFO: Extracted packet for processing {"connection_id":174692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:12:21] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:12:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:12:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":174692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:12:21] local.INFO: GPS data processed {"connection_id":174692,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:12:21] local.INFO: Acknowledgment sent {"connection_id":174692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:12:37] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802b23d0012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802b23d0012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:12:37] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802b23d0012d181d000721af88004c00ce2b..."} 
[2026-09-08 14:12:37] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802b"} 
[2026-09-08 14:12:37] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802b"} 
[2026-09-08 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947311360001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788856706000,"timestamp_ms":1788856706000,"timestamp_seconds":1788856706,"priority":1,"record_length":96,"hex_timestamp":"000001a0802b23d0"} 
[2026-09-08 14:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947311360001,"66":12319,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947311360001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:12:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947311360001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:12:37] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:12:37] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:12:41] local.INFO: TCP Data received {"connection_id":175772,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:12:41] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:12:41] local.INFO: IMEI packet received {"connection_id":175772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":175772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:12:47] local.INFO: TCP Data received {"connection_id":175772,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:12:47] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:12:47] local.INFO: IMEI packet received {"connection_id":175772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:12:48] local.INFO: TCP Data received {"connection_id":175772,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:12:48] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:12:48] local.INFO: Packet analysis {"connection_id":175772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:12:48] local.INFO: Extracted packet for processing {"connection_id":175772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:12:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:12:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:12:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":175772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:12:48] local.INFO: GPS data processed {"connection_id":175772,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:12:48] local.INFO: Acknowledgment sent {"connection_id":175772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:13:00] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:13:01] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:13:01] local.INFO: IMEI packet received {"connection_id":174443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":174443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:13:06] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:13:06] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:13:06] local.INFO: IMEI packet received {"connection_id":174443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":174443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:13:07] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802b75d8012d181d000721af88004c00ce2d..."} 
[2026-09-08 14:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802b75d8012d181d000721af88004c00ce2d..."} 
[2026-09-08 14:13:07] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802b75d8012d181d000721af88004c00ce2d..."} 
[2026-09-08 14:13:07] local.INFO: Packet analysis {"connection_id":174443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802b"} 
[2026-09-08 14:13:07] local.INFO: Extracted packet for processing {"connection_id":174443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802b"} 
[2026-09-08 14:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947316736001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788856727000,"timestamp_ms":1788856727000,"timestamp_seconds":1788856727,"priority":1,"record_length":96,"hex_timestamp":"000001a0802b75d8"} 
[2026-09-08 14:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-08 14:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947316736001,"66":12385,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947316736001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947316736001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":174443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:13:07] local.INFO: GPS data processed {"connection_id":174443,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:13:07] local.INFO: Acknowledgment sent {"connection_id":174443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:13:20] local.INFO: TCP Data received {"connection_id":175772,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:13:20] local.INFO: Processing buffer {"connection_id":175772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802ab288012d4883c006963000003e010929..."} 
[2026-09-08 14:13:20] local.INFO: Packet analysis {"connection_id":175772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:13:20] local.INFO: Extracted packet for processing {"connection_id":175772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802a"} 
[2026-09-08 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947232256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856677000,"timestamp_ms":1788856677000,"timestamp_seconds":1788856677,"priority":1,"record_length":96,"hex_timestamp":"000001a0802ab288"} 
[2026-09-08 14:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 14:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947232256001,"66":25973,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947232256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:13:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:13:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947232256001,"power":25973,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":175772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:13:20] local.INFO: GPS data processed {"connection_id":175772,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:13:20] local.INFO: Acknowledgment sent {"connection_id":175772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:13:37] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802bc7e0012d181d000721af88004c00ce2d..."} 
[2026-09-08 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802bc7e0012d181d000721af88004c00ce2d..."} 
[2026-09-08 14:13:37] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802bc7e0012d181d000721af88004c00ce2d..."} 
[2026-09-08 14:13:37] local.INFO: Packet analysis {"connection_id":174443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802b"} 
[2026-09-08 14:13:37] local.INFO: Extracted packet for processing {"connection_id":174443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802b"} 
[2026-09-08 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-09-08 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947322112001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592209049747456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788856748000,"timestamp_ms":1788856748000,"timestamp_seconds":1788856748,"priority":1,"record_length":96,"hex_timestamp":"000001a0802bc7e0"} 
[2026-09-08 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 14:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947322112001,"66":12428,"105":206,"83":41984,"24":0,"16":18592209049747456,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947322112001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:13:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592209049747456,"km_value":18592209049747.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947322112001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":174443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:13:38] local.INFO: GPS data processed {"connection_id":174443,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:13:38] local.INFO: Acknowledgment sent {"connection_id":174443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:13:47] local.INFO: TCP Data received {"connection_id":177220,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:13:47] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:13:47] local.INFO: IMEI packet received {"connection_id":177220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":177220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:13:52] local.INFO: TCP Data received {"connection_id":177220,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:13:52] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:13:52] local.INFO: IMEI packet received {"connection_id":177220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":177220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:13:54] local.INFO: TCP Data received {"connection_id":177220,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:13:54] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:13:54] local.INFO: Packet analysis {"connection_id":177220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:13:54] local.INFO: Extracted packet for processing {"connection_id":177220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:13:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:13:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":177220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:13:54] local.INFO: GPS data processed {"connection_id":177220,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:13:54] local.INFO: Acknowledgment sent {"connection_id":177220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:13:57] local.INFO: TCP Data received {"connection_id":177220,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:13:57] local.INFO: Processing buffer {"connection_id":177220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:13:57] local.INFO: Packet analysis {"connection_id":177220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:13:57] local.INFO: Extracted packet for processing {"connection_id":177220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:13:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:13:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:13:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":177220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:13:57] local.INFO: GPS data processed {"connection_id":177220,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:13:57] local.INFO: Acknowledgment sent {"connection_id":177220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:14:00] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:14:00] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:14:00] local.INFO: IMEI packet received {"connection_id":177221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":177221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:14:05] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:14:05] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:14:05] local.INFO: IMEI packet received {"connection_id":177221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":177221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:14:06] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0802c19e8012d181cc00721add8004c00d32b..."} 
[2026-09-08 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802c19e8012d181cc00721add8004c00d32b..."} 
[2026-09-08 14:14:06] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802c19e8012d181cc00721add8004c00d32b..."} 
[2026-09-08 14:14:06] local.INFO: Packet analysis {"connection_id":177221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802c"} 
[2026-09-08 14:14:06] local.INFO: Extracted packet for processing {"connection_id":177221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802c"} 
[2026-09-08 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647704,"longitude_deg":75.6554944,"latitude_deg":11.9647704,"altitude":76,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721add8","is_valid_coordinates":true} 
[2026-09-08 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947327488001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592230524583936,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788856769000,"timestamp_ms":1788856769000,"timestamp_seconds":1788856769,"priority":1,"record_length":96,"hex_timestamp":"000001a0802c19e8"} 
[2026-09-08 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947327488001,"66":12406,"105":206,"83":41984,"24":0,"16":18592230524583936,"45":1737545061864802304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947327488001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592230524583936,"km_value":18592230524583.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-09-08 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947327488001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-09-08 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":177221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:14:06] local.INFO: GPS data processed {"connection_id":177221,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:14:06] local.INFO: Acknowledgment sent {"connection_id":177221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:14:38] local.INFO: TCP Data received {"connection_id":177221,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080300da0012d181c400721ab30005000a52d..."} 
[2026-09-08 14:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080300da0012d181c400721ab30005000a52d..."} 
[2026-09-08 14:14:38] local.INFO: Processing buffer {"connection_id":177221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080300da0012d181c400721ab30005000a52d..."} 
[2026-09-08 14:14:38] local.INFO: Packet analysis {"connection_id":177221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08030"} 
[2026-09-08 14:14:38] local.INFO: Extracted packet for processing {"connection_id":177221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08030"} 
[2026-09-08 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119647024,"longitude_deg":75.6554816,"latitude_deg":11.9647024,"altitude":80,"angle":165,"satellites":45,"speed":6,"hex_longitude":"2d181c40","hex_latitude":"0721ab30","is_valid_coordinates":true} 
[2026-09-08 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947398912001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592264884322304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632021504,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788857028000,"timestamp_ms":1788857028000,"timestamp_seconds":1788857028,"priority":1,"record_length":96,"hex_timestamp":"000001a080300da0"} 
[2026-09-08 14:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 14:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947398912001,"66":14102,"105":206,"83":41984,"24":6,"16":18592264884322304,"45":1737333955632021504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947398912001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:14:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592264884322304,"km_value":18592264884322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632021504,"description":"Unknown IO ID 45"} 
[2026-09-08 14:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947398912001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737333955632021504}} 
[2026-09-08 14:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":177221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:14:38] local.INFO: GPS data processed {"connection_id":177221,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:14:38] local.INFO: Acknowledgment sent {"connection_id":177221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:14:41] local.INFO: TCP Data received {"connection_id":175773,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:14:41] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:14:41] local.INFO: IMEI packet received {"connection_id":175773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":175773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:14:44] local.INFO: TCP Data received {"connection_id":174694,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:14:44] local.INFO: Processing buffer {"connection_id":174694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:14:44] local.INFO: IMEI packet received {"connection_id":174694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":174694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:14:47] local.INFO: TCP Data received {"connection_id":175773,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:14:47] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:14:47] local.INFO: IMEI packet received {"connection_id":175773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":175773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:14:48] local.INFO: TCP Data received {"connection_id":175773,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:14:48] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:14:48] local.INFO: Packet analysis {"connection_id":175773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:14:48] local.INFO: Extracted packet for processing {"connection_id":175773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:14:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:14:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:14:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":175773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:14:48] local.INFO: GPS data processed {"connection_id":175773,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:14:48] local.INFO: Acknowledgment sent {"connection_id":175773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:15:01] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:15:01] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:15:01] local.INFO: IMEI packet received {"connection_id":175774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":175774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:15:06] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:15:06] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:15:06] local.INFO: IMEI packet received {"connection_id":175774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":175774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:15:07] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080301188012d181c800721aa88005000992d..."} 
[2026-09-08 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080301188012d181c800721aa88005000992d..."} 
[2026-09-08 14:15:07] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080301188012d181c800721aa88005000992d..."} 
[2026-09-08 14:15:07] local.INFO: Packet analysis {"connection_id":175774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08030"} 
[2026-09-08 14:15:07] local.INFO: Extracted packet for processing {"connection_id":175774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08030"} 
[2026-09-08 14:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646856,"longitude_deg":75.655488,"latitude_deg":11.9646856,"altitude":80,"angle":153,"satellites":45,"speed":8,"hex_longitude":"2d181c80","hex_latitude":"0721aa88","is_valid_coordinates":true} 
[2026-09-08 14:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947399168001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592273474256896,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631984640,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788857029000,"timestamp_ms":1788857029000,"timestamp_seconds":1788857029,"priority":1,"record_length":96,"hex_timestamp":"000001a080301188"} 
[2026-09-08 14:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 14:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947399168001,"66":14102,"105":206,"83":41984,"24":8,"16":18592273474256896,"45":1737333955631984640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947399168001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592273474256896,"km_value":18592273474256.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631984640,"description":"Unknown IO ID 45"} 
[2026-09-08 14:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947399168001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737333955631984640}} 
[2026-09-08 14:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":175774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:15:07] local.INFO: GPS data processed {"connection_id":175774,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:15:07] local.INFO: Acknowledgment sent {"connection_id":175774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:15:20] local.INFO: TCP Data received {"connection_id":175773,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:20] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:20] local.INFO: Packet analysis {"connection_id":175773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:15:20] local.INFO: Extracted packet for processing {"connection_id":175773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:15:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:15:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:15:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":175773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:15:20] local.INFO: GPS data processed {"connection_id":175773,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:15:20] local.INFO: Acknowledgment sent {"connection_id":175773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:15:40] local.INFO: TCP Data received {"connection_id":175774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080301d40012d181e400721a850004f007e2e..."} 
[2026-09-08 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080301d40012d181e400721a850004f007e2e..."} 
[2026-09-08 14:15:40] local.INFO: Processing buffer {"connection_id":175774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080301d40012d181e400721a850004f007e2e..."} 
[2026-09-08 14:15:40] local.INFO: Packet analysis {"connection_id":175774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08030"} 
[2026-09-08 14:15:40] local.INFO: Extracted packet for processing {"connection_id":175774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08030"} 
[2026-09-08 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646288,"longitude_deg":75.6555328,"latitude_deg":11.9646288,"altitude":79,"angle":126,"satellites":46,"speed":11,"hex_longitude":"2d181e40","hex_latitude":"0721a850","is_valid_coordinates":true} 
[2026-09-08 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18592307833995264,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376119296,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788857032000,"timestamp_ms":1788857032000,"timestamp_seconds":1788857032,"priority":1,"record_length":96,"hex_timestamp":"000001a080301d40"} 
[2026-09-08 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947399424001,"66":14004,"105":206,"83":41984,"24":11,"16":18592307833995264,"45":1737404324376119296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18592307833995264,"km_value":18592307833995.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376119296,"description":"Unknown IO ID 45"} 
[2026-09-08 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947399424001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737404324376119296}} 
[2026-09-08 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":175774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:15:40] local.INFO: GPS data processed {"connection_id":175774,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:15:40] local.INFO: Acknowledgment sent {"connection_id":175774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:15:47] local.INFO: TCP Data received {"connection_id":175775,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:15:47] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:15:47] local.INFO: IMEI packet received {"connection_id":175775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":175775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:15:52] local.INFO: TCP Data received {"connection_id":175775,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:15:52] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:15:52] local.INFO: IMEI packet received {"connection_id":175775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":175775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:15:55] local.INFO: TCP Data received {"connection_id":175775,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:55] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:55] local.INFO: Packet analysis {"connection_id":175775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:15:55] local.INFO: Extracted packet for processing {"connection_id":175775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:15:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":175775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:15:55] local.INFO: GPS data processed {"connection_id":175775,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:15:55] local.INFO: Acknowledgment sent {"connection_id":175775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:15:57] local.INFO: TCP Data received {"connection_id":175775,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:57] local.INFO: Processing buffer {"connection_id":175775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:15:57] local.INFO: Packet analysis {"connection_id":175775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:15:57] local.INFO: Extracted packet for processing {"connection_id":175775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:15:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:15:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:15:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":175775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:15:57] local.INFO: GPS data processed {"connection_id":175775,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:15:57] local.INFO: Acknowledgment sent {"connection_id":175775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:16:00] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:00] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:00] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:16:00] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:00] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:00] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:16:04] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:04] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:04] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:16:05] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:05] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:16:05] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:16:06] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080312eb0012d18c6c007214780004400b02d..."} 
[2026-09-08 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080312eb0012d18c6c007214780004400b02d..."} 
[2026-09-08 14:16:06] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080312eb0012d18c6c007214780004400b02d..."} 
[2026-09-08 14:16:06] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08031"} 
[2026-09-08 14:16:06] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08031"} 
[2026-09-08 14:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119621504,"longitude_deg":75.6598464,"latitude_deg":11.9621504,"altitude":68,"angle":176,"satellites":45,"speed":42,"hex_longitude":"2d18c6c0","hex_latitude":"07214780","is_valid_coordinates":true} 
[2026-09-08 14:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947417600001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18594841864699904,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595434270720,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788857102000,"timestamp_ms":1788857102000,"timestamp_seconds":1788857102,"priority":1,"record_length":96,"hex_timestamp":"000001a080312eb0"} 
[2026-09-08 14:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 14:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947417600001,"66":14243,"106":206,"83":41984,"24":42,"16":18594841864699904,"45":1784973595434270720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 14:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947417600001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:16:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 14:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18594841864699904,"km_value":18594841864699.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595434270720,"description":"Unknown IO ID 45"} 
[2026-09-08 14:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947417600001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1784973595434270720}} 
[2026-09-08 14:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:16:06] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:16:06] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:16:11] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080313a68012d18c80007213b50004300a125..."} 
[2026-09-08 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080313a68012d18c80007213b50004300a125..."} 
[2026-09-08 14:16:11] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080313a68012d18c80007213b50004300a125..."} 
[2026-09-08 14:16:11] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08031"} 
[2026-09-08 14:16:11] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08031"} 
[2026-09-08 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618384,"longitude_deg":75.6598784,"latitude_deg":11.9618384,"altitude":67,"angle":161,"satellites":37,"speed":41,"hex_longitude":"2d18c800","hex_latitude":"07213b50","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947418112001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18594996483522560,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439154618368,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788857105000,"timestamp_ms":1788857105000,"timestamp_seconds":1788857105,"priority":1,"record_length":96,"hex_timestamp":"000001a080313a68"} 
[2026-09-08 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-09-08 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 14:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947418112001,"66":14211,"106":206,"83":41984,"24":41,"16":18594996483522560,"45":1785325439154618368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 14:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947418112001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18594996483522560,"km_value":18594996483522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439154618368,"description":"Unknown IO ID 45"} 
[2026-09-08 14:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947418112001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1785325439154618368}} 
[2026-09-08 14:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:16:11] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:16:11] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:16:42] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08031f5e8012d1956000720ab30002c005e2a..."} 
[2026-09-08 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08031f5e8012d1956000720ab30002c005e2a..."} 
[2026-09-08 14:16:42] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08031f5e8012d1956000720ab30002c005e2a..."} 
[2026-09-08 14:16:42] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08031"} 
[2026-09-08 14:16:42] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08031"} 
[2026-09-08 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119581488,"longitude_deg":75.6635136,"latitude_deg":11.9581488,"altitude":44,"angle":94,"satellites":42,"speed":42,"hex_longitude":"2d195600","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947430400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18597698017951744,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822057923605280768,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788857153000,"timestamp_ms":1788857153000,"timestamp_seconds":1788857153,"priority":1,"record_length":96,"hex_timestamp":"000001a08031f5e8"} 
[2026-09-08 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-09-08 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 14:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947430400001,"66":14189,"103":206,"83":41984,"24":42,"16":18597698017951744,"45":1822057923605280768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 14:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947430400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18597698017951744,"km_value":18597698017951.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822057923605280768,"description":"Unknown IO ID 45"} 
[2026-09-08 14:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947430400001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1822057923605280768}} 
[2026-09-08 14:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:16:42] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:16:42] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:16:43] local.INFO: TCP Data received {"connection_id":175776,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:16:43] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:16:43] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:16:47] local.INFO: TCP Data received {"connection_id":175776,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:16:47] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:16:47] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:16:48] local.INFO: TCP Data received {"connection_id":175776,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:16:48] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:16:48] local.INFO: Packet analysis {"connection_id":175776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:16:48] local.INFO: Extracted packet for processing {"connection_id":175776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:16:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:16:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:16:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":175776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:16:48] local.INFO: GPS data processed {"connection_id":175776,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:16:48] local.INFO: Acknowledgment sent {"connection_id":175776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:17:00] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:00] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:00] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:17:01] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:01] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:01] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:17:01] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:01] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:01] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:17:02] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:02] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:17:02] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:17:20] local.INFO: TCP Data received {"connection_id":175776,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:17:20] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:17:20] local.INFO: Packet analysis {"connection_id":175776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:17:20] local.INFO: Extracted packet for processing {"connection_id":175776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:17:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:17:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:17:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":175776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:17:20] local.INFO: GPS data processed {"connection_id":175776,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:17:20] local.INFO: Acknowledgment sent {"connection_id":175776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:17:41] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:17:41] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:17:41] local.INFO: IMEI packet received {"connection_id":174696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":174696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:17:47] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:17:47] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:17:47] local.INFO: IMEI packet received {"connection_id":174696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:17:49] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:17:49] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:17:49] local.INFO: Packet analysis {"connection_id":174696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:17:49] local.INFO: Extracted packet for processing {"connection_id":174696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:17:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:17:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":174696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:17:49] local.INFO: GPS data processed {"connection_id":174696,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:17:49] local.INFO: Acknowledgment sent {"connection_id":174696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:18:22] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:18:22] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0802f4a50012d4883c006963000003e01092c..."} 
[2026-09-08 14:18:22] local.INFO: Packet analysis {"connection_id":174696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:18:22] local.INFO: Extracted packet for processing {"connection_id":174696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0802f"} 
[2026-09-08 14:18:22] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947309312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788856978000,"timestamp_ms":1788856978000,"timestamp_seconds":1788856978,"priority":1,"record_length":96,"hex_timestamp":"000001a0802f4a50"} 
[2026-09-08 14:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 14:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947309312001,"66":25941,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947309312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947309312001,"power":25941,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":174696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:18:22] local.INFO: GPS data processed {"connection_id":174696,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:18:22] local.INFO: Acknowledgment sent {"connection_id":174696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:18:41] local.INFO: TCP Data received {"connection_id":177225,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:18:41] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:18:41] local.INFO: IMEI packet received {"connection_id":177225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:18:47] local.INFO: TCP Data received {"connection_id":177225,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:18:47] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:18:47] local.INFO: IMEI packet received {"connection_id":177225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":177225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:18:48] local.INFO: TCP Data received {"connection_id":177225,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:18:48] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:18:48] local.INFO: Packet analysis {"connection_id":177225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:18:48] local.INFO: Extracted packet for processing {"connection_id":177225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:18:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:18:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":177225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:18:48] local.INFO: GPS data processed {"connection_id":177225,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:18:48] local.INFO: Acknowledgment sent {"connection_id":177225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:19:20] local.INFO: TCP Data received {"connection_id":177225,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:19:20] local.INFO: Processing buffer {"connection_id":177225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:19:20] local.INFO: Packet analysis {"connection_id":177225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:19:20] local.INFO: Extracted packet for processing {"connection_id":177225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:19:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:19:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":177225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:19:20] local.INFO: GPS data processed {"connection_id":177225,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:19:20] local.INFO: Acknowledgment sent {"connection_id":177225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:19:42] local.INFO: TCP Data received {"connection_id":174447,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:19:42] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:19:42] local.INFO: IMEI packet received {"connection_id":174447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:19:47] local.INFO: TCP Data received {"connection_id":174447,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:19:47] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:19:47] local.INFO: IMEI packet received {"connection_id":174447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:19:48] local.INFO: TCP Data received {"connection_id":174447,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:19:48] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:19:48] local.INFO: Packet analysis {"connection_id":174447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:19:48] local.INFO: Extracted packet for processing {"connection_id":174447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:19:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:19:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:19:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":174447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:19:48] local.INFO: GPS data processed {"connection_id":174447,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:19:48] local.INFO: Acknowledgment sent {"connection_id":174447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:20:14] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:20:14] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:20:14] local.INFO: IMEI packet received {"connection_id":174697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":174697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:20:20] local.INFO: TCP Data received {"connection_id":174447,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:20:20] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:20:20] local.INFO: Packet analysis {"connection_id":174447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:20:20] local.INFO: Extracted packet for processing {"connection_id":174447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:20:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:20:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:20:20] local.INFO: GPS data processed {"connection_id":174447,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:20:20] local.INFO: Acknowledgment sent {"connection_id":174447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:20:41] local.INFO: TCP Data received {"connection_id":174699,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:20:41] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:20:41] local.INFO: IMEI packet received {"connection_id":174699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":174699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:20:44] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:20:44] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:20:44] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:20:47] local.INFO: TCP Data received {"connection_id":174699,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:20:47] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:20:47] local.INFO: IMEI packet received {"connection_id":174699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:20:48] local.INFO: TCP Data received {"connection_id":174699,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:20:48] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:20:48] local.INFO: Packet analysis {"connection_id":174699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:20:48] local.INFO: Extracted packet for processing {"connection_id":174699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:20:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:20:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":174699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:20:48] local.INFO: GPS data processed {"connection_id":174699,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:20:48] local.INFO: Acknowledgment sent {"connection_id":174699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:21:20] local.INFO: TCP Data received {"connection_id":174699,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:21:20] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:21:20] local.INFO: Packet analysis {"connection_id":174699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:21:20] local.INFO: Extracted packet for processing {"connection_id":174699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 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-09-08 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:21:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:21:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":174699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:21:20] local.INFO: GPS data processed {"connection_id":174699,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:21:20] local.INFO: Acknowledgment sent {"connection_id":174699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:21:41] local.INFO: TCP Data received {"connection_id":174448,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:21:41] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:21:41] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:21:47] local.INFO: TCP Data received {"connection_id":174448,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:21:47] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:21:47] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:21:48] local.INFO: TCP Data received {"connection_id":174448,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:21:48] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:21:48] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:21:48] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:21:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:21:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:21:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:21:48] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:21:48] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:22:06] local.INFO: TCP Data received {"connection_id":177226,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:22:06] local.INFO: Processing buffer {"connection_id":177226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:22:06] local.INFO: IMEI packet received {"connection_id":177226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":177226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:22:07] local.INFO: TCP Data received {"connection_id":177226,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08036c848012d1abfc007200918004300f52a..."} 
[2026-09-08 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08036c848012d1abfc007200918004300f52a..."} 
[2026-09-08 14:22:07] local.INFO: Processing buffer {"connection_id":177226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08036c848012d1abfc007200918004300f52a..."} 
[2026-09-08 14:22:07] local.INFO: Packet analysis {"connection_id":177226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08036"} 
[2026-09-08 14:22:07] local.INFO: Extracted packet for processing {"connection_id":177226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08036"} 
[2026-09-08 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756727744,"raw_latitude":119539992,"longitude_deg":75.6727744,"latitude_deg":11.9539992,"altitude":67,"angle":245,"satellites":42,"speed":5,"hex_longitude":"2d1abfc0","hex_latitude":"07200918","is_valid_coordinates":true} 
[2026-09-08 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947509504001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18604995167387648,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927822146093797376,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788857469000,"timestamp_ms":1788857469000,"timestamp_seconds":1788857469,"priority":1,"record_length":96,"hex_timestamp":"000001a08036c848"} 
[2026-09-08 14:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947509504001,"66":14048,"101":206,"83":41984,"24":5,"16":18604995167387648,"45":1927822146093797376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 14:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947509504001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18604995167387648,"km_value":18604995167387.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927822146093797376,"description":"Unknown IO ID 45"} 
[2026-09-08 14:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947509504001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1927822146093797376}} 
[2026-09-08 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":177226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:22:07] local.INFO: GPS data processed {"connection_id":177226,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:22:07] local.INFO: Acknowledgment sent {"connection_id":177226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:22:20] local.INFO: TCP Data received {"connection_id":174448,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:20] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:20] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:22:20] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:22:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:22:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:22:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:22:20] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:22:20] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:22:38] local.INFO: TCP Data received {"connection_id":177226,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08036d7e8012d1abe00072007d0004200d42a..."} 
[2026-09-08 14:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08036d7e8012d1abe00072007d0004200d42a..."} 
[2026-09-08 14:22:38] local.INFO: Processing buffer {"connection_id":177226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08036d7e8012d1abe00072007d0004200d42a..."} 
[2026-09-08 14:22:38] local.INFO: Packet analysis {"connection_id":177226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08036"} 
[2026-09-08 14:22:38] local.INFO: Extracted packet for processing {"connection_id":177226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08036"} 
[2026-09-08 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756727296,"raw_latitude":119539664,"longitude_deg":75.6727296,"latitude_deg":11.9539664,"altitude":66,"angle":212,"satellites":42,"speed":6,"hex_longitude":"2d1abe00","hex_latitude":"072007d0","is_valid_coordinates":true} 
[2026-09-08 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947512064001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18605020937191424,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927470302372632576,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788857473000,"timestamp_ms":1788857473000,"timestamp_seconds":1788857473,"priority":1,"record_length":96,"hex_timestamp":"000001a08036d7e8"} 
[2026-09-08 14:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 14:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947512064001,"66":14026,"101":206,"83":41984,"24":6,"16":18605020937191424,"45":1927470302372632576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 14:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947512064001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:22:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 14:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18605020937191424,"km_value":18605020937191.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927470302372632576,"description":"Unknown IO ID 45"} 
[2026-09-08 14:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947512064001,"power":14026,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1927470302372632576}} 
[2026-09-08 14:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":177226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:22:38] local.INFO: GPS data processed {"connection_id":177226,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:22:38] local.INFO: Acknowledgment sent {"connection_id":177226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:22:47] local.INFO: TCP Data received {"connection_id":174449,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:22:47] local.INFO: Processing buffer {"connection_id":174449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:22:47] local.INFO: IMEI packet received {"connection_id":174449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:22:52] local.INFO: TCP Data received {"connection_id":174449,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:22:52] local.INFO: Processing buffer {"connection_id":174449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:22:52] local.INFO: IMEI packet received {"connection_id":174449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:22:53] local.INFO: TCP Data received {"connection_id":174449,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:53] local.INFO: Processing buffer {"connection_id":174449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:53] local.INFO: Packet analysis {"connection_id":174449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:22:53] local.INFO: Extracted packet for processing {"connection_id":174449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:22:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:22:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:22:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":174449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:22:53] local.INFO: GPS data processed {"connection_id":174449,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:22:53] local.INFO: Acknowledgment sent {"connection_id":174449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:22:58] local.INFO: TCP Data received {"connection_id":174449,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:58] local.INFO: Processing buffer {"connection_id":174449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08033e218012d4883c006963000003e01092b..."} 
[2026-09-08 14:22:58] local.INFO: Packet analysis {"connection_id":174449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:22:58] local.INFO: Extracted packet for processing {"connection_id":174449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08033"} 
[2026-09-08 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947386368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788857279000,"timestamp_ms":1788857279000,"timestamp_seconds":1788857279,"priority":1,"record_length":96,"hex_timestamp":"000001a08033e218"} 
[2026-09-08 14:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947386368001,"66":25908,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947386368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:22:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:22:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947386368001,"power":25908,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":174449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:22:58] local.INFO: GPS data processed {"connection_id":174449,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:22:58] local.INFO: Acknowledgment sent {"connection_id":174449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:23:00] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:00] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:00] local.INFO: IMEI packet received {"connection_id":177228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":177228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:23:00] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:00] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:00] local.INFO: IMEI packet received {"connection_id":177228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":177228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:23:05] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:05] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:23:05] local.INFO: IMEI packet received {"connection_id":177228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":177228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:23:06] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a08036dbd0012d1abe0007200738004200b12a..."} 
[2026-09-08 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08036dbd0012d1abe0007200738004200b12a..."} 
[2026-09-08 14:23:06] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08036dbd0012d1abe0007200738004200b12a..."} 
[2026-09-08 14:23:06] local.INFO: Packet analysis {"connection_id":177228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08036"} 
[2026-09-08 14:23:06] local.INFO: Extracted packet for processing {"connection_id":177228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08036"} 
[2026-09-08 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756727296,"raw_latitude":119539512,"longitude_deg":75.6727296,"latitude_deg":11.9539512,"altitude":66,"angle":177,"satellites":42,"speed":6,"hex_longitude":"2d1abe00","hex_latitude":"07200738","is_valid_coordinates":true} 
[2026-09-08 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947513088001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18605029527126016,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926977721163304960,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788857474000,"timestamp_ms":1788857474000,"timestamp_seconds":1788857474,"priority":1,"record_length":96,"hex_timestamp":"000001a08036dbd0"} 
[2026-09-08 14:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 14:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947513088001,"66":14004,"101":206,"83":41984,"24":6,"16":18605029527126016,"45":1926977721163304960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 14:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947513088001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:23:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 14:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18605029527126016,"km_value":18605029527126.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926977721163304960,"description":"Unknown IO ID 45"} 
[2026-09-08 14:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947513088001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1926977721163304960}} 
[2026-09-08 14:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":177228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:23:06] local.INFO: GPS data processed {"connection_id":177228,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:23:06] local.INFO: Acknowledgment sent {"connection_id":177228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:23:38] local.INFO: TCP Data received {"connection_id":177228,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a080384ee8012d1aad00072015980046011d29..."} 
[2026-09-08 14:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080384ee8012d1aad00072015980046011d29..."} 
[2026-09-08 14:23:38] local.INFO: Processing buffer {"connection_id":177228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080384ee8012d1aad00072015980046011d29..."} 
[2026-09-08 14:23:38] local.INFO: Packet analysis {"connection_id":177228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:23:38] local.INFO: Extracted packet for processing {"connection_id":177228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756722944,"raw_latitude":119543192,"longitude_deg":75.6722944,"latitude_deg":11.9543192,"altitude":70,"angle":285,"satellites":41,"speed":7,"hex_longitude":"2d1aad00","hex_latitude":"07201598","is_valid_coordinates":true} 
[2026-09-08 14:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947536384001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18605446138953728,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923037071490185216,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788857569000,"timestamp_ms":1788857569000,"timestamp_seconds":1788857569,"priority":1,"record_length":96,"hex_timestamp":"000001a080384ee8"} 
[2026-09-08 14:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947536384001,"66":14428,"101":206,"83":41984,"24":7,"16":18605446138953728,"45":1923037071490185216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 14:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947536384001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:23:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 14:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18605446138953728,"km_value":18605446138953.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923037071490185216,"description":"Unknown IO ID 45"} 
[2026-09-08 14:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947536384001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1923037071490185216}} 
[2026-09-08 14:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":177228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:23:38] local.INFO: GPS data processed {"connection_id":177228,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:23:38] local.INFO: Acknowledgment sent {"connection_id":177228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:23:42] local.INFO: TCP Data received {"connection_id":175780,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:23:42] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:23:42] local.INFO: IMEI packet received {"connection_id":175780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":175780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:23:47] local.INFO: TCP Data received {"connection_id":175780,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:23:47] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:23:47] local.INFO: IMEI packet received {"connection_id":175780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":175780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:23:51] local.INFO: TCP Data received {"connection_id":175780,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:23:51] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:23:51] local.INFO: Packet analysis {"connection_id":175780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:23:51] local.INFO: Extracted packet for processing {"connection_id":175780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:23:51] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:23:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":175780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:23:51] local.INFO: GPS data processed {"connection_id":175780,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:23:51] local.INFO: Acknowledgment sent {"connection_id":175780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:24:02] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:24:02] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:24:02] local.INFO: IMEI packet received {"connection_id":174450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":174450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:24:03] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.106.6.23","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 14:24:03] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 14:24:03] local.INFO: IMEI packet received {"connection_id":174450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":174450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:24:22] local.INFO: TCP Data received {"connection_id":175780,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:22] local.INFO: Processing buffer {"connection_id":175780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:22] local.INFO: Packet analysis {"connection_id":175780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:24:22] local.INFO: Extracted packet for processing {"connection_id":175780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:24:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:24:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":175780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:24:22] local.INFO: GPS data processed {"connection_id":175780,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:24:22] local.INFO: Acknowledgment sent {"connection_id":175780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:24:47] local.INFO: TCP Data received {"connection_id":174451,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:24:47] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:24:47] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:24:52] local.INFO: TCP Data received {"connection_id":174451,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:24:52] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:24:52] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:24:53] local.INFO: TCP Data received {"connection_id":174451,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:53] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:53] local.INFO: Packet analysis {"connection_id":174451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:24:53] local.INFO: Extracted packet for processing {"connection_id":174451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:24: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:24:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:24:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":174451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:24:53] local.INFO: GPS data processed {"connection_id":174451,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:24:53] local.INFO: Acknowledgment sent {"connection_id":174451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:24:58] local.INFO: TCP Data received {"connection_id":174451,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:58] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:24:58] local.INFO: Packet analysis {"connection_id":174451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:24:58] local.INFO: Extracted packet for processing {"connection_id":174451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":174451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:24:58] local.INFO: GPS data processed {"connection_id":174451,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:24:58] local.INFO: Acknowledgment sent {"connection_id":174451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:25:41] local.INFO: TCP Data received {"connection_id":177230,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:25:41] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:25:41] local.INFO: IMEI packet received {"connection_id":177230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":177230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:25:47] local.INFO: TCP Data received {"connection_id":177230,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:25:47] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:25:47] local.INFO: IMEI packet received {"connection_id":177230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":177230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:25:48] local.INFO: TCP Data received {"connection_id":177230,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:25:48] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:25:48] local.INFO: Packet analysis {"connection_id":177230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:25:48] local.INFO: Extracted packet for processing {"connection_id":177230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:25:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:25:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:25:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":177230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:25:48] local.INFO: GPS data processed {"connection_id":177230,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:25:48] local.INFO: Acknowledgment sent {"connection_id":177230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:25:49] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:25:49] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:25:49] local.INFO: IMEI packet received {"connection_id":174703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":174703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:26:20] local.INFO: TCP Data received {"connection_id":177230,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:26:20] local.INFO: Processing buffer {"connection_id":177230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:26:20] local.INFO: Packet analysis {"connection_id":177230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:26:20] local.INFO: Extracted packet for processing {"connection_id":177230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:26:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:26:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:26:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":177230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:26:20] local.INFO: GPS data processed {"connection_id":177230,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:26:20] local.INFO: Acknowledgment sent {"connection_id":177230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:26:41] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:26:41] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:26:41] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:26:47] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:26:47] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:26:47] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:26:49] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:26:49] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:26:49] local.INFO: Packet analysis {"connection_id":174705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:26:49] local.INFO: Extracted packet for processing {"connection_id":174705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:26:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 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":795,"current_offset":40} 
[2026-09-08 14:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:26:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:26:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":174705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:26:49] local.INFO: GPS data processed {"connection_id":174705,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:26:49] local.INFO: Acknowledgment sent {"connection_id":174705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:27:20] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:20] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:20] local.INFO: Packet analysis {"connection_id":174705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:27:20] local.INFO: Extracted packet for processing {"connection_id":174705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:27:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:27:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:27:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":174705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:27:20] local.INFO: GPS data processed {"connection_id":174705,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:27:20] local.INFO: Acknowledgment sent {"connection_id":174705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:27:47] local.INFO: TCP Data received {"connection_id":177231,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:27:47] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:27:47] local.INFO: IMEI packet received {"connection_id":177231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":177231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:27:52] local.INFO: TCP Data received {"connection_id":177231,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:27:52] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:27:52] local.INFO: IMEI packet received {"connection_id":177231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":177231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:27:54] local.INFO: TCP Data received {"connection_id":177231,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:54] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:54] local.INFO: Packet analysis {"connection_id":177231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:27:54] local.INFO: Extracted packet for processing {"connection_id":177231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:27:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:27:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":177231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:27:54] local.INFO: GPS data processed {"connection_id":177231,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:27:54] local.INFO: Acknowledgment sent {"connection_id":177231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:27:57] local.INFO: TCP Data received {"connection_id":177231,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:57] local.INFO: Processing buffer {"connection_id":177231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803879e0012d4883c006963000003e010927..."} 
[2026-09-08 14:27:57] local.INFO: Packet analysis {"connection_id":177231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:27:57] local.INFO: Extracted packet for processing {"connection_id":177231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08038"} 
[2026-09-08 14:27:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947463424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788857580000,"timestamp_ms":1788857580000,"timestamp_seconds":1788857580,"priority":1,"record_length":96,"hex_timestamp":"000001a0803879e0"} 
[2026-09-08 14:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 14:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947463424001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947463424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:27:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:27:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947463424001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":177231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:27:57] local.INFO: GPS data processed {"connection_id":177231,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:27:57] local.INFO: Acknowledgment sent {"connection_id":177231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:28:39] local.INFO: TCP Data received {"connection_id":175782,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:39] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:39] local.INFO: IMEI packet received {"connection_id":175782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":175782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:28:41] local.INFO: TCP Data received {"connection_id":175782,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:41] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:41] local.INFO: IMEI packet received {"connection_id":175782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":175782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:28:47] local.INFO: TCP Data received {"connection_id":175782,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:47] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:28:47] local.INFO: IMEI packet received {"connection_id":175782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":175782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:28:48] local.INFO: TCP Data received {"connection_id":175782,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:28:48] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:28:48] local.INFO: Packet analysis {"connection_id":175782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:28:48] local.INFO: Extracted packet for processing {"connection_id":175782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:28:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947540480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788857881000,"timestamp_ms":1788857881000,"timestamp_seconds":1788857881,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d11a8"} 
[2026-09-08 14:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947540480001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947540480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:28:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:28:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947540480001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":175782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:28:48] local.INFO: GPS data processed {"connection_id":175782,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:28:48] local.INFO: Acknowledgment sent {"connection_id":175782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:29:06] local.INFO: TCP Data received {"connection_id":174708,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:29:06] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:29:06] local.INFO: IMEI packet received {"connection_id":174708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":174708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:29:07] local.INFO: TCP Data received {"connection_id":174708,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d1978012d186200072182c00049011b2c..."} 
[2026-09-08 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d1978012d186200072182c00049011b2c..."} 
[2026-09-08 14:29:07] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d1978012d186200072182c00049011b2c..."} 
[2026-09-08 14:29:07] local.INFO: Packet analysis {"connection_id":174708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:07] local.INFO: Extracted packet for processing {"connection_id":174708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756572672,"raw_latitude":119636672,"longitude_deg":75.6572672,"latitude_deg":11.9636672,"altitude":73,"angle":283,"satellites":44,"speed":41,"hex_longitude":"2d186200","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-09-08 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947616512001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18616793442549760,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672644608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788857883000,"timestamp_ms":1788857883000,"timestamp_seconds":1788857883,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d1978"} 
[2026-09-08 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947616512001,"66":13939,"105":206,"83":41984,"24":41,"16":18616793442549760,"45":1764003709672644608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947616512001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18616793442549760,"km_value":18616793442549.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672644608,"description":"Unknown IO ID 45"} 
[2026-09-08 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947616512001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1764003709672644608}} 
[2026-09-08 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":174708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:29:07] local.INFO: GPS data processed {"connection_id":174708,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:29:07] local.INFO: Acknowledgment sent {"connection_id":174708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:29:20] local.INFO: TCP Data received {"connection_id":175782,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:29:20] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:29:20] local.INFO: Packet analysis {"connection_id":175782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:20] local.INFO: Extracted packet for processing {"connection_id":175782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947540480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857881000,"timestamp_ms":1788857881000,"timestamp_seconds":1788857881,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d11a8"} 
[2026-09-08 14:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947540480001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947540480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:29:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:29:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947540480001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":175782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:29:20] local.INFO: GPS data processed {"connection_id":175782,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:29:20] local.INFO: Acknowledgment sent {"connection_id":175782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:29:38] local.INFO: TCP Data received {"connection_id":174708,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d2148012d1859c0072185a8004a01272a..."} 
[2026-09-08 14:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d2148012d1859c0072185a8004a01272a..."} 
[2026-09-08 14:29:38] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d2148012d1859c0072185a8004a01272a..."} 
[2026-09-08 14:29:38] local.INFO: Packet analysis {"connection_id":174708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:38] local.INFO: Extracted packet for processing {"connection_id":174708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119637416,"longitude_deg":75.657056,"latitude_deg":11.9637416,"altitude":74,"angle":295,"satellites":42,"speed":42,"hex_longitude":"2d1859c0","hex_latitude":"072185a8","is_valid_coordinates":true} 
[2026-09-08 14:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947618048001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18616900816732160,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756966835254902784,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788857885000,"timestamp_ms":1788857885000,"timestamp_seconds":1788857885,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d2148"} 
[2026-09-08 14:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 14:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947618048001,"66":14135,"105":206,"83":41984,"24":42,"16":18616900816732160,"45":1756966835254902784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947618048001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:29:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18616900816732160,"km_value":18616900816732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756966835254902784,"description":"Unknown IO ID 45"} 
[2026-09-08 14:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947618048001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1756966835254902784}} 
[2026-09-08 14:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":174708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:29:38] local.INFO: GPS data processed {"connection_id":174708,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:29:38] local.INFO: Acknowledgment sent {"connection_id":174708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:29:41] local.INFO: TCP Data received {"connection_id":174454,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:29:41] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:29:41] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:29:47] local.INFO: TCP Data received {"connection_id":174454,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:29:47] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:29:47] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:29:49] local.INFO: TCP Data received {"connection_id":174454,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:29:49] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:29:49] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:49] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947540480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788857881000,"timestamp_ms":1788857881000,"timestamp_seconds":1788857881,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d11a8"} 
[2026-09-08 14:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947540480001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947540480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:29:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:29:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947540480001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:29:49] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:29:49] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:29:58] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:29:58] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:29:58] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:30:00] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:30:00] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:30:00] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:30:06] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:30:06] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:30:06] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:30:07] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d4470012d18394007219460004b012329..."} 
[2026-09-08 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d4470012d18394007219460004b012329..."} 
[2026-09-08 14:30:07] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d4470012d18394007219460004b012329..."} 
[2026-09-08 14:30:07] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:07] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756562240,"raw_latitude":119641184,"longitude_deg":75.656224,"latitude_deg":11.9641184,"altitude":75,"angle":291,"satellites":41,"speed":39,"hex_longitude":"2d183940","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-08 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947618560001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18617334608429056,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666697230336,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788857894000,"timestamp_ms":1788857894000,"timestamp_seconds":1788857894,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d4470"} 
[2026-09-08 14:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 14:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947618560001,"66":14135,"105":206,"83":41984,"24":39,"16":18617334608429056,"45":1754644666697230336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947618560001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18617334608429056,"km_value":18617334608429.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666697230336,"description":"Unknown IO ID 45"} 
[2026-09-08 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947618560001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1754644666697230336}} 
[2026-09-08 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:30:07] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:30:07] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:30:20] local.INFO: TCP Data received {"connection_id":174454,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:20] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:20] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:20] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947540480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788857881000,"timestamp_ms":1788857881000,"timestamp_seconds":1788857881,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d11a8"} 
[2026-09-08 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-09-08 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947540480001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947540480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:30:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:30:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947540480001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:30:20] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:30:20] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:30:38] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0803e8c90012d18854007224618005f00212a..."} 
[2026-09-08 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803e8c90012d18854007224618005f00212a..."} 
[2026-09-08 14:30:38] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803e8c90012d18854007224618005f00212a..."} 
[2026-09-08 14:30:38] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803e"} 
[2026-09-08 14:30:38] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803e"} 
[2026-09-08 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":119686680,"longitude_deg":75.6581696,"latitude_deg":11.968668,"altitude":95,"angle":33,"satellites":42,"speed":39,"hex_longitude":"2d188540","hex_latitude":"07224618","is_valid_coordinates":true} 
[2026-09-08 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947640064001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18620091977433088,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761188959916392448,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788857978000,"timestamp_ms":1788857978000,"timestamp_seconds":1788857978,"priority":1,"record_length":96,"hex_timestamp":"000001a0803e8c90"} 
[2026-09-08 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 14:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947640064001,"66":14026,"105":206,"83":41984,"24":39,"16":18620091977433088,"45":1761188959916392448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947640064001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:30:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18620091977433088,"km_value":18620091977433.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761188959916392448,"description":"Unknown IO ID 45"} 
[2026-09-08 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947640064001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1761188959916392448}} 
[2026-09-08 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:30:38] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:30:38] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:30:47] local.INFO: TCP Data received {"connection_id":177234,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:30:47] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:30:47] local.INFO: IMEI packet received {"connection_id":177234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":177234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:30:52] local.INFO: TCP Data received {"connection_id":177234,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:30:52] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:30:52] local.INFO: IMEI packet received {"connection_id":177234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":177234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:30:54] local.INFO: TCP Data received {"connection_id":177234,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:54] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:54] local.INFO: Packet analysis {"connection_id":177234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:54] local.INFO: Extracted packet for processing {"connection_id":177234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947540480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788857881000,"timestamp_ms":1788857881000,"timestamp_seconds":1788857881,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d11a8"} 
[2026-09-08 14:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947540480001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947540480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:30:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947540480001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":177234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:30:54] local.INFO: GPS data processed {"connection_id":177234,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:30:54] local.INFO: Acknowledgment sent {"connection_id":177234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:30:57] local.INFO: TCP Data received {"connection_id":177234,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:57] local.INFO: Processing buffer {"connection_id":177234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0803d11a8012d4883c006963000003e01092d..."} 
[2026-09-08 14:30:57] local.INFO: Packet analysis {"connection_id":177234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:57] local.INFO: Extracted packet for processing {"connection_id":177234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0803d"} 
[2026-09-08 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":45,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947540480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788857881000,"timestamp_ms":1788857881000,"timestamp_seconds":1788857881,"priority":1,"record_length":96,"hex_timestamp":"000001a0803d11a8"} 
[2026-09-08 14:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947540480001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947540480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:30:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:30:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947540480001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":177234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:30:57] local.INFO: GPS data processed {"connection_id":177234,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:30:57] local.INFO: Acknowledgment sent {"connection_id":177234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:31:24] local.INFO: TCP Data received {"connection_id":177233,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:31:24] local.INFO: Processing buffer {"connection_id":177233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:31:24] local.INFO: IMEI packet received {"connection_id":177233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":177233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:31:44] local.INFO: TCP Data received {"connection_id":174709,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:31:44] local.INFO: Processing buffer {"connection_id":174709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:31:44] local.INFO: IMEI packet received {"connection_id":174709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":174709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:32:18] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:32:18] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:32:18] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:32:20] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:32:20] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:32:20] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:32:32] local.INFO: TCP Data received {"connection_id":175784,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:32:32] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:32:32] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:32:32] local.INFO: TCP Data received {"connection_id":175784,"ip":"117.224.141.146","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175784,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:32:32] local.INFO: Processing buffer {"connection_id":175784,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:32:32] local.INFO: IMEI packet received {"connection_id":175784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":175784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:32:43] local.INFO: TCP Data received {"connection_id":174711,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:32:43] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:32:43] local.INFO: IMEI packet received {"connection_id":174711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":174711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:33:20] local.INFO: TCP Data received {"connection_id":175785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:33:20] local.INFO: Processing buffer {"connection_id":175785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:33:20] local.INFO: IMEI packet received {"connection_id":175785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":175785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:33:20] local.INFO: TCP Data received {"connection_id":175785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:33:20] local.INFO: Processing buffer {"connection_id":175785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:33:20] local.INFO: IMEI packet received {"connection_id":175785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":175785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:37:09] local.INFO: TCP Data received {"connection_id":174459,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:37:09] local.INFO: Processing buffer {"connection_id":174459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:37:09] local.INFO: IMEI packet received {"connection_id":174459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":174459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:37:46] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:37:46] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:37:46] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:37:48] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08041a970012d4883c006963000003e010929..."} 
[2026-09-08 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08041a970012d4883c006963000003e010929..."} 
[2026-09-08 14:37:48] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08041a970012d4883c006963000003e010929..."} 
[2026-09-08 14:37:48] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08041"} 
[2026-09-08 14:37:48] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08041"} 
[2026-09-08 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947617536001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788858182000,"timestamp_ms":1788858182000,"timestamp_seconds":1788858182,"priority":1,"record_length":96,"hex_timestamp":"000001a08041a970"} 
[2026-09-08 14:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947617536001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947617536001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:37:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:37:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947617536001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:37:48] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:37:48] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:38:20] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08041a970012d4883c006963000003e010929..."} 
[2026-09-08 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08041a970012d4883c006963000003e010929..."} 
[2026-09-08 14:38:20] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08041a970012d4883c006963000003e010929..."} 
[2026-09-08 14:38:20] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08041"} 
[2026-09-08 14:38:20] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08041"} 
[2026-09-08 14:38:20] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947617536001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788858182000,"timestamp_ms":1788858182000,"timestamp_seconds":1788858182,"priority":1,"record_length":96,"hex_timestamp":"000001a08041a970"} 
[2026-09-08 14:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947617536001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947617536001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:38:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:38:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947617536001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:38:20] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:38:20] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:38:26] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:38:26] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:38:26] local.INFO: IMEI packet received {"connection_id":174716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":174716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:38:27] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080456a60012d1b58c00724e590002701612b..."} 
[2026-09-08 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080456a60012d1b58c00724e590002701612b..."} 
[2026-09-08 14:38:27] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080456a60012d1b58c00724e590002701612b..."} 
[2026-09-08 14:38:27] local.INFO: Packet analysis {"connection_id":174716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:38:27] local.INFO: Extracted packet for processing {"connection_id":174716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119858576,"longitude_deg":75.6766912,"latitude_deg":11.9858576,"altitude":39,"angle":353,"satellites":43,"speed":35,"hex_longitude":"2d1b58c0","hex_latitude":"0724e590","is_valid_coordinates":true} 
[2026-09-08 14:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947755520001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18634763585716224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761424273408,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788858428000,"timestamp_ms":1788858428000,"timestamp_seconds":1788858428,"priority":1,"record_length":96,"hex_timestamp":"000001a080456a60"} 
[2026-09-08 14:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 14:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947755520001,"66":13993,"44":206,"83":41984,"24":35,"16":18634763585716224,"45":1970113761424273408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947755520001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:38:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18634763585716224,"km_value":18634763585716.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761424273408,"description":"Unknown IO ID 45"} 
[2026-09-08 14:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947755520001,"power":13993,"unknown_44":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1970113761424273408}} 
[2026-09-08 14:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":174716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:38:27] local.INFO: GPS data processed {"connection_id":174716,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:38:27] local.INFO: Acknowledgment sent {"connection_id":174716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:38:41] local.INFO: TCP Data received {"connection_id":177241,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:41] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:41] local.INFO: IMEI packet received {"connection_id":177241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":177241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:38:42] local.INFO: TCP Data received {"connection_id":177241,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:42] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:42] local.INFO: IMEI packet received {"connection_id":177241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":177241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:38:47] local.INFO: TCP Data received {"connection_id":177241,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:47] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:38:47] local.INFO: IMEI packet received {"connection_id":177241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":177241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:38:48] local.INFO: TCP Data received {"connection_id":177241,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:38:48] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:38:48] local.INFO: Packet analysis {"connection_id":177241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:38:48] local.INFO: Extracted packet for processing {"connection_id":177241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:38:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:38:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:38:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":177241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:38:48] local.INFO: GPS data processed {"connection_id":177241,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:38:48] local.INFO: Acknowledgment sent {"connection_id":177241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:39:01] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:39:01] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:39:01] local.INFO: IMEI packet received {"connection_id":177242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":177242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:39:06] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:39:06] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:39:06] local.INFO: IMEI packet received {"connection_id":177242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":177242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:39:07] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080459558012d1b5640072508e8002700052a..."} 
[2026-09-08 14:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080459558012d1b5640072508e8002700052a..."} 
[2026-09-08 14:39:07] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080459558012d1b5640072508e8002700052a..."} 
[2026-09-08 14:39:07] local.INFO: Packet analysis {"connection_id":177242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:39:07] local.INFO: Extracted packet for processing {"connection_id":177242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119867624,"longitude_deg":75.6766272,"latitude_deg":11.9867624,"altitude":39,"angle":5,"satellites":42,"speed":29,"hex_longitude":"2d1b5640","hex_latitude":"072508e8","is_valid_coordinates":true} 
[2026-09-08 14:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947757568001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635205967347712,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973890920448,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858439000,"timestamp_ms":1788858439000,"timestamp_seconds":1788858439,"priority":1,"record_length":96,"hex_timestamp":"000001a080459558"} 
[2026-09-08 14:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947757568001,"66":14407,"44":206,"83":41984,"24":29,"16":18635205967347712,"45":1970535973890920448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947757568001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635205967347712,"km_value":18635205967347.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973890920448,"description":"Unknown IO ID 45"} 
[2026-09-08 14:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947757568001,"power":14407,"unknown_44":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1970535973890920448}} 
[2026-09-08 14:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":177242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:39:07] local.INFO: GPS data processed {"connection_id":177242,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:39:07] local.INFO: Acknowledgment sent {"connection_id":177242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:39:19] local.INFO: TCP Data received {"connection_id":177241,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:19] local.INFO: Processing buffer {"connection_id":177241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:19] local.INFO: Packet analysis {"connection_id":177241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:39:19] local.INFO: Extracted packet for processing {"connection_id":177241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:39:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:39:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:39:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":177241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:39:19] local.INFO: GPS data processed {"connection_id":177241,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:39:19] local.INFO: Acknowledgment sent {"connection_id":177241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:39:37] local.INFO: TCP Data received {"connection_id":177242,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080459558012d1b5640072508e8002700052a..."} 
[2026-09-08 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080459558012d1b5640072508e8002700052a..."} 
[2026-09-08 14:39:37] local.INFO: Processing buffer {"connection_id":177242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080459558012d1b5640072508e8002700052a..."} 
[2026-09-08 14:39:37] local.INFO: Packet analysis {"connection_id":177242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:39:37] local.INFO: Extracted packet for processing {"connection_id":177242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119867624,"longitude_deg":75.6766272,"latitude_deg":11.9867624,"altitude":39,"angle":5,"satellites":42,"speed":29,"hex_longitude":"2d1b5640","hex_latitude":"072508e8","is_valid_coordinates":true} 
[2026-09-08 14:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947760384001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635205967347712,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286451460096,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788858439000,"timestamp_ms":1788858439000,"timestamp_seconds":1788858439,"priority":1,"record_length":96,"hex_timestamp":"000001a080459558"} 
[2026-09-08 14:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 14:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947760384001,"66":14407,"44":206,"83":41984,"24":29,"16":18635205967347712,"45":1969832286451460096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947760384001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635205967347712,"km_value":18635205967347.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286451460096,"description":"Unknown IO ID 45"} 
[2026-09-08 14:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947760384001,"power":14407,"unknown_44":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1969832286451460096}} 
[2026-09-08 14:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":177242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:39:38] local.INFO: GPS data processed {"connection_id":177242,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:39:38] local.INFO: Acknowledgment sent {"connection_id":177242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:39:42] local.INFO: TCP Data received {"connection_id":175787,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:39:42] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:39:42] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:39:47] local.INFO: TCP Data received {"connection_id":175787,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:39:47] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:39:47] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:39:49] local.INFO: TCP Data received {"connection_id":175787,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:49] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:49] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:39:49] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:39:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:39:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:39:49] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:39:49] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:39:53] local.INFO: TCP Data received {"connection_id":175787,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:53] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:39:53] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:39:53] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:39:53] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:39:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:39:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:39:53] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:39:53] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:40:00] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:40:00] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:40:00] local.INFO: IMEI packet received {"connection_id":174462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":174462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:40:06] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:40:06] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:40:06] local.INFO: IMEI packet received {"connection_id":174462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":174462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:40:07] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08045d3d8012d1b5d8007252ba80026000a2c..."} 
[2026-09-08 14:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08045d3d8012d1b5d8007252ba80026000a2c..."} 
[2026-09-08 14:40:07] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08045d3d8012d1b5d8007252ba80026000a2c..."} 
[2026-09-08 14:40:07] local.INFO: Packet analysis {"connection_id":174462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:40:07] local.INFO: Extracted packet for processing {"connection_id":174462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08045"} 
[2026-09-08 14:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756768128,"raw_latitude":119876520,"longitude_deg":75.6768128,"latitude_deg":11.987652,"altitude":38,"angle":10,"satellites":44,"speed":20,"hex_longitude":"2d1b5d80","hex_latitude":"07252ba8","is_valid_coordinates":true} 
[2026-09-08 14:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947760384001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635644054011904,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286451460096,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858455000,"timestamp_ms":1788858455000,"timestamp_seconds":1788858455,"priority":1,"record_length":96,"hex_timestamp":"000001a08045d3d8"} 
[2026-09-08 14:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 14:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947760384001,"66":13167,"43":206,"83":41984,"24":20,"16":18635644054011904,"45":1969832286451460096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947760384001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:40:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635644054011904,"km_value":18635644054011.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286451460096,"description":"Unknown IO ID 45"} 
[2026-09-08 14:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947760384001,"power":13167,"unknown_43":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1969832286451460096}} 
[2026-09-08 14:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":174462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:40:07] local.INFO: GPS data processed {"connection_id":174462,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:40:07] local.INFO: Acknowledgment sent {"connection_id":174462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:40:25] local.INFO: TCP Data received {"connection_id":175787,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:40:25] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:40:25] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:40:25] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:40:25] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:40:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:40:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:40:25] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:40:25] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:40:37] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804625e0012d1b5e0007253a48002500032c..."} 
[2026-09-08 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804625e0012d1b5e0007253a48002500032c..."} 
[2026-09-08 14:40:37] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804625e0012d1b5e0007253a48002500032c..."} 
[2026-09-08 14:40:37] local.INFO: Packet analysis {"connection_id":174462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:40:37] local.INFO: Extracted packet for processing {"connection_id":174462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756768256,"raw_latitude":119880264,"longitude_deg":75.6768256,"latitude_deg":11.9880264,"altitude":37,"angle":3,"satellites":44,"speed":2,"hex_longitude":"2d1b5e00","hex_latitude":"07253a48","is_valid_coordinates":true} 
[2026-09-08 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947764480001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635854507409408,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971872980034889728,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788858476000,"timestamp_ms":1788858476000,"timestamp_seconds":1788858476,"priority":1,"record_length":96,"hex_timestamp":"000001a0804625e0"} 
[2026-09-08 14:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-08 14:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947764480001,"66":13091,"43":206,"83":41984,"24":2,"16":18635854507409408,"45":1971872980034889728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947764480001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:40:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635854507409408,"km_value":18635854507409.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971872980034889728,"description":"Unknown IO ID 45"} 
[2026-09-08 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947764480001,"power":13091,"unknown_43":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1971872980034889728}} 
[2026-09-08 14:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":174462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:40:38] local.INFO: GPS data processed {"connection_id":174462,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:40:38] local.INFO: Acknowledgment sent {"connection_id":174462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:40:42] local.INFO: TCP Data received {"connection_id":175788,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:40:42] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:40:42] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:40:47] local.INFO: TCP Data received {"connection_id":175788,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:40:47] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:40:47] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:40:48] local.INFO: TCP Data received {"connection_id":175788,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:40:48] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:40:48] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:40:48] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:40:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:40:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:40:48] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:40:48] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:41:00] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:00] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:00] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:41:04] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:04] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:04] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:41:05] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:05] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:05] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:41:05] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:05] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:41:05] local.INFO: IMEI packet received {"connection_id":175789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":175789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:41:06] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804677e8012d1b5d4007253a98002600032b..."} 
[2026-09-08 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804677e8012d1b5d4007253a98002600032b..."} 
[2026-09-08 14:41:06] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804677e8012d1b5d4007253a98002600032b..."} 
[2026-09-08 14:41:06] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:06] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119880344,"longitude_deg":75.6768064,"latitude_deg":11.9880344,"altitude":38,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d1b5d40","hex_latitude":"07253a98","is_valid_coordinates":true} 
[2026-09-08 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947769856001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635863097344000,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972013717524203520,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788858497000,"timestamp_ms":1788858497000,"timestamp_seconds":1788858497,"priority":1,"record_length":96,"hex_timestamp":"000001a0804677e8"} 
[2026-09-08 14:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 14:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947769856001,"66":13015,"43":206,"83":41984,"24":0,"16":18635863097344000,"45":1972013717524203520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947769856001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:41:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635863097344000,"km_value":18635863097344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972013717524203520,"description":"Unknown IO ID 45"} 
[2026-09-08 14:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947769856001,"power":13015,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972013717524203520}} 
[2026-09-08 14:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:41:06] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:41:06] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:41:11] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08046c9f0012d1b5d4007253a98002600032b..."} 
[2026-09-08 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08046c9f0012d1b5d4007253a98002600032b..."} 
[2026-09-08 14:41:11] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08046c9f0012d1b5d4007253a98002600032b..."} 
[2026-09-08 14:41:11] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:11] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119880344,"longitude_deg":75.6768064,"latitude_deg":11.9880344,"altitude":38,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d1b5d40","hex_latitude":"07253a98","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947775232001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635863097344000,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611291691008,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788858518000,"timestamp_ms":1788858518000,"timestamp_seconds":1788858518,"priority":1,"record_length":96,"hex_timestamp":"000001a08046c9f0"} 
[2026-09-08 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-09-08 14:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 14:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947775232001,"66":12950,"43":206,"83":41984,"24":0,"16":18635863097344000,"45":1971802611291691008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947775232001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:41:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635863097344000,"km_value":18635863097344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611291691008,"description":"Unknown IO ID 45"} 
[2026-09-08 14:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947775232001,"power":12950,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971802611291691008}} 
[2026-09-08 14:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:41:11] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:41:11] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:41:22] local.INFO: TCP Data received {"connection_id":175788,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:41:22] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:41:22] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:22] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:41:22] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:41:22] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:41:41] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:41:41] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:41:41] local.INFO: IMEI packet received {"connection_id":177244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":177244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:41:42] local.INFO: TCP Data received {"connection_id":175789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080471bf8012d1b5d4007253a98002600032d..."} 
[2026-09-08 14:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080471bf8012d1b5d4007253a98002600032d..."} 
[2026-09-08 14:41:42] local.INFO: Processing buffer {"connection_id":175789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080471bf8012d1b5d4007253a98002600032d..."} 
[2026-09-08 14:41:42] local.INFO: Packet analysis {"connection_id":175789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:41:42] local.INFO: Extracted packet for processing {"connection_id":175789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119880344,"longitude_deg":75.6768064,"latitude_deg":11.9880344,"altitude":38,"angle":3,"satellites":45,"speed":0,"hex_longitude":"2d1b5d40","hex_latitude":"07253a98","is_valid_coordinates":true} 
[2026-09-08 14:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947780608001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635863097344000,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611291691008,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788858539000,"timestamp_ms":1788858539000,"timestamp_seconds":1788858539,"priority":1,"record_length":96,"hex_timestamp":"000001a080471bf8"} 
[2026-09-08 14:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 14:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947780608001,"66":14070,"43":206,"83":41984,"24":0,"16":18635863097344000,"45":1971802611291691008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947780608001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:41:42] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635863097344000,"km_value":18635863097344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611291691008,"description":"Unknown IO ID 45"} 
[2026-09-08 14:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947780608001,"power":14070,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971802611291691008}} 
[2026-09-08 14:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":175789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:41:42] local.INFO: GPS data processed {"connection_id":175789,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:41:42] local.INFO: Acknowledgment sent {"connection_id":175789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:41:47] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:41:47] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:41:47] local.INFO: IMEI packet received {"connection_id":177244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":177244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:41:48] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:41:48] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080464138012d4883c006963000003e010926..."} 
[2026-09-08 14:41:48] local.INFO: Packet analysis {"connection_id":177244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:48] local.INFO: Extracted packet for processing {"connection_id":177244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08046"} 
[2026-09-08 14:41:48] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947694592001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788858483000,"timestamp_ms":1788858483000,"timestamp_seconds":1788858483,"priority":1,"record_length":96,"hex_timestamp":"000001a080464138"} 
[2026-09-08 14:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947694592001,"66":25875,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947694592001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:41:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:41:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947694592001,"power":25875,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":177244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:41:48] local.INFO: GPS data processed {"connection_id":177244,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:41:48] local.INFO: Acknowledgment sent {"connection_id":177244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:42:06] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:42:06] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:42:06] local.INFO: IMEI packet received {"connection_id":175790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":175790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:42:08] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:42:08] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:42:08] local.INFO: IMEI packet received {"connection_id":175790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":175790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:42:08] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080476e00012d1b5d4007253a98002600032d..."} 
[2026-09-08 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080476e00012d1b5d4007253a98002600032d..."} 
[2026-09-08 14:42:08] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080476e00012d1b5d4007253a98002600032d..."} 
[2026-09-08 14:42:08] local.INFO: Packet analysis {"connection_id":175790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:42:08] local.INFO: Extracted packet for processing {"connection_id":175790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119880344,"longitude_deg":75.6768064,"latitude_deg":11.9880344,"altitude":38,"angle":3,"satellites":45,"speed":0,"hex_longitude":"2d1b5d40","hex_latitude":"07253a98","is_valid_coordinates":true} 
[2026-09-08 14:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947785984001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635863097344000,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611291691008,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788858560000,"timestamp_ms":1788858560000,"timestamp_seconds":1788858560,"priority":1,"record_length":96,"hex_timestamp":"000001a080476e00"} 
[2026-09-08 14:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 14:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947785984001,"66":13722,"43":206,"83":41984,"24":0,"16":18635863097344000,"45":1971802611291691008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947785984001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635863097344000,"km_value":18635863097344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611291691008,"description":"Unknown IO ID 45"} 
[2026-09-08 14:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947785984001,"power":13722,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971802611291691008}} 
[2026-09-08 14:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":175790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:42:08] local.INFO: GPS data processed {"connection_id":175790,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:42:08] local.INFO: Acknowledgment sent {"connection_id":175790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:42:11] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08047b068012d1b5f4007253a70002400102e..."} 
[2026-09-08 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08047b068012d1b5f4007253a70002400102e..."} 
[2026-09-08 14:42:11] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08047b068012d1b5f4007253a70002400102e..."} 
[2026-09-08 14:42:11] local.INFO: Packet analysis {"connection_id":175790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:42:11] local.INFO: Extracted packet for processing {"connection_id":175790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756768576,"raw_latitude":119880304,"longitude_deg":75.6768576,"latitude_deg":11.9880304,"altitude":36,"angle":16,"satellites":46,"speed":6,"hex_longitude":"2d1b5f40","hex_latitude":"07253a70","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947791360001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18635897457082368,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611291691008,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788858577000,"timestamp_ms":1788858577000,"timestamp_seconds":1788858577,"priority":1,"record_length":96,"hex_timestamp":"000001a08047b068"} 
[2026-09-08 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-09-08 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947791360001,"66":14265,"43":206,"83":41984,"24":6,"16":18635897457082368,"45":1971802611291691008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947791360001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:42:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18635897457082368,"km_value":18635897457082.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611291691008,"description":"Unknown IO ID 45"} 
[2026-09-08 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947791360001,"power":14265,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1971802611291691008}} 
[2026-09-08 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":175790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:42:11] local.INFO: GPS data processed {"connection_id":175790,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:42:11] local.INFO: Acknowledgment sent {"connection_id":175790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:42:19] local.INFO: TCP Data received {"connection_id":177244,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080493af0012d4883c006963000003e01092b..."} 
[2026-09-08 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080493af0012d4883c006963000003e01092b..."} 
[2026-09-08 14:42:19] local.INFO: Processing buffer {"connection_id":177244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080493af0012d4883c006963000003e01092b..."} 
[2026-09-08 14:42:19] local.INFO: Packet analysis {"connection_id":177244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:42:19] local.INFO: Extracted packet for processing {"connection_id":177244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:42:19] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110505984,"longitude_deg":75.972704,"latitude_deg":11.0505984,"altitude":62,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"06963000","is_valid_coordinates":true} 
[2026-09-08 14:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947771648001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788858678000,"timestamp_ms":1788858678000,"timestamp_seconds":1788858678,"priority":1,"record_length":96,"hex_timestamp":"000001a080493af0"} 
[2026-09-08 14:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 14:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947771648001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947771648001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:42:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:42:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947771648001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":177244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:42:19] local.INFO: GPS data processed {"connection_id":177244,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:42:19] local.INFO: Acknowledgment sent {"connection_id":177244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:42:40] local.INFO: TCP Data received {"connection_id":174464,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:40] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:40] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:42:42] local.INFO: TCP Data received {"connection_id":174464,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:42] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:42] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:42:43] local.INFO: TCP Data received {"connection_id":175790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08047fe88012d1b6540072556880025001f2e..."} 
[2026-09-08 14:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08047fe88012d1b6540072556880025001f2e..."} 
[2026-09-08 14:42:44] local.INFO: Processing buffer {"connection_id":175790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08047fe88012d1b6540072556880025001f2e..."} 
[2026-09-08 14:42:44] local.INFO: Packet analysis {"connection_id":175790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:42:44] local.INFO: Extracted packet for processing {"connection_id":175790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08047"} 
[2026-09-08 14:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756770112,"raw_latitude":119887496,"longitude_deg":75.6770112,"latitude_deg":11.9887496,"altitude":37,"angle":31,"satellites":46,"speed":8,"hex_longitude":"2d1b6540","hex_latitude":"07255688","is_valid_coordinates":true} 
[2026-09-08 14:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947795712001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636258234335232,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365561245102080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788858597000,"timestamp_ms":1788858597000,"timestamp_seconds":1788858597,"priority":1,"record_length":96,"hex_timestamp":"000001a08047fe88"} 
[2026-09-08 14:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 14:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947795712001,"66":13993,"43":206,"83":41984,"24":8,"16":18636258234335232,"45":1972365561245102080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947795712001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:42:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636258234335232,"km_value":18636258234335.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365561245102080,"description":"Unknown IO ID 45"} 
[2026-09-08 14:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947795712001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1972365561245102080}} 
[2026-09-08 14:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":175790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:42:44] local.INFO: GPS data processed {"connection_id":175790,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:42:44] local.INFO: Acknowledgment sent {"connection_id":175790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:42:47] local.INFO: TCP Data received {"connection_id":174464,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:47] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:42:47] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:42:48] local.INFO: TCP Data received {"connection_id":174464,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080493ed8012d488700069626a0003e00e62b..."} 
[2026-09-08 14:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080493ed8012d488700069626a0003e00e62b..."} 
[2026-09-08 14:42:48] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080493ed8012d488700069626a0003e00e62b..."} 
[2026-09-08 14:42:48] local.INFO: Packet analysis {"connection_id":174464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:42:48] local.INFO: Extracted packet for processing {"connection_id":174464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:42:48] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110503584,"longitude_deg":75.9727872,"latitude_deg":11.0503584,"altitude":62,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069626a0","is_valid_coordinates":true} 
[2026-09-08 14:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947821568001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127201972224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788858679000,"timestamp_ms":1788858679000,"timestamp_seconds":1788858679,"priority":1,"record_length":96,"hex_timestamp":"000001a080493ed8"} 
[2026-09-08 14:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947821568001,"66":25734,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5225231127201972224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947821568001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:42:48] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127201972224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947821568001,"power":25734,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5225231127201972224}} 
[2026-09-08 14:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":174464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:42:48] local.INFO: GPS data processed {"connection_id":174464,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:42:48] local.INFO: Acknowledgment sent {"connection_id":174464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:42:49] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:42:49] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:42:49] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:43:01] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:43:01] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:43:01] local.INFO: IMEI packet received {"connection_id":177245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":177245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:43:06] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:43:06] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:43:06] local.INFO: IMEI packet received {"connection_id":177245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":177245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:43:07] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080482598012d1b6740072556600024009d2d..."} 
[2026-09-08 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080482598012d1b6740072556600024009d2d..."} 
[2026-09-08 14:43:07] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080482598012d1b6740072556600024009d2d..."} 
[2026-09-08 14:43:07] local.INFO: Packet analysis {"connection_id":177245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:43:07] local.INFO: Extracted packet for processing {"connection_id":177245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756770624,"raw_latitude":119887456,"longitude_deg":75.6770624,"latitude_deg":11.9887456,"altitude":36,"angle":157,"satellites":45,"speed":9,"hex_longitude":"2d1b6740","hex_latitude":"07255660","is_valid_coordinates":true} 
[2026-09-08 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947800832001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636292594073600,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974054411107207168,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858607000,"timestamp_ms":1788858607000,"timestamp_seconds":1788858607,"priority":1,"record_length":96,"hex_timestamp":"000001a080482598"} 
[2026-09-08 14:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947800832001,"66":13993,"43":206,"83":41984,"24":9,"16":18636292594073600,"45":1974054411107207168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947800832001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:43:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636292594073600,"km_value":18636292594073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974054411107207168,"description":"Unknown IO ID 45"} 
[2026-09-08 14:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947800832001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1974054411107207168}} 
[2026-09-08 14:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":177245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:43:07] local.INFO: GPS data processed {"connection_id":177245,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:43:07] local.INFO: Acknowledgment sent {"connection_id":177245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:43:19] local.INFO: TCP Data received {"connection_id":174464,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804990e0012d488700069626a0003e00e62c..."} 
[2026-09-08 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804990e0012d488700069626a0003e00e62c..."} 
[2026-09-08 14:43:19] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804990e0012d488700069626a0003e00e62c..."} 
[2026-09-08 14:43:19] local.INFO: Packet analysis {"connection_id":174464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:43:19] local.INFO: Extracted packet for processing {"connection_id":174464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110503584,"longitude_deg":75.9727872,"latitude_deg":11.0503584,"altitude":62,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069626a0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947821824001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875667456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788858700000,"timestamp_ms":1788858700000,"timestamp_seconds":1788858700,"priority":1,"record_length":96,"hex_timestamp":"000001a0804990e0"} 
[2026-09-08 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-09-08 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 14:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947821824001,"66":27713,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5226145920875667456},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947821824001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:43:19] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:43:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875667456,"description":"Unknown IO ID 45"} 
[2026-09-08 14:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947821824001,"power":27713,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5226145920875667456}} 
[2026-09-08 14:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":174464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:43:19] local.INFO: GPS data processed {"connection_id":174464,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:43:19] local.INFO: Acknowledgment sent {"connection_id":174464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:43:38] local.INFO: TCP Data received {"connection_id":177245,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080482980012d1b674007255550002400b42d..."} 
[2026-09-08 14:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080482980012d1b674007255550002400b42d..."} 
[2026-09-08 14:43:38] local.INFO: Processing buffer {"connection_id":177245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080482980012d1b674007255550002400b42d..."} 
[2026-09-08 14:43:38] local.INFO: Packet analysis {"connection_id":177245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:43:38] local.INFO: Extracted packet for processing {"connection_id":177245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756770624,"raw_latitude":119887184,"longitude_deg":75.6770624,"latitude_deg":11.9887184,"altitude":36,"angle":180,"satellites":45,"speed":14,"hex_longitude":"2d1b6740","hex_latitude":"07255550","is_valid_coordinates":true} 
[2026-09-08 14:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947803392001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636305478975488,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974617361060618240,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788858608000,"timestamp_ms":1788858608000,"timestamp_seconds":1788858608,"priority":1,"record_length":96,"hex_timestamp":"000001a080482980"} 
[2026-09-08 14:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947803392001,"66":14004,"43":206,"83":41984,"24":14,"16":18636305478975488,"45":1974617361060618240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947803392001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:43:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636305478975488,"km_value":18636305478975.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974617361060618240,"description":"Unknown IO ID 45"} 
[2026-09-08 14:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947803392001,"power":14004,"unknown_43":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1974617361060618240}} 
[2026-09-08 14:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":177245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:43:38] local.INFO: GPS data processed {"connection_id":177245,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:43:38] local.INFO: Acknowledgment sent {"connection_id":177245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:43:42] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:43:42] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:43:42] local.INFO: IMEI packet received {"connection_id":174719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":174719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:43:47] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:43:47] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:43:47] local.INFO: IMEI packet received {"connection_id":174719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:43:50] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08049e2e8012d488700069626a0003e00e62d..."} 
[2026-09-08 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08049e2e8012d488700069626a0003e00e62d..."} 
[2026-09-08 14:43:50] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08049e2e8012d488700069626a0003e00e62d..."} 
[2026-09-08 14:43:50] local.INFO: Packet analysis {"connection_id":174719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:43:50] local.INFO: Extracted packet for processing {"connection_id":174719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110503584,"longitude_deg":75.9727872,"latitude_deg":11.0503584,"altitude":62,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d488700","hex_latitude":"069626a0","is_valid_coordinates":true} 
[2026-09-08 14:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947827200001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749378382528512,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875667456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788858721000,"timestamp_ms":1788858721000,"timestamp_seconds":1788858721,"priority":1,"record_length":96,"hex_timestamp":"000001a08049e2e8"} 
[2026-09-08 14:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 14:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947827200001,"66":27821,"171":206,"19":48128,"24":0,"16":402749378382528512,"45":5226145920875667456},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947827200001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:43:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:43:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749378382528512,"km_value":402749378382528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875667456,"description":"Unknown IO ID 45"} 
[2026-09-08 14:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947827200001,"power":27821,"unknown_171":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5226145920875667456}} 
[2026-09-08 14:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":174719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:43:50] local.INFO: GPS data processed {"connection_id":174719,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:43:50] local.INFO: Acknowledgment sent {"connection_id":174719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:44:01] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:44:01] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:44:01] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:44:06] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:44:06] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:44:06] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:44:07] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804840f0012d1b6580072547e0002400bf2b..."} 
[2026-09-08 14:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804840f0012d1b6580072547e0002400bf2b..."} 
[2026-09-08 14:44:07] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804840f0012d1b6580072547e0002400bf2b..."} 
[2026-09-08 14:44:07] local.INFO: Packet analysis {"connection_id":174721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:44:07] local.INFO: Extracted packet for processing {"connection_id":174721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756770176,"raw_latitude":119883744,"longitude_deg":75.6770176,"latitude_deg":11.9883744,"altitude":36,"angle":191,"satellites":43,"speed":30,"hex_longitude":"2d1b6580","hex_latitude":"072547e0","is_valid_coordinates":true} 
[2026-09-08 14:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947803648001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636477277667328,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974617361060548608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858614000,"timestamp_ms":1788858614000,"timestamp_seconds":1788858614,"priority":1,"record_length":96,"hex_timestamp":"000001a0804840f0"} 
[2026-09-08 14:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 14:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947803648001,"66":14080,"43":206,"83":41984,"24":30,"16":18636477277667328,"45":1974617361060548608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947803648001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636477277667328,"km_value":18636477277667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974617361060548608,"description":"Unknown IO ID 45"} 
[2026-09-08 14:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947803648001,"power":14080,"unknown_43":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1974617361060548608}} 
[2026-09-08 14:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":174721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:44:07] local.INFO: GPS data processed {"connection_id":174721,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:44:07] local.INFO: Acknowledgment sent {"connection_id":174721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:44:22] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08049fe40012d48854006962848003f01322c..."} 
[2026-09-08 14:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08049fe40012d48854006962848003f01322c..."} 
[2026-09-08 14:44:22] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08049fe40012d48854006962848003f01322c..."} 
[2026-09-08 14:44:22] local.INFO: Packet analysis {"connection_id":174719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:44:22] local.INFO: Extracted packet for processing {"connection_id":174719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08049"} 
[2026-09-08 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110504008,"longitude_deg":75.9727424,"latitude_deg":11.0504008,"altitude":63,"angle":306,"satellites":44,"speed":2,"hex_longitude":"2d488540","hex_latitude":"06962848","is_valid_coordinates":true} 
[2026-09-08 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947832576001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749408447299584,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920875667456,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788858728000,"timestamp_ms":1788858728000,"timestamp_seconds":1788858728,"priority":1,"record_length":96,"hex_timestamp":"000001a08049fe40"} 
[2026-09-08 14:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947832576001,"66":27908,"171":206,"19":48128,"24":2,"16":402749408447299584,"45":5226145920875667456},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947832576001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:44:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749408447299584,"km_value":402749408447299.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920875667456,"description":"Unknown IO ID 45"} 
[2026-09-08 14:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947832576001,"power":27908,"unknown_171":206,"unknown_19":48128,"ignition":2,"odometer":null,"unknown_45":5226145920875667456}} 
[2026-09-08 14:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":174719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:44:22] local.INFO: GPS data processed {"connection_id":174719,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:44:22] local.INFO: Acknowledgment sent {"connection_id":174719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:44:38] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080486fd0012d1b608007252e40002500b22e..."} 
[2026-09-08 14:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080486fd0012d1b608007252e40002500b22e..."} 
[2026-09-08 14:44:38] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080486fd0012d1b608007252e40002500b22e..."} 
[2026-09-08 14:44:38] local.INFO: Packet analysis {"connection_id":174721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:44:38] local.INFO: Extracted packet for processing {"connection_id":174721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756768896,"raw_latitude":119877184,"longitude_deg":75.6768896,"latitude_deg":11.9877184,"altitude":37,"angle":178,"satellites":46,"speed":10,"hex_longitude":"2d1b6080","hex_latitude":"07252e40","is_valid_coordinates":true} 
[2026-09-08 14:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947805184001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636799400214528,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974124779850424320,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788858626000,"timestamp_ms":1788858626000,"timestamp_seconds":1788858626,"priority":1,"record_length":96,"hex_timestamp":"000001a080486fd0"} 
[2026-09-08 14:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158336,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743787,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2152143864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-09-08 14:44:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,43,83,24,241,157,16,53,160,41,45,64,85,36,10,66,37,86,254,1,240,169,227,128,4,113,205,6,110,93,152,239,2,7,38],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-09-08 14:44:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594283576771870720,"timestamp_seconds":2594283576771870.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 14:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947805184001,"66":14330,"43":206,"83":41984,"24":10,"16":18636799400214528,"45":1974124779850424320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947805184001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:44:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636799400214528,"km_value":18636799400214.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974124779850424320,"description":"Unknown IO ID 45"} 
[2026-09-08 14:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947805184001,"power":14330,"unknown_43":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1974124779850424320}} 
[2026-09-08 14:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":174721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:44:38] local.INFO: GPS data processed {"connection_id":174721,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:44:38] local.INFO: Acknowledgment sent {"connection_id":174721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:44:41] local.INFO: TCP Data received {"connection_id":177246,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:44:41] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:44:41] local.INFO: IMEI packet received {"connection_id":177246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":177246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:44:47] local.INFO: TCP Data received {"connection_id":177246,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:44:47] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:44:47] local.INFO: IMEI packet received {"connection_id":177246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":177246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:44:49] local.INFO: TCP Data received {"connection_id":177246,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804a0610012d4884c0069628a8004001422d..."} 
[2026-09-08 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804a0610012d4884c0069628a8004001422d..."} 
[2026-09-08 14:44:49] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804a0610012d4884c0069628a8004001422d..."} 
[2026-09-08 14:44:49] local.INFO: Packet analysis {"connection_id":177246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804a"} 
[2026-09-08 14:44:49] local.INFO: Extracted packet for processing {"connection_id":177246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804a"} 
[2026-09-08 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110504104,"longitude_deg":75.9727296,"latitude_deg":11.0504104,"altitude":64,"angle":322,"satellites":45,"speed":1,"hex_longitude":"2d4884c0","hex_latitude":"069628a8","is_valid_coordinates":true} 
[2026-09-08 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947834368001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402749412742266880,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339666532352,"note":"Value kept but may cause issues"} 
[2026-09-08 14:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788858730000,"timestamp_ms":1788858730000,"timestamp_seconds":1788858730,"priority":1,"record_length":96,"hex_timestamp":"000001a0804a0610"} 
[2026-09-08 14:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 14:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947834368001,"66":27767,"171":206,"19":48128,"24":1,"16":402749412742266880,"45":5225653339666532352},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,19,24,16,45]} 
[2026-09-08 14:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947834368001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:44:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-08 14:44:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402749412742266880,"km_value":402749412742266.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339666532352,"description":"Unknown IO ID 45"} 
[2026-09-08 14:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947834368001,"power":27767,"unknown_171":206,"unknown_19":48128,"ignition":1,"odometer":null,"unknown_45":5225653339666532352}} 
[2026-09-08 14:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":177246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:44:49] local.INFO: GPS data processed {"connection_id":177246,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:44:49] local.INFO: Acknowledgment sent {"connection_id":177246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:45:02] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:45:02] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:45:02] local.INFO: IMEI packet received {"connection_id":174466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":174466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:45:06] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:45:06] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:45:06] local.INFO: IMEI packet received {"connection_id":174466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":174466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:45:07] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804873b8012d1b608007252d78002400a72e..."} 
[2026-09-08 14:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804873b8012d1b608007252d78002400a72e..."} 
[2026-09-08 14:45:07] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804873b8012d1b608007252d78002400a72e..."} 
[2026-09-08 14:45:07] local.INFO: Packet analysis {"connection_id":174466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:45:07] local.INFO: Extracted packet for processing {"connection_id":174466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756768896,"raw_latitude":119876984,"longitude_deg":75.6768896,"latitude_deg":11.9876984,"altitude":36,"angle":167,"satellites":46,"speed":6,"hex_longitude":"2d1b6080","hex_latitude":"07252d78","is_valid_coordinates":true} 
[2026-09-08 14:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947808256001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636812285116416,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972717404965191680,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858627000,"timestamp_ms":1788858627000,"timestamp_seconds":1788858627,"priority":1,"record_length":96,"hex_timestamp":"000001a0804873b8"} 
[2026-09-08 14:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-08 14:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947808256001,"66":14330,"43":206,"83":41984,"24":6,"16":18636812285116416,"45":1972717404965191680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947808256001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636812285116416,"km_value":18636812285116.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972717404965191680,"description":"Unknown IO ID 45"} 
[2026-09-08 14:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947808256001,"power":14330,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1972717404965191680}} 
[2026-09-08 14:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":174466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:45:07] local.INFO: GPS data processed {"connection_id":174466,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:45:07] local.INFO: Acknowledgment sent {"connection_id":174466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:45:21] local.INFO: TCP Data received {"connection_id":177246,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804bb3c0012d49414006963770005100542e..."} 
[2026-09-08 14:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804bb3c0012d49414006963770005100542e..."} 
[2026-09-08 14:45:21] local.INFO: Processing buffer {"connection_id":177246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804bb3c0012d49414006963770005100542e..."} 
[2026-09-08 14:45:21] local.INFO: Packet analysis {"connection_id":177246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804b"} 
[2026-09-08 14:45:21] local.INFO: Extracted packet for processing {"connection_id":177246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804b"} 
[2026-09-08 14:45:21] local.INFO: GPS Element Parsed {"raw_longitude":759775552,"raw_latitude":110507888,"longitude_deg":75.9775552,"latitude_deg":11.0507888,"altitude":81,"angle":84,"satellites":46,"speed":17,"hex_longitude":"2d494140","hex_latitude":"06963770","is_valid_coordinates":true} 
[2026-09-08 14:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947858432001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402751822218919936,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5268648642359896064,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 14:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788858840000,"timestamp_ms":1788858840000,"timestamp_seconds":1788858840,"priority":1,"record_length":96,"hex_timestamp":"000001a0804bb3c0"} 
[2026-09-08 14:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 14:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947858432001,"66":27767,"16":402751822218919936,"19":48128,"24":17,"45":5268648642359896064},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 14:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947858432001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402751822218919936,"km_value":402751822218919.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:45:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5268648642359896064,"description":"Unknown IO ID 45"} 
[2026-09-08 14:45:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457947858432001,"power":27767,"odometer":null,"unknown_19":48128,"ignition":17,"unknown_45":5268648642359896064}} 
[2026-09-08 14:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":177246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:45:21] local.INFO: GPS data processed {"connection_id":177246,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:45:21] local.INFO: Acknowledgment sent {"connection_id":177246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:45:38] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08048c5c0012d1b60c007252ca80024009f2a..."} 
[2026-09-08 14:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08048c5c0012d1b60c007252ca80024009f2a..."} 
[2026-09-08 14:45:38] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08048c5c0012d1b60c007252ca80024009f2a..."} 
[2026-09-08 14:45:38] local.INFO: Packet analysis {"connection_id":174466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:45:38] local.INFO: Extracted packet for processing {"connection_id":174466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08048"} 
[2026-09-08 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756768960,"raw_latitude":119876776,"longitude_deg":75.676896,"latitude_deg":11.9876776,"altitude":36,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d1b60c0","hex_latitude":"07252ca8","is_valid_coordinates":true} 
[2026-09-08 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947808512001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636825170018304,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972717404965140480,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788858648000,"timestamp_ms":1788858648000,"timestamp_seconds":1788858648,"priority":1,"record_length":96,"hex_timestamp":"000001a08048c5c0"} 
[2026-09-08 14:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-08 14:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947808512001,"66":13156,"43":206,"83":41984,"24":0,"16":18636825170018304,"45":1972717404965140480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947808512001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:45:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636825170018304,"km_value":18636825170018.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972717404965140480,"description":"Unknown IO ID 45"} 
[2026-09-08 14:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947808512001,"power":13156,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972717404965140480}} 
[2026-09-08 14:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":174466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:45:38] local.INFO: GPS data processed {"connection_id":174466,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:45:38] local.INFO: Acknowledgment sent {"connection_id":174466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:45:41] local.INFO: TCP Data received {"connection_id":177247,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:45:41] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:45:41] local.INFO: IMEI packet received {"connection_id":177247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":177247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:45:47] local.INFO: TCP Data received {"connection_id":177247,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:45:47] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:45:47] local.INFO: IMEI packet received {"connection_id":177247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":177247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:45:49] local.INFO: TCP Data received {"connection_id":177247,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804bfdf8012d49640006963c88005700502f..."} 
[2026-09-08 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804bfdf8012d49640006963c88005700502f..."} 
[2026-09-08 14:45:49] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804bfdf8012d49640006963c88005700502f..."} 
[2026-09-08 14:45:49] local.INFO: Packet analysis {"connection_id":177247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804b"} 
[2026-09-08 14:45:49] local.INFO: Extracted packet for processing {"connection_id":177247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804b"} 
[2026-09-08 14:45:49] local.INFO: GPS Element Parsed {"raw_longitude":759784448,"raw_latitude":110509192,"longitude_deg":75.9784448,"latitude_deg":11.0509192,"altitude":87,"angle":80,"satellites":47,"speed":23,"hex_longitude":"2d496400","hex_latitude":"06963c88","is_valid_coordinates":true} 
[2026-09-08 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947863040001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402752251715649536,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5278570635289128960,"note":"Value kept but may cause issues"} 
[2026-09-08 14:45:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 14:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788858859000,"timestamp_ms":1788858859000,"timestamp_seconds":1788858859,"priority":1,"record_length":96,"hex_timestamp":"000001a0804bfdf8"} 
[2026-09-08 14:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 14:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947863040001,"66":27821,"16":402752251715649536,"19":48128,"24":23,"45":5278570635289128960},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 14:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947863040001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402752251715649536,"km_value":402752251715649.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:45:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5278570635289128960,"description":"Unknown IO ID 45"} 
[2026-09-08 14:45:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457947863040001,"power":27821,"odometer":null,"unknown_19":48128,"ignition":23,"unknown_45":5278570635289128960}} 
[2026-09-08 14:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":177247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:45:49] local.INFO: GPS data processed {"connection_id":177247,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:45:49] local.INFO: Acknowledgment sent {"connection_id":177247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:46:01] local.INFO: TCP Data received {"connection_id":177248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:46:01] local.INFO: Processing buffer {"connection_id":177248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:46:01] local.INFO: IMEI packet received {"connection_id":177248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":177248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:46:06] local.INFO: TCP Data received {"connection_id":177248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:46:06] local.INFO: Processing buffer {"connection_id":177248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:46:06] local.INFO: IMEI packet received {"connection_id":177248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":177248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:46:07] local.INFO: TCP Data received {"connection_id":177248,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804c4c18012d1b5fc007252da80024009f2e..."} 
[2026-09-08 14:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804c4c18012d1b5fc007252da80024009f2e..."} 
[2026-09-08 14:46:07] local.INFO: Processing buffer {"connection_id":177248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804c4c18012d1b5fc007252da80024009f2e..."} 
[2026-09-08 14:46:07] local.INFO: Packet analysis {"connection_id":177248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:07] local.INFO: Extracted packet for processing {"connection_id":177248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947867648001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858879000,"timestamp_ms":1788858879000,"timestamp_seconds":1788858879,"priority":1,"record_length":96,"hex_timestamp":"000001a0804c4c18"} 
[2026-09-08 14:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-08 14:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947867648001,"66":12885,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947867648001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:46:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947867648001,"power":12885,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":177248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:46:07] local.INFO: GPS data processed {"connection_id":177248,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:46:07] local.INFO: Acknowledgment sent {"connection_id":177248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:46:22] local.INFO: TCP Data received {"connection_id":177247,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804c34a8012d49888006964170005900562f..."} 
[2026-09-08 14:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804c34a8012d49888006964170005900562f..."} 
[2026-09-08 14:46:22] local.INFO: Processing buffer {"connection_id":177247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804c34a8012d49888006964170005900562f..."} 
[2026-09-08 14:46:22] local.INFO: Packet analysis {"connection_id":177247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:22] local.INFO: Extracted packet for processing {"connection_id":177247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:22] local.INFO: GPS Element Parsed {"raw_longitude":759793792,"raw_latitude":110510448,"longitude_deg":75.9793792,"latitude_deg":11.0510448,"altitude":89,"angle":86,"satellites":47,"speed":28,"hex_longitude":"2d498880","hex_latitude":"06964170","is_valid_coordinates":true} 
[2026-09-08 14:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947867904001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402752698392248320,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5288351890730158080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 14:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788858873000,"timestamp_ms":1788858873000,"timestamp_seconds":1788858873,"priority":1,"record_length":96,"hex_timestamp":"000001a0804c34a8"} 
[2026-09-08 14:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947867904001,"66":28006,"16":402752698392248320,"19":48128,"24":28,"45":5288351890730158080},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 14:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947867904001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402752698392248320,"km_value":402752698392248.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:46:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5288351890730158080,"description":"Unknown IO ID 45"} 
[2026-09-08 14:46:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457947867904001,"power":28006,"odometer":null,"unknown_19":48128,"ignition":28,"unknown_45":5288351890730158080}} 
[2026-09-08 14:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":177247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:46:22] local.INFO: GPS data processed {"connection_id":177247,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:46:22] local.INFO: Acknowledgment sent {"connection_id":177247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:46:38] local.INFO: TCP Data received {"connection_id":177248,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804c9e20012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804c9e20012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:46:38] local.INFO: Processing buffer {"connection_id":177248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804c9e20012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:46:38] local.INFO: Packet analysis {"connection_id":177248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:38] local.INFO: Extracted packet for processing {"connection_id":177248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947873024001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788858900000,"timestamp_ms":1788858900000,"timestamp_seconds":1788858900,"priority":1,"record_length":96,"hex_timestamp":"000001a0804c9e20"} 
[2026-09-08 14:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 14:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947873024001,"66":12841,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947873024001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947873024001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":177248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:46:39] local.INFO: GPS data processed {"connection_id":177248,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:46:39] local.INFO: Acknowledgment sent {"connection_id":177248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:46:47] local.INFO: TCP Data received {"connection_id":177249,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:46:47] local.INFO: Processing buffer {"connection_id":177249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:46:47] local.INFO: IMEI packet received {"connection_id":177249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":177249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:46:50] local.INFO: TCP Data received {"connection_id":177249,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:46:50] local.INFO: Processing buffer {"connection_id":177249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:46:50] local.INFO: IMEI packet received {"connection_id":177249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":177249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:46:53] local.INFO: TCP Data received {"connection_id":177249,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804c6770012d49adc006964650005a00512e..."} 
[2026-09-08 14:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804c6770012d49adc006964650005a00512e..."} 
[2026-09-08 14:46:53] local.INFO: Processing buffer {"connection_id":177249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804c6770012d49adc006964650005a00512e..."} 
[2026-09-08 14:46:53] local.INFO: Packet analysis {"connection_id":177249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:53] local.INFO: Extracted packet for processing {"connection_id":177249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:53] local.INFO: GPS Element Parsed {"raw_longitude":759803328,"raw_latitude":110511696,"longitude_deg":75.9803328,"latitude_deg":11.0511696,"altitude":90,"angle":81,"satellites":46,"speed":28,"hex_longitude":"2d49adc0","hex_latitude":"06964650","is_valid_coordinates":true} 
[2026-09-08 14:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947871488001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402753157953748992,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5298625727380418560,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 14:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788858886000,"timestamp_ms":1788858886000,"timestamp_seconds":1788858886,"priority":1,"record_length":96,"hex_timestamp":"000001a0804c6770"} 
[2026-09-08 14:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 14:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947871488001,"66":27832,"16":402753157953748992,"19":48128,"24":28,"45":5298625727380418560},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 14:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947871488001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402753157953748992,"km_value":402753157953749.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:46:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5298625727380418560,"description":"Unknown IO ID 45"} 
[2026-09-08 14:46:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457947871488001,"power":27832,"odometer":null,"unknown_19":48128,"ignition":28,"unknown_45":5298625727380418560}} 
[2026-09-08 14:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":177249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:46:53] local.INFO: GPS data processed {"connection_id":177249,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:46:53] local.INFO: Acknowledgment sent {"connection_id":177249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:46:54] local.INFO: TCP Data received {"connection_id":177249,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804ca208012d49d24006964b10005900532f..."} 
[2026-09-08 14:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804ca208012d49d24006964b10005900532f..."} 
[2026-09-08 14:46:54] local.INFO: Processing buffer {"connection_id":177249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804ca208012d49d24006964b10005900532f..."} 
[2026-09-08 14:46:54] local.INFO: Packet analysis {"connection_id":177249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:54] local.INFO: Extracted packet for processing {"connection_id":177249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:46:54] local.INFO: GPS Element Parsed {"raw_longitude":759812672,"raw_latitude":110512912,"longitude_deg":75.9812672,"latitude_deg":11.0512912,"altitude":89,"angle":83,"satellites":47,"speed":26,"hex_longitude":"2d49d240","hex_latitude":"06964b10","is_valid_coordinates":true} 
[2026-09-08 14:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947874816001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402753608925315072,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309110670263209984,"note":"Value kept but may cause issues"} 
[2026-09-08 14:46:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 14:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788858901000,"timestamp_ms":1788858901000,"timestamp_seconds":1788858901,"priority":1,"record_length":96,"hex_timestamp":"000001a0804ca208"} 
[2026-09-08 14:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 14:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947874816001,"66":27821,"16":402753608925315072,"19":48128,"24":26,"45":5309110670263209984},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 14:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947874816001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402753608925315072,"km_value":402753608925315.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:46:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309110670263209984,"description":"Unknown IO ID 45"} 
[2026-09-08 14:46:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457947874816001,"power":27821,"odometer":null,"unknown_19":48128,"ignition":26,"unknown_45":5309110670263209984}} 
[2026-09-08 14:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":177249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:46:54] local.INFO: GPS data processed {"connection_id":177249,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:46:54] local.INFO: Acknowledgment sent {"connection_id":177249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:47:00] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:00] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:00] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:47:02] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:02] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:02] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:47:06] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:06] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:47:06] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:47:07] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804cf028012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804cf028012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:47:07] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804cf028012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:47:07] local.INFO: Packet analysis {"connection_id":175792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:47:07] local.INFO: Extracted packet for processing {"connection_id":175792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947878400001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788858921000,"timestamp_ms":1788858921000,"timestamp_seconds":1788858921,"priority":1,"record_length":96,"hex_timestamp":"000001a0804cf028"} 
[2026-09-08 14:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 14:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947878400001,"66":12841,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947878400001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947878400001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":175792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:47:07] local.INFO: GPS data processed {"connection_id":175792,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:47:07] local.INFO: Acknowledgment sent {"connection_id":175792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:47:27] local.INFO: TCP Data received {"connection_id":177249,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0804cf410012d49f04006964bf00056005b2f..."} 
[2026-09-08 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804cf410012d49f04006964bf00056005b2f..."} 
[2026-09-08 14:47:27] local.INFO: Processing buffer {"connection_id":177249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804cf410012d49f04006964bf00056005b2f..."} 
[2026-09-08 14:47:27] local.INFO: Packet analysis {"connection_id":177249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:47:27] local.INFO: Extracted packet for processing {"connection_id":177249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804c"} 
[2026-09-08 14:47:27] local.INFO: GPS Element Parsed {"raw_longitude":759820352,"raw_latitude":110513136,"longitude_deg":75.9820352,"latitude_deg":11.0513136,"altitude":86,"angle":91,"satellites":47,"speed":10,"hex_longitude":"2d49f040","hex_latitude":"06964bf0","is_valid_coordinates":true} 
[2026-09-08 14:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947878656001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402753973997535232,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5319384506913460224,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 14:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788858922000,"timestamp_ms":1788858922000,"timestamp_seconds":1788858922,"priority":1,"record_length":96,"hex_timestamp":"000001a0804cf410"} 
[2026-09-08 14:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947878656001,"66":27745,"16":402753973997535232,"19":48128,"24":10,"45":5319384506913460224},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 14:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947878656001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402753973997535232,"km_value":402753973997535.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:47:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5319384506913460224,"description":"Unknown IO ID 45"} 
[2026-09-08 14:47:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457947878656001,"power":27745,"odometer":null,"unknown_19":48128,"ignition":10,"unknown_45":5319384506913460224}} 
[2026-09-08 14:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":177249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:47:27] local.INFO: GPS data processed {"connection_id":177249,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:47:27] local.INFO: Acknowledgment sent {"connection_id":177249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:47:38] local.INFO: TCP Data received {"connection_id":175793,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:47:38] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:47:38] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:47:38] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804d4230012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804d4230012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:47:38] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804d4230012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:47:38] local.INFO: Packet analysis {"connection_id":175792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804d"} 
[2026-09-08 14:47:38] local.INFO: Extracted packet for processing {"connection_id":175792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804d"} 
[2026-09-08 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947883776001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788858942000,"timestamp_ms":1788858942000,"timestamp_seconds":1788858942,"priority":1,"record_length":96,"hex_timestamp":"000001a0804d4230"} 
[2026-09-08 14:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 14:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947883776001,"66":12841,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947883776001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947883776001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":175792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:47:39] local.INFO: GPS data processed {"connection_id":175792,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:47:39] local.INFO: Acknowledgment sent {"connection_id":175792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:47:39] local.INFO: TCP Data received {"connection_id":175793,"ip":"117.224.141.146","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:47:39] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:47:39] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:47:41] local.INFO: TCP Data received {"connection_id":175793,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:47:41] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 14:47:41] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:48:00] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:00] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:00] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:48:05] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:05] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:05] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:48:06] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:06] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:48:06] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:48:08] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804d9438012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804d9438012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:48:08] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804d9438012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:48:08] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804d"} 
[2026-09-08 14:48:08] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804d"} 
[2026-09-08 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947889152001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788858963000,"timestamp_ms":1788858963000,"timestamp_seconds":1788858963,"priority":1,"record_length":96,"hex_timestamp":"000001a0804d9438"} 
[2026-09-08 14:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 14:48: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-09-08 14:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947889152001,"66":12504,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947889152001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947889152001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:48:08] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:48:08] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:48:12] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804de640012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804de640012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:48:12] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804de640012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:48:12] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804d"} 
[2026-09-08 14:48:12] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804d"} 
[2026-09-08 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947894528001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788858984000,"timestamp_ms":1788858984000,"timestamp_seconds":1788858984,"priority":1,"record_length":96,"hex_timestamp":"000001a0804de640"} 
[2026-09-08 14:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 14:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947894528001,"66":12722,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947894528001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947894528001,"power":12722,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:48:13] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:48:13] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:48:19] local.INFO: TCP Data received {"connection_id":174723,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:48:19] local.INFO: Processing buffer {"connection_id":174723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:48:19] local.INFO: IMEI packet received {"connection_id":174723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":174723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:48:44] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804e3848012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804e3848012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:48:44] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804e3848012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:48:44] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804e"} 
[2026-09-08 14:48:44] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804e"} 
[2026-09-08 14:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947899904001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788859005000,"timestamp_ms":1788859005000,"timestamp_seconds":1788859005,"priority":1,"record_length":96,"hex_timestamp":"000001a0804e3848"} 
[2026-09-08 14:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 14:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947899904001,"66":12798,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947899904001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947899904001,"power":12798,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:48:44] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:48:44] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:48:44] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:48:44] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:48:44] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:49:06] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:49:06] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:49:06] local.INFO: IMEI packet received {"connection_id":177250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":177250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:49:08] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:49:08] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:49:08] local.INFO: IMEI packet received {"connection_id":177250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":177250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:49:08] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804e8a50012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804e8a50012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:49:08] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804e8a50012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:49:08] local.INFO: Packet analysis {"connection_id":177250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804e"} 
[2026-09-08 14:49:08] local.INFO: Extracted packet for processing {"connection_id":177250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804e"} 
[2026-09-08 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947905280001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788859026000,"timestamp_ms":1788859026000,"timestamp_seconds":1788859026,"priority":1,"record_length":96,"hex_timestamp":"000001a0804e8a50"} 
[2026-09-08 14:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 14:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947905280001,"66":12776,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947905280001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:49:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947905280001,"power":12776,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":177250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:49:08] local.INFO: GPS data processed {"connection_id":177250,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:49:08] local.INFO: Acknowledgment sent {"connection_id":177250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:49:12] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804edc58012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804edc58012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:49:12] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804edc58012d1b5fc007252da80024009f2d..."} 
[2026-09-08 14:49:12] local.INFO: Packet analysis {"connection_id":177250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804e"} 
[2026-09-08 14:49:12] local.INFO: Extracted packet for processing {"connection_id":177250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804e"} 
[2026-09-08 14:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947910656001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788859047000,"timestamp_ms":1788859047000,"timestamp_seconds":1788859047,"priority":1,"record_length":96,"hex_timestamp":"000001a0804edc58"} 
[2026-09-08 14:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 14:49: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-09-08 14:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947910656001,"66":12765,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947910656001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947910656001,"power":12765,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":177250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:49:12] local.INFO: GPS data processed {"connection_id":177250,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:49:12] local.INFO: Acknowledgment sent {"connection_id":177250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:49:43] local.INFO: TCP Data received {"connection_id":177250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804f2e60012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804f2e60012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:49:44] local.INFO: Processing buffer {"connection_id":177250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804f2e60012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:49:44] local.INFO: Packet analysis {"connection_id":177250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804f"} 
[2026-09-08 14:49:44] local.INFO: Extracted packet for processing {"connection_id":177250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804f"} 
[2026-09-08 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947916032001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788859068000,"timestamp_ms":1788859068000,"timestamp_seconds":1788859068,"priority":1,"record_length":96,"hex_timestamp":"000001a0804f2e60"} 
[2026-09-08 14:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-08 14:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947916032001,"66":12743,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947916032001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:49:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947916032001,"power":12743,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":177250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:49:44] local.INFO: GPS data processed {"connection_id":177250,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:49:44] local.INFO: Acknowledgment sent {"connection_id":177250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:50:01] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:50:01] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:50:01] local.INFO: IMEI packet received {"connection_id":177253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":177253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:50:06] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:50:06] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:50:06] local.INFO: IMEI packet received {"connection_id":177253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":177253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:50:07] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804f8068012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804f8068012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:50:07] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804f8068012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:50:07] local.INFO: Packet analysis {"connection_id":177253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804f"} 
[2026-09-08 14:50:07] local.INFO: Extracted packet for processing {"connection_id":177253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804f"} 
[2026-09-08 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947921408001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788859089000,"timestamp_ms":1788859089000,"timestamp_seconds":1788859089,"priority":1,"record_length":96,"hex_timestamp":"000001a0804f8068"} 
[2026-09-08 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-08 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947921408001,"66":12504,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947921408001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947921408001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":177253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:50:07] local.INFO: GPS data processed {"connection_id":177253,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:50:07] local.INFO: Acknowledgment sent {"connection_id":177253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:50:47] local.INFO: TCP Data received {"connection_id":177253,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0804fd270012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0804fd270012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:50:47] local.INFO: Processing buffer {"connection_id":177253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0804fd270012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:50:47] local.INFO: Packet analysis {"connection_id":177253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0804f"} 
[2026-09-08 14:50:47] local.INFO: Extracted packet for processing {"connection_id":177253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0804f"} 
[2026-09-08 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947926784001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788859110000,"timestamp_ms":1788859110000,"timestamp_seconds":1788859110,"priority":1,"record_length":96,"hex_timestamp":"000001a0804fd270"} 
[2026-09-08 14:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 14:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947926784001,"66":12711,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947926784001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947926784001,"power":12711,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":177253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:50:47] local.INFO: GPS data processed {"connection_id":177253,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:50:47] local.INFO: Acknowledgment sent {"connection_id":177253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:51:04] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:04] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:04] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:51:04] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:04] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:04] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:51:05] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:05] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:51:05] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:51:07] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080502478012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080502478012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:51:07] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080502478012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:51:07] local.INFO: Packet analysis {"connection_id":174467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08050"} 
[2026-09-08 14:51:07] local.INFO: Extracted packet for processing {"connection_id":174467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08050"} 
[2026-09-08 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947932160001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788859131000,"timestamp_ms":1788859131000,"timestamp_seconds":1788859131,"priority":1,"record_length":96,"hex_timestamp":"000001a080502478"} 
[2026-09-08 14:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 14:51: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-09-08 14:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947932160001,"66":11471,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947932160001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947932160001,"power":11471,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":174467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:51:07] local.INFO: GPS data processed {"connection_id":174467,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:51:07] local.INFO: Acknowledgment sent {"connection_id":174467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:51:15] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080507680012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080507680012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:51:15] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080507680012d1b5fc007252da80024009f2c..."} 
[2026-09-08 14:51:15] local.INFO: Packet analysis {"connection_id":174467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08050"} 
[2026-09-08 14:51:15] local.INFO: Extracted packet for processing {"connection_id":174467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08050"} 
[2026-09-08 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119877032,"longitude_deg":75.6768704,"latitude_deg":11.9877032,"altitude":36,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d1b5fc0","hex_latitude":"07252da8","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947937536001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18636850939822080,"note":"Value kept but may cause issues"} 
[2026-09-08 14:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732619776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788859152000,"timestamp_ms":1788859152000,"timestamp_seconds":1788859152,"priority":1,"record_length":96,"hex_timestamp":"000001a080507680"} 
[2026-09-08 14:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 14:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947937536001,"66":13689,"44":206,"83":41984,"24":0,"16":18636850939822080,"45":1972506298732619776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-08 14:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947937536001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-08 14:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18636850939822080,"km_value":18636850939822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732619776,"description":"Unknown IO ID 45"} 
[2026-09-08 14:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947937536001,"power":13689,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972506298732619776}} 
[2026-09-08 14:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":174467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:51:16] local.INFO: GPS data processed {"connection_id":174467,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:51:16] local.INFO: Acknowledgment sent {"connection_id":174467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:52:04] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:05] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:05] local.INFO: IMEI packet received {"connection_id":177254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":177254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:52:06] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:06] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:06] local.INFO: IMEI packet received {"connection_id":177254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":177254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:52:20] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:20] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:52:20] local.INFO: IMEI packet received {"connection_id":177254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":177254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:52:21] local.INFO: TCP Data received {"connection_id":177254,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08051d610012d1b4b000724b0e0002900e52d..."} 
[2026-09-08 14:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08051d610012d1b4b000724b0e0002900e52d..."} 
[2026-09-08 14:52:21] local.INFO: Processing buffer {"connection_id":177254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08051d610012d1b4b000724b0e0002900e52d..."} 
[2026-09-08 14:52:21] local.INFO: Packet analysis {"connection_id":177254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08051"} 
[2026-09-08 14:52:21] local.INFO: Extracted packet for processing {"connection_id":177254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08051"} 
[2026-09-08 14:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756763392,"raw_latitude":119845088,"longitude_deg":75.6763392,"latitude_deg":11.9845088,"altitude":41,"angle":229,"satellites":45,"speed":37,"hex_longitude":"2d1b4b00","hex_latitude":"0724b0e0","is_valid_coordinates":true} 
[2026-09-08 14:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947965184001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18638483027394560,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124027727872,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788859242000,"timestamp_ms":1788859242000,"timestamp_seconds":1788859242,"priority":1,"record_length":96,"hex_timestamp":"000001a08051d610"} 
[2026-09-08 14:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 14:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947965184001,"66":14363,"136":206,"83":42752,"24":37,"16":18638483027394560,"45":1968847124027727872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-08 14:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947965184001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:52:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-08 14:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-08 14:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18638483027394560,"km_value":18638483027394.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124027727872,"description":"Unknown IO ID 45"} 
[2026-09-08 14:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947965184001,"power":14363,"unknown_136":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1968847124027727872}} 
[2026-09-08 14:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":177254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:52:21] local.INFO: GPS data processed {"connection_id":177254,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:52:21] local.INFO: Acknowledgment sent {"connection_id":177254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:52:47] local.INFO: TCP Data received {"connection_id":177255,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:52:47] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:52:47] local.INFO: IMEI packet received {"connection_id":177255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":177255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:52:50] local.INFO: TCP Data received {"connection_id":177255,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:52:50] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:52:50] local.INFO: IMEI packet received {"connection_id":177255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":177255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:52:53] local.INFO: TCP Data received {"connection_id":177255,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08052cc28012d4b04c006961450005800952e..."} 
[2026-09-08 14:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08052cc28012d4b04c006961450005800952e..."} 
[2026-09-08 14:52:53] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08052cc28012d4b04c006961450005800952e..."} 
[2026-09-08 14:52:53] local.INFO: Packet analysis {"connection_id":177255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08052"} 
[2026-09-08 14:52:53] local.INFO: Extracted packet for processing {"connection_id":177255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08052"} 
[2026-09-08 14:52:53] local.INFO: GPS Element Parsed {"raw_longitude":759891136,"raw_latitude":110498896,"longitude_deg":75.9891136,"latitude_deg":11.0498896,"altitude":88,"angle":149,"satellites":46,"speed":26,"hex_longitude":"2d4b04c0","hex_latitude":"06961450","is_valid_coordinates":true} 
[2026-09-08 14:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947977728001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402760004131618816,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5399956718995181568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788859305000,"timestamp_ms":1788859305000,"timestamp_seconds":1788859305,"priority":1,"record_length":96,"hex_timestamp":"000001a08052cc28"} 
[2026-09-08 14:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 14:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947977728001,"66":27767,"15":206,"19":48128,"24":26,"16":402760004131618816,"45":5399956718995181568},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947977728001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:52:53] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:52:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402760004131618816,"km_value":402760004131618.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5399956718995181568,"description":"Unknown IO ID 45"} 
[2026-09-08 14:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947977728001,"power":27767,"unknown_15":206,"unknown_19":48128,"ignition":26,"odometer":null,"unknown_45":5399956718995181568}} 
[2026-09-08 14:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":177255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:52:53] local.INFO: GPS data processed {"connection_id":177255,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:52:53] local.INFO: Acknowledgment sent {"connection_id":177255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:52:55] local.INFO: TCP Data received {"connection_id":177255,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805306c0012d4b15800695f318004f00a131..."} 
[2026-09-08 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805306c0012d4b15800695f318004f00a131..."} 
[2026-09-08 14:52:55] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805306c0012d4b15800695f318004f00a131..."} 
[2026-09-08 14:52:55] local.INFO: Packet analysis {"connection_id":177255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:52:55] local.INFO: Extracted packet for processing {"connection_id":177255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":759895424,"raw_latitude":110490392,"longitude_deg":75.9895424,"latitude_deg":11.0490392,"altitude":79,"angle":161,"satellites":49,"speed":33,"hex_longitude":"2d4b1580","hex_latitude":"0695f318","is_valid_coordinates":true} 
[2026-09-08 14:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947982080001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402760467988086784,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5405656587271688192,"note":"Value kept but may cause issues"} 
[2026-09-08 14:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788859320000,"timestamp_ms":1788859320000,"timestamp_seconds":1788859320,"priority":1,"record_length":96,"hex_timestamp":"000001a0805306c0"} 
[2026-09-08 14:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 14:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947982080001,"66":27517,"15":206,"19":48128,"24":33,"16":402760467988086784,"45":5405656587271688192},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947982080001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:52:55] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:52:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402760467988086784,"km_value":402760467988086.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5405656587271688192,"description":"Unknown IO ID 45"} 
[2026-09-08 14:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947982080001,"power":27517,"unknown_15":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5405656587271688192}} 
[2026-09-08 14:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":177255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:52:55] local.INFO: GPS data processed {"connection_id":177255,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:52:55] local.INFO: Acknowledgment sent {"connection_id":177255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:53:00] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:00] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:00] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:53:03] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:03] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:03] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:53:06] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:06] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:53:06] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:53:07] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080533988012d1a808007241408002e00f72c..."} 
[2026-09-08 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080533988012d1a808007241408002e00f72c..."} 
[2026-09-08 14:53:07] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080533988012d1a808007241408002e00f72c..."} 
[2026-09-08 14:53:07] local.INFO: Packet analysis {"connection_id":175794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:07] local.INFO: Extracted packet for processing {"connection_id":175794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756711552,"raw_latitude":119804936,"longitude_deg":75.6711552,"latitude_deg":11.9804936,"altitude":46,"angle":247,"satellites":44,"speed":31,"hex_longitude":"2d1a8080","hex_latitude":"07241408","is_valid_coordinates":true} 
[2026-09-08 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947986176001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18641691367964672,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919026053140062208,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788859333000,"timestamp_ms":1788859333000,"timestamp_seconds":1788859333,"priority":1,"record_length":96,"hex_timestamp":"000001a080533988"} 
[2026-09-08 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 14:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947986176001,"66":13993,"43":206,"83":42752,"24":31,"16":18641691367964672,"45":1919026053140062208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947986176001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-08 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18641691367964672,"km_value":18641691367964.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919026053140062208,"description":"Unknown IO ID 45"} 
[2026-09-08 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947986176001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1919026053140062208}} 
[2026-09-08 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":175794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:53:07] local.INFO: GPS data processed {"connection_id":175794,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:53:07] local.INFO: Acknowledgment sent {"connection_id":175794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:53:28] local.INFO: TCP Data received {"connection_id":177255,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805306c0012d4b15800695f318004f00a131..."} 
[2026-09-08 14:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805306c0012d4b15800695f318004f00a131..."} 
[2026-09-08 14:53:28] local.INFO: Processing buffer {"connection_id":177255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805306c0012d4b15800695f318004f00a131..."} 
[2026-09-08 14:53:28] local.INFO: Packet analysis {"connection_id":177255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:28] local.INFO: Extracted packet for processing {"connection_id":177255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:28] local.INFO: GPS Element Parsed {"raw_longitude":759895424,"raw_latitude":110490392,"longitude_deg":75.9895424,"latitude_deg":11.0490392,"altitude":79,"angle":161,"satellites":49,"speed":33,"hex_longitude":"2d4b1580","hex_latitude":"0695f318","is_valid_coordinates":true} 
[2026-09-08 14:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947985920001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402760467988086784,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5410371293129414656,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788859320000,"timestamp_ms":1788859320000,"timestamp_seconds":1788859320,"priority":1,"record_length":96,"hex_timestamp":"000001a0805306c0"} 
[2026-09-08 14:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 14:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947985920001,"66":27517,"15":206,"19":48128,"24":33,"16":402760467988086784,"45":5410371293129414656},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947985920001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:53:28] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:53:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402760467988086784,"km_value":402760467988086.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5410371293129414656,"description":"Unknown IO ID 45"} 
[2026-09-08 14:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947985920001,"power":27517,"unknown_15":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5410371293129414656}} 
[2026-09-08 14:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":177255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:53:28] local.INFO: GPS data processed {"connection_id":177255,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:53:28] local.INFO: Acknowledgment sent {"connection_id":177255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:53:41] local.INFO: TCP Data received {"connection_id":174469,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:41] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:41] local.INFO: IMEI packet received {"connection_id":174469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":174469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:53:44] local.INFO: TCP Data received {"connection_id":174469,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:44] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:44] local.INFO: IMEI packet received {"connection_id":174469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":174469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:53:44] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805354e0012d1a6b40072407b0002f00ea2c..."} 
[2026-09-08 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805354e0012d1a6b40072407b0002f00ea2c..."} 
[2026-09-08 14:53:44] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805354e0012d1a6b40072407b0002f00ea2c..."} 
[2026-09-08 14:53:44] local.INFO: Packet analysis {"connection_id":175794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:44] local.INFO: Extracted packet for processing {"connection_id":175794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119801776,"longitude_deg":75.6706112,"latitude_deg":11.9801776,"altitude":47,"angle":234,"satellites":44,"speed":39,"hex_longitude":"2d1a6b40","hex_latitude":"072407b0","is_valid_coordinates":true} 
[2026-09-08 14:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947989248001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18641992015675392,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909667010163509248,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788859340000,"timestamp_ms":1788859340000,"timestamp_seconds":1788859340,"priority":1,"record_length":96,"hex_timestamp":"000001a0805354e0"} 
[2026-09-08 14:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947989248001,"66":13993,"43":206,"83":42752,"24":39,"16":18641992015675392,"45":1909667010163509248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947989248001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:53:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-08 14:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18641992015675392,"km_value":18641992015675.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909667010163509248,"description":"Unknown IO ID 45"} 
[2026-09-08 14:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947989248001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1909667010163509248}} 
[2026-09-08 14:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":175794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:53:44] local.INFO: GPS data processed {"connection_id":175794,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:53:44] local.INFO: Acknowledgment sent {"connection_id":175794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:53:46] local.INFO: TCP Data received {"connection_id":174469,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:46] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:53:46] local.INFO: IMEI packet received {"connection_id":174469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:53:47] local.INFO: TCP Data received {"connection_id":174469,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805331b8012d4b20c00695cfd8004800a332..."} 
[2026-09-08 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805331b8012d4b20c00695cfd8004800a332..."} 
[2026-09-08 14:53:47] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805331b8012d4b20c00695cfd8004800a332..."} 
[2026-09-08 14:53:47] local.INFO: Packet analysis {"connection_id":174469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:47] local.INFO: Extracted packet for processing {"connection_id":174469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":759898304,"raw_latitude":110481368,"longitude_deg":75.9898304,"latitude_deg":11.0481368,"altitude":72,"angle":163,"satellites":50,"speed":31,"hex_longitude":"2d4b20c0","hex_latitude":"0695cfd8","is_valid_coordinates":true} 
[2026-09-08 14:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947985920001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402760923254620160,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5410371293129414656,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788859331000,"timestamp_ms":1788859331000,"timestamp_seconds":1788859331,"priority":1,"record_length":96,"hex_timestamp":"000001a0805331b8"} 
[2026-09-08 14:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 14:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947985920001,"66":27876,"15":206,"19":48128,"24":31,"16":402760923254620160,"45":5410371293129414656},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947985920001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:53:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:53:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402760923254620160,"km_value":402760923254620.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5410371293129414656,"description":"Unknown IO ID 45"} 
[2026-09-08 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947985920001,"power":27876,"unknown_15":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5410371293129414656}} 
[2026-09-08 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":174469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:53:47] local.INFO: GPS data processed {"connection_id":174469,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:53:47] local.INFO: Acknowledgment sent {"connection_id":174469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:53:48] local.INFO: TCP Data received {"connection_id":174469,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080535cb0012d4b29000695ada8004300ab2b..."} 
[2026-09-08 14:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080535cb0012d4b29000695ada8004300ab2b..."} 
[2026-09-08 14:53:48] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080535cb0012d4b29000695ada8004300ab2b..."} 
[2026-09-08 14:53:48] local.INFO: Packet analysis {"connection_id":174469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:48] local.INFO: Extracted packet for processing {"connection_id":174469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:53:48] local.INFO: GPS Element Parsed {"raw_longitude":759900416,"raw_latitude":110472616,"longitude_deg":75.9900416,"latitude_deg":11.0472616,"altitude":67,"angle":171,"satellites":43,"speed":35,"hex_longitude":"2d4b2900","hex_latitude":"0695ada8","is_valid_coordinates":true} 
[2026-09-08 14:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947988736001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402761361341284352,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5413537886615099392,"note":"Value kept but may cause issues"} 
[2026-09-08 14:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859342000,"timestamp_ms":1788859342000,"timestamp_seconds":1788859342,"priority":1,"record_length":96,"hex_timestamp":"000001a080535cb0"} 
[2026-09-08 14:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 14:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947988736001,"66":27821,"15":206,"19":48128,"24":35,"16":402761361341284352,"45":5413537886615099392},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947988736001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:53:48] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:53:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402761361341284352,"km_value":402761361341284.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5413537886615099392,"description":"Unknown IO ID 45"} 
[2026-09-08 14:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947988736001,"power":27821,"unknown_15":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":5413537886615099392}} 
[2026-09-08 14:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":174469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:53:48] local.INFO: GPS data processed {"connection_id":174469,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:53:48] local.INFO: Acknowledgment sent {"connection_id":174469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:54:11] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:11] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:11] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:54:12] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:12] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:12] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:54:14] local.INFO: TCP Data received {"connection_id":177256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:54:14] local.INFO: Processing buffer {"connection_id":177256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:54:14] local.INFO: IMEI packet received {"connection_id":177256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":177256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:54:15] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:15] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:54:15] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:54:19] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080536868012d1a5d400723fb68002f00dd2b..."} 
[2026-09-08 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080536868012d1a5d400723fb68002f00dd2b..."} 
[2026-09-08 14:54:19] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080536868012d1a5d400723fb68002f00dd2b..."} 
[2026-09-08 14:54:19] local.INFO: Packet analysis {"connection_id":174732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:54:19] local.INFO: Extracted packet for processing {"connection_id":174732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756702528,"raw_latitude":119798632,"longitude_deg":75.6702528,"latitude_deg":11.9798632,"altitude":47,"angle":221,"satellites":43,"speed":40,"hex_longitude":"2d1a5d40","hex_latitude":"0723fb68","is_valid_coordinates":true} 
[2026-09-08 14:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947991040001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18642223943909376,"note":"Value kept but may cause issues"} 
[2026-09-08 14:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666907598848,"note":"Value kept but may cause issues"} 
[2026-09-08 14:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788859345000,"timestamp_ms":1788859345000,"timestamp_seconds":1788859345,"priority":1,"record_length":96,"hex_timestamp":"000001a080536868"} 
[2026-09-08 14:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 14:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947991040001,"66":13928,"43":206,"83":42752,"24":40,"16":18642223943909376,"45":1903685666907598848},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-08 14:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947991040001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:54:19] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 14:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-08 14:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18642223943909376,"km_value":18642223943909.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666907598848,"description":"Unknown IO ID 45"} 
[2026-09-08 14:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947991040001,"power":13928,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1903685666907598848}} 
[2026-09-08 14:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":174732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:54:19] local.INFO: GPS data processed {"connection_id":174732,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:54:19] local.INFO: Acknowledgment sent {"connection_id":174732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:54:23] local.INFO: TCP Data received {"connection_id":174469,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080536c50012d4b2a000695a0a8004000b72e..."} 
[2026-09-08 14:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080536c50012d4b2a000695a0a8004000b72e..."} 
[2026-09-08 14:54:23] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080536c50012d4b2a000695a0a8004000b72e..."} 
[2026-09-08 14:54:23] local.INFO: Packet analysis {"connection_id":174469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:54:23] local.INFO: Extracted packet for processing {"connection_id":174469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:54:23] local.INFO: GPS Element Parsed {"raw_longitude":759900672,"raw_latitude":110469288,"longitude_deg":75.9900672,"latitude_deg":11.0469288,"altitude":64,"angle":183,"satellites":46,"speed":32,"hex_longitude":"2d4b2a00","hex_latitude":"0695a0a8","is_valid_coordinates":true} 
[2026-09-08 14:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947991552001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402761524550041600,"note":"Value kept but may cause issues"} 
[2026-09-08 14:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5415860055170721792,"note":"Value kept but may cause issues"} 
[2026-09-08 14:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788859346000,"timestamp_ms":1788859346000,"timestamp_seconds":1788859346,"priority":1,"record_length":96,"hex_timestamp":"000001a080536c50"} 
[2026-09-08 14:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947991552001,"66":27865,"15":206,"19":48128,"24":32,"16":402761524550041600,"45":5415860055170721792},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947991552001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:54:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:54:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402761524550041600,"km_value":402761524550041.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5415860055170721792,"description":"Unknown IO ID 45"} 
[2026-09-08 14:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947991552001,"power":27865,"unknown_15":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5415860055170721792}} 
[2026-09-08 14:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":174469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:54:23] local.INFO: GPS data processed {"connection_id":174469,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:54:23] local.INFO: Acknowledgment sent {"connection_id":174469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:54:44] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:54:44] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:54:44] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:54:50] local.INFO: TCP Data received {"connection_id":177257,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:50] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:50] local.INFO: IMEI packet received {"connection_id":177257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":177257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:54:51] local.INFO: TCP Data received {"connection_id":177257,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:51] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:51] local.INFO: IMEI packet received {"connection_id":177257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":177257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:54:57] local.INFO: TCP Data received {"connection_id":177257,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:57] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:54:57] local.INFO: IMEI packet received {"connection_id":177257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":177257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:55:00] local.INFO: TCP Data received {"connection_id":177257,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08053be58012d4b298006958340003b00ad30..."} 
[2026-09-08 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08053be58012d4b298006958340003b00ad30..."} 
[2026-09-08 14:55:00] local.INFO: Processing buffer {"connection_id":177257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08053be58012d4b298006958340003b00ad30..."} 
[2026-09-08 14:55:00] local.INFO: Packet analysis {"connection_id":177257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:55:00] local.INFO: Extracted packet for processing {"connection_id":177257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08053"} 
[2026-09-08 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":759900544,"raw_latitude":110461760,"longitude_deg":75.9900544,"latitude_deg":11.046176,"altitude":59,"angle":173,"satellites":48,"speed":6,"hex_longitude":"2d4b2980","hex_latitude":"06958340","is_valid_coordinates":true} 
[2026-09-08 14:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947992576001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402761889622261760,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5416141530146580480,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788859367000,"timestamp_ms":1788859367000,"timestamp_seconds":1788859367,"priority":1,"record_length":96,"hex_timestamp":"000001a08053be58"} 
[2026-09-08 14:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 14:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947992576001,"66":27832,"15":206,"19":48128,"24":6,"16":402761889622261760,"45":5416141530146580480},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 14:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947992576001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:55:00] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 14:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402761889622261760,"km_value":402761889622261.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5416141530146580480,"description":"Unknown IO ID 45"} 
[2026-09-08 14:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947992576001,"power":27832,"unknown_15":206,"unknown_19":48128,"ignition":6,"odometer":null,"unknown_45":5416141530146580480}} 
[2026-09-08 14:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":177257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:55:00] local.INFO: GPS data processed {"connection_id":177257,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:55:00] local.INFO: Acknowledgment sent {"connection_id":177257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:55:35] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:35] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:35] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:55:35] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:35] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:35] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:55:36] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:36] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:36] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:55:40] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:40] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:55:40] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:55:41] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080555c68012d18de800722fae00061012928..."} 
[2026-09-08 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080555c68012d18de800722fae00061012928..."} 
[2026-09-08 14:55:41] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080555c68012d18de800722fae00061012928..."} 
[2026-09-08 14:55:41] local.INFO: Packet analysis {"connection_id":175796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:55:41] local.INFO: Extracted packet for processing {"connection_id":175796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119732960,"longitude_deg":75.6604544,"latitude_deg":11.973296,"altitude":97,"angle":297,"satellites":40,"speed":44,"hex_longitude":"2d18de80","hex_latitude":"0722fae0","is_valid_coordinates":true} 
[2026-09-08 14:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948024576001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18648327092436992,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794191900949284864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788859473000,"timestamp_ms":1788859473000,"timestamp_seconds":1788859473,"priority":1,"record_length":96,"hex_timestamp":"000001a080555c68"} 
[2026-09-08 14:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 14:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948024576001,"66":13972,"238":206,"83":43776,"24":44,"16":18648327092436992,"45":1794191900949284864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-09-08 14:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948024576001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:55:41] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-08 14:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-08 14:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18648327092436992,"km_value":18648327092436.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794191900949284864,"description":"Unknown IO ID 45"} 
[2026-09-08 14:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948024576001,"power":13972,"unknown_238":206,"unknown_83":43776,"ignition":44,"odometer":null,"unknown_45":1794191900949284864}} 
[2026-09-08 14:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":175796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:55:41] local.INFO: GPS data processed {"connection_id":175796,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:55:41] local.INFO: Acknowledgment sent {"connection_id":175796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:55:48] local.INFO: TCP Data received {"connection_id":174470,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:55:48] local.INFO: Processing buffer {"connection_id":174470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:55:48] local.INFO: IMEI packet received {"connection_id":174470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":174470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:55:51] local.INFO: TCP Data received {"connection_id":174470,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:55:51] local.INFO: Processing buffer {"connection_id":174470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:55:51] local.INFO: IMEI packet received {"connection_id":174470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":174470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:55:52] local.INFO: TCP Data received {"connection_id":174470,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080553558012d4bc1400694bf100050008e2f..."} 
[2026-09-08 14:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080553558012d4bc1400694bf100050008e2f..."} 
[2026-09-08 14:55:52] local.INFO: Processing buffer {"connection_id":174470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080553558012d4bc1400694bf100050008e2f..."} 
[2026-09-08 14:55:52] local.INFO: Packet analysis {"connection_id":174470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:55:52] local.INFO: Extracted packet for processing {"connection_id":174470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:55:52] local.INFO: GPS Element Parsed {"raw_longitude":759939392,"raw_latitude":110411536,"longitude_deg":75.9939392,"latitude_deg":11.0411536,"altitude":80,"angle":142,"satellites":47,"speed":32,"hex_longitude":"2d4bc140","hex_latitude":"0694bf10","is_valid_coordinates":true} 
[2026-09-08 14:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948019712001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402765106552766464,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5452170327152713728,"note":"Value kept but may cause issues"} 
[2026-09-08 14:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788859463000,"timestamp_ms":1788859463000,"timestamp_seconds":1788859463,"priority":1,"record_length":96,"hex_timestamp":"000001a080553558"} 
[2026-09-08 14:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 14:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948019712001,"66":27691,"37":206,"19":48128,"24":32,"16":402765106552766464,"45":5452170327152713728},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948019712001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:55:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:55:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402765106552766464,"km_value":402765106552766.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5452170327152713728,"description":"Unknown IO ID 45"} 
[2026-09-08 14:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948019712001,"power":27691,"unknown_37":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5452170327152713728}} 
[2026-09-08 14:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":174470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:55:52] local.INFO: GPS data processed {"connection_id":174470,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:55:52] local.INFO: Acknowledgment sent {"connection_id":174470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:56:06] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:56:06] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:56:06] local.INFO: IMEI packet received {"connection_id":175797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":175797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:56:11] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:56:11] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:56:11] local.INFO: IMEI packet received {"connection_id":175797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":175797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:56:12] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08055e908012d18a84007229650007000b22c..."} 
[2026-09-08 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08055e908012d18a84007229650007000b22c..."} 
[2026-09-08 14:56:12] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08055e908012d18a84007229650007000b22c..."} 
[2026-09-08 14:56:12] local.INFO: Packet analysis {"connection_id":175797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:56:12] local.INFO: Extracted packet for processing {"connection_id":175797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119707216,"longitude_deg":75.6590656,"latitude_deg":11.9707216,"altitude":112,"angle":178,"satellites":44,"speed":37,"hex_longitude":"2d18a840","hex_latitude":"07229650","is_valid_coordinates":true} 
[2026-09-08 14:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948032512001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18650156748505088,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446249377792,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788859509000,"timestamp_ms":1788859509000,"timestamp_seconds":1788859509,"priority":1,"record_length":96,"hex_timestamp":"000001a08055e908"} 
[2026-09-08 14:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 14:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948032512001,"66":13852,"105":206,"83":41984,"24":37,"16":18650156748505088,"45":1775403446249377792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948032512001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:56:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18650156748505088,"km_value":18650156748505.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446249377792,"description":"Unknown IO ID 45"} 
[2026-09-08 14:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948032512001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1775403446249377792}} 
[2026-09-08 14:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":175797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:56:12] local.INFO: GPS data processed {"connection_id":175797,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:56:12] local.INFO: Acknowledgment sent {"connection_id":175797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:56:24] local.INFO: TCP Data received {"connection_id":174470,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080556050012d4bda000694a4a80052008830..."} 
[2026-09-08 14:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080556050012d4bda000694a4a80052008830..."} 
[2026-09-08 14:56:24] local.INFO: Processing buffer {"connection_id":174470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080556050012d4bda000694a4a80052008830..."} 
[2026-09-08 14:56:24] local.INFO: Packet analysis {"connection_id":174470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:56:24] local.INFO: Extracted packet for processing {"connection_id":174470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:56:24] local.INFO: GPS Element Parsed {"raw_longitude":759945728,"raw_latitude":110404776,"longitude_deg":75.9945728,"latitude_deg":11.0404776,"altitude":82,"angle":136,"satellites":48,"speed":33,"hex_longitude":"2d4bda00","hex_latitude":"0694a4a8","is_valid_coordinates":true} 
[2026-09-08 14:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948022528001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402765553229365248,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5458714620359282688,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788859474000,"timestamp_ms":1788859474000,"timestamp_seconds":1788859474,"priority":1,"record_length":96,"hex_timestamp":"000001a080556050"} 
[2026-09-08 14:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 14:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948022528001,"66":27713,"37":206,"19":48128,"24":33,"16":402765553229365248,"45":5458714620359282688},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948022528001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:56:24] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402765553229365248,"km_value":402765553229365.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5458714620359282688,"description":"Unknown IO ID 45"} 
[2026-09-08 14:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948022528001,"power":27713,"unknown_37":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5458714620359282688}} 
[2026-09-08 14:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":174470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:56:24] local.INFO: GPS data processed {"connection_id":174470,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:56:24] local.INFO: Acknowledgment sent {"connection_id":174470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:56:42] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08055fc90012d18a70007228438006f00bf2a..."} 
[2026-09-08 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08055fc90012d18a70007228438006f00bf2a..."} 
[2026-09-08 14:56:42] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08055fc90012d18a70007228438006f00bf2a..."} 
[2026-09-08 14:56:42] local.INFO: Packet analysis {"connection_id":175797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:56:42] local.INFO: Extracted packet for processing {"connection_id":175797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08055"} 
[2026-09-08 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119702584,"longitude_deg":75.6590336,"latitude_deg":11.9702584,"altitude":111,"angle":191,"satellites":42,"speed":37,"hex_longitude":"2d18a700","hex_latitude":"07228438","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948034304001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18650384381771776,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452386885632,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788859514000,"timestamp_ms":1788859514000,"timestamp_seconds":1788859514,"priority":1,"record_length":96,"hex_timestamp":"000001a08055fc90"} 
[2026-09-08 14:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 14:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948034304001,"66":14004,"105":206,"83":41984,"24":37,"16":18650384381771776,"45":1776740452386885632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948034304001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18650384381771776,"km_value":18650384381771.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452386885632,"description":"Unknown IO ID 45"} 
[2026-09-08 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948034304001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1776740452386885632}} 
[2026-09-08 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":175797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:56:42] local.INFO: GPS data processed {"connection_id":175797,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:56:42] local.INFO: Acknowledgment sent {"connection_id":175797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:56:47] local.INFO: TCP Data received {"connection_id":174472,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:56:47] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:56:47] local.INFO: IMEI packet received {"connection_id":174472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:56:48] local.INFO: TCP Data received {"connection_id":174472,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:56:48] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:56:48] local.INFO: IMEI packet received {"connection_id":174472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:56:50] local.INFO: TCP Data received {"connection_id":174472,"ip":"117.224.141.146","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a080..."} 
[2026-09-08 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a080..."} 
[2026-09-08 14:56:50] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a080..."} 
[2026-09-08 14:56:50] local.INFO: IMEI packet received {"connection_id":174472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":174472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:56:52] local.INFO: TCP Data received {"connection_id":174472,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080567d78012d4c52c00693db78001800bb30..."} 
[2026-09-08 14:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080567d78012d4c52c00693db78001800bb30..."} 
[2026-09-08 14:56:52] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0805675a8012d4c53000693e1e8001900ad30..."} 
[2026-09-08 14:56:52] local.INFO: Packet analysis {"connection_id":174472,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:56:52] local.INFO: Extracted packet for processing {"connection_id":174472,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":759976704,"raw_latitude":110354920,"longitude_deg":75.9976704,"latitude_deg":11.035492,"altitude":25,"angle":173,"satellites":48,"speed":32,"hex_longitude":"2d4c5300","hex_latitude":"0693e1e8","is_valid_coordinates":true} 
[2026-09-08 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948042240001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402768417972551680,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5498332223317665792,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788859545000,"timestamp_ms":1788859545000,"timestamp_seconds":1788859545,"priority":1,"record_length":96,"hex_timestamp":"000001a0805675a8"} 
[2026-09-08 14:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 14:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948042240001,"66":27800,"37":206,"19":48128,"24":32,"16":402768417972551680,"45":5498332223317665792},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948042240001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402768417972551680,"km_value":402768417972551.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5498332223317665792,"description":"Unknown IO ID 45"} 
[2026-09-08 14:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948042240001,"power":27800,"unknown_37":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5498332223317665792}} 
[2026-09-08 14:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":174472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:56:52] local.INFO: GPS data processed {"connection_id":174472,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:56:52] local.INFO: Acknowledgment sent {"connection_id":174472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:56:52] local.INFO: Packet analysis {"connection_id":174472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:56:52] local.INFO: Extracted packet for processing {"connection_id":174472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":759976640,"raw_latitude":110353272,"longitude_deg":75.997664,"latitude_deg":11.0353272,"altitude":24,"angle":187,"satellites":48,"speed":36,"hex_longitude":"2d4c52c0","hex_latitude":"0693db78","is_valid_coordinates":true} 
[2026-09-08 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948043520001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402768495281963008,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5499739598200367104,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788859547000,"timestamp_ms":1788859547000,"timestamp_seconds":1788859547,"priority":1,"record_length":96,"hex_timestamp":"000001a080567d78"} 
[2026-09-08 14:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 14:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948043520001,"66":27767,"37":206,"19":48128,"24":36,"16":402768495281963008,"45":5499739598200367104},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948043520001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402768495281963008,"km_value":402768495281963.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5499739598200367104,"description":"Unknown IO ID 45"} 
[2026-09-08 14:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948043520001,"power":27767,"unknown_37":206,"unknown_19":48128,"ignition":36,"odometer":null,"unknown_45":5499739598200367104}} 
[2026-09-08 14:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":174472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:56:52] local.INFO: GPS data processed {"connection_id":174472,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:56:52] local.INFO: Acknowledgment sent {"connection_id":174472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:56:58] local.INFO: TCP Data received {"connection_id":174472,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08056a0a0012d4c51800693bd48001700af2f..."} 
[2026-09-08 14:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08056a0a0012d4c51800693bd48001700af2f..."} 
[2026-09-08 14:56:58] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08056a0a0012d4c51800693bd48001700af2f..."} 
[2026-09-08 14:56:58] local.INFO: Packet analysis {"connection_id":174472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:56:58] local.INFO: Extracted packet for processing {"connection_id":174472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:56:58] local.INFO: GPS Element Parsed {"raw_longitude":759976320,"raw_latitude":110345544,"longitude_deg":75.997632,"latitude_deg":11.0345544,"altitude":23,"angle":175,"satellites":47,"speed":33,"hex_longitude":"2d4c5180","hex_latitude":"0693bd48","is_valid_coordinates":true} 
[2026-09-08 14:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948044032001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402768873239085056,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5499669229455767552,"note":"Value kept but may cause issues"} 
[2026-09-08 14:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788859556000,"timestamp_ms":1788859556000,"timestamp_seconds":1788859556,"priority":1,"record_length":96,"hex_timestamp":"000001a08056a0a0"} 
[2026-09-08 14:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 14:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948044032001,"66":27745,"37":206,"19":48128,"24":33,"16":402768873239085056,"45":5499669229455767552},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948044032001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402768873239085056,"km_value":402768873239085.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5499669229455767552,"description":"Unknown IO ID 45"} 
[2026-09-08 14:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948044032001,"power":27745,"unknown_37":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5499669229455767552}} 
[2026-09-08 14:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":174472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:56:58] local.INFO: GPS data processed {"connection_id":174472,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:56:58] local.INFO: Acknowledgment sent {"connection_id":174472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:57:00] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:57:00] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:57:00] local.INFO: IMEI packet received {"connection_id":177259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":177259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:57:06] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:57:06] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:57:06] local.INFO: IMEI packet received {"connection_id":177259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":177259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:57:06] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080561018012d18a0c0072270f8006c00cb2c..."} 
[2026-09-08 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080561018012d18a0c0072270f8006c00cb2c..."} 
[2026-09-08 14:57:06] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080561018012d18a0c0072270f8006c00cb2c..."} 
[2026-09-08 14:57:06] local.INFO: Packet analysis {"connection_id":177259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:06] local.INFO: Extracted packet for processing {"connection_id":177259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756588736,"raw_latitude":119697656,"longitude_deg":75.6588736,"latitude_deg":11.9697656,"altitude":108,"angle":203,"satellites":44,"speed":45,"hex_longitude":"2d18a0c0","hex_latitude":"072270f8","is_valid_coordinates":true} 
[2026-09-08 14:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948035584001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18650633489874944,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608664811520,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788859519000,"timestamp_ms":1788859519000,"timestamp_seconds":1788859519,"priority":1,"record_length":96,"hex_timestamp":"000001a080561018"} 
[2026-09-08 14:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 14:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948035584001,"66":13928,"105":206,"83":41984,"24":45,"16":18650633489874944,"45":1776388608664811520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948035584001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:57:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18650633489874944,"km_value":18650633489874.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608664811520,"description":"Unknown IO ID 45"} 
[2026-09-08 14:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948035584001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1776388608664811520}} 
[2026-09-08 14:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":177259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:57:07] local.INFO: GPS data processed {"connection_id":177259,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:57:07] local.INFO: Acknowledgment sent {"connection_id":177259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:57:38] local.INFO: TCP Data received {"connection_id":177259,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080562b70012d188f0007225228006500d42c..."} 
[2026-09-08 14:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080562b70012d188f0007225228006500d42c..."} 
[2026-09-08 14:57:38] local.INFO: Processing buffer {"connection_id":177259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080562b70012d188f0007225228006500d42c..."} 
[2026-09-08 14:57:38] local.INFO: Packet analysis {"connection_id":177259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:38] local.INFO: Extracted packet for processing {"connection_id":177259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756584192,"raw_latitude":119689768,"longitude_deg":75.6584192,"latitude_deg":11.9689768,"altitude":101,"angle":212,"satellites":44,"speed":57,"hex_longitude":"2d188f00","hex_latitude":"07225228","is_valid_coordinates":true} 
[2026-09-08 14:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948036864001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18651075871506432,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774629390059108352,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788859526000,"timestamp_ms":1788859526000,"timestamp_seconds":1788859526,"priority":1,"record_length":96,"hex_timestamp":"000001a080562b70"} 
[2026-09-08 14:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 14:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948036864001,"66":13656,"105":206,"83":41984,"24":57,"16":18651075871506432,"45":1774629390059108352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-08 14:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948036864001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:57:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 14:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18651075871506432,"km_value":18651075871506.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774629390059108352,"description":"Unknown IO ID 45"} 
[2026-09-08 14:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948036864001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1774629390059108352}} 
[2026-09-08 14:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":177259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:57:38] local.INFO: GPS data processed {"connection_id":177259,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:57:38] local.INFO: Acknowledgment sent {"connection_id":177259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:57:41] local.INFO: TCP Data received {"connection_id":177260,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:41] local.INFO: Processing buffer {"connection_id":177260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:41] local.INFO: IMEI packet received {"connection_id":177260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":177260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:57:43] local.INFO: TCP Data received {"connection_id":177260,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:43] local.INFO: Processing buffer {"connection_id":177260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:43] local.INFO: IMEI packet received {"connection_id":177260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":177260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:57:46] local.INFO: TCP Data received {"connection_id":177260,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:46] local.INFO: Processing buffer {"connection_id":177260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:57:46] local.INFO: IMEI packet received {"connection_id":177260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":177260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:57:48] local.INFO: TCP Data received {"connection_id":177260,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08056a870012d4c52c00693b708001800a02f..."} 
[2026-09-08 14:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08056a870012d4c52c00693b708001800a02f..."} 
[2026-09-08 14:57:48] local.INFO: Processing buffer {"connection_id":177260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08056a870012d4c52c00693b708001800a02f..."} 
[2026-09-08 14:57:48] local.INFO: Packet analysis {"connection_id":177260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:48] local.INFO: Extracted packet for processing {"connection_id":177260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:48] local.INFO: GPS Element Parsed {"raw_longitude":759976640,"raw_latitude":110343944,"longitude_deg":75.997664,"latitude_deg":11.0343944,"altitude":24,"angle":160,"satellites":47,"speed":30,"hex_longitude":"2d4c52c0","hex_latitude":"0693b708","is_valid_coordinates":true} 
[2026-09-08 14:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948046336001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402768950548496384,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5499317385732900864,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859558000,"timestamp_ms":1788859558000,"timestamp_seconds":1788859558,"priority":1,"record_length":96,"hex_timestamp":"000001a08056a870"} 
[2026-09-08 14:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 14:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948046336001,"66":27669,"37":206,"19":48128,"24":30,"16":402768950548496384,"45":5499317385732900864},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948046336001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:57:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:57:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402768950548496384,"km_value":402768950548496.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5499317385732900864,"description":"Unknown IO ID 45"} 
[2026-09-08 14:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948046336001,"power":27669,"unknown_37":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5499317385732900864}} 
[2026-09-08 14:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":177260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:57:48] local.INFO: GPS data processed {"connection_id":177260,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:57:48] local.INFO: Acknowledgment sent {"connection_id":177260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:57:52] local.INFO: TCP Data received {"connection_id":177260,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08056ac58012d4c54000693b480001900932f..."} 
[2026-09-08 14:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08056ac58012d4c54000693b480001900932f..."} 
[2026-09-08 14:57:52] local.INFO: Processing buffer {"connection_id":177260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08056ac58012d4c54000693b480001900932f..."} 
[2026-09-08 14:57:52] local.INFO: Packet analysis {"connection_id":177260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:52] local.INFO: Extracted packet for processing {"connection_id":177260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08056"} 
[2026-09-08 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":759976960,"raw_latitude":110343296,"longitude_deg":75.997696,"latitude_deg":11.0343296,"altitude":25,"angle":147,"satellites":47,"speed":28,"hex_longitude":"2d4c5400","hex_latitude":"0693b480","is_valid_coordinates":true} 
[2026-09-08 14:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948046848001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402768984908234752,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5499669229453379584,"note":"Value kept but may cause issues"} 
[2026-09-08 14:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788859559000,"timestamp_ms":1788859559000,"timestamp_seconds":1788859559,"priority":1,"record_length":96,"hex_timestamp":"000001a08056ac58"} 
[2026-09-08 14:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-08 14:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948046848001,"66":27669,"37":206,"19":48128,"24":28,"16":402768984908234752,"45":5499669229453379584},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948046848001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:57:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:57:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402768984908234752,"km_value":402768984908234.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5499669229453379584,"description":"Unknown IO ID 45"} 
[2026-09-08 14:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948046848001,"power":27669,"unknown_37":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":5499669229453379584}} 
[2026-09-08 14:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":177260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:57:52] local.INFO: GPS data processed {"connection_id":177260,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:57:52] local.INFO: Acknowledgment sent {"connection_id":177260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:58:00] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:00] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:00] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:58:02] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:02] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:02] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:58:05] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:05] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:05] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:58:05] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:05] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:58:05] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:58:06] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080579e88012d18580007218700004f00752d..."} 
[2026-09-08 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080579e88012d18580007218700004f00752d..."} 
[2026-09-08 14:58:06] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080579e88012d18580007218700004f00752d..."} 
[2026-09-08 14:58:06] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08057"} 
[2026-09-08 14:58:06] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08057"} 
[2026-09-08 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119637760,"longitude_deg":75.6570112,"latitude_deg":11.963776,"altitude":79,"angle":117,"satellites":45,"speed":43,"hex_longitude":"2d185800","hex_latitude":"07218700","is_valid_coordinates":true} 
[2026-09-08 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948059904001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18654430240964608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071688704,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788859621000,"timestamp_ms":1788859621000,"timestamp_seconds":1788859621,"priority":1,"record_length":96,"hex_timestamp":"000001a080579e88"} 
[2026-09-08 14:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 14:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948059904001,"66":14363,"106":206,"83":41984,"24":43,"16":18654430240964608,"45":1744089355071688704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 14:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948059904001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:58:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 14:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18654430240964608,"km_value":18654430240964.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071688704,"description":"Unknown IO ID 45"} 
[2026-09-08 14:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948059904001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1744089355071688704}} 
[2026-09-08 14:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:58:06] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:58:06] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:58:11] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08057aa40012d186480072181e0004e00672c..."} 
[2026-09-08 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08057aa40012d186480072181e0004e00672c..."} 
[2026-09-08 14:58:11] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08057aa40012d186480072181e0004e00672c..."} 
[2026-09-08 14:58:11] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08057"} 
[2026-09-08 14:58:11] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08057"} 
[2026-09-08 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636448,"longitude_deg":75.6573312,"latitude_deg":11.9636448,"altitude":78,"angle":103,"satellites":44,"speed":44,"hex_longitude":"2d186480","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948062976001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18654593449721856,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085488074752,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788859624000,"timestamp_ms":1788859624000,"timestamp_seconds":1788859624,"priority":1,"record_length":96,"hex_timestamp":"000001a08057aa40"} 
[2026-09-08 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-09-08 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 14:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948062976001,"66":14374,"106":206,"83":41984,"24":44,"16":18654593449721856,"45":1754152085488074752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-08 14:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948062976001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18654593449721856,"km_value":18654593449721.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085488074752,"description":"Unknown IO ID 45"} 
[2026-09-08 14:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948062976001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1754152085488074752}} 
[2026-09-08 14:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:58:11] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:58:11] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:58:25] local.INFO: TCP Data received {"connection_id":177260,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080582740012d4c6080069306d0001e00ab2e..."} 
[2026-09-08 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080582740012d4c6080069306d0001e00ab2e..."} 
[2026-09-08 14:58:25] local.INFO: Processing buffer {"connection_id":177260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080582740012d4c6080069306d0001e00ab2e..."} 
[2026-09-08 14:58:25] local.INFO: Packet analysis {"connection_id":177260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:58:25] local.INFO: Extracted packet for processing {"connection_id":177260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:58:25] local.INFO: GPS Element Parsed {"raw_longitude":759980160,"raw_latitude":110298832,"longitude_deg":75.998016,"latitude_deg":11.0298832,"altitude":30,"angle":171,"satellites":46,"speed":29,"hex_longitude":"2d4c6080","hex_latitude":"069306d0","is_valid_coordinates":true} 
[2026-09-08 14:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948071424001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402771510349004800,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5503469141627791360,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788859656000,"timestamp_ms":1788859656000,"timestamp_seconds":1788859656,"priority":1,"record_length":96,"hex_timestamp":"000001a080582740"} 
[2026-09-08 14:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 14:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948071424001,"66":27800,"37":206,"19":48128,"24":29,"16":402771510349004800,"45":5503469141627791360},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948071424001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:58:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:58:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402771510349004800,"km_value":402771510349004.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5503469141627791360,"description":"Unknown IO ID 45"} 
[2026-09-08 14:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948071424001,"power":27800,"unknown_37":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":5503469141627791360}} 
[2026-09-08 14:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":177260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:58:25] local.INFO: GPS data processed {"connection_id":177260,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:58:25] local.INFO: Acknowledgment sent {"connection_id":177260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:58:42] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080587948012d18d7800720fee8003a00972d..."} 
[2026-09-08 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080587948012d18d7800720fee8003a00972d..."} 
[2026-09-08 14:58:42] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080587948012d18d7800720fee8003a00972d..."} 
[2026-09-08 14:58:42] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:58:42] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602920,"longitude_deg":75.6602752,"latitude_deg":11.960292,"altitude":58,"angle":151,"satellites":45,"speed":40,"hex_longitude":"2d18d780","hex_latitude":"0720fee8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948076288001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18657075940818944,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871429120,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788859677000,"timestamp_ms":1788859677000,"timestamp_seconds":1788859677,"priority":1,"record_length":96,"hex_timestamp":"000001a080587948"} 
[2026-09-08 14:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 14:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948076288001,"66":14374,"103":206,"83":41984,"24":40,"16":18657075940818944,"45":1788703138871429120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 14:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948076288001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18657075940818944,"km_value":18657075940818.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871429120,"description":"Unknown IO ID 45"} 
[2026-09-08 14:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948076288001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1788703138871429120}} 
[2026-09-08 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:58:42] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:58:42] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:58:42] local.INFO: TCP Data received {"connection_id":174473,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:58:42] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:58:42] local.INFO: IMEI packet received {"connection_id":174473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":174473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:58:47] local.INFO: TCP Data received {"connection_id":174473,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:58:47] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:58:47] local.INFO: IMEI packet received {"connection_id":174473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:58:48] local.INFO: TCP Data received {"connection_id":174473,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805836e0012d4c61000692fc08001d00be30..."} 
[2026-09-08 14:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805836e0012d4c61000692fc08001d00be30..."} 
[2026-09-08 14:58:48] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805836e0012d4c61000692fc08001d00be30..."} 
[2026-09-08 14:58:48] local.INFO: Packet analysis {"connection_id":174473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:58:48] local.INFO: Extracted packet for processing {"connection_id":174473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:58:48] local.INFO: GPS Element Parsed {"raw_longitude":759980288,"raw_latitude":110296072,"longitude_deg":75.9980288,"latitude_deg":11.0296072,"altitude":29,"angle":190,"satellites":48,"speed":25,"hex_longitude":"2d4c6100","hex_latitude":"0692fc08","is_valid_coordinates":true} 
[2026-09-08 14:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948071936001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402771647787958272,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5503539510371602432,"note":"Value kept but may cause issues"} 
[2026-09-08 14:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859660000,"timestamp_ms":1788859660000,"timestamp_seconds":1788859660,"priority":1,"record_length":96,"hex_timestamp":"000001a0805836e0"} 
[2026-09-08 14:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 14:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948071936001,"66":27908,"37":206,"19":48128,"24":25,"16":402771647787958272,"45":5503539510371602432},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-09-08 14:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948071936001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:58:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 14:58:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402771647787958272,"km_value":402771647787958.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5503539510371602432,"description":"Unknown IO ID 45"} 
[2026-09-08 14:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948071936001,"power":27908,"unknown_37":206,"unknown_19":48128,"ignition":25,"odometer":null,"unknown_45":5503539510371602432}} 
[2026-09-08 14:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":174473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:58:48] local.INFO: GPS data processed {"connection_id":174473,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:58:48] local.INFO: Acknowledgment sent {"connection_id":174473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:59:02] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:02] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:02] local.INFO: IMEI packet received {"connection_id":177262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 14:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":177262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:59:06] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:06] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:06] local.INFO: IMEI packet received {"connection_id":177262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":177262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:59:06] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:06] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:06] local.INFO: IMEI packet received {"connection_id":177262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":177262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:59:09] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:09] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 14:59:09] local.INFO: IMEI packet received {"connection_id":177262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":177262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:59:10] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a080588118012d18dcc00720f8c0003a00872e..."} 
[2026-09-08 14:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080588118012d18dcc00720f8c0003a00872e..."} 
[2026-09-08 14:59:10] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080588118012d18dcc00720f8c0003a00872e..."} 
[2026-09-08 14:59:10] local.INFO: Packet analysis {"connection_id":177262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:59:10] local.INFO: Extracted packet for processing {"connection_id":177262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119601344,"longitude_deg":75.6604096,"latitude_deg":11.9601344,"altitude":58,"angle":135,"satellites":46,"speed":39,"hex_longitude":"2d18dcc0","hex_latitude":"0720f8c0","is_valid_coordinates":true} 
[2026-09-08 14:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948077312001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18657174725066752,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009764352,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788859679000,"timestamp_ms":1788859679000,"timestamp_seconds":1788859679,"priority":1,"record_length":96,"hex_timestamp":"000001a080588118"} 
[2026-09-08 14:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 14:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948077312001,"66":13124,"103":206,"83":41984,"24":39,"16":18657174725066752,"45":1790040145009764352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 14:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948077312001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:59:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 14:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18657174725066752,"km_value":18657174725066.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009764352,"description":"Unknown IO ID 45"} 
[2026-09-08 14:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948077312001,"power":13124,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1790040145009764352}} 
[2026-09-08 14:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":177262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:59:10] local.INFO: GPS data processed {"connection_id":177262,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:59:10] local.INFO: Acknowledgment sent {"connection_id":177262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:59:11] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805890b8012d18e6c00720ecc8003900962e..."} 
[2026-09-08 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805890b8012d18e6c00720ecc8003900962e..."} 
[2026-09-08 14:59:11] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805890b8012d18e6c00720ecc8003900962e..."} 
[2026-09-08 14:59:11] local.INFO: Packet analysis {"connection_id":177262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:59:11] local.INFO: Extracted packet for processing {"connection_id":177262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756606656,"raw_latitude":119598280,"longitude_deg":75.6606656,"latitude_deg":11.959828,"altitude":57,"angle":150,"satellites":46,"speed":39,"hex_longitude":"2d18e6c0","hex_latitude":"0720ecc8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948077824001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18657367998595072,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888637091840,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788859683000,"timestamp_ms":1788859683000,"timestamp_seconds":1788859683,"priority":1,"record_length":96,"hex_timestamp":"000001a0805890b8"} 
[2026-09-08 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-09-08 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948077824001,"66":14374,"103":206,"83":41984,"24":39,"16":18657367998595072,"45":1791517888637091840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948077824001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18657367998595072,"km_value":18657367998595.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888637091840,"description":"Unknown IO ID 45"} 
[2026-09-08 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948077824001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1791517888637091840}} 
[2026-09-08 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":177262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:59:11] local.INFO: GPS data processed {"connection_id":177262,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:59:11] local.INFO: Acknowledgment sent {"connection_id":177262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:59:19] local.INFO: TCP Data received {"connection_id":174473,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805909d0012d4c76000692cd080012005a31..."} 
[2026-09-08 14:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805909d0012d4c76000692cd080012005a31..."} 
[2026-09-08 14:59:19] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805909d0012d4c76000692cd080012005a31..."} 
[2026-09-08 14:59:19] local.INFO: Packet analysis {"connection_id":174473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 14:59:19] local.INFO: Extracted packet for processing {"connection_id":174473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 14:59:19] local.INFO: GPS Element Parsed {"raw_longitude":759985664,"raw_latitude":110284040,"longitude_deg":75.9985664,"latitude_deg":11.028404,"altitude":18,"angle":90,"satellites":49,"speed":13,"hex_longitude":"2d4c7600","hex_latitude":"0692cd08","is_valid_coordinates":true} 
[2026-09-08 14:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 14:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948086528001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402772725824749568,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509169009902020608,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788859714000,"timestamp_ms":1788859714000,"timestamp_seconds":1788859714,"priority":1,"record_length":96,"hex_timestamp":"000001a0805909d0"} 
[2026-09-08 14:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 14:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 14:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948086528001,"66":27713,"36":206,"19":48128,"24":13,"16":402772725824749568,"45":5509169009902020608},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 14:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948086528001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:59:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 14:59:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402772725824749568,"km_value":402772725824749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509169009902020608,"description":"Unknown IO ID 45"} 
[2026-09-08 14:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948086528001,"power":27713,"unknown_36":206,"unknown_19":48128,"ignition":13,"odometer":null,"unknown_45":5509169009902020608}} 
[2026-09-08 14:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":174473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:59:19] local.INFO: GPS data processed {"connection_id":174473,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:59:19] local.INFO: Acknowledgment sent {"connection_id":174473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:59:41] local.INFO: TCP Data received {"connection_id":175799,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:59:41] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:59:41] local.INFO: IMEI packet received {"connection_id":175799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 14:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":175799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 14:59:42] local.INFO: TCP Data received {"connection_id":177262,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08058a828012d18f4800720d848003700882d..."} 
[2026-09-08 14:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08058a828012d18f4800720d848003700882d..."} 
[2026-09-08 14:59:42] local.INFO: Processing buffer {"connection_id":177262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08058a828012d18f4800720d848003700882d..."} 
[2026-09-08 14:59:42] local.INFO: Packet analysis {"connection_id":177262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:59:42] local.INFO: Extracted packet for processing {"connection_id":177262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 14:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756610176,"raw_latitude":119593032,"longitude_deg":75.6610176,"latitude_deg":11.9593032,"altitude":55,"angle":136,"satellites":45,"speed":42,"hex_longitude":"2d18f480","hex_latitude":"0720d848","is_valid_coordinates":true} 
[2026-09-08 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-09-08 14:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948078848001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18657672941273088,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794332638403414016,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788859689000,"timestamp_ms":1788859689000,"timestamp_seconds":1788859689,"priority":1,"record_length":96,"hex_timestamp":"000001a08058a828"} 
[2026-09-08 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-09-08 14:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 14:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 14:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 14:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 14:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 14:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948078848001,"66":14102,"103":206,"83":41984,"24":42,"16":18657672941273088,"45":1794332638403414016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 14:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 14:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 14:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948078848001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:59:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 14:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 14:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18657672941273088,"km_value":18657672941273.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794332638403414016,"description":"Unknown IO ID 45"} 
[2026-09-08 14:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948078848001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1794332638403414016}} 
[2026-09-08 14:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":177262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:59:42] local.INFO: GPS data processed {"connection_id":177262,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:59:42] local.INFO: Acknowledgment sent {"connection_id":177262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:59:47] local.INFO: TCP Data received {"connection_id":175799,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:59:47] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 14:59:47] local.INFO: IMEI packet received {"connection_id":175799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 14:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":175799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 14:59:48] local.INFO: TCP Data received {"connection_id":175799,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805911a0012d4c79400692cca00012006732..."} 
[2026-09-08 14:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805911a0012d4c79400692cca00012006732..."} 
[2026-09-08 14:59:48] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805911a0012d4c79400692cca00012006732..."} 
[2026-09-08 14:59:48] local.INFO: Packet analysis {"connection_id":175799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 14:59:48] local.INFO: Extracted packet for processing {"connection_id":175799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 14:59:48] local.INFO: GPS Element Parsed {"raw_longitude":759986496,"raw_latitude":110283936,"longitude_deg":75.9986496,"latitude_deg":11.0283936,"altitude":18,"angle":103,"satellites":50,"speed":15,"hex_longitude":"2d4c7940","hex_latitude":"0692cca0","is_valid_coordinates":true} 
[2026-09-08 14: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-09-08 14:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948086784001,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402772768774422528,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509591222367094784,"note":"Value kept but may cause issues"} 
[2026-09-08 14:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 14:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859716000,"timestamp_ms":1788859716000,"timestamp_seconds":1788859716,"priority":1,"record_length":96,"hex_timestamp":"000001a0805911a0"} 
[2026-09-08 14:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 14:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 14: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 14:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 14: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-09-08 14:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 14:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 14:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 14:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 14:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 14:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 14:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 14:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948086784001,"66":27865,"36":206,"19":48128,"24":15,"16":402772768774422528,"45":5509591222367094784},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 14:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 14:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 14:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948086784001,"description":"Unknown IO ID 0"} 
[2026-09-08 14:59:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 14:59:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 14:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402772768774422528,"km_value":402772768774422.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 14:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509591222367094784,"description":"Unknown IO ID 45"} 
[2026-09-08 14:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948086784001,"power":27865,"unknown_36":206,"unknown_19":48128,"ignition":15,"odometer":null,"unknown_45":5509591222367094784}} 
[2026-09-08 14:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":175799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 14:59:48] local.INFO: GPS data processed {"connection_id":175799,"processed":1,"errors":0,"total":1} 
[2026-09-08 14:59:48] local.INFO: Acknowledgment sent {"connection_id":175799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 14:59:49] local.INFO: TCP Data received {"connection_id":174733,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:59:49] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 14:59:49] local.INFO: IMEI packet received {"connection_id":174733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 14:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:00:01] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:00:01] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:00:01] local.INFO: IMEI packet received {"connection_id":174734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":174734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:00:06] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:00:06] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:00:06] local.INFO: IMEI packet received {"connection_id":174734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":174734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:00:07] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08058b3e0012d18ff000720d0900036007c2d..."} 
[2026-09-08 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08058b3e0012d18ff000720d0900036007c2d..."} 
[2026-09-08 15:00:07] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08058b3e0012d18ff000720d0900036007c2d..."} 
[2026-09-08 15:00:07] local.INFO: Packet analysis {"connection_id":174734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 15:00:07] local.INFO: Extracted packet for processing {"connection_id":174734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756612864,"raw_latitude":119591056,"longitude_deg":75.6612864,"latitude_deg":11.9591056,"altitude":54,"angle":124,"satellites":45,"speed":43,"hex_longitude":"2d18ff00","hex_latitude":"0720d090","is_valid_coordinates":true} 
[2026-09-08 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948080384001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18657831855063040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798202919331842048,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788859692000,"timestamp_ms":1788859692000,"timestamp_seconds":1788859692,"priority":1,"record_length":96,"hex_timestamp":"000001a08058b3e0"} 
[2026-09-08 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948080384001,"66":14070,"103":206,"83":41984,"24":43,"16":18657831855063040,"45":1798202919331842048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948080384001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18657831855063040,"km_value":18657831855063.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798202919331842048,"description":"Unknown IO ID 45"} 
[2026-09-08 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948080384001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1798202919331842048}} 
[2026-09-08 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":174734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:00:07] local.INFO: GPS data processed {"connection_id":174734,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:00:07] local.INFO: Acknowledgment sent {"connection_id":174734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:00:19] local.INFO: TCP Data received {"connection_id":175799,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080591970012d4c7c800692cb600011007532..."} 
[2026-09-08 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080591970012d4c7c800692cb600011007532..."} 
[2026-09-08 15:00:19] local.INFO: Processing buffer {"connection_id":175799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080591970012d4c7c800692cb600011007532..."} 
[2026-09-08 15:00:19] local.INFO: Packet analysis {"connection_id":175799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:00:19] local.INFO: Extracted packet for processing {"connection_id":175799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:00:19] local.INFO: GPS Element Parsed {"raw_longitude":759987328,"raw_latitude":110283616,"longitude_deg":75.9987328,"latitude_deg":11.0283616,"altitude":17,"angle":117,"satellites":50,"speed":19,"hex_longitude":"2d4c7c80","hex_latitude":"0692cb60","is_valid_coordinates":true} 
[2026-09-08 15:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948087296001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402772811724095488,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5510506016041377792,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788859718000,"timestamp_ms":1788859718000,"timestamp_seconds":1788859718,"priority":1,"record_length":96,"hex_timestamp":"000001a080591970"} 
[2026-09-08 15:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 15:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948087296001,"66":27908,"36":206,"19":48128,"24":19,"16":402772811724095488,"45":5510506016041377792},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948087296001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:00:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:00:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402772811724095488,"km_value":402772811724095.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5510506016041377792,"description":"Unknown IO ID 45"} 
[2026-09-08 15:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948087296001,"power":27908,"unknown_36":206,"unknown_19":48128,"ignition":19,"odometer":null,"unknown_45":5510506016041377792}} 
[2026-09-08 15:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":175799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:00:19] local.INFO: GPS data processed {"connection_id":175799,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:00:19] local.INFO: Acknowledgment sent {"connection_id":175799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:00:37] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a08058cf38012d191d000720c1180030006e2d..."} 
[2026-09-08 15:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08058cf38012d191d000720c1180030006e2d..."} 
[2026-09-08 15:00:37] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08058cf38012d191d000720c1180030006e2d..."} 
[2026-09-08 15:00:37] local.INFO: Packet analysis {"connection_id":174734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 15:00:37] local.INFO: Extracted packet for processing {"connection_id":174734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08058"} 
[2026-09-08 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756620544,"raw_latitude":119587096,"longitude_deg":75.6620544,"latitude_deg":11.9587096,"altitude":48,"angle":110,"satellites":45,"speed":53,"hex_longitude":"2d191d00","hex_latitude":"0720c118","is_valid_coordinates":true} 
[2026-09-08 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948081152001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18658248466890752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801158406586798080,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788859699000,"timestamp_ms":1788859699000,"timestamp_seconds":1788859699,"priority":1,"record_length":96,"hex_timestamp":"000001a08058cf38"} 
[2026-09-08 15:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 15:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948081152001,"66":14048,"103":206,"83":41984,"24":53,"16":18658248466890752,"45":1801158406586798080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 15:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948081152001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18658248466890752,"km_value":18658248466890.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801158406586798080,"description":"Unknown IO ID 45"} 
[2026-09-08 15:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948081152001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1801158406586798080}} 
[2026-09-08 15:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":174734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:00:37] local.INFO: GPS data processed {"connection_id":174734,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:00:37] local.INFO: Acknowledgment sent {"connection_id":174734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:00:41] local.INFO: TCP Data received {"connection_id":177263,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:00:41] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:00:41] local.INFO: IMEI packet received {"connection_id":177263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":177263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:00:47] local.INFO: TCP Data received {"connection_id":177263,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:00:47] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:00:47] local.INFO: IMEI packet received {"connection_id":177263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":177263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:00:48] local.INFO: TCP Data received {"connection_id":177263,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080592528012d4c81800692c8200011008132..."} 
[2026-09-08 15:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080592528012d4c81800692c8200011008132..."} 
[2026-09-08 15:00:48] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080592528012d4c81800692c8200011008132..."} 
[2026-09-08 15:00:48] local.INFO: Packet analysis {"connection_id":177263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:00:48] local.INFO: Extracted packet for processing {"connection_id":177263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:00:48] local.INFO: GPS Element Parsed {"raw_longitude":759988608,"raw_latitude":110282784,"longitude_deg":75.9988608,"latitude_deg":11.0282784,"altitude":17,"angle":129,"satellites":50,"speed":20,"hex_longitude":"2d4c8180","hex_latitude":"0692c820","is_valid_coordinates":true} 
[2026-09-08 15:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948087808001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402772884738539520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511420809715605504,"note":"Value kept but may cause issues"} 
[2026-09-08 15:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859721000,"timestamp_ms":1788859721000,"timestamp_seconds":1788859721,"priority":1,"record_length":96,"hex_timestamp":"000001a080592528"} 
[2026-09-08 15:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 15:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948087808001,"66":27713,"36":206,"19":48128,"24":20,"16":402772884738539520,"45":5511420809715605504},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948087808001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:00:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:00:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402772884738539520,"km_value":402772884738539.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511420809715605504,"description":"Unknown IO ID 45"} 
[2026-09-08 15:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948087808001,"power":27713,"unknown_36":206,"unknown_19":48128,"ignition":20,"odometer":null,"unknown_45":5511420809715605504}} 
[2026-09-08 15:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":177263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:00:48] local.INFO: GPS data processed {"connection_id":177263,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:00:48] local.INFO: Acknowledgment sent {"connection_id":177263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:01:00] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:00] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:00] local.INFO: IMEI packet received {"connection_id":174475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:01:02] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:02] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:02] local.INFO: IMEI packet received {"connection_id":174475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":174475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:01:02] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:02] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:01:02] local.INFO: IMEI packet received {"connection_id":174475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":174475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:01:03] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805a55d8012d198cc00720b3b00032005d2f..."} 
[2026-09-08 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805a55d8012d198cc00720b3b00032005d2f..."} 
[2026-09-08 15:01:03] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805a55d8012d198cc00720b3b00032005d2f..."} 
[2026-09-08 15:01:03] local.INFO: Packet analysis {"connection_id":174475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805a"} 
[2026-09-08 15:01:03] local.INFO: Extracted packet for processing {"connection_id":174475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805a"} 
[2026-09-08 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583664,"longitude_deg":75.6649152,"latitude_deg":11.9583664,"altitude":50,"angle":93,"satellites":47,"speed":29,"hex_longitude":"2d198cc0","hex_latitude":"0720b3b0","is_valid_coordinates":true} 
[2026-09-08 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948107776001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18659734525575168,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315975751680,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788859799000,"timestamp_ms":1788859799000,"timestamp_seconds":1788859799,"priority":1,"record_length":96,"hex_timestamp":"000001a0805a55d8"} 
[2026-09-08 15:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948107776001,"66":14341,"103":206,"83":41984,"24":29,"16":18659734525575168,"45":1838735315975751680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-08 15:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948107776001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:01:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-08 15:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18659734525575168,"km_value":18659734525575.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315975751680,"description":"Unknown IO ID 45"} 
[2026-09-08 15:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948107776001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1838735315975751680}} 
[2026-09-08 15:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":174475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:01:03] local.INFO: GPS data processed {"connection_id":174475,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:01:03] local.INFO: Acknowledgment sent {"connection_id":174475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:01:20] local.INFO: TCP Data received {"connection_id":177263,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805963a8012d4c9f000692b2680010007d32..."} 
[2026-09-08 15:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805963a8012d4c9f000692b2680010007d32..."} 
[2026-09-08 15:01:20] local.INFO: Processing buffer {"connection_id":177263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805963a8012d4c9f000692b2680010007d32..."} 
[2026-09-08 15:01:20] local.INFO: Packet analysis {"connection_id":177263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:01:20] local.INFO: Extracted packet for processing {"connection_id":177263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:01:20] local.INFO: GPS Element Parsed {"raw_longitude":759996160,"raw_latitude":110277224,"longitude_deg":75.999616,"latitude_deg":11.0277224,"altitude":16,"angle":125,"satellites":50,"speed":22,"hex_longitude":"2d4c9f00","hex_latitude":"0692b268","is_valid_coordinates":true} 
[2026-09-08 15:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948088576001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402773331415138304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5512828184598945792,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788859737000,"timestamp_ms":1788859737000,"timestamp_seconds":1788859737,"priority":1,"record_length":96,"hex_timestamp":"000001a0805963a8"} 
[2026-09-08 15:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 15:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948088576001,"66":27908,"36":206,"19":48128,"24":22,"16":402773331415138304,"45":5512828184598945792},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948088576001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:01:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:01:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402773331415138304,"km_value":402773331415138.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5512828184598945792,"description":"Unknown IO ID 45"} 
[2026-09-08 15:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948088576001,"power":27908,"unknown_36":206,"unknown_19":48128,"ignition":22,"odometer":null,"unknown_45":5512828184598945792}} 
[2026-09-08 15:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":177263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:01:20] local.INFO: GPS data processed {"connection_id":177263,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:01:20] local.INFO: Acknowledgment sent {"connection_id":177263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:01:34] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805b1158012d19c00007203408002f009e2c..."} 
[2026-09-08 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805b1158012d19c00007203408002f009e2c..."} 
[2026-09-08 15:01:34] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805b1158012d19c00007203408002f009e2c..."} 
[2026-09-08 15:01:34] local.INFO: Packet analysis {"connection_id":174475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805b"} 
[2026-09-08 15:01:34] local.INFO: Extracted packet for processing {"connection_id":174475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805b"} 
[2026-09-08 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119550984,"longitude_deg":75.6662272,"latitude_deg":11.9550984,"altitude":47,"angle":158,"satellites":44,"speed":47,"hex_longitude":"2d19c000","hex_latitude":"07203408","is_valid_coordinates":true} 
[2026-09-08 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948120320001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18661869124321280,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389640497152,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788859847000,"timestamp_ms":1788859847000,"timestamp_seconds":1788859847,"priority":1,"record_length":96,"hex_timestamp":"000001a0805b1158"} 
[2026-09-08 15:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 15:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948120320001,"66":13917,"101":206,"83":41984,"24":47,"16":18661869124321280,"45":1854779389640497152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 15:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948120320001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:01:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 15:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18661869124321280,"km_value":18661869124321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389640497152,"description":"Unknown IO ID 45"} 
[2026-09-08 15:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948120320001,"power":13917,"unknown_101":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1854779389640497152}} 
[2026-09-08 15:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":174475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:01:34] local.INFO: GPS data processed {"connection_id":174475,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:01:34] local.INFO: Acknowledgment sent {"connection_id":174475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:01:47] local.INFO: TCP Data received {"connection_id":177265,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:01:47] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:01:47] local.INFO: IMEI packet received {"connection_id":177265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":177265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:01:52] local.INFO: TCP Data received {"connection_id":177265,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:01:52] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:01:52] local.INFO: IMEI packet received {"connection_id":177265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":177265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:01:54] local.INFO: TCP Data received {"connection_id":177265,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08059a228012d4cbc0006929cc00012008230..."} 
[2026-09-08 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08059a228012d4cbc0006929cc00012008230..."} 
[2026-09-08 15:01:54] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08059a228012d4cbc0006929cc00012008230..."} 
[2026-09-08 15:01:54] local.INFO: Packet analysis {"connection_id":177265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:01:54] local.INFO: Extracted packet for processing {"connection_id":177265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760003584,"raw_latitude":110271680,"longitude_deg":76.0003584,"latitude_deg":11.027168,"altitude":18,"angle":130,"satellites":48,"speed":23,"hex_longitude":"2d4cbc00","hex_latitude":"06929cc0","is_valid_coordinates":true} 
[2026-09-08 15:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948092672001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402773778091737088,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521131696410486784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788859753000,"timestamp_ms":1788859753000,"timestamp_seconds":1788859753,"priority":1,"record_length":96,"hex_timestamp":"000001a08059a228"} 
[2026-09-08 15:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 15:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948092672001,"66":27843,"36":206,"19":48128,"24":23,"16":402773778091737088,"45":5521131696410486784},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948092672001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:01:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402773778091737088,"km_value":402773778091737.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521131696410486784,"description":"Unknown IO ID 45"} 
[2026-09-08 15:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948092672001,"power":27843,"unknown_36":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":5521131696410486784}} 
[2026-09-08 15:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":177265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:01:54] local.INFO: GPS data processed {"connection_id":177265,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:01:54] local.INFO: Acknowledgment sent {"connection_id":177265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:01:57] local.INFO: TCP Data received {"connection_id":177265,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08059a9f8012d4cbec0069299980012009631..."} 
[2026-09-08 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08059a9f8012d4cbec0069299980012009631..."} 
[2026-09-08 15:01:57] local.INFO: Processing buffer {"connection_id":177265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08059a9f8012d4cbec0069299980012009631..."} 
[2026-09-08 15:01:57] local.INFO: Packet analysis {"connection_id":177265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:01:57] local.INFO: Extracted packet for processing {"connection_id":177265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":760004288,"raw_latitude":110270872,"longitude_deg":76.0004288,"latitude_deg":11.0270872,"altitude":18,"angle":150,"satellites":49,"speed":19,"hex_longitude":"2d4cbec0","hex_latitude":"06929998","is_valid_coordinates":true} 
[2026-09-08 15:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948096768001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402773825336377344,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529294470733676544,"note":"Value kept but may cause issues"} 
[2026-09-08 15:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788859755000,"timestamp_ms":1788859755000,"timestamp_seconds":1788859755,"priority":1,"record_length":96,"hex_timestamp":"000001a08059a9f8"} 
[2026-09-08 15:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 15:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948096768001,"66":27647,"36":206,"19":48128,"24":19,"16":402773825336377344,"45":5529294470733676544},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948096768001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:01:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:01:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402773825336377344,"km_value":402773825336377.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529294470733676544,"description":"Unknown IO ID 45"} 
[2026-09-08 15:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948096768001,"power":27647,"unknown_36":206,"unknown_19":48128,"ignition":19,"odometer":null,"unknown_45":5529294470733676544}} 
[2026-09-08 15:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":177265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:01:57] local.INFO: GPS data processed {"connection_id":177265,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:01:57] local.INFO: Acknowledgment sent {"connection_id":177265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:02:01] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:01] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:01] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:02:01] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:01] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:01] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:02:05] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:05] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:02:05] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:02:06] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805b2cb0012d19ce8007201670002f008f2c..."} 
[2026-09-08 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805b2cb0012d19ce8007201670002f008f2c..."} 
[2026-09-08 15:02:06] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805b2cb0012d19ce8007201670002f008f2c..."} 
[2026-09-08 15:02:06] local.INFO: Packet analysis {"connection_id":174476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805b"} 
[2026-09-08 15:02:06] local.INFO: Extracted packet for processing {"connection_id":174476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805b"} 
[2026-09-08 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543408,"longitude_deg":75.6665984,"latitude_deg":11.9543408,"altitude":47,"angle":143,"satellites":44,"speed":45,"hex_longitude":"2d19ce80","hex_latitude":"07201670","is_valid_coordinates":true} 
[2026-09-08 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948120832001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18662272851247104,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077081696256,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788859854000,"timestamp_ms":1788859854000,"timestamp_seconds":1788859854,"priority":1,"record_length":96,"hex_timestamp":"000001a0805b2cb0"} 
[2026-09-08 15:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-08 15:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948120832001,"66":13961,"101":206,"83":41984,"24":45,"16":18662272851247104,"45":1855483077081696256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 15:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948120832001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:02:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 15:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18662272851247104,"km_value":18662272851247.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077081696256,"description":"Unknown IO ID 45"} 
[2026-09-08 15:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948120832001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1855483077081696256}} 
[2026-09-08 15:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":174476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:02:06] local.INFO: GPS data processed {"connection_id":174476,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:02:06] local.INFO: Acknowledgment sent {"connection_id":174476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:02:36] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805c1710012d1aa000071f9c00003600802b..."} 
[2026-09-08 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805c1710012d1aa000071f9c00003600802b..."} 
[2026-09-08 15:02:36] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805c1710012d1aa000071f9c00003600802b..."} 
[2026-09-08 15:02:36] local.INFO: Packet analysis {"connection_id":174476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805c"} 
[2026-09-08 15:02:36] local.INFO: Extracted packet for processing {"connection_id":174476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805c"} 
[2026-09-08 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756719616,"raw_latitude":119512064,"longitude_deg":75.6719616,"latitude_deg":11.9512064,"altitude":54,"angle":128,"satellites":43,"speed":43,"hex_longitude":"2d1aa000","hex_latitude":"071f9c00","is_valid_coordinates":true} 
[2026-09-08 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948136448001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18665399587438592,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913326184786941952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788859914000,"timestamp_ms":1788859914000,"timestamp_seconds":1788859914,"priority":1,"record_length":96,"hex_timestamp":"000001a0805c1710"} 
[2026-09-08 15:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948136448001,"66":14374,"101":206,"83":41984,"24":43,"16":18665399587438592,"45":1913326184786941952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 15:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948136448001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:02:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 15:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18665399587438592,"km_value":18665399587438.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913326184786941952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948136448001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1913326184786941952}} 
[2026-09-08 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":174476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:02:37] local.INFO: GPS data processed {"connection_id":174476,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:02:37] local.INFO: Acknowledgment sent {"connection_id":174476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:02:37] local.INFO: TCP Data received {"connection_id":177266,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:37] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:37] local.INFO: IMEI packet received {"connection_id":177266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":177266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:02:38] local.INFO: TCP Data received {"connection_id":177266,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:38] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:38] local.INFO: IMEI packet received {"connection_id":177266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":177266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:02:41] local.INFO: TCP Data received {"connection_id":177266,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:41] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:02:41] local.INFO: IMEI packet received {"connection_id":177266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":177266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:02:42] local.INFO: TCP Data received {"connection_id":177266,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08059b1c8012d4cc04006929610001200a332..."} 
[2026-09-08 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08059b1c8012d4cc04006929610001200a332..."} 
[2026-09-08 15:02:42] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08059b1c8012d4cc04006929610001200a332..."} 
[2026-09-08 15:02:42] local.INFO: Packet analysis {"connection_id":177266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:02:42] local.INFO: Extracted packet for processing {"connection_id":177266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:02:42] local.INFO: GPS Element Parsed {"raw_longitude":760004672,"raw_latitude":110269968,"longitude_deg":76.0004672,"latitude_deg":11.0269968,"altitude":18,"angle":163,"satellites":50,"speed":18,"hex_longitude":"2d4cc040","hex_latitude":"06929610","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948097280001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402773876875984896,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5530068526919424000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788859757000,"timestamp_ms":1788859757000,"timestamp_seconds":1788859757,"priority":1,"record_length":96,"hex_timestamp":"000001a08059b1c8"} 
[2026-09-08 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-09-08 15:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 15:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948097280001,"66":27843,"36":206,"19":48128,"24":18,"16":402773876875984896,"45":5530068526919424000},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948097280001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:02:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:02:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402773876875984896,"km_value":402773876875984.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5530068526919424000,"description":"Unknown IO ID 45"} 
[2026-09-08 15:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948097280001,"power":27843,"unknown_36":206,"unknown_19":48128,"ignition":18,"odometer":null,"unknown_45":5530068526919424000}} 
[2026-09-08 15:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":177266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:02:42] local.INFO: GPS data processed {"connection_id":177266,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:02:42] local.INFO: Acknowledgment sent {"connection_id":177266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:03:01] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:01] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:01] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:03:03] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:03] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:03] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:03:06] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:06] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:03:06] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:03:07] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805c6148012d1acb80071f8468003700592f..."} 
[2026-09-08 15:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805c6148012d1acb80071f8468003700592f..."} 
[2026-09-08 15:03:07] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805c6148012d1acb80071f8468003700592f..."} 
[2026-09-08 15:03:07] local.INFO: Packet analysis {"connection_id":175802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805c"} 
[2026-09-08 15:03:07] local.INFO: Extracted packet for processing {"connection_id":175802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805c"} 
[2026-09-08 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756730752,"raw_latitude":119506024,"longitude_deg":75.6730752,"latitude_deg":11.9506024,"altitude":55,"angle":89,"satellites":47,"speed":19,"hex_longitude":"2d1acb80","hex_latitude":"071f8468","is_valid_coordinates":true} 
[2026-09-08 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948142336001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18666086782205952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929722102177628160,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788859933000,"timestamp_ms":1788859933000,"timestamp_seconds":1788859933,"priority":1,"record_length":96,"hex_timestamp":"000001a0805c6148"} 
[2026-09-08 15:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 15:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948142336001,"66":13167,"101":206,"83":41984,"24":19,"16":18666086782205952,"45":1929722102177628160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 15:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948142336001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18666086782205952,"km_value":18666086782205.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929722102177628160,"description":"Unknown IO ID 45"} 
[2026-09-08 15:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948142336001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1929722102177628160}} 
[2026-09-08 15:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":175802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:03:07] local.INFO: GPS data processed {"connection_id":175802,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:03:07] local.INFO: Acknowledgment sent {"connection_id":175802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:03:14] local.INFO: TCP Data received {"connection_id":177266,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08059c168012d4cc34006928eb00011009732..."} 
[2026-09-08 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08059c168012d4cc34006928eb00011009732..."} 
[2026-09-08 15:03:14] local.INFO: Processing buffer {"connection_id":177266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08059c168012d4cc34006928eb00011009732..."} 
[2026-09-08 15:03:14] local.INFO: Packet analysis {"connection_id":177266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:03:14] local.INFO: Extracted packet for processing {"connection_id":177266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":760005440,"raw_latitude":110268080,"longitude_deg":76.000544,"latitude_deg":11.026808,"altitude":17,"angle":151,"satellites":50,"speed":20,"hex_longitude":"2d4cc340","hex_latitude":"06928eb0","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948097792001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402773975660232704,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5530490739384258560,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788859761000,"timestamp_ms":1788859761000,"timestamp_seconds":1788859761,"priority":1,"record_length":96,"hex_timestamp":"000001a08059c168"} 
[2026-09-08 15:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 15:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948097792001,"66":27691,"36":206,"19":48128,"24":20,"16":402773975660232704,"45":5530490739384258560},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948097792001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:03:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:03:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402773975660232704,"km_value":402773975660232.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5530490739384258560,"description":"Unknown IO ID 45"} 
[2026-09-08 15:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948097792001,"power":27691,"unknown_36":206,"unknown_19":48128,"ignition":20,"odometer":null,"unknown_45":5530490739384258560}} 
[2026-09-08 15:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":177266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:03:14] local.INFO: GPS data processed {"connection_id":177266,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:03:14] local.INFO: Acknowledgment sent {"connection_id":177266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:03:38] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0805c78b8012d1ad580071f85280037004b2d..."} 
[2026-09-08 15:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805c78b8012d1ad580071f85280037004b2d..."} 
[2026-09-08 15:03:38] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805c78b8012d1ad580071f85280037004b2d..."} 
[2026-09-08 15:03:38] local.INFO: Packet analysis {"connection_id":175802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805c"} 
[2026-09-08 15:03:38] local.INFO: Extracted packet for processing {"connection_id":175802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805c"} 
[2026-09-08 15:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756733312,"raw_latitude":119506216,"longitude_deg":75.6733312,"latitude_deg":11.9506216,"altitude":55,"angle":75,"satellites":45,"speed":8,"hex_longitude":"2d1ad580","hex_latitude":"071f8528","is_valid_coordinates":true} 
[2026-09-08 15:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948142848001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18666211336257536,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930777633340286976,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788859939000,"timestamp_ms":1788859939000,"timestamp_seconds":1788859939,"priority":1,"record_length":96,"hex_timestamp":"000001a0805c78b8"} 
[2026-09-08 15:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-08 15:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948142848001,"66":14407,"101":206,"83":41984,"24":8,"16":18666211336257536,"45":1930777633340286976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 15:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948142848001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:03:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 15:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 15:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18666211336257536,"km_value":18666211336257.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930777633340286976,"description":"Unknown IO ID 45"} 
[2026-09-08 15:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948142848001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1930777633340286976}} 
[2026-09-08 15:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":175802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:03:38] local.INFO: GPS data processed {"connection_id":175802,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:03:38] local.INFO: Acknowledgment sent {"connection_id":175802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:03:41] local.INFO: TCP Data received {"connection_id":174477,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:03:41] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:03:41] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:03:47] local.INFO: TCP Data received {"connection_id":174477,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:03:47] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:03:47] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:03:48] local.INFO: TCP Data received {"connection_id":174477,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08059d108012d4cc6c0069287e80011009d33..."} 
[2026-09-08 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08059d108012d4cc6c0069287e80011009d33..."} 
[2026-09-08 15:03:48] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08059d108012d4cc6c0069287e80011009d33..."} 
[2026-09-08 15:03:48] local.INFO: Packet analysis {"connection_id":174477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:03:48] local.INFO: Extracted packet for processing {"connection_id":174477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08059"} 
[2026-09-08 15:03:48] local.INFO: GPS Element Parsed {"raw_longitude":760006336,"raw_latitude":110266344,"longitude_deg":76.0006336,"latitude_deg":11.0266344,"altitude":17,"angle":157,"satellites":51,"speed":15,"hex_longitude":"2d4cc6c0","hex_latitude":"069287e8","is_valid_coordinates":true} 
[2026-09-08 15:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948098816001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402774070149513216,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531335164313907200,"note":"Value kept but may cause issues"} 
[2026-09-08 15:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859765000,"timestamp_ms":1788859765000,"timestamp_seconds":1788859765,"priority":1,"record_length":96,"hex_timestamp":"000001a08059d108"} 
[2026-09-08 15:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 15:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948098816001,"66":27800,"36":206,"19":48128,"24":15,"16":402774070149513216,"45":5531335164313907200},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948098816001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:03:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:03:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402774070149513216,"km_value":402774070149513.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531335164313907200,"description":"Unknown IO ID 45"} 
[2026-09-08 15:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948098816001,"power":27800,"unknown_36":206,"unknown_19":48128,"ignition":15,"odometer":null,"unknown_45":5531335164313907200}} 
[2026-09-08 15:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":174477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:03:48] local.INFO: GPS data processed {"connection_id":174477,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:03:48] local.INFO: Acknowledgment sent {"connection_id":174477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:04:01] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:01] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:01] local.INFO: IMEI packet received {"connection_id":177267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":177267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:04:01] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:01] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:01] local.INFO: IMEI packet received {"connection_id":177267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":177267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:04:02] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:02] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:02] local.INFO: IMEI packet received {"connection_id":177267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":177267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:04:03] local.INFO: TCP Data received {"connection_id":177267,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:03] local.INFO: Processing buffer {"connection_id":177267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:04:03] local.INFO: IMEI packet received {"connection_id":177267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":177267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:04:19] local.INFO: TCP Data received {"connection_id":174477,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805d5b48012d4cbc00069254480018003e33..."} 
[2026-09-08 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805d5b48012d4cbc00069254480018003e33..."} 
[2026-09-08 15:04:19] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805d5b48012d4cbc00069254480018003e33..."} 
[2026-09-08 15:04:19] local.INFO: Packet analysis {"connection_id":174477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805d"} 
[2026-09-08 15:04:19] local.INFO: Extracted packet for processing {"connection_id":174477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805d"} 
[2026-09-08 15:04:19] local.INFO: GPS Element Parsed {"raw_longitude":760003584,"raw_latitude":110253128,"longitude_deg":76.0003584,"latitude_deg":11.0253128,"altitude":24,"angle":62,"satellites":51,"speed":0,"hex_longitude":"2d4cbc00","hex_latitude":"06925448","is_valid_coordinates":true} 
[2026-09-08 15:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948153856001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402774314962649088,"note":"Value kept but may cause issues"} 
[2026-09-08 15:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529646314449688576,"note":"Value kept but may cause issues"} 
[2026-09-08 15:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788859997000,"timestamp_ms":1788859997000,"timestamp_seconds":1788859997,"priority":1,"record_length":96,"hex_timestamp":"000001a0805d5b48"} 
[2026-09-08 15:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948153856001,"66":27767,"36":206,"19":48128,"24":0,"16":402774314962649088,"45":5529646314449688576},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948153856001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:04:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:04:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402774314962649088,"km_value":402774314962649.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529646314449688576,"description":"Unknown IO ID 45"} 
[2026-09-08 15:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948153856001,"power":27767,"unknown_36":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5529646314449688576}} 
[2026-09-08 15:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":174477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:04:19] local.INFO: GPS data processed {"connection_id":174477,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:04:19] local.INFO: Acknowledgment sent {"connection_id":174477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:04:41] local.INFO: TCP Data received {"connection_id":175804,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:04:41] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:04:41] local.INFO: IMEI packet received {"connection_id":175804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":175804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:04:47] local.INFO: TCP Data received {"connection_id":175804,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:04:47] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:04:47] local.INFO: IMEI packet received {"connection_id":175804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:04:48] local.INFO: TCP Data received {"connection_id":175804,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805d6318012d4cbc40069255600018000f33..."} 
[2026-09-08 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805d6318012d4cbc40069255600018000f33..."} 
[2026-09-08 15:04:48] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805d6318012d4cbc40069255600018000f33..."} 
[2026-09-08 15:04:48] local.INFO: Packet analysis {"connection_id":175804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805d"} 
[2026-09-08 15:04:48] local.INFO: Extracted packet for processing {"connection_id":175804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805d"} 
[2026-09-08 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":760003648,"raw_latitude":110253408,"longitude_deg":76.0003648,"latitude_deg":11.0253408,"altitude":24,"angle":15,"satellites":51,"speed":8,"hex_longitude":"2d4cbc40","hex_latitude":"06925560","is_valid_coordinates":true} 
[2026-09-08 15:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948159232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402774332142518272,"note":"Value kept but may cause issues"} 
[2026-09-08 15:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529294470728927232,"note":"Value kept but may cause issues"} 
[2026-09-08 15:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788859999000,"timestamp_ms":1788859999000,"timestamp_seconds":1788859999,"priority":1,"record_length":96,"hex_timestamp":"000001a0805d6318"} 
[2026-09-08 15:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 15:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948159232001,"66":27865,"36":206,"19":48128,"24":8,"16":402774332142518272,"45":5529294470728927232},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948159232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:04:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:04:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402774332142518272,"km_value":402774332142518.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529294470728927232,"description":"Unknown IO ID 45"} 
[2026-09-08 15:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948159232001,"power":27865,"unknown_36":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5529294470728927232}} 
[2026-09-08 15:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":175804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:04:48] local.INFO: GPS data processed {"connection_id":175804,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:04:48] local.INFO: Acknowledgment sent {"connection_id":175804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:05:20] local.INFO: TCP Data received {"connection_id":175804,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805e93c8012d4c59c00692c880001901232f..."} 
[2026-09-08 15:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805e93c8012d4c59c00692c880001901232f..."} 
[2026-09-08 15:05:20] local.INFO: Processing buffer {"connection_id":175804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805e93c8012d4c59c00692c880001901232f..."} 
[2026-09-08 15:05:20] local.INFO: Packet analysis {"connection_id":175804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:05:20] local.INFO: Extracted packet for processing {"connection_id":175804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:05:20] local.INFO: GPS Element Parsed {"raw_longitude":759978432,"raw_latitude":110282880,"longitude_deg":75.9978432,"latitude_deg":11.028288,"altitude":25,"angle":291,"satellites":47,"speed":14,"hex_longitude":"2d4c59c0","hex_latitude":"0692c880","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948177664001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402776690079563776,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5506002416413648896,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788860077000,"timestamp_ms":1788860077000,"timestamp_seconds":1788860077,"priority":1,"record_length":96,"hex_timestamp":"000001a0805e93c8"} 
[2026-09-08 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-09-08 15:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 15:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948177664001,"66":27843,"36":206,"19":48128,"24":14,"16":402776690079563776,"45":5506002416413648896},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948177664001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:05:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:05:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402776690079563776,"km_value":402776690079563.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5506002416413648896,"description":"Unknown IO ID 45"} 
[2026-09-08 15:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948177664001,"power":27843,"unknown_36":206,"unknown_19":48128,"ignition":14,"odometer":null,"unknown_45":5506002416413648896}} 
[2026-09-08 15:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":175804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:05:20] local.INFO: GPS data processed {"connection_id":175804,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:05:20] local.INFO: Acknowledgment sent {"connection_id":175804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:05:24] local.INFO: TCP Data received {"connection_id":174735,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:24] local.INFO: Processing buffer {"connection_id":174735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:24] local.INFO: IMEI packet received {"connection_id":174735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":174735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:05:41] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:41] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:41] local.INFO: IMEI packet received {"connection_id":177268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":177268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:05:44] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:44] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:44] local.INFO: IMEI packet received {"connection_id":174737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":174737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:05:44] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:44] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:44] local.INFO: IMEI packet received {"connection_id":177268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":177268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:05:45] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:45] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:45] local.INFO: IMEI packet received {"connection_id":177268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":177268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:05:47] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:47] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:05:47] local.INFO: IMEI packet received {"connection_id":177268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":177268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:05:49] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805e97b0012d4c58c00692c928001a013530..."} 
[2026-09-08 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805e97b0012d4c58c00692c928001a013530..."} 
[2026-09-08 15:05:49] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805e97b0012d4c58c00692c928001a013530..."} 
[2026-09-08 15:05:49] local.INFO: Packet analysis {"connection_id":177268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:05:49] local.INFO: Extracted packet for processing {"connection_id":177268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":759978176,"raw_latitude":110283048,"longitude_deg":75.9978176,"latitude_deg":11.0283048,"altitude":26,"angle":309,"satellites":48,"speed":11,"hex_longitude":"2d4c58c0","hex_latitude":"0692c928","is_valid_coordinates":true} 
[2026-09-08 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948179712001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402776702964465664,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501639554274721792,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788860078000,"timestamp_ms":1788860078000,"timestamp_seconds":1788860078,"priority":1,"record_length":96,"hex_timestamp":"000001a0805e97b0"} 
[2026-09-08 15:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 15:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948179712001,"66":27658,"36":206,"19":48128,"24":11,"16":402776702964465664,"45":5501639554274721792},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948179712001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:05:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:05:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402776702964465664,"km_value":402776702964465.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501639554274721792,"description":"Unknown IO ID 45"} 
[2026-09-08 15:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948179712001,"power":27658,"unknown_36":206,"unknown_19":48128,"ignition":11,"odometer":null,"unknown_45":5501639554274721792}} 
[2026-09-08 15:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":177268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:05:49] local.INFO: GPS data processed {"connection_id":177268,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:05:49] local.INFO: Acknowledgment sent {"connection_id":177268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:05:49] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:49] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:05:49] local.INFO: IMEI packet received {"connection_id":174737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-08 15:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:05:51] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a080406150012b882a400b7c72500014014f19..."} 
[2026-09-08 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080406150012b882a400b7c72500014014f19..."} 
[2026-09-08 15:05:51] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080406150012b882a400b7c72500014014f19..."} 
[2026-09-08 15:05:51] local.INFO: Packet analysis {"connection_id":174737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08040"} 
[2026-09-08 15:05:51] local.INFO: Extracted packet for processing {"connection_id":174737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08040"} 
[2026-09-08 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":730344000,"raw_latitude":192705104,"longitude_deg":73.0344,"latitude_deg":19.2705104,"altitude":20,"angle":335,"satellites":25,"speed":0,"hex_longitude":"2b882a40","hex_latitude":"0b7c7250","is_valid_coordinates":true} 
[2026-09-08 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457947596032001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3888255367905280,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8635018917452820480,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788858098000,"timestamp_ms":1788858098000,"timestamp_seconds":1788858098,"priority":1,"record_length":96,"hex_timestamp":"000001a080406150"} 
[2026-09-08 15:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:05: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-09-08 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 15:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-08 15:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-08 15:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-08 15:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-08 15:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457947596032001,"66":25549,"27":206,"234":55296,"24":0,"16":3888255367905280,"43":-8635018917452820480},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-08 15:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-08 15:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-08 15:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457947596032001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:05:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-08 15:05:51] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-08 15:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3888255367905280,"km_value":3888255367905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:05:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8635018917452820480,"description":"Unknown IO ID 43"} 
[2026-09-08 15:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457947596032001,"power":25549,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8635018917452820480}} 
[2026-09-08 15:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:05:51] local.INFO: GPS data processed {"connection_id":174737,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:05:51] local.INFO: Acknowledgment sent {"connection_id":174737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:05:52] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805e9b98012d4c58400692ca000019014a30..."} 
[2026-09-08 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805e9b98012d4c58400692ca000019014a30..."} 
[2026-09-08 15:05:52] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805e9b98012d4c58400692ca000019014a30..."} 
[2026-09-08 15:05:52] local.INFO: Packet analysis {"connection_id":177268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:05:52] local.INFO: Extracted packet for processing {"connection_id":177268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:05:52] local.INFO: GPS Element Parsed {"raw_longitude":759978048,"raw_latitude":110283264,"longitude_deg":75.9978048,"latitude_deg":11.0283264,"altitude":25,"angle":330,"satellites":48,"speed":11,"hex_longitude":"2d4c5840","hex_latitude":"0692ca00","is_valid_coordinates":true} 
[2026-09-08 15:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948179968001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402776715849367552,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501358079298054144,"note":"Value kept but may cause issues"} 
[2026-09-08 15:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788860079000,"timestamp_ms":1788860079000,"timestamp_seconds":1788860079,"priority":1,"record_length":96,"hex_timestamp":"000001a0805e9b98"} 
[2026-09-08 15:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 15:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948179968001,"66":27658,"36":206,"19":48128,"24":11,"16":402776715849367552,"45":5501358079298054144},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948179968001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:05:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:05:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402776715849367552,"km_value":402776715849367.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501358079298054144,"description":"Unknown IO ID 45"} 
[2026-09-08 15:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948179968001,"power":27658,"unknown_36":206,"unknown_19":48128,"ignition":11,"odometer":null,"unknown_45":5501358079298054144}} 
[2026-09-08 15:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":177268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:05:52] local.INFO: GPS data processed {"connection_id":177268,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:05:52] local.INFO: Acknowledgment sent {"connection_id":177268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:06:24] local.INFO: TCP Data received {"connection_id":177268,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805ea368012d4c57400692cc40001a015d30..."} 
[2026-09-08 15:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805ea368012d4c57400692cc40001a015d30..."} 
[2026-09-08 15:06:24] local.INFO: Processing buffer {"connection_id":177268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805ea368012d4c57400692cc40001a015d30..."} 
[2026-09-08 15:06:24] local.INFO: Packet analysis {"connection_id":177268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:06:24] local.INFO: Extracted packet for processing {"connection_id":177268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805e"} 
[2026-09-08 15:06:24] local.INFO: GPS Element Parsed {"raw_longitude":759977792,"raw_latitude":110283840,"longitude_deg":75.9977792,"latitude_deg":11.028384,"altitude":26,"angle":349,"satellites":48,"speed":13,"hex_longitude":"2d4c5740","hex_latitude":"0692cc40","is_valid_coordinates":true} 
[2026-09-08 15:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948180224001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402776745914138624,"note":"Value kept but may cause issues"} 
[2026-09-08 15:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501217341809754112,"note":"Value kept but may cause issues"} 
[2026-09-08 15:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788860081000,"timestamp_ms":1788860081000,"timestamp_seconds":1788860081,"priority":1,"record_length":96,"hex_timestamp":"000001a0805ea368"} 
[2026-09-08 15:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 15:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948180224001,"66":27767,"36":206,"19":48128,"24":13,"16":402776745914138624,"45":5501217341809754112},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 15:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948180224001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:06:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 15:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402776745914138624,"km_value":402776745914138.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501217341809754112,"description":"Unknown IO ID 45"} 
[2026-09-08 15:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948180224001,"power":27767,"unknown_36":206,"unknown_19":48128,"ignition":13,"odometer":null,"unknown_45":5501217341809754112}} 
[2026-09-08 15:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":177268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:06:24] local.INFO: GPS data processed {"connection_id":177268,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:06:24] local.INFO: Acknowledgment sent {"connection_id":177268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:06:34] local.INFO: TCP Data received {"connection_id":177269,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:06:34] local.INFO: Processing buffer {"connection_id":177269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:06:34] local.INFO: IMEI packet received {"connection_id":177269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":177269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:06:41] local.INFO: TCP Data received {"connection_id":175805,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:41] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:41] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:06:42] local.INFO: TCP Data received {"connection_id":175805,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:42] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:42] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:06:47] local.INFO: TCP Data received {"connection_id":175805,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:47] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:06:47] local.INFO: IMEI packet received {"connection_id":175805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":175805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:06:48] local.INFO: TCP Data received {"connection_id":175805,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805f9d68012d4bc98006928a18001300d731..."} 
[2026-09-08 15:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805f9d68012d4bc98006928a18001300d731..."} 
[2026-09-08 15:06:48] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805f9d68012d4bc98006928a18001300d731..."} 
[2026-09-08 15:06:48] local.INFO: Packet analysis {"connection_id":175805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805f"} 
[2026-09-08 15:06:48] local.INFO: Extracted packet for processing {"connection_id":175805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805f"} 
[2026-09-08 15:06:48] local.INFO: GPS Element Parsed {"raw_longitude":759941504,"raw_latitude":110266904,"longitude_deg":75.9941504,"latitude_deg":11.0266904,"altitude":19,"angle":215,"satellites":49,"speed":17,"hex_longitude":"2d4bc980","hex_latitude":"06928a18","is_valid_coordinates":true} 
[2026-09-08 15:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948193280001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402778747368898560,"note":"Value kept but may cause issues"} 
[2026-09-08 15:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468003294554900480,"note":"Value kept but may cause issues"} 
[2026-09-08 15:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788860145000,"timestamp_ms":1788860145000,"timestamp_seconds":1788860145,"priority":1,"record_length":96,"hex_timestamp":"000001a0805f9d68"} 
[2026-09-08 15:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 15:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948193280001,"66":27397,"81":206,"19":48128,"24":17,"16":402778747368898560,"45":5468003294554900480},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 15:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948193280001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 15:06:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402778747368898560,"km_value":402778747368898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468003294554900480,"description":"Unknown IO ID 45"} 
[2026-09-08 15:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948193280001,"power":27397,"unknown_81":206,"unknown_19":48128,"ignition":17,"odometer":null,"unknown_45":5468003294554900480}} 
[2026-09-08 15:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":175805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:06:48] local.INFO: GPS data processed {"connection_id":175805,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:06:48] local.INFO: Acknowledgment sent {"connection_id":175805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:07:19] local.INFO: TCP Data received {"connection_id":175805,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0805fa150012d4bc88006928880001300c731..."} 
[2026-09-08 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0805fa150012d4bc88006928880001300c731..."} 
[2026-09-08 15:07:19] local.INFO: Processing buffer {"connection_id":175805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0805fa150012d4bc88006928880001300c731..."} 
[2026-09-08 15:07:19] local.INFO: Packet analysis {"connection_id":175805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0805f"} 
[2026-09-08 15:07:19] local.INFO: Extracted packet for processing {"connection_id":175805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0805f"} 
[2026-09-08 15:07:19] local.INFO: GPS Element Parsed {"raw_longitude":759941248,"raw_latitude":110266496,"longitude_deg":75.9941248,"latitude_deg":11.0266496,"altitude":19,"angle":199,"satellites":49,"speed":18,"hex_longitude":"2d4bc880","hex_latitude":"06928880","is_valid_coordinates":true} 
[2026-09-08 15:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948197120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402778768843735040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461036788880119808,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788860146000,"timestamp_ms":1788860146000,"timestamp_seconds":1788860146,"priority":1,"record_length":96,"hex_timestamp":"000001a0805fa150"} 
[2026-09-08 15:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 15:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948197120001,"66":27821,"81":206,"19":48128,"24":18,"16":402778768843735040,"45":5461036788880119808},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 15:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948197120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 15:07:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402778768843735040,"km_value":402778768843735.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461036788880119808,"description":"Unknown IO ID 45"} 
[2026-09-08 15:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948197120001,"power":27821,"unknown_81":206,"unknown_19":48128,"ignition":18,"odometer":null,"unknown_45":5461036788880119808}} 
[2026-09-08 15:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":175805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:07:19] local.INFO: GPS data processed {"connection_id":175805,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:07:19] local.INFO: Acknowledgment sent {"connection_id":175805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:07:47] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:07:47] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:07:47] local.INFO: IMEI packet received {"connection_id":174738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:07:51] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:07:51] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:07:51] local.INFO: IMEI packet received {"connection_id":174738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":174738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:07:52] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080609768012d4b85400691ad60001700a130..."} 
[2026-09-08 15:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080609768012d4b85400691ad60001700a130..."} 
[2026-09-08 15:07:52] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080609768012d4b85400691ad60001700a130..."} 
[2026-09-08 15:07:52] local.INFO: Packet analysis {"connection_id":174738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08060"} 
[2026-09-08 15:07:52] local.INFO: Extracted packet for processing {"connection_id":174738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08060"} 
[2026-09-08 15:07:52] local.INFO: GPS Element Parsed {"raw_longitude":759924032,"raw_latitude":110210400,"longitude_deg":75.9924032,"latitude_deg":11.02104,"altitude":23,"angle":161,"satellites":48,"speed":31,"hex_longitude":"2d4b8540","hex_latitude":"0691ad60","is_valid_coordinates":true} 
[2026-09-08 15:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948212992001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402781646471823360,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5441474277984659456,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788860209000,"timestamp_ms":1788860209000,"timestamp_seconds":1788860209,"priority":1,"record_length":96,"hex_timestamp":"000001a080609768"} 
[2026-09-08 15:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 15:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948212992001,"66":27767,"81":206,"19":48128,"24":31,"16":402781646471823360,"45":5441474277984659456},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 15:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948212992001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 15:07:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402781646471823360,"km_value":402781646471823.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5441474277984659456,"description":"Unknown IO ID 45"} 
[2026-09-08 15:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948212992001,"power":27767,"unknown_81":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5441474277984659456}} 
[2026-09-08 15:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":174738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:07:52] local.INFO: GPS data processed {"connection_id":174738,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:07:52] local.INFO: Acknowledgment sent {"connection_id":174738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:07:53] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08060a708012d4b88800691a100001800b42f..."} 
[2026-09-08 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08060a708012d4b88800691a100001800b42f..."} 
[2026-09-08 15:07:54] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08060a708012d4b88800691a100001800b42f..."} 
[2026-09-08 15:07:54] local.INFO: Packet analysis {"connection_id":174738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08060"} 
[2026-09-08 15:07:54] local.INFO: Extracted packet for processing {"connection_id":174738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08060"} 
[2026-09-08 15:07:54] local.INFO: GPS Element Parsed {"raw_longitude":759924864,"raw_latitude":110207232,"longitude_deg":75.9924864,"latitude_deg":11.0207232,"altitude":24,"angle":180,"satellites":47,"speed":33,"hex_longitude":"2d4b8880","hex_latitude":"0691a100","is_valid_coordinates":true} 
[2026-09-08 15:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948213504001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402781805385613312,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5441826121705152512,"note":"Value kept but may cause issues"} 
[2026-09-08 15:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788860213000,"timestamp_ms":1788860213000,"timestamp_seconds":1788860213,"priority":1,"record_length":96,"hex_timestamp":"000001a08060a708"} 
[2026-09-08 15:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 15:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948213504001,"66":27745,"81":206,"19":48128,"24":33,"16":402781805385613312,"45":5441826121705152512},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 15:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948213504001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 15:07:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402781805385613312,"km_value":402781805385613.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5441826121705152512,"description":"Unknown IO ID 45"} 
[2026-09-08 15:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948213504001,"power":27745,"unknown_81":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5441826121705152512}} 
[2026-09-08 15:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":174738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:07:54] local.INFO: GPS data processed {"connection_id":174738,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:07:54] local.INFO: Acknowledgment sent {"connection_id":174738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:08:26] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08060b6a8012d4b884006919390001a00a62e..."} 
[2026-09-08 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08060b6a8012d4b884006919390001a00a62e..."} 
[2026-09-08 15:08:26] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08060b6a8012d4b884006919390001a00a62e..."} 
[2026-09-08 15:08:26] local.INFO: Packet analysis {"connection_id":174738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08060"} 
[2026-09-08 15:08:26] local.INFO: Extracted packet for processing {"connection_id":174738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08060"} 
[2026-09-08 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":759924800,"raw_latitude":110203792,"longitude_deg":75.99248,"latitude_deg":11.0203792,"altitude":26,"angle":166,"satellites":46,"speed":33,"hex_longitude":"2d4b8840","hex_latitude":"06919390","is_valid_coordinates":true} 
[2026-09-08 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948214528001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402781972889337856,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442740915378651136,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788860217000,"timestamp_ms":1788860217000,"timestamp_seconds":1788860217,"priority":1,"record_length":96,"hex_timestamp":"000001a08060b6a8"} 
[2026-09-08 15:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948214528001,"66":27767,"81":206,"19":48128,"24":33,"16":402781972889337856,"45":5442740915378651136},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 15:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948214528001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 15:08:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402781972889337856,"km_value":402781972889337.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442740915378651136,"description":"Unknown IO ID 45"} 
[2026-09-08 15:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948214528001,"power":27767,"unknown_81":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5442740915378651136}} 
[2026-09-08 15:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":174738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:08:26] local.INFO: GPS data processed {"connection_id":174738,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:08:26] local.INFO: Acknowledgment sent {"connection_id":174738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:08:42] local.INFO: TCP Data received {"connection_id":177271,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:42] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:42] local.INFO: IMEI packet received {"connection_id":177271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":177271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:08:43] local.INFO: TCP Data received {"connection_id":177271,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:43] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:43] local.INFO: IMEI packet received {"connection_id":177271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":177271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:08:47] local.INFO: TCP Data received {"connection_id":177271,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:47] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:08:47] local.INFO: IMEI packet received {"connection_id":177271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":177271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:08:48] local.INFO: TCP Data received {"connection_id":177271,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080615ab8012d4be740069147f8002700ad31..."} 
[2026-09-08 15:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080615ab8012d4be740069147f8002700ad31..."} 
[2026-09-08 15:08:48] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080615ab8012d4be740069147f8002700ad31..."} 
[2026-09-08 15:08:48] local.INFO: Packet analysis {"connection_id":177271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:08:48] local.INFO: Extracted packet for processing {"connection_id":177271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:08:48] local.INFO: GPS Element Parsed {"raw_longitude":759949120,"raw_latitude":110184440,"longitude_deg":75.994912,"latitude_deg":11.018444,"altitude":39,"angle":173,"satellites":49,"speed":28,"hex_longitude":"2d4be740","hex_latitude":"069147f8","is_valid_coordinates":true} 
[2026-09-08 15:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948225536001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402783566322204672,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468706981974919168,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788860259000,"timestamp_ms":1788860259000,"timestamp_seconds":1788860259,"priority":1,"record_length":96,"hex_timestamp":"000001a080615ab8"} 
[2026-09-08 15:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 15:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948225536001,"66":27865,"51":206,"19":48128,"24":28,"16":402783566322204672,"45":5468706981974919168},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948225536001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:08:48] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402783566322204672,"km_value":402783566322204.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468706981974919168,"description":"Unknown IO ID 45"} 
[2026-09-08 15:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948225536001,"power":27865,"unknown_51":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":5468706981974919168}} 
[2026-09-08 15:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":177271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:08:48] local.INFO: GPS data processed {"connection_id":177271,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:08:48] local.INFO: Acknowledgment sent {"connection_id":177271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:08:53] local.INFO: TCP Data received {"connection_id":177271,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080618998012d4bea4006912418002a00b131..."} 
[2026-09-08 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080618998012d4bea4006912418002a00b131..."} 
[2026-09-08 15:08:53] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080618998012d4bea4006912418002a00b131..."} 
[2026-09-08 15:08:53] local.INFO: Packet analysis {"connection_id":177271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:08:53] local.INFO: Extracted packet for processing {"connection_id":177271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":759949888,"raw_latitude":110175256,"longitude_deg":75.9949888,"latitude_deg":11.0175256,"altitude":42,"angle":177,"satellites":49,"speed":32,"hex_longitude":"2d4bea40","hex_latitude":"06912418","is_valid_coordinates":true} 
[2026-09-08 15:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948226304001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402784012998803456,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469410669416151040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788860271000,"timestamp_ms":1788860271000,"timestamp_seconds":1788860271,"priority":1,"record_length":96,"hex_timestamp":"000001a080618998"} 
[2026-09-08 15:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 15:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948226304001,"66":27821,"51":206,"19":48128,"24":32,"16":402784012998803456,"45":5469410669416151040},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948226304001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:08:53] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:08:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402784012998803456,"km_value":402784012998803.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469410669416151040,"description":"Unknown IO ID 45"} 
[2026-09-08 15:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948226304001,"power":27821,"unknown_51":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5469410669416151040}} 
[2026-09-08 15:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":177271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:08:53] local.INFO: GPS data processed {"connection_id":177271,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:08:53] local.INFO: Acknowledgment sent {"connection_id":177271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:09:26] local.INFO: TCP Data received {"connection_id":177271,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08061b878012d4bea000690ffc8002c00b42e..."} 
[2026-09-08 15:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08061b878012d4bea000690ffc8002c00b42e..."} 
[2026-09-08 15:09:26] local.INFO: Processing buffer {"connection_id":177271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08061b878012d4bea000690ffc8002c00b42e..."} 
[2026-09-08 15:09:26] local.INFO: Packet analysis {"connection_id":177271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:09:26] local.INFO: Extracted packet for processing {"connection_id":177271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":759949824,"raw_latitude":110165960,"longitude_deg":75.9949824,"latitude_deg":11.016596,"altitude":44,"angle":180,"satellites":46,"speed":29,"hex_longitude":"2d4bea00","hex_latitude":"0690ffc8","is_valid_coordinates":true} 
[2026-09-08 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948229376001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402784463970369536,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470255094343931904,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788860283000,"timestamp_ms":1788860283000,"timestamp_seconds":1788860283,"priority":1,"record_length":96,"hex_timestamp":"000001a08061b878"} 
[2026-09-08 15:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 15:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948229376001,"66":27876,"51":206,"19":48128,"24":29,"16":402784463970369536,"45":5470255094343931904},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948229376001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:09:26] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:09:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402784463970369536,"km_value":402784463970369.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470255094343931904,"description":"Unknown IO ID 45"} 
[2026-09-08 15:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948229376001,"power":27876,"unknown_51":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":5470255094343931904}} 
[2026-09-08 15:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":177271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:09:26] local.INFO: GPS data processed {"connection_id":177271,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:09:26] local.INFO: Acknowledgment sent {"connection_id":177271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:09:42] local.INFO: TCP Data received {"connection_id":174739,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:42] local.INFO: Processing buffer {"connection_id":174739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:42] local.INFO: IMEI packet received {"connection_id":174739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":174739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:09:43] local.INFO: TCP Data received {"connection_id":174739,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:43] local.INFO: Processing buffer {"connection_id":174739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:43] local.INFO: IMEI packet received {"connection_id":174739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":174739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:09:47] local.INFO: TCP Data received {"connection_id":174739,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:47] local.INFO: Processing buffer {"connection_id":174739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:09:47] local.INFO: IMEI packet received {"connection_id":174739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":174739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:09:48] local.INFO: TCP Data received {"connection_id":174739,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08061e758012d4be8000690db68002f00b32f..."} 
[2026-09-08 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08061e758012d4be8000690db68002f00b32f..."} 
[2026-09-08 15:09:48] local.INFO: Processing buffer {"connection_id":174739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08061e758012d4be8000690db68002f00b32f..."} 
[2026-09-08 15:09:48] local.INFO: Packet analysis {"connection_id":174739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:09:48] local.INFO: Extracted packet for processing {"connection_id":174739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08061"} 
[2026-09-08 15:09:48] local.INFO: GPS Element Parsed {"raw_longitude":759949312,"raw_latitude":110156648,"longitude_deg":75.9949312,"latitude_deg":11.0156648,"altitude":47,"angle":179,"satellites":47,"speed":32,"hex_longitude":"2d4be800","hex_latitude":"0690db68","is_valid_coordinates":true} 
[2026-09-08 15:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948232448001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402784914941935616,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470184725597374464,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788860295000,"timestamp_ms":1788860295000,"timestamp_seconds":1788860295,"priority":1,"record_length":96,"hex_timestamp":"000001a08061e758"} 
[2026-09-08 15:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 15:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948232448001,"66":27876,"51":206,"19":48128,"24":32,"16":402784914941935616,"45":5470184725597374464},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948232448001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:09:48] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:09:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402784914941935616,"km_value":402784914941935.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470184725597374464,"description":"Unknown IO ID 45"} 
[2026-09-08 15:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948232448001,"power":27876,"unknown_51":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5470184725597374464}} 
[2026-09-08 15:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":174739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:09:48] local.INFO: GPS data processed {"connection_id":174739,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:09:48] local.INFO: Acknowledgment sent {"connection_id":174739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:09:52] local.INFO: TCP Data received {"connection_id":174739,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080621250012d4be8000690b8b0003200b82e..."} 
[2026-09-08 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080621250012d4be8000690b8b0003200b82e..."} 
[2026-09-08 15:09:52] local.INFO: Processing buffer {"connection_id":174739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080621250012d4be8000690b8b0003200b82e..."} 
[2026-09-08 15:09:52] local.INFO: Packet analysis {"connection_id":174739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08062"} 
[2026-09-08 15:09:52] local.INFO: Extracted packet for processing {"connection_id":174739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08062"} 
[2026-09-08 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":759949312,"raw_latitude":110147760,"longitude_deg":75.9949312,"latitude_deg":11.014776,"altitude":50,"angle":184,"satellites":46,"speed":31,"hex_longitude":"2d4be800","hex_latitude":"0690b8b0","is_valid_coordinates":true} 
[2026-09-08 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948235520001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402785348733632512,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469621775641569280,"note":"Value kept but may cause issues"} 
[2026-09-08 15:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788860306000,"timestamp_ms":1788860306000,"timestamp_seconds":1788860306,"priority":1,"record_length":96,"hex_timestamp":"000001a080621250"} 
[2026-09-08 15:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 15:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948235520001,"66":27821,"51":206,"19":48128,"24":31,"16":402785348733632512,"45":5469621775641569280},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948235520001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:09:52] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:09:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402785348733632512,"km_value":402785348733632.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469621775641569280,"description":"Unknown IO ID 45"} 
[2026-09-08 15:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948235520001,"power":27821,"unknown_51":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5469621775641569280}} 
[2026-09-08 15:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":174739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:09:52] local.INFO: GPS data processed {"connection_id":174739,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:09:52] local.INFO: Acknowledgment sent {"connection_id":174739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:10:23] local.INFO: TCP Data received {"connection_id":174739,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080621a20012d4be6800690b2b0003300c62d..."} 
[2026-09-08 15:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080621a20012d4be6800690b2b0003300c62d..."} 
[2026-09-08 15:10:23] local.INFO: Processing buffer {"connection_id":174739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080621a20012d4be6800690b2b0003300c62d..."} 
[2026-09-08 15:10:23] local.INFO: Packet analysis {"connection_id":174739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08062"} 
[2026-09-08 15:10:23] local.INFO: Extracted packet for processing {"connection_id":174739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08062"} 
[2026-09-08 15:10:23] local.INFO: GPS Element Parsed {"raw_longitude":759948928,"raw_latitude":110146224,"longitude_deg":75.9948928,"latitude_deg":11.0146224,"altitude":51,"angle":198,"satellites":45,"speed":31,"hex_longitude":"2d4be680","hex_latitude":"0690b2b0","is_valid_coordinates":true} 
[2026-09-08 15:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948238336001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402785426043043840,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469621775639293952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788860308000,"timestamp_ms":1788860308000,"timestamp_seconds":1788860308,"priority":1,"record_length":96,"hex_timestamp":"000001a080621a20"} 
[2026-09-08 15:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 15:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948238336001,"66":27843,"51":206,"19":48128,"24":31,"16":402785426043043840,"45":5469621775639293952},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948238336001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:10:23] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402785426043043840,"km_value":402785426043043.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469621775639293952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948238336001,"power":27843,"unknown_51":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5469621775639293952}} 
[2026-09-08 15:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":174739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:10:24] local.INFO: GPS data processed {"connection_id":174739,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:10:24] local.INFO: Acknowledgment sent {"connection_id":174739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:10:44] local.INFO: TCP Data received {"connection_id":175806,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:44] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:44] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:10:46] local.INFO: TCP Data received {"connection_id":175806,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:46] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:46] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:10:47] local.INFO: TCP Data received {"connection_id":175806,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:47] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:47] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:10:52] local.INFO: TCP Data received {"connection_id":175806,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:52] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:10:52] local.INFO: IMEI packet received {"connection_id":175806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":175806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:10:53] local.INFO: TCP Data received {"connection_id":175806,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080638180012d4c37c0068ff568005200712e..."} 
[2026-09-08 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080638180012d4c37c0068ff568005200712e..."} 
[2026-09-08 15:10:53] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080638180012d4c37c0068ff568005200712e..."} 
[2026-09-08 15:10:53] local.INFO: Packet analysis {"connection_id":175806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:10:53] local.INFO: Extracted packet for processing {"connection_id":175806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:10:53] local.INFO: GPS Element Parsed {"raw_longitude":759969728,"raw_latitude":110097768,"longitude_deg":75.9969728,"latitude_deg":11.0097768,"altitude":82,"angle":113,"satellites":46,"speed":19,"hex_longitude":"2d4c37c0","hex_latitude":"068ff568","is_valid_coordinates":true} 
[2026-09-08 15:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948261632001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402788144757342208,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5490521292647479296,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788860400000,"timestamp_ms":1788860400000,"timestamp_seconds":1788860400,"priority":1,"record_length":96,"hex_timestamp":"000001a080638180"} 
[2026-09-08 15:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 15:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948261632001,"66":27843,"51":206,"19":48128,"24":19,"16":402788144757342208,"45":5490521292647479296},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948261632001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:10:53] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:10:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402788144757342208,"km_value":402788144757342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5490521292647479296,"description":"Unknown IO ID 45"} 
[2026-09-08 15:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948261632001,"power":27843,"unknown_51":206,"unknown_19":48128,"ignition":19,"odometer":null,"unknown_45":5490521292647479296}} 
[2026-09-08 15:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":175806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:10:53] local.INFO: GPS data processed {"connection_id":175806,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:10:53] local.INFO: Acknowledgment sent {"connection_id":175806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:10:58] local.INFO: TCP Data received {"connection_id":175806,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080639120012d4c3f40068ff1880054007c31..."} 
[2026-09-08 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080639120012d4c3f40068ff1880054007c31..."} 
[2026-09-08 15:10:58] local.INFO: Processing buffer {"connection_id":175806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080639120012d4c3f40068ff1880054007c31..."} 
[2026-09-08 15:10:58] local.INFO: Packet analysis {"connection_id":175806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:10:58] local.INFO: Extracted packet for processing {"connection_id":175806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:10:58] local.INFO: GPS Element Parsed {"raw_longitude":759971648,"raw_latitude":110096776,"longitude_deg":75.9971648,"latitude_deg":11.0096776,"altitude":84,"angle":124,"satellites":49,"speed":22,"hex_longitude":"2d4c3f40","hex_latitude":"068ff188","is_valid_coordinates":true} 
[2026-09-08 15:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948262400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402788247836557312,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5492069405019170816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788860404000,"timestamp_ms":1788860404000,"timestamp_seconds":1788860404,"priority":1,"record_length":96,"hex_timestamp":"000001a080639120"} 
[2026-09-08 15:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 15:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948262400001,"66":27843,"51":206,"19":48128,"24":22,"16":402788247836557312,"45":5492069405019170816},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948262400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:10:58] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:10:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402788247836557312,"km_value":402788247836557.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5492069405019170816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948262400001,"power":27843,"unknown_51":206,"unknown_19":48128,"ignition":22,"odometer":null,"unknown_45":5492069405019170816}} 
[2026-09-08 15:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":175806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:10:58] local.INFO: GPS data processed {"connection_id":175806,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:10:58] local.INFO: Acknowledgment sent {"connection_id":175806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:11:42] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:11:42] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:11:42] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:11:46] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:11:46] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:11:46] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:11:49] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08063a0c0012d4c4440068fed300054008a2f..."} 
[2026-09-08 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08063a0c0012d4c4440068fed300054008a2f..."} 
[2026-09-08 15:11:49] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08063a0c0012d4c4440068fed300054008a2f..."} 
[2026-09-08 15:11:49] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:11:49] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:11:49] local.INFO: GPS Element Parsed {"raw_longitude":759972928,"raw_latitude":110095664,"longitude_deg":75.9972928,"latitude_deg":11.0095664,"altitude":84,"angle":138,"satellites":47,"speed":13,"hex_longitude":"2d4c4440","hex_latitude":"068fed30","is_valid_coordinates":true} 
[2026-09-08 15:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948263424001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402788329440935936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5494180467344246784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788860408000,"timestamp_ms":1788860408000,"timestamp_seconds":1788860408,"priority":1,"record_length":96,"hex_timestamp":"000001a08063a0c0"} 
[2026-09-08 15:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 15:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948263424001,"66":27767,"51":206,"19":48128,"24":13,"16":402788329440935936,"45":5494180467344246784},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-09-08 15:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948263424001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:11:49] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-08 15:11:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402788329440935936,"km_value":402788329440935.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5494180467344246784,"description":"Unknown IO ID 45"} 
[2026-09-08 15:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948263424001,"power":27767,"unknown_51":206,"unknown_19":48128,"ignition":13,"odometer":null,"unknown_45":5494180467344246784}} 
[2026-09-08 15:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:11:49] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:11:49] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:12:04] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:12:04] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:12:04] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:12:23] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08063df40012d4c5f80068fd5b80053008031..."} 
[2026-09-08 15:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08063df40012d4c5f80068fd5b80053008031..."} 
[2026-09-08 15:12:23] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08063df40012d4c5f80068fd5b80053008031..."} 
[2026-09-08 15:12:23] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:12:23] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08063"} 
[2026-09-08 15:12:23] local.INFO: GPS Element Parsed {"raw_longitude":759979904,"raw_latitude":110089656,"longitude_deg":75.9979904,"latitude_deg":11.0089656,"altitude":83,"angle":128,"satellites":49,"speed":28,"hex_longitude":"2d4c5f80","hex_latitude":"068fd5b8","is_valid_coordinates":true} 
[2026-09-08 15:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948264448001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402788776117534720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5495587842227515392,"note":"Value kept but may cause issues"} 
[2026-09-08 15:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788860424000,"timestamp_ms":1788860424000,"timestamp_seconds":1788860424,"priority":1,"record_length":96,"hex_timestamp":"000001a08063df40"} 
[2026-09-08 15:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 15:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948264448001,"66":27832,"49":206,"19":48128,"24":28,"16":402788776117534720,"45":5495587842227515392},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948264448001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:12:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402788776117534720,"km_value":402788776117534.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5495587842227515392,"description":"Unknown IO ID 45"} 
[2026-09-08 15:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948264448001,"power":27832,"unknown_49":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":5495587842227515392}} 
[2026-09-08 15:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:12:23] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:12:23] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:12:41] local.INFO: TCP Data received {"connection_id":174480,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:12:41] local.INFO: Processing buffer {"connection_id":174480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:12:41] local.INFO: IMEI packet received {"connection_id":174480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":174480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:12:47] local.INFO: TCP Data received {"connection_id":174480,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:12:47] local.INFO: Processing buffer {"connection_id":174480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:12:47] local.INFO: IMEI packet received {"connection_id":174480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":174480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:12:49] local.INFO: TCP Data received {"connection_id":174480,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08064fc68012d4ca3c0068f6a800051008c30..."} 
[2026-09-08 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08064fc68012d4ca3c0068f6a800051008c30..."} 
[2026-09-08 15:12:49] local.INFO: Processing buffer {"connection_id":174480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08064fc68012d4ca3c0068f6a800051008c30..."} 
[2026-09-08 15:12:49] local.INFO: Packet analysis {"connection_id":174480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08064"} 
[2026-09-08 15:12:49] local.INFO: Extracted packet for processing {"connection_id":174480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08064"} 
[2026-09-08 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":759997376,"raw_latitude":110062208,"longitude_deg":75.9997376,"latitude_deg":11.0062208,"altitude":81,"angle":140,"satellites":48,"speed":7,"hex_longitude":"2d4ca3c0","hex_latitude":"068f6a80","is_valid_coordinates":true} 
[2026-09-08 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948286976001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402790412500074496,"note":"Value kept but may cause issues"} 
[2026-09-08 15:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5522327965006501888,"note":"Value kept but may cause issues"} 
[2026-09-08 15:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788860497000,"timestamp_ms":1788860497000,"timestamp_seconds":1788860497,"priority":1,"record_length":96,"hex_timestamp":"000001a08064fc68"} 
[2026-09-08 15:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-08 15:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948286976001,"66":27539,"49":206,"19":48128,"24":7,"16":402790412500074496,"45":5522327965006501888},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948286976001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:12:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:12:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402790412500074496,"km_value":402790412500074.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5522327965006501888,"description":"Unknown IO ID 45"} 
[2026-09-08 15:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948286976001,"power":27539,"unknown_49":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":5522327965006501888}} 
[2026-09-08 15:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":174480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:12:49] local.INFO: GPS data processed {"connection_id":174480,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:12:49] local.INFO: Acknowledgment sent {"connection_id":174480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:13:20] local.INFO: TCP Data received {"connection_id":174480,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080650ff0012d4ca6c0068f67600050007f31..."} 
[2026-09-08 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080650ff0012d4ca6c0068f67600050007f31..."} 
[2026-09-08 15:13:20] local.INFO: Processing buffer {"connection_id":174480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080650ff0012d4ca6c0068f67600050007f31..."} 
[2026-09-08 15:13:20] local.INFO: Packet analysis {"connection_id":174480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:13:20] local.INFO: Extracted packet for processing {"connection_id":174480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:13:20] local.INFO: GPS Element Parsed {"raw_longitude":759998144,"raw_latitude":110061408,"longitude_deg":75.9998144,"latitude_deg":11.0061408,"altitude":80,"angle":127,"satellites":49,"speed":11,"hex_longitude":"2d4ca6c0","hex_latitude":"068f6760","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948287232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402790468334649344,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5522468702494818304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788860502000,"timestamp_ms":1788860502000,"timestamp_seconds":1788860502,"priority":1,"record_length":96,"hex_timestamp":"000001a080650ff0"} 
[2026-09-08 15:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-08 15:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948287232001,"66":27745,"49":206,"19":48128,"24":11,"16":402790468334649344,"45":5522468702494818304},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948287232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:13:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:13:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402790468334649344,"km_value":402790468334649.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5522468702494818304,"description":"Unknown IO ID 45"} 
[2026-09-08 15:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948287232001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":11,"odometer":null,"unknown_45":5522468702494818304}} 
[2026-09-08 15:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":174480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:13:21] local.INFO: GPS data processed {"connection_id":174480,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:13:21] local.INFO: Acknowledgment sent {"connection_id":174480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:13:21] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:21] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:21] local.INFO: IMEI packet received {"connection_id":174481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":174481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:13:22] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:22] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:22] local.INFO: IMEI packet received {"connection_id":174481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":174481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:13:25] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:25] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:13:25] local.INFO: IMEI packet received {"connection_id":174481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":174481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:13:26] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 15:13:26] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 15:13:26] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:13:26] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:13:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:13:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:13:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:13:26] local.ERROR: GPS data processing failed {"connection_id":174481,"error":"No valid data to process"} 
[2026-09-08 15:13:26] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:13:41] local.INFO: TCP Data received {"connection_id":175808,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:13:41] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:13:41] local.INFO: IMEI packet received {"connection_id":175808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":175808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:13:47] local.INFO: TCP Data received {"connection_id":175808,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:13:47] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:13:47] local.INFO: IMEI packet received {"connection_id":175808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":175808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:13:50] local.INFO: TCP Data received {"connection_id":175808,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080653700012d4cafc0068f61d8004f007431..."} 
[2026-09-08 15:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080653700012d4cafc0068f61d8004f007431..."} 
[2026-09-08 15:13:50] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080653700012d4cafc0068f61d8004f007431..."} 
[2026-09-08 15:13:50] local.INFO: Packet analysis {"connection_id":175808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:13:50] local.INFO: Extracted packet for processing {"connection_id":175808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":760000448,"raw_latitude":110059992,"longitude_deg":76.0000448,"latitude_deg":11.0059992,"altitude":79,"angle":116,"satellites":49,"speed":7,"hex_longitude":"2d4cafc0","hex_latitude":"068f61d8","is_valid_coordinates":true} 
[2026-09-08 15:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948288512001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402790597183668224,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5523313127424745472,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788860512000,"timestamp_ms":1788860512000,"timestamp_seconds":1788860512,"priority":1,"record_length":96,"hex_timestamp":"000001a080653700"} 
[2026-09-08 15:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948288512001,"66":27865,"49":206,"19":48128,"24":7,"16":402790597183668224,"45":5523313127424745472},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948288512001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:13:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:13:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402790597183668224,"km_value":402790597183668.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5523313127424745472,"description":"Unknown IO ID 45"} 
[2026-09-08 15:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948288512001,"power":27865,"unknown_49":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":5523313127424745472}} 
[2026-09-08 15:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":175808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:13:50] local.INFO: GPS data processed {"connection_id":175808,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:13:50] local.INFO: Acknowledgment sent {"connection_id":175808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:13:57] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-08 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-08 15:13:57] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-08 15:13:57] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:13:57] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:13:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:13:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:13:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:13:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:13:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:13:57] local.ERROR: GPS data processing failed {"connection_id":174481,"error":"No valid data to process"} 
[2026-09-08 15:13:57] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:14:22] local.INFO: TCP Data received {"connection_id":175808,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080657d50012d4cd0c0068f51c00045007531..."} 
[2026-09-08 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080657d50012d4cd0c0068f51c00045007531..."} 
[2026-09-08 15:14:22] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080657d50012d4cd0c0068f51c00045007531..."} 
[2026-09-08 15:14:22] local.INFO: Packet analysis {"connection_id":175808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:14:22] local.INFO: Extracted packet for processing {"connection_id":175808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":760008896,"raw_latitude":110055872,"longitude_deg":76.0008896,"latitude_deg":11.0055872,"altitude":69,"angle":117,"satellites":49,"speed":22,"hex_longitude":"2d4cd0c0","hex_latitude":"068f51c0","is_valid_coordinates":true} 
[2026-09-08 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948291072001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791048155234304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5525846402214778880,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788860530000,"timestamp_ms":1788860530000,"timestamp_seconds":1788860530,"priority":1,"record_length":96,"hex_timestamp":"000001a080657d50"} 
[2026-09-08 15:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 15:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948291072001,"66":27713,"49":206,"19":48128,"24":22,"16":402791048155234304,"45":5525846402214778880},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948291072001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:14:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791048155234304,"km_value":402791048155234.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5525846402214778880,"description":"Unknown IO ID 45"} 
[2026-09-08 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948291072001,"power":27713,"unknown_49":206,"unknown_19":48128,"ignition":22,"odometer":null,"unknown_45":5525846402214778880}} 
[2026-09-08 15:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":175808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:14:22] local.INFO: GPS data processed {"connection_id":175808,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:14:22] local.INFO: Acknowledgment sent {"connection_id":175808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:14:29] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-08 15:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-08 15:14:29] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-08 15:14:29] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:14:29] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:14:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:14:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:14:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:14:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:14:29] local.ERROR: GPS data processing failed {"connection_id":174481,"error":"No valid data to process"} 
[2026-09-08 15:14:29] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:14:33] local.INFO: TCP Data received {"connection_id":174482,"ip":"117.224.197.178","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:14:33] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:14:33] local.INFO: IMEI packet received {"connection_id":174482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":174482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:14:47] local.INFO: TCP Data received {"connection_id":174483,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:14:47] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:14:47] local.INFO: IMEI packet received {"connection_id":174483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:14:52] local.INFO: TCP Data received {"connection_id":174483,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:14:52] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:14:52] local.INFO: IMEI packet received {"connection_id":174483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":174483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:14:54] local.INFO: TCP Data received {"connection_id":174483,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806594c0012d4cda00068f4c08004300812f..."} 
[2026-09-08 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806594c0012d4cda00068f4c08004300812f..."} 
[2026-09-08 15:14:54] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806594c0012d4cda00068f4c08004300812f..."} 
[2026-09-08 15:14:54] local.INFO: Packet analysis {"connection_id":174483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:14:54] local.INFO: Extracted packet for processing {"connection_id":174483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":760011264,"raw_latitude":110054408,"longitude_deg":76.0011264,"latitude_deg":11.0054408,"altitude":67,"angle":129,"satellites":47,"speed":12,"hex_longitude":"2d4cda00","hex_latitude":"068f4c08","is_valid_coordinates":true} 
[2026-09-08 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948295680001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791181299220480,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5535135076445175808,"note":"Value kept but may cause issues"} 
[2026-09-08 15:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788860536000,"timestamp_ms":1788860536000,"timestamp_seconds":1788860536,"priority":1,"record_length":96,"hex_timestamp":"000001a0806594c0"} 
[2026-09-08 15:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 15:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948295680001,"66":27865,"49":206,"19":48128,"24":12,"16":402791181299220480,"45":5535135076445175808},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948295680001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:14:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:14:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791181299220480,"km_value":402791181299220.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5535135076445175808,"description":"Unknown IO ID 45"} 
[2026-09-08 15:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948295680001,"power":27865,"unknown_49":206,"unknown_19":48128,"ignition":12,"odometer":null,"unknown_45":5535135076445175808}} 
[2026-09-08 15:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":174483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:14:54] local.INFO: GPS data processed {"connection_id":174483,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:14:54] local.INFO: Acknowledgment sent {"connection_id":174483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:15:01] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-08 15:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-08 15:15:01] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-08 15:15:01] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:15:01] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:15:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:15:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:15:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:15:01] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:15:01] local.ERROR: GPS data processing failed {"connection_id":174481,"error":"No valid data to process"} 
[2026-09-08 15:15:01] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:15:27] local.INFO: TCP Data received {"connection_id":174483,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:15:27] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:15:27] local.INFO: Packet analysis {"connection_id":174483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:15:27] local.INFO: Extracted packet for processing {"connection_id":174483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297216001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5537738719979374592,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 15:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297216001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5537738719979374592},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297216001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:15:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:15:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5537738719979374592,"description":"Unknown IO ID 45"} 
[2026-09-08 15:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297216001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5537738719979374592}} 
[2026-09-08 15:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":174483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:15:27] local.INFO: GPS data processed {"connection_id":174483,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:15:27] local.INFO: Acknowledgment sent {"connection_id":174483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:15:33] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08067d2f80100000000000000000000000000..."} 
[2026-09-08 15:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08067d2f80100000000000000000000000000..."} 
[2026-09-08 15:15:33] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08067d2f80100000000000000000000000000..."} 
[2026-09-08 15:15:33] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08067"} 
[2026-09-08 15:15:33] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08067"} 
[2026-09-08 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788860683000,"timestamp_ms":1788860683000,"timestamp_seconds":1788860683,"priority":1,"record_length":96,"hex_timestamp":"000001a08067d2f8"} 
[2026-09-08 15:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 15:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:15:33] local.INFO: GPS data processed {"connection_id":174481,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:15:33] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:15:41] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:15:41] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:15:41] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:15:47] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:15:47] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:15:47] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:15:50] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:15:50] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:15:50] local.INFO: Packet analysis {"connection_id":174742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:15:50] local.INFO: Extracted packet for processing {"connection_id":174742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":174742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:15:50] local.INFO: GPS data processed {"connection_id":174742,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:15:50] local.INFO: Acknowledgment sent {"connection_id":174742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:16:05] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806825000100000000000000000000000000..."} 
[2026-09-08 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806825000100000000000000000000000000..."} 
[2026-09-08 15:16:05] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806825000100000000000000000000000000..."} 
[2026-09-08 15:16:05] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:16:05] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788860704000,"timestamp_ms":1788860704000,"timestamp_seconds":1788860704,"priority":1,"record_length":96,"hex_timestamp":"000001a080682500"} 
[2026-09-08 15:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 15:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:16:05] local.INFO: GPS data processed {"connection_id":174481,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:16:05] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:16:23] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:16:23] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:16:23] local.INFO: Packet analysis {"connection_id":174742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:16:23] local.INFO: Extracted packet for processing {"connection_id":174742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:16:23] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15:16: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-09-08 15:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:16:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:16:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":174742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:16:23] local.INFO: GPS data processed {"connection_id":174742,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:16:23] local.INFO: Acknowledgment sent {"connection_id":174742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:16:36] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806877080100000000000000000000000000..."} 
[2026-09-08 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806877080100000000000000000000000000..."} 
[2026-09-08 15:16:36] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806877080100000000000000000000000000..."} 
[2026-09-08 15:16:36] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:16:36] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788860725000,"timestamp_ms":1788860725000,"timestamp_seconds":1788860725,"priority":1,"record_length":96,"hex_timestamp":"000001a080687708"} 
[2026-09-08 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 15:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:16:36] local.INFO: GPS data processed {"connection_id":174481,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:16:36] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:16:41] local.INFO: TCP Data received {"connection_id":177274,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:16:41] local.INFO: Processing buffer {"connection_id":177274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:16:41] local.INFO: IMEI packet received {"connection_id":177274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":177274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:16:47] local.INFO: TCP Data received {"connection_id":177274,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:16:47] local.INFO: Processing buffer {"connection_id":177274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:16:47] local.INFO: IMEI packet received {"connection_id":177274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":177274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:16:50] local.INFO: TCP Data received {"connection_id":177274,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:16:50] local.INFO: Processing buffer {"connection_id":177274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:16:50] local.INFO: Packet analysis {"connection_id":177274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:16:50] local.INFO: Extracted packet for processing {"connection_id":177274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":177274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:16:50] local.INFO: GPS data processed {"connection_id":177274,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:16:50] local.INFO: Acknowledgment sent {"connection_id":177274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:17:09] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08068b1a0012d7c760005ec3548001c010b07..."} 
[2026-09-08 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08068b1a0012d7c760005ec3548001c010b07..."} 
[2026-09-08 15:17:09] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08068b1a0012d7c760005ec3548001c010b07..."} 
[2026-09-08 15:17:09] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:17:09] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763131392,"raw_latitude":99366216,"longitude_deg":76.3131392,"latitude_deg":9.9366216,"altitude":28,"angle":267,"satellites":7,"speed":32,"hex_longitude":"2d7c7600","hex_latitude":"05ec3548","is_valid_coordinates":true} 
[2026-09-08 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886545539760128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788860740000,"timestamp_ms":1788860740000,"timestamp_seconds":1788860740,"priority":1,"record_length":96,"hex_timestamp":"000001a08068b1a0"} 
[2026-09-08 15:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:17:09] 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-09-08 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 15:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13472,"198":206,"87":13824,"24":32,"16":129886545539760128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-09-08 15:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 15:17:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 15:17:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886545539760128,"km_value":129886545539760.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:17:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null}} 
[2026-09-08 15:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:17:09] local.INFO: GPS data processed {"connection_id":174481,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:17:09] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:17:25] local.INFO: TCP Data received {"connection_id":177274,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:25] local.INFO: Processing buffer {"connection_id":177274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:25] local.INFO: Packet analysis {"connection_id":177274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:17:25] local.INFO: Extracted packet for processing {"connection_id":177274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:17:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:17:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":177274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:17:25] local.INFO: GPS data processed {"connection_id":177274,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:17:25] local.INFO: Acknowledgment sent {"connection_id":177274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:17:44] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:17:44] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:17:44] local.INFO: IMEI packet received {"connection_id":174743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":174743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:17:45] local.INFO: TCP Data received {"connection_id":174481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08068c910012d7c618005ec34a8001b010c08..."} 
[2026-09-08 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08068c910012d7c618005ec34a8001b010c08..."} 
[2026-09-08 15:17:45] local.INFO: Processing buffer {"connection_id":174481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08068c910012d7c618005ec34a8001b010c08..."} 
[2026-09-08 15:17:45] local.INFO: Packet analysis {"connection_id":174481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:17:45] local.INFO: Extracted packet for processing {"connection_id":174481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763126144,"raw_latitude":99366056,"longitude_deg":76.3126144,"latitude_deg":9.9366056,"altitude":27,"angle":268,"satellites":8,"speed":36,"hex_longitude":"2d7c6180","hex_latitude":"05ec34a8","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948349440001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129886794647863296,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968355733392672768,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788860746000,"timestamp_ms":1788860746000,"timestamp_seconds":1788860746,"priority":1,"record_length":96,"hex_timestamp":"000001a08068c910"} 
[2026-09-08 15:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 15:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948349440001,"66":13678,"198":206,"87":13824,"24":36,"16":129886794647863296,"45":8968355733392672768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 15:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948349440001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:17:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 15:17:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129886794647863296,"km_value":129886794647863.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968355733392672768,"description":"Unknown IO ID 45"} 
[2026-09-08 15:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948349440001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8968355733392672768}} 
[2026-09-08 15:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":174481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:17:46] local.INFO: GPS data processed {"connection_id":174481,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:17:46] local.INFO: Acknowledgment sent {"connection_id":174481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:17:47] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:17:47] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:17:47] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:17:52] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:17:52] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:17:52] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:17:55] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:55] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:55] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:17:55] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:17:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:17:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:17:55] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:17:55] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:17:58] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:58] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080659c90012d4cdb40068f4aa0004300912f..."} 
[2026-09-08 15:17:58] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:17:58] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08065"} 
[2026-09-08 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":760011584,"raw_latitude":110054048,"longitude_deg":76.0011584,"latitude_deg":11.0054048,"altitude":67,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d4cdb40","hex_latitude":"068f4aa0","is_valid_coordinates":true} 
[2026-09-08 15:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788860538000,"timestamp_ms":1788860538000,"timestamp_seconds":1788860538,"priority":1,"record_length":96,"hex_timestamp":"000001a080659c90"} 
[2026-09-08 15:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":27745,"49":206,"19":48128,"24":8,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":27745,"unknown_49":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:17:58] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:17:58] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:18:00] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:18:00] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:18:00] local.INFO: IMEI packet received {"connection_id":175812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":175812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:18:02] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:18:02] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:18:02] local.INFO: IMEI packet received {"connection_id":175812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":175812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:18:03] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08068f020012d7c3d8005ec3408001c010c08..."} 
[2026-09-08 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08068f020012d7c3d8005ec3408001c010c08..."} 
[2026-09-08 15:18:03] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08068f020012d7c3d8005ec3408001c010c08..."} 
[2026-09-08 15:18:03] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:18:03] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08068"} 
[2026-09-08 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763116928,"raw_latitude":99365896,"longitude_deg":76.3116928,"latitude_deg":9.9365896,"altitude":28,"angle":268,"satellites":8,"speed":37,"hex_longitude":"2d7c3d80","hex_latitude":"05ec3408","is_valid_coordinates":true} 
[2026-09-08 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948350976001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129887237029494784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962585496370063360,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788860756000,"timestamp_ms":1788860756000,"timestamp_seconds":1788860756,"priority":1,"record_length":96,"hex_timestamp":"000001a08068f020"} 
[2026-09-08 15:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 15:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948350976001,"66":13787,"198":206,"87":13824,"24":37,"16":129887237029494784,"45":8962585496370063360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 15:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948350976001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:18:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 15:18:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129887237029494784,"km_value":129887237029494.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962585496370063360,"description":"Unknown IO ID 45"} 
[2026-09-08 15:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948350976001,"power":13787,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8962585496370063360}} 
[2026-09-08 15:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:18:03] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:18:03] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:18:41] local.INFO: TCP Data received {"connection_id":177275,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:18:41] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:18:41] local.INFO: IMEI packet received {"connection_id":177275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:18:43] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806ad868012d7abb4005ebb838001100f612..."} 
[2026-09-08 15:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806ad868012d7abb4005ebb838001100f612..."} 
[2026-09-08 15:18:43] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806ad868012d7abb4005ebb838001100f612..."} 
[2026-09-08 15:18:43] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:18:43] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763018048,"raw_latitude":99334200,"longitude_deg":76.3018048,"latitude_deg":9.93342,"altitude":17,"angle":246,"satellites":18,"speed":28,"hex_longitude":"2d7abb40","hex_latitude":"05ebb838","is_valid_coordinates":true} 
[2026-09-08 15:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948382720001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129892253551296512,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853232467910844416,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788860881000,"timestamp_ms":1788860881000,"timestamp_seconds":1788860881,"priority":1,"record_length":96,"hex_timestamp":"000001a0806ad868"} 
[2026-09-08 15:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 15:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948382720001,"66":13624,"99":206,"87":13824,"24":28,"16":129892253551296512,"45":8853232467910844416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948382720001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129892253551296512,"km_value":129892253551296.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853232467910844416,"description":"Unknown IO ID 45"} 
[2026-09-08 15:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948382720001,"power":13624,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8853232467910844416}} 
[2026-09-08 15:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:18:43] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:18:43] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:18:47] local.INFO: TCP Data received {"connection_id":177275,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:18:47] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:18:47] local.INFO: IMEI packet received {"connection_id":177275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":177275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:18:49] local.INFO: TCP Data received {"connection_id":177275,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:18:49] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:18:49] local.INFO: Packet analysis {"connection_id":177275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:18:49] local.INFO: Extracted packet for processing {"connection_id":177275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:18:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:18:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":177275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:18:49] local.INFO: GPS data processed {"connection_id":177275,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:18:49] local.INFO: Acknowledgment sent {"connection_id":177275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:19:14] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806b0748012d7a9a8005ebab30000f00f712..."} 
[2026-09-08 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806b0748012d7a9a8005ebab30000f00f712..."} 
[2026-09-08 15:19:14] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806b0748012d7a9a8005ebab30000f00f712..."} 
[2026-09-08 15:19:14] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:19:14] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763009664,"raw_latitude":99330864,"longitude_deg":76.3009664,"latitude_deg":9.9330864,"altitude":15,"angle":247,"satellites":18,"speed":29,"hex_longitude":"2d7a9a80","hex_latitude":"05ebab30","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948385536001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129892687342993408,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843732687445833728,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788860893000,"timestamp_ms":1788860893000,"timestamp_seconds":1788860893,"priority":1,"record_length":96,"hex_timestamp":"000001a0806b0748"} 
[2026-09-08 15:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 15:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948385536001,"66":13928,"99":206,"87":13824,"24":29,"16":129892687342993408,"45":8843732687445833728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948385536001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:19:14] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:19:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129892687342993408,"km_value":129892687342993.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843732687445833728,"description":"Unknown IO ID 45"} 
[2026-09-08 15:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948385536001,"power":13928,"unknown_99":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8843732687445833728}} 
[2026-09-08 15:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:19:14] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:19:14] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:19:21] local.INFO: TCP Data received {"connection_id":177275,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:19:21] local.INFO: Processing buffer {"connection_id":177275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:19:21] local.INFO: Packet analysis {"connection_id":177275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:19:21] local.INFO: Extracted packet for processing {"connection_id":177275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:19:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:19:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:19:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":177275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:19:21] local.INFO: GPS data processed {"connection_id":177275,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:19:21] local.INFO: Acknowledgment sent {"connection_id":177275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:19:41] local.INFO: TCP Data received {"connection_id":174745,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:19:41] local.INFO: Processing buffer {"connection_id":174745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:19:41] local.INFO: IMEI packet received {"connection_id":174745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":174745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:19:46] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806b41e0012d7a788005eb9ef0000f00f712..."} 
[2026-09-08 15:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806b41e0012d7a788005eb9ef0000f00f712..."} 
[2026-09-08 15:19:46] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806b41e0012d7a788005eb9ef0000f00f712..."} 
[2026-09-08 15:19:46] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:19:46] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":763000960,"raw_latitude":99327728,"longitude_deg":76.300096,"latitude_deg":9.9327728,"altitude":15,"angle":247,"satellites":18,"speed":17,"hex_longitude":"2d7a7880","hex_latitude":"05eb9ef0","is_valid_coordinates":true} 
[2026-09-08 15:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948388608001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129893129724624896,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834514381957705728,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788860908000,"timestamp_ms":1788860908000,"timestamp_seconds":1788860908,"priority":1,"record_length":96,"hex_timestamp":"000001a0806b41e0"} 
[2026-09-08 15:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 15:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948388608001,"66":13798,"99":206,"87":13824,"24":17,"16":129893129724624896,"45":8834514381957705728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948388608001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:19:46] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129893129724624896,"km_value":129893129724624.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834514381957705728,"description":"Unknown IO ID 45"} 
[2026-09-08 15:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948388608001,"power":13798,"unknown_99":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8834514381957705728}} 
[2026-09-08 15:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:19:46] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:19:46] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:19:47] local.INFO: TCP Data received {"connection_id":174745,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:19:47] local.INFO: Processing buffer {"connection_id":174745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:19:47] local.INFO: IMEI packet received {"connection_id":174745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:19:49] local.INFO: TCP Data received {"connection_id":174745,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:19:49] local.INFO: Processing buffer {"connection_id":174745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:19:49] local.INFO: Packet analysis {"connection_id":174745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:19:49] local.INFO: Extracted packet for processing {"connection_id":174745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:19:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:19:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:19:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":174745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:19:49] local.INFO: GPS data processed {"connection_id":174745,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:19:49] local.INFO: Acknowledgment sent {"connection_id":174745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:20:07] local.INFO: TCP Data received {"connection_id":174485,"ip":"117.224.197.178","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:07] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:07] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:20:17] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806b9000012d7a730005eb9c700011010013..."} 
[2026-09-08 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806b9000012d7a730005eb9c700011010013..."} 
[2026-09-08 15:20:17] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806b9000012d7a730005eb9c700011010013..."} 
[2026-09-08 15:20:17] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:20:17] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":762999552,"raw_latitude":99327088,"longitude_deg":76.2999552,"latitude_deg":9.9327088,"altitude":17,"angle":256,"satellites":19,"speed":0,"hex_longitude":"2d7a7300","hex_latitude":"05eb9c70","is_valid_coordinates":true} 
[2026-09-08 15:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948392448001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129893207034036224,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824944232748740608,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788860928000,"timestamp_ms":1788860928000,"timestamp_seconds":1788860928,"priority":1,"record_length":96,"hex_timestamp":"000001a0806b9000"} 
[2026-09-08 15:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 15:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948392448001,"66":13852,"161":206,"87":13824,"24":0,"16":129893207034036224,"45":8824944232748740608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 15:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948392448001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:20:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 15:20:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129893207034036224,"km_value":129893207034036.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824944232748740608,"description":"Unknown IO ID 45"} 
[2026-09-08 15:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948392448001,"power":13852,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8824944232748740608}} 
[2026-09-08 15:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:20:17] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:20:17] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:20:20] local.INFO: TCP Data received {"connection_id":174745,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:20] local.INFO: Processing buffer {"connection_id":174745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:20] local.INFO: Packet analysis {"connection_id":174745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:20:20] local.INFO: Extracted packet for processing {"connection_id":174745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:20:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:20:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:20:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:20:20] local.INFO: GPS data processed {"connection_id":174745,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:20:20] local.INFO: Acknowledgment sent {"connection_id":174745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:20:36] local.INFO: TCP Data received {"connection_id":177276,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:36] local.INFO: Processing buffer {"connection_id":177276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:36] local.INFO: IMEI packet received {"connection_id":177276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":177276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:20:41] local.INFO: TCP Data received {"connection_id":177276,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:41] local.INFO: Processing buffer {"connection_id":177276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:20:41] local.INFO: IMEI packet received {"connection_id":177276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":177276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:20:42] local.INFO: TCP Data received {"connection_id":177276,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806c5738012d18d0c007212908004001582b..."} 
[2026-09-08 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806c5738012d18d0c007212908004001582b..."} 
[2026-09-08 15:20:42] local.INFO: Processing buffer {"connection_id":177276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806c5738012d18d0c007212908004001582b..."} 
[2026-09-08 15:20:42] local.INFO: Packet analysis {"connection_id":177276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:20:42] local.INFO: Extracted packet for processing {"connection_id":177276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119613704,"longitude_deg":75.6601024,"latitude_deg":11.9613704,"altitude":64,"angle":344,"satellites":43,"speed":33,"hex_longitude":"2d18d0c0","hex_latitude":"07212908","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948409088001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18684997523210240,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406776832,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:42] 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-09-08 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788860979000,"timestamp_ms":1788860979000,"timestamp_seconds":1788860979,"priority":1,"record_length":96,"hex_timestamp":"000001a0806c5738"} 
[2026-09-08 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-09-08 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 15:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948409088001,"66":13798,"121":206,"28":31744,"24":33,"16":18684997523210240,"45":1788280926406776832},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948409088001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:20:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18684997523210240,"km_value":18684997523210.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406776832,"description":"Unknown IO ID 45"} 
[2026-09-08 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948409088001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1788280926406776832}} 
[2026-09-08 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":177276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:20:42] local.INFO: GPS data processed {"connection_id":177276,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:20:42] local.INFO: Acknowledgment sent {"connection_id":177276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:20:47] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:20:47] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:20:47] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:20:52] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:20:52] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:20:52] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:20:53] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:53] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:53] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:20:53] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:20:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:20:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:20:53] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:20:53] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:20:58] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:58] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:20:58] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:20:58] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:20:58] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:20:58] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:20:58] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:00] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:00] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:00] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:21:01] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:01] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:01] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:21:05] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:05] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:21:05] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:21:06] local.INFO: TCP Data received {"connection_id":177277,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:21:06] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:21:06] local.INFO: IMEI packet received {"connection_id":177277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":177277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:21:06] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806be208012d7a728005eb9ca0000f010012..."} 
[2026-09-08 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806be208012d7a728005eb9ca0000f010012..."} 
[2026-09-08 15:21:06] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806be208012d7a728005eb9ca0000f010012..."} 
[2026-09-08 15:21:06] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:21:06] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762999424,"raw_latitude":99327136,"longitude_deg":76.2999424,"latitude_deg":9.9327136,"altitude":15,"angle":256,"satellites":18,"speed":4,"hex_longitude":"2d7a7280","hex_latitude":"05eb9ca0","is_valid_coordinates":true} 
[2026-09-08 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948397568001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129893215623970816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823396120376668160,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788860949000,"timestamp_ms":1788860949000,"timestamp_seconds":1788860949,"priority":1,"record_length":96,"hex_timestamp":"000001a0806be208"} 
[2026-09-08 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948397568001,"66":13928,"161":206,"87":13824,"24":4,"16":129893215623970816,"45":8823396120376668160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948397568001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 15:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129893215623970816,"km_value":129893215623970.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823396120376668160,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948397568001,"power":13928,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8823396120376668160}} 
[2026-09-08 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:06] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:06] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:07] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806be5f0012d7a724005eb9c90001000f512..."} 
[2026-09-08 15:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806be5f0012d7a724005eb9c90001000f512..."} 
[2026-09-08 15:21:07] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806be5f0012d7a724005eb9c90001000f512..."} 
[2026-09-08 15:21:07] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:21:07] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806b"} 
[2026-09-08 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":762999360,"raw_latitude":99327120,"longitude_deg":76.299936,"latitude_deg":9.932712,"altitude":16,"angle":245,"satellites":18,"speed":5,"hex_longitude":"2d7a7240","hex_latitude":"05eb9c90","is_valid_coordinates":true} 
[2026-09-08 15:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948402944001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129893215623970816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823255382888325120,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788860950000,"timestamp_ms":1788860950000,"timestamp_seconds":1788860950,"priority":1,"record_length":96,"hex_timestamp":"000001a0806be5f0"} 
[2026-09-08 15:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948402944001,"66":13928,"161":206,"87":13824,"24":5,"16":129893215623970816,"45":8823255382888325120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 15:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948402944001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129893215623970816,"km_value":129893215623970.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823255382888325120,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948402944001,"power":13928,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8823255382888325120}} 
[2026-09-08 15:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:07] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:07] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:11] local.INFO: TCP Data received {"connection_id":177277,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:21:11] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:21:11] local.INFO: IMEI packet received {"connection_id":177277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":177277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:21:12] local.INFO: TCP Data received {"connection_id":177277,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806c5f08012d18cd8007212f10004001462a..."} 
[2026-09-08 15:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806c5f08012d18cd8007212f10004001462a..."} 
[2026-09-08 15:21:12] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806c5f08012d18cd8007212f10004001462a..."} 
[2026-09-08 15:21:12] local.INFO: Packet analysis {"connection_id":177277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:21:12] local.INFO: Extracted packet for processing {"connection_id":177277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119615248,"longitude_deg":75.6600192,"latitude_deg":11.9615248,"altitude":64,"angle":326,"satellites":42,"speed":35,"hex_longitude":"2d18cd80","hex_latitude":"07212f10","is_valid_coordinates":true} 
[2026-09-08 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948410624001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18685083422556160,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919728128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21: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-09-08 15:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788860981000,"timestamp_ms":1788860981000,"timestamp_seconds":1788860981,"priority":1,"record_length":96,"hex_timestamp":"000001a0806c5f08"} 
[2026-09-08 15:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948410624001,"66":13863,"121":206,"28":31744,"24":35,"16":18685083422556160,"45":1788140188919728128},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948410624001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18685083422556160,"km_value":18685083422556.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919728128,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948410624001,"power":13863,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788140188919728128}} 
[2026-09-08 15:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":177277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:12] local.INFO: GPS data processed {"connection_id":177277,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:12] local.INFO: Acknowledgment sent {"connection_id":177277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:13] local.INFO: TCP Data received {"connection_id":177277,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806c6ea8012d18c5c007213bd8004101512d..."} 
[2026-09-08 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806c6ea8012d18c5c007213bd8004101512d..."} 
[2026-09-08 15:21:13] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806c6ea8012d18c5c007213bd8004101512d..."} 
[2026-09-08 15:21:13] local.INFO: Packet analysis {"connection_id":177277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:21:13] local.INFO: Extracted packet for processing {"connection_id":177277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119618520,"longitude_deg":75.6598208,"latitude_deg":11.961852,"altitude":65,"angle":337,"satellites":45,"speed":39,"hex_longitude":"2d18c5c0","hex_latitude":"07213bd8","is_valid_coordinates":true} 
[2026-09-08 15:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948411136001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18685268106149888,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395245813760,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21: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-09-08 15:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788860985000,"timestamp_ms":1788860985000,"timestamp_seconds":1788860985,"priority":1,"record_length":96,"hex_timestamp":"000001a0806c6ea8"} 
[2026-09-08 15:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948411136001,"66":13852,"121":206,"28":31744,"24":39,"16":18685268106149888,"45":1787225395245813760},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948411136001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18685268106149888,"km_value":18685268106149.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395245813760,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948411136001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1787225395245813760}} 
[2026-09-08 15:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":177277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:14] local.INFO: GPS data processed {"connection_id":177277,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:14] local.INFO: Acknowledgment sent {"connection_id":177277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:38] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806ded78012d7a42c005ebb730000b015715..."} 
[2026-09-08 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806ded78012d7a42c005ebb730000b015715..."} 
[2026-09-08 15:21:38] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806ded78012d7a42c005ebb730000b015715..."} 
[2026-09-08 15:21:38] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:21:38] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":762987200,"raw_latitude":99333936,"longitude_deg":76.29872,"latitude_deg":9.9333936,"altitude":11,"angle":343,"satellites":21,"speed":24,"hex_longitude":"2d7a42c0","hex_latitude":"05ebb730","is_valid_coordinates":true} 
[2026-09-08 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948433664001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129894096092266496,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708656539648,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788861083000,"timestamp_ms":1788861083000,"timestamp_seconds":1788861083,"priority":1,"record_length":96,"hex_timestamp":"000001a0806ded78"} 
[2026-09-08 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948433664001,"66":13656,"163":206,"87":13824,"24":24,"16":129894096092266496,"45":8813966708656539648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948433664001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129894096092266496,"km_value":129894096092266.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708656539648,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948433664001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8813966708656539648}} 
[2026-09-08 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:38] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:38] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:42] local.INFO: TCP Data received {"connection_id":175815,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:21:42] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:21:42] local.INFO: IMEI packet received {"connection_id":175815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":175815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:21:45] local.INFO: TCP Data received {"connection_id":177277,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806c7678012d18c40007214378004201632c..."} 
[2026-09-08 15:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806c7678012d18c40007214378004201632c..."} 
[2026-09-08 15:21:45] local.INFO: Processing buffer {"connection_id":177277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806c7678012d18c40007214378004201632c..."} 
[2026-09-08 15:21:45] local.INFO: Packet analysis {"connection_id":177277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:21:45] local.INFO: Extracted packet for processing {"connection_id":177277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806c"} 
[2026-09-08 15:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620472,"longitude_deg":75.659776,"latitude_deg":11.9620472,"altitude":66,"angle":355,"satellites":44,"speed":39,"hex_longitude":"2d18c400","hex_latitude":"07214378","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948412160001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18685366890397696,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177143808,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21: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-09-08 15:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788860987000,"timestamp_ms":1788860987000,"timestamp_seconds":1788860987,"priority":1,"record_length":96,"hex_timestamp":"000001a0806c7678"} 
[2026-09-08 15:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948412160001,"66":13830,"121":206,"28":31744,"24":39,"16":18685366890397696,"45":1785043964177143808},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948412160001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18685366890397696,"km_value":18685366890397.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177143808,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948412160001,"power":13830,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1785043964177143808}} 
[2026-09-08 15:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":177277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:45] local.INFO: GPS data processed {"connection_id":177277,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:45] local.INFO: Acknowledgment sent {"connection_id":177277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:21:47] local.INFO: TCP Data received {"connection_id":175815,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:21:47] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:21:47] local.INFO: IMEI packet received {"connection_id":175815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:21:48] local.INFO: TCP Data received {"connection_id":175815,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:21:48] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:21:48] local.INFO: Packet analysis {"connection_id":175815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:21:48] local.INFO: Extracted packet for processing {"connection_id":175815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:21:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:21:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:21:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":175815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:21:48] local.INFO: GPS data processed {"connection_id":175815,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:21:48] local.INFO: Acknowledgment sent {"connection_id":175815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:00] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:00] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:00] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:22:01] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:01] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:01] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:22:01] local.INFO: TCP Data received {"connection_id":175817,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:01] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:01] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:22:02] local.INFO: TCP Data received {"connection_id":175817,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:02] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:02] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:22:05] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:05] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:22:05] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:22:06] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806ded78012d7a42c005ebb730000b015715..."} 
[2026-09-08 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806ded78012d7a42c005ebb730000b015715..."} 
[2026-09-08 15:22:06] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806ded78012d7a42c005ebb730000b015715..."} 
[2026-09-08 15:22:06] local.INFO: Packet analysis {"connection_id":174748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:06] local.INFO: Extracted packet for processing {"connection_id":174748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":762987200,"raw_latitude":99333936,"longitude_deg":76.29872,"latitude_deg":9.9333936,"altitude":11,"angle":343,"satellites":21,"speed":24,"hex_longitude":"2d7a42c0","hex_latitude":"05ebb730","is_valid_coordinates":true} 
[2026-09-08 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948437248001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129894096092266496,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809814952752132096,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861083000,"timestamp_ms":1788861083000,"timestamp_seconds":1788861083,"priority":1,"record_length":96,"hex_timestamp":"000001a0806ded78"} 
[2026-09-08 15:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948437248001,"66":13656,"163":206,"87":13824,"24":24,"16":129894096092266496,"45":8809814952752132096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948437248001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:22:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129894096092266496,"km_value":129894096092266.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809814952752132096,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948437248001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8809814952752132096}} 
[2026-09-08 15:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":174748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:06] local.INFO: GPS data processed {"connection_id":174748,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:06] local.INFO: Acknowledgment sent {"connection_id":174748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:06] local.INFO: TCP Data received {"connection_id":175817,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:06] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:06] local.INFO: IMEI packet received {"connection_id":175817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":175817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:22:08] local.INFO: TCP Data received {"connection_id":175817,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806da728012d18920007217a70004a012729..."} 
[2026-09-08 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806da728012d18920007217a70004a012729..."} 
[2026-09-08 15:22:08] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806da728012d18920007217a70004a012729..."} 
[2026-09-08 15:22:08] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:08] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119634544,"longitude_deg":75.658496,"latitude_deg":11.9634544,"altitude":74,"angle":295,"satellites":41,"speed":35,"hex_longitude":"2d189200","hex_latitude":"07217a70","is_valid_coordinates":true} 
[2026-09-08 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948430848001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18686363322810368,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764926066688,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22: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-09-08 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788861065000,"timestamp_ms":1788861065000,"timestamp_seconds":1788861065,"priority":1,"record_length":96,"hex_timestamp":"000001a0806da728"} 
[2026-09-08 15:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948430848001,"66":14135,"121":206,"28":31744,"24":35,"16":18686363322810368,"45":1776036764926066688},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948430848001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18686363322810368,"km_value":18686363322810.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764926066688,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948430848001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1776036764926066688}} 
[2026-09-08 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:08] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:08] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:09] local.INFO: TCP Data received {"connection_id":175817,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806dbab0012d188180072180e8004a011729..."} 
[2026-09-08 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806dbab0012d188180072180e8004a011729..."} 
[2026-09-08 15:22:09] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806dbab0012d188180072180e8004a011729..."} 
[2026-09-08 15:22:09] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:09] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756580736,"raw_latitude":119636200,"longitude_deg":75.6580736,"latitude_deg":11.96362,"altitude":74,"angle":279,"satellites":41,"speed":35,"hex_longitude":"2d188180","hex_latitude":"072180e8","is_valid_coordinates":true} 
[2026-09-08 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948432640001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18686578071175168,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770477634136469504,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22: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-09-08 15:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788861070000,"timestamp_ms":1788861070000,"timestamp_seconds":1788861070,"priority":1,"record_length":96,"hex_timestamp":"000001a0806dbab0"} 
[2026-09-08 15:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948432640001,"66":14070,"121":206,"28":31744,"24":35,"16":18686578071175168,"45":1770477634136469504},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948432640001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18686578071175168,"km_value":18686578071175.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770477634136469504,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948432640001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1770477634136469504}} 
[2026-09-08 15:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:09] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:09] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:20] local.INFO: TCP Data received {"connection_id":175815,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:22:20] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:22:20] local.INFO: Packet analysis {"connection_id":175815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:22:20] local.INFO: Extracted packet for processing {"connection_id":175815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:22:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":175815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:20] local.INFO: GPS data processed {"connection_id":175815,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:20] local.INFO: Acknowledgment sent {"connection_id":175815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:37] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806dfd18012d7a3f4005ebbe88000b014815..."} 
[2026-09-08 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806dfd18012d7a3f4005ebbe88000b014815..."} 
[2026-09-08 15:22:37] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806dfd18012d7a3f4005ebbe88000b014815..."} 
[2026-09-08 15:22:37] local.INFO: Packet analysis {"connection_id":174748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:37] local.INFO: Extracted packet for processing {"connection_id":174748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":99335816,"longitude_deg":76.2986304,"latitude_deg":9.9335816,"altitude":11,"angle":328,"satellites":21,"speed":19,"hex_longitude":"2d7a3f40","hex_latitude":"05ebbe88","is_valid_coordinates":true} 
[2026-09-08 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948437248001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129894199171481600,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809814952752132096,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861087000,"timestamp_ms":1788861087000,"timestamp_seconds":1788861087,"priority":1,"record_length":96,"hex_timestamp":"000001a0806dfd18"} 
[2026-09-08 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948437248001,"66":13906,"163":206,"87":13824,"24":19,"16":129894199171481600,"45":8809814952752132096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948437248001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:22:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129894199171481600,"km_value":129894199171481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809814952752132096,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948437248001,"power":13906,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8809814952752132096}} 
[2026-09-08 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":174748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:37] local.INFO: GPS data processed {"connection_id":174748,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:37] local.INFO: Acknowledgment sent {"connection_id":174748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:40] local.INFO: TCP Data received {"connection_id":175817,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0806dc280012d187a4007218150004b010b29..."} 
[2026-09-08 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806dc280012d187a4007218150004b010b29..."} 
[2026-09-08 15:22:40] local.INFO: Processing buffer {"connection_id":175817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806dc280012d187a4007218150004b010b29..."} 
[2026-09-08 15:22:40] local.INFO: Packet analysis {"connection_id":175817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:40] local.INFO: Extracted packet for processing {"connection_id":175817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806d"} 
[2026-09-08 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636304,"longitude_deg":75.657888,"latitude_deg":11.9636304,"altitude":75,"angle":267,"satellites":41,"speed":39,"hex_longitude":"2d187a40","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-09-08 15:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948433920001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18686668265488384,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765833297021167616,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22: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-09-08 15:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788861072000,"timestamp_ms":1788861072000,"timestamp_seconds":1788861072,"priority":1,"record_length":96,"hex_timestamp":"000001a0806dc280"} 
[2026-09-08 15:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948433920001,"66":13972,"121":206,"28":31744,"24":39,"16":18686668265488384,"45":1765833297021167616},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948433920001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:22:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18686668265488384,"km_value":18686668265488.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765833297021167616,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948433920001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1765833297021167616}} 
[2026-09-08 15:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":175817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:40] local.INFO: GPS data processed {"connection_id":175817,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:40] local.INFO: Acknowledgment sent {"connection_id":175817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:42] local.INFO: TCP Data received {"connection_id":177278,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:22:42] local.INFO: Processing buffer {"connection_id":177278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:22:42] local.INFO: IMEI packet received {"connection_id":177278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:22:47] local.INFO: TCP Data received {"connection_id":177278,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:22:47] local.INFO: Processing buffer {"connection_id":177278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:22:47] local.INFO: IMEI packet received {"connection_id":177278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":177278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:22:55] local.INFO: TCP Data received {"connection_id":177278,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:22:55] local.INFO: Processing buffer {"connection_id":177278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806a47e0012d4cdf00068f46980043009a30..."} 
[2026-09-08 15:22:55] local.INFO: Packet analysis {"connection_id":177278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:22:55] local.INFO: Extracted packet for processing {"connection_id":177278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806a"} 
[2026-09-08 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":67,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948297728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538090563700170752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788860844000,"timestamp_ms":1788860844000,"timestamp_seconds":1788860844,"priority":1,"record_length":96,"hex_timestamp":"000001a0806a47e0"} 
[2026-09-08 15:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 15:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948297728001,"66":26408,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5538090563700170752},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948297728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:22:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:22:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538090563700170752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948297728001,"power":26408,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5538090563700170752}} 
[2026-09-08 15:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":177278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:22:55] local.INFO: GPS data processed {"connection_id":177278,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:22:55] local.INFO: Acknowledgment sent {"connection_id":177278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:22:59] local.INFO: TCP Data received {"connection_id":174486,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:59] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:22:59] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:23:00] local.INFO: TCP Data received {"connection_id":174486,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:00] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:00] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:23:00] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:23:00] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:23:00] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:23:00] local.INFO: TCP Data received {"connection_id":174486,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:00] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:00] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:23:01] local.INFO: TCP Data received {"connection_id":174486,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:01] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:23:01] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:23:05] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:23:05] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:23:05] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:23:06] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806e2810012d7a370005ebce380008015815..."} 
[2026-09-08 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806e2810012d7a370005ebce380008015815..."} 
[2026-09-08 15:23:06] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806e2810012d7a370005ebce380008015815..."} 
[2026-09-08 15:23:06] local.INFO: Packet analysis {"connection_id":175818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:06] local.INFO: Extracted packet for processing {"connection_id":175818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762984192,"raw_latitude":99339832,"longitude_deg":76.2984192,"latitude_deg":9.9339832,"altitude":8,"angle":344,"satellites":21,"speed":11,"hex_longitude":"2d7a3700","hex_latitude":"05ebce38","is_valid_coordinates":true} 
[2026-09-08 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948438272001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129894418214813696,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829790334126080,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861098000,"timestamp_ms":1788861098000,"timestamp_seconds":1788861098,"priority":1,"record_length":96,"hex_timestamp":"000001a0806e2810"} 
[2026-09-08 15:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-08 15:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948438272001,"66":14026,"163":206,"87":13824,"24":11,"16":129894418214813696,"45":8808829790334126080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948438272001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:23:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129894418214813696,"km_value":129894418214813.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829790334126080,"description":"Unknown IO ID 45"} 
[2026-09-08 15:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948438272001,"power":14026,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8808829790334126080}} 
[2026-09-08 15:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":175818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:23:06] local.INFO: GPS data processed {"connection_id":175818,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:23:06] local.INFO: Acknowledgment sent {"connection_id":175818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:23:14] local.INFO: TCP Data received {"connection_id":177279,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:23:14] local.INFO: Processing buffer {"connection_id":177279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:23:14] local.INFO: IMEI packet received {"connection_id":177279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":177279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:23:27] local.INFO: TCP Data received {"connection_id":177278,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:23:27] local.INFO: Processing buffer {"connection_id":177278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:23:27] local.INFO: Packet analysis {"connection_id":177278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:27] local.INFO: Extracted packet for processing {"connection_id":177278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:27] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:23:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:23:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":177278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:23:27] local.INFO: GPS data processed {"connection_id":177278,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:23:27] local.INFO: Acknowledgment sent {"connection_id":177278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:23:38] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0806e3b98012d7a330005ebd6080007014d15..."} 
[2026-09-08 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806e3b98012d7a330005ebd6080007014d15..."} 
[2026-09-08 15:23:38] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806e3b98012d7a330005ebd6080007014d15..."} 
[2026-09-08 15:23:38] local.INFO: Packet analysis {"connection_id":175818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:38] local.INFO: Extracted packet for processing {"connection_id":175818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":99341832,"longitude_deg":76.2983168,"latitude_deg":9.9341832,"altitude":7,"angle":333,"satellites":21,"speed":19,"hex_longitude":"2d7a3300","hex_latitude":"05ebd608","is_valid_coordinates":true} 
[2026-09-08 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948441088001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129894525588996096,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806507621777291264,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788861103000,"timestamp_ms":1788861103000,"timestamp_seconds":1788861103,"priority":1,"record_length":96,"hex_timestamp":"000001a0806e3b98"} 
[2026-09-08 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:23: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-09-08 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 15:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948441088001,"66":13798,"163":206,"87":13824,"24":19,"16":129894525588996096,"45":8806507621777291264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948441088001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:23:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129894525588996096,"km_value":129894525588996.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806507621777291264,"description":"Unknown IO ID 45"} 
[2026-09-08 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948441088001,"power":13798,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8806507621777291264}} 
[2026-09-08 15:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":175818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:23:38] local.INFO: GPS data processed {"connection_id":175818,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:23:38] local.INFO: Acknowledgment sent {"connection_id":175818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:23:41] local.INFO: TCP Data received {"connection_id":177280,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:23:41] local.INFO: Processing buffer {"connection_id":177280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:23:41] local.INFO: IMEI packet received {"connection_id":177280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":177280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:23:44] local.INFO: TCP Data received {"connection_id":175819,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:23:44] local.INFO: Processing buffer {"connection_id":175819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:23:44] local.INFO: IMEI packet received {"connection_id":175819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:23:47] local.INFO: TCP Data received {"connection_id":177280,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:23:47] local.INFO: Processing buffer {"connection_id":177280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:23:47] local.INFO: IMEI packet received {"connection_id":177280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":177280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:23:49] local.INFO: TCP Data received {"connection_id":177280,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:23:49] local.INFO: Processing buffer {"connection_id":177280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:23:49] local.INFO: Packet analysis {"connection_id":177280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:49] local.INFO: Extracted packet for processing {"connection_id":177280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:23:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:23:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:23:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":177280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:23:49] local.INFO: GPS data processed {"connection_id":177280,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:23:49] local.INFO: Acknowledgment sent {"connection_id":177280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:24:00] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:00] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:00] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:24:01] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:01] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:01] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:24:05] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:05] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:24:05] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:24:06] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080701058012d79e0c005eca960000b001316..."} 
[2026-09-08 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080701058012d79e0c005eca960000b001316..."} 
[2026-09-08 15:24:06] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080701058012d79e0c005eca960000b001316..."} 
[2026-09-08 15:24:06] local.INFO: Packet analysis {"connection_id":175820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:24:06] local.INFO: Extracted packet for processing {"connection_id":175820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":762962112,"raw_latitude":99395936,"longitude_deg":76.2962112,"latitude_deg":9.9395936,"altitude":11,"angle":19,"satellites":22,"speed":6,"hex_longitude":"2d79e0c0","hex_latitude":"05eca960","is_valid_coordinates":true} 
[2026-09-08 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948472832001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897360267411456,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782160036306139136,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861223000,"timestamp_ms":1788861223000,"timestamp_seconds":1788861223,"priority":1,"record_length":96,"hex_timestamp":"000001a080701058"} 
[2026-09-08 15:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 15:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948472832001,"66":13048,"100":206,"87":13824,"24":6,"16":129897360267411456,"45":8782160036306139136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948472832001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:24:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:24:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897360267411456,"km_value":129897360267411.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782160036306139136,"description":"Unknown IO ID 45"} 
[2026-09-08 15:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948472832001,"power":13048,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782160036306139136}} 
[2026-09-08 15:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":175820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:24:06] local.INFO: GPS data processed {"connection_id":175820,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:24:06] local.INFO: Acknowledgment sent {"connection_id":175820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:24:21] local.INFO: TCP Data received {"connection_id":177280,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:24:21] local.INFO: Processing buffer {"connection_id":177280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:24:21] local.INFO: Packet analysis {"connection_id":177280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:24:21] local.INFO: Extracted packet for processing {"connection_id":177280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:24:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:24:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:24:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":177280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:24:21] local.INFO: GPS data processed {"connection_id":177280,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:24:21] local.INFO: Acknowledgment sent {"connection_id":177280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:24:37] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080701828012d79e10005ecaa48000c002716..."} 
[2026-09-08 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080701828012d79e10005ecaa48000c002716..."} 
[2026-09-08 15:24:37] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080701828012d79e10005ecaa48000c002716..."} 
[2026-09-08 15:24:37] local.INFO: Packet analysis {"connection_id":175820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:24:37] local.INFO: Extracted packet for processing {"connection_id":175820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762962176,"raw_latitude":99396168,"longitude_deg":76.2962176,"latitude_deg":9.9396168,"altitude":12,"angle":39,"satellites":22,"speed":6,"hex_longitude":"2d79e100","hex_latitude":"05ecaa48","is_valid_coordinates":true} 
[2026-09-08 15:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948473088001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897373152313344,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782230405050359808,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861225000,"timestamp_ms":1788861225000,"timestamp_seconds":1788861225,"priority":1,"record_length":96,"hex_timestamp":"000001a080701828"} 
[2026-09-08 15:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-08 15:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948473088001,"66":13319,"100":206,"87":13824,"24":6,"16":129897373152313344,"45":8782230405050359808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948473088001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:24:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:24:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897373152313344,"km_value":129897373152313.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782230405050359808,"description":"Unknown IO ID 45"} 
[2026-09-08 15:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948473088001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782230405050359808}} 
[2026-09-08 15:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":175820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:24:37] local.INFO: GPS data processed {"connection_id":175820,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:24:37] local.INFO: Acknowledgment sent {"connection_id":175820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:24:41] local.INFO: TCP Data received {"connection_id":174488,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:24:41] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:24:41] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:24:47] local.INFO: TCP Data received {"connection_id":174488,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:24:47] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:24:47] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:24:48] local.INFO: TCP Data received {"connection_id":174488,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:24:48] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:24:48] local.INFO: Packet analysis {"connection_id":174488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:24:48] local.INFO: Extracted packet for processing {"connection_id":174488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:24:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:24:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":174488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:24:48] local.INFO: GPS data processed {"connection_id":174488,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:24:48] local.INFO: Acknowledgment sent {"connection_id":174488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:25:00] local.INFO: TCP Data received {"connection_id":174749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:25:00] local.INFO: Processing buffer {"connection_id":174749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:25:00] local.INFO: IMEI packet received {"connection_id":174749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":174749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:25:05] local.INFO: TCP Data received {"connection_id":174749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:25:05] local.INFO: Processing buffer {"connection_id":174749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:25:05] local.INFO: IMEI packet received {"connection_id":174749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":174749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:25:06] local.INFO: TCP Data received {"connection_id":174749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0807052c0012d79e3c005ecab60000d004f16..."} 
[2026-09-08 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807052c0012d79e3c005ecab60000d004f16..."} 
[2026-09-08 15:25:06] local.INFO: Processing buffer {"connection_id":174749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807052c0012d79e3c005ecab60000d004f16..."} 
[2026-09-08 15:25:06] local.INFO: Packet analysis {"connection_id":174749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:25:06] local.INFO: Extracted packet for processing {"connection_id":174749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396448,"longitude_deg":76.296288,"latitude_deg":9.9396448,"altitude":13,"angle":79,"satellites":22,"speed":8,"hex_longitude":"2d79e3c0","hex_latitude":"05ecab60","is_valid_coordinates":true} 
[2026-09-08 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948473600001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897416101986304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794596864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861240000,"timestamp_ms":1788861240000,"timestamp_seconds":1788861240,"priority":1,"record_length":96,"hex_timestamp":"000001a0807052c0"} 
[2026-09-08 15:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2154775864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4611686087169742080,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2086862848,"corrected_to":0} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2147871866,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910980,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3965952000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57777562231658294,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.WARNING: Large IO value detected {"io_id":111,"raw_value":484138254774861829,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,124,160,45,192,169,11,22,10,66,12,128,168,4,1,240,110,227,236,113,205,120,244,248,21,239,53,2,5,29,88,111],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2086862848,"validated":0}]} 
[2026-09-08 15:25:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864734103898292224,"timestamp_seconds":864734103898292.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948473600001,"66":13678,"100":206,"87":13824,"24":8,"16":129897416101986304,"45":8782300773794596864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948473600001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:25:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:25:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897416101986304,"km_value":129897416101986.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794596864,"description":"Unknown IO ID 45"} 
[2026-09-08 15:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948473600001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8782300773794596864}} 
[2026-09-08 15:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":174749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:25:06] local.INFO: GPS data processed {"connection_id":174749,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:25:06] local.INFO: Acknowledgment sent {"connection_id":174749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:25:21] local.INFO: TCP Data received {"connection_id":174488,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:25:21] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:25:21] local.INFO: Packet analysis {"connection_id":174488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:25:21] local.INFO: Extracted packet for processing {"connection_id":174488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:25:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:25:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":174488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:25:21] local.INFO: GPS data processed {"connection_id":174488,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:25:21] local.INFO: Acknowledgment sent {"connection_id":174488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:25:37] local.INFO: TCP Data received {"connection_id":174749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0807075e8012d79eec005ecae78000f003f16..."} 
[2026-09-08 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807075e8012d79eec005ecae78000f003f16..."} 
[2026-09-08 15:25:37] local.INFO: Processing buffer {"connection_id":174749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807075e8012d79eec005ecae78000f003f16..."} 
[2026-09-08 15:25:37] local.INFO: Packet analysis {"connection_id":174749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:25:37] local.INFO: Extracted packet for processing {"connection_id":174749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762965696,"raw_latitude":99397240,"longitude_deg":76.2965696,"latitude_deg":9.939724,"altitude":15,"angle":63,"satellites":22,"speed":9,"hex_longitude":"2d79eec0","hex_latitude":"05ecae78","is_valid_coordinates":true} 
[2026-09-08 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948477440001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897557835907072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980622848,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861249000,"timestamp_ms":1788861249000,"timestamp_seconds":1788861249,"priority":1,"record_length":96,"hex_timestamp":"000001a0807075e8"} 
[2026-09-08 15:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 15:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948477440001,"66":13319,"100":206,"87":13824,"24":9,"16":129897557835907072,"45":8783074829980622848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948477440001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:25:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897557835907072,"km_value":129897557835907.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980622848,"description":"Unknown IO ID 45"} 
[2026-09-08 15:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948477440001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8783074829980622848}} 
[2026-09-08 15:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":174749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:25:37] local.INFO: GPS data processed {"connection_id":174749,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:25:37] local.INFO: Acknowledgment sent {"connection_id":174749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:25:41] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:25:42] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:25:42] local.INFO: IMEI packet received {"connection_id":174751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":174751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:25:47] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:25:47] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:25:47] local.INFO: IMEI packet received {"connection_id":174751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:25:48] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:25:48] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:25:48] local.INFO: Packet analysis {"connection_id":174751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:25:48] local.INFO: Extracted packet for processing {"connection_id":174751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:25:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:25:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:25:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":174751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:25:48] local.INFO: GPS data processed {"connection_id":174751,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:25:48] local.INFO: Acknowledgment sent {"connection_id":174751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:26:05] local.INFO: TCP Data received {"connection_id":174753,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:05] local.INFO: Processing buffer {"connection_id":174753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:05] local.INFO: IMEI packet received {"connection_id":174753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":174753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:26:10] local.INFO: TCP Data received {"connection_id":174753,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:10] local.INFO: Processing buffer {"connection_id":174753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:10] local.INFO: IMEI packet received {"connection_id":174753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":174753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:26:11] local.INFO: TCP Data received {"connection_id":174753,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080707db8012d79f0c005ecaf30000f002f16..."} 
[2026-09-08 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080707db8012d79f0c005ecaf30000f002f16..."} 
[2026-09-08 15:26:11] local.INFO: Processing buffer {"connection_id":174753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080707db8012d79f0c005ecaf30000f002f16..."} 
[2026-09-08 15:26:11] local.INFO: Packet analysis {"connection_id":174753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:26:11] local.INFO: Extracted packet for processing {"connection_id":174753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":762966208,"raw_latitude":99397424,"longitude_deg":76.2966208,"latitude_deg":9.9397424,"altitude":15,"angle":47,"satellites":22,"speed":8,"hex_longitude":"2d79f0c0","hex_latitude":"05ecaf30","is_valid_coordinates":true} 
[2026-09-08 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948479744001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897583605710848,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786171054724642816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788861251000,"timestamp_ms":1788861251000,"timestamp_seconds":1788861251,"priority":1,"record_length":96,"hex_timestamp":"000001a080707db8"} 
[2026-09-08 15:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2154807864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":236,"raw_value":8860832331297461504,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2684431737,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2096168960,"corrected_to":0} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968229376,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3221613735,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.WARNING: Large IO value detected {"io_id":111,"raw_value":8646912579382575109,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,125,160,82,45,192,171,13,22,10,66,170,12,124,1,240,248,227,128,236,4,113,205,5,224,144,239,53,2,14,252,111],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2096168960,"validated":0}]} 
[2026-09-08 15:26:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080933274291339264,"timestamp_seconds":1080933274291339.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948479744001,"66":13363,"100":206,"87":13824,"24":8,"16":129897583605710848,"45":8786171054724642816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948479744001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897583605710848,"km_value":129897583605710.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786171054724642816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948479744001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8786171054724642816}} 
[2026-09-08 15:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":174753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:26:11] local.INFO: GPS data processed {"connection_id":174753,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:26:11] local.INFO: Acknowledgment sent {"connection_id":174753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:26:15] local.INFO: TCP Data received {"connection_id":174753,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0807081a0012d79f18005ecafb00010002016..."} 
[2026-09-08 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807081a0012d79f18005ecafb00010002016..."} 
[2026-09-08 15:26:15] local.INFO: Processing buffer {"connection_id":174753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807081a0012d79f18005ecafb00010002016..."} 
[2026-09-08 15:26:15] local.INFO: Packet analysis {"connection_id":174753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:26:15] local.INFO: Extracted packet for processing {"connection_id":174753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08070"} 
[2026-09-08 15:26:15] local.INFO: GPS Element Parsed {"raw_longitude":762966400,"raw_latitude":99397552,"longitude_deg":76.29664,"latitude_deg":9.9397552,"altitude":16,"angle":32,"satellites":22,"speed":7,"hex_longitude":"2d79f180","hex_latitude":"05ecafb0","is_valid_coordinates":true} 
[2026-09-08 15:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948480256001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897596490612736,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786734004678111232,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788861252000,"timestamp_ms":1788861252000,"timestamp_seconds":1788861252,"priority":1,"record_length":96,"hex_timestamp":"000001a0807081a0"} 
[2026-09-08 15:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 15:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948480256001,"66":13363,"100":206,"87":13824,"24":7,"16":129897596490612736,"45":8786734004678111232},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948480256001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:26:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:26:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897596490612736,"km_value":129897596490612.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786734004678111232,"description":"Unknown IO ID 45"} 
[2026-09-08 15:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948480256001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8786734004678111232}} 
[2026-09-08 15:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":174753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:26:15] local.INFO: GPS data processed {"connection_id":174753,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:26:15] local.INFO: Acknowledgment sent {"connection_id":174753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:26:21] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:26:21] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:26:21] local.INFO: Packet analysis {"connection_id":174751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:26:21] local.INFO: Extracted packet for processing {"connection_id":174751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:26:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:26:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":174751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:26:21] local.INFO: GPS data processed {"connection_id":174751,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:26:21] local.INFO: Acknowledgment sent {"connection_id":174751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:26:47] local.INFO: TCP Data received {"connection_id":174754,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:26:47] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:26:47] local.INFO: IMEI packet received {"connection_id":174754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:26:52] local.INFO: TCP Data received {"connection_id":174754,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:26:52] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:26:52] local.INFO: IMEI packet received {"connection_id":174754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":174754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:26:55] local.INFO: TCP Data received {"connection_id":174754,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:26:55] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:26:55] local.INFO: Packet analysis {"connection_id":174754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:26:55] local.INFO: Extracted packet for processing {"connection_id":174754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:26: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:26:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":174754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:26:55] local.INFO: GPS data processed {"connection_id":174754,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:26:55] local.INFO: Acknowledgment sent {"connection_id":174754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:26:56] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:56] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:26:56] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:27:00] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:27:00] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:27:00] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:27:05] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:27:05] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:27:05] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:27:06] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08072a098012d79f2c005ecaf48000e010c1c..."} 
[2026-09-08 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08072a098012d79f2c005ecaf48000e010c1c..."} 
[2026-09-08 15:27:06] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08072a098012d79f2c005ecaf48000e010c1c..."} 
[2026-09-08 15:27:06] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:27:06] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":99397448,"longitude_deg":76.296672,"latitude_deg":9.9397448,"altitude":14,"angle":268,"satellites":28,"speed":4,"hex_longitude":"2d79f2c0","hex_latitude":"05ecaf48","is_valid_coordinates":true} 
[2026-09-08 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948515840001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897669505056768,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323375714304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861391000,"timestamp_ms":1788861391000,"timestamp_seconds":1788861391,"priority":1,"record_length":96,"hex_timestamp":"000001a08072a098"} 
[2026-09-08 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631741,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2154915864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3639690251682709504,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2928148496,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959361124,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2100887552,"corrected_to":0} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970861056,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-936742208394493936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,118,87,24,241,157,16,125,160,148,45,64,175,13,28,10,66,144,128,174,90,1,240,252,227,236,4,113,205,186,243,136,27,239,54,100,2,5,121],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2100887552,"validated":0}]} 
[2026-09-08 15:27:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009117598580932608,"timestamp_seconds":1009117598580932.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948515840001,"66":13363,"118":206,"87":13824,"24":4,"16":129897669505056768,"45":8787367323375714304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948515840001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897669505056768,"km_value":129897669505056.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323375714304,"description":"Unknown IO ID 45"} 
[2026-09-08 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948515840001,"power":13363,"unknown_118":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8787367323375714304}} 
[2026-09-08 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:27:06] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:27:06] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:27:29] local.INFO: TCP Data received {"connection_id":174754,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:27:29] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:27:29] local.INFO: Packet analysis {"connection_id":174754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:27:29] local.INFO: Extracted packet for processing {"connection_id":174754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:27:29] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:27:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:27:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":174754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:27:29] local.INFO: GPS data processed {"connection_id":174754,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:27:29] local.INFO: Acknowledgment sent {"connection_id":174754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:27:37] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08072a480012d79f24005ecaf40000e00fc1c..."} 
[2026-09-08 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08072a480012d79f24005ecaf40000e00fc1c..."} 
[2026-09-08 15:27:37] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08072a480012d79f24005ecaf40000e00fc1c..."} 
[2026-09-08 15:27:37] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:27:37] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762966592,"raw_latitude":99397440,"longitude_deg":76.2966592,"latitude_deg":9.939744,"altitude":14,"angle":252,"satellites":28,"speed":2,"hex_longitude":"2d79f240","hex_latitude":"05ecaf40","is_valid_coordinates":true} 
[2026-09-08 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948516096001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897669505056768,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954631538688,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861392000,"timestamp_ms":1788861392000,"timestamp_seconds":1788861392,"priority":1,"record_length":96,"hex_timestamp":"000001a08072a480"} 
[2026-09-08 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 15:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948516096001,"66":13363,"118":206,"87":13824,"24":2,"16":129897669505056768,"45":8787296954631538688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948516096001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897669505056768,"km_value":129897669505056.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954631538688,"description":"Unknown IO ID 45"} 
[2026-09-08 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948516096001,"power":13363,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787296954631538688}} 
[2026-09-08 15:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:27:37] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:27:37] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:27:41] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:27:41] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:27:41] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:27:47] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:27:47] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:27:47] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:27:49] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:27:49] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0806edfa8012d4cdf00068f46980050009a2a..."} 
[2026-09-08 15:27:49] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:27:49] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0806e"} 
[2026-09-08 15:27:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":80,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948376064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788861145000,"timestamp_ms":1788861145000,"timestamp_seconds":1788861145,"priority":1,"record_length":96,"hex_timestamp":"000001a0806edfa8"} 
[2026-09-08 15:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 15:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948376064001,"66":26180,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948376064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:27:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:27:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948376064001,"power":26180,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:27:49] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:27:49] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:00] local.INFO: TCP Data received {"connection_id":177281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:00] local.INFO: Processing buffer {"connection_id":177281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:00] local.INFO: IMEI packet received {"connection_id":177281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":177281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:28:01] local.INFO: TCP Data received {"connection_id":177281,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177281,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 15:28:01] local.INFO: Processing buffer {"connection_id":177281,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 15:28:01] local.INFO: IMEI packet received {"connection_id":177281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":177281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:28:03] local.INFO: TCP Data received {"connection_id":177282,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:03] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:03] local.INFO: IMEI packet received {"connection_id":177282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":177282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:28:05] local.INFO: TCP Data received {"connection_id":177281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:05] local.INFO: Processing buffer {"connection_id":177281,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 15:28:05] local.INFO: IMEI packet received {"connection_id":177281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":177281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:28:06] local.INFO: TCP Data received {"connection_id":177281,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08072b038012d79f20005ecaf30000e010b1c..."} 
[2026-09-08 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08072b038012d79f20005ecaf30000e010b1c..."} 
[2026-09-08 15:28:06] local.INFO: Processing buffer {"connection_id":177281,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a080..."} 
[2026-09-08 15:28:06] local.INFO: IMEI packet received {"connection_id":177281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":177281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:28:06] local.INFO: TCP Data received {"connection_id":177282,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:06] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:06] local.INFO: IMEI packet received {"connection_id":177282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":177282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:28:07] local.INFO: TCP Data received {"connection_id":177281,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08072fe58012d79e78005ecac30000f01121c..."} 
[2026-09-08 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08072fe58012d79e78005ecac30000f01121c..."} 
[2026-09-08 15:28:07] local.INFO: Processing buffer {"connection_id":177281,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a08072b038012d79f20005ecaf30000e010b1c..."} 
[2026-09-08 15:28:07] local.INFO: Packet analysis {"connection_id":177281,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:28:07] local.INFO: Extracted packet for processing {"connection_id":177281,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":99397424,"longitude_deg":76.2966528,"latitude_deg":9.9397424,"altitude":14,"angle":267,"satellites":28,"speed":0,"hex_longitude":"2d79f200","hex_latitude":"05ecaf30","is_valid_coordinates":true} 
[2026-09-08 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948516352001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897673800024064,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787156217143181312,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861395000,"timestamp_ms":1788861395000,"timestamp_seconds":1788861395,"priority":1,"record_length":96,"hex_timestamp":"000001a08072b038"} 
[2026-09-08 15:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948516352001,"66":13428,"118":206,"87":13824,"24":0,"16":129897673800024064,"45":8787156217143181312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 15:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948516352001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 15:28:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897673800024064,"km_value":129897673800024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787156217143181312,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948516352001,"power":13428,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787156217143181312}} 
[2026-09-08 15:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":177281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:08] local.INFO: GPS data processed {"connection_id":177281,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:08] local.INFO: Acknowledgment sent {"connection_id":177281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:08] local.INFO: Packet analysis {"connection_id":177281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:28:08] local.INFO: Extracted packet for processing {"connection_id":177281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08072"} 
[2026-09-08 15:28:08] local.INFO: GPS Element Parsed {"raw_longitude":762963840,"raw_latitude":99396656,"longitude_deg":76.296384,"latitude_deg":9.9396656,"altitude":15,"angle":274,"satellites":28,"speed":0,"hex_longitude":"2d79e780","hex_latitude":"05ecac30","is_valid_coordinates":true} 
[2026-09-08 15:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948517120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897819828912128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848398999552,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788861415000,"timestamp_ms":1788861415000,"timestamp_seconds":1788861415,"priority":1,"record_length":96,"hex_timestamp":"000001a08072fe58"} 
[2026-09-08 15:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948517120001,"66":13559,"118":206,"87":13824,"24":0,"16":129897819828912128,"45":8787085848398999552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 15:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948517120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 15:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897819828912128,"km_value":129897819828912.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848398999552,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948517120001,"power":13559,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787085848398999552}} 
[2026-09-08 15:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":177281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:08] local.INFO: GPS data processed {"connection_id":177281,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:08] local.INFO: Acknowledgment sent {"connection_id":177281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:11] local.INFO: TCP Data received {"connection_id":177282,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:11] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:28:11] local.INFO: IMEI packet received {"connection_id":177282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":177282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:28:12] local.INFO: TCP Data received {"connection_id":177282,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080730628012d1989800720b560003a000027..."} 
[2026-09-08 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080730628012d1989800720b560003a000027..."} 
[2026-09-08 15:28:12] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080730628012d1989800720b560003a000027..."} 
[2026-09-08 15:28:12] local.INFO: Packet analysis {"connection_id":177282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:12] local.INFO: Extracted packet for processing {"connection_id":177282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119584096,"longitude_deg":75.664832,"latitude_deg":11.9584096,"altitude":58,"angle":0,"satellites":39,"speed":11,"hex_longitude":"2d198980","hex_latitude":"0720b560","is_valid_coordinates":true} 
[2026-09-08 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948522496001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18693084946628608,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859372544,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28: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-09-08 15:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788861417000,"timestamp_ms":1788861417000,"timestamp_seconds":1788861417,"priority":1,"record_length":96,"hex_timestamp":"000001a080730628"} 
[2026-09-08 15:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948522496001,"66":13287,"121":206,"28":31744,"24":11,"16":18693084946628608,"45":1840142690859372544},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948522496001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18693084946628608,"km_value":18693084946628.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859372544,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948522496001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1840142690859372544}} 
[2026-09-08 15:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":177282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:12] local.INFO: GPS data processed {"connection_id":177282,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:12] local.INFO: Acknowledgment sent {"connection_id":177282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:16] local.INFO: TCP Data received {"connection_id":177282,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080732180012d1988c00720bf30003c015d28..."} 
[2026-09-08 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080732180012d1988c00720bf30003c015d28..."} 
[2026-09-08 15:28:16] local.INFO: Processing buffer {"connection_id":177282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080732180012d1988c00720bf30003c015d28..."} 
[2026-09-08 15:28:16] local.INFO: Packet analysis {"connection_id":177282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:16] local.INFO: Extracted packet for processing {"connection_id":177282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119586608,"longitude_deg":75.6648128,"latitude_deg":11.9586608,"altitude":60,"angle":349,"satellites":40,"speed":14,"hex_longitude":"2d1988c0","hex_latitude":"0720bf30","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948522752001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18693209500680192,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859442176,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:16] 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-09-08 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788861424000,"timestamp_ms":1788861424000,"timestamp_seconds":1788861424,"priority":1,"record_length":96,"hex_timestamp":"000001a080732180"} 
[2026-09-08 15:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948522752001,"66":14080,"121":206,"28":31744,"24":14,"16":18693209500680192,"45":1840142690859442176},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948522752001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18693209500680192,"km_value":18693209500680.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859442176,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948522752001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1840142690859442176}} 
[2026-09-08 15:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":177282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:17] local.INFO: GPS data processed {"connection_id":177282,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:17] local.INFO: Acknowledgment sent {"connection_id":177282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:21] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:21] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:21] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:21] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:28:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:22] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:22] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:39] local.INFO: TCP Data received {"connection_id":177281,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080735060012d79e78005ecac30000f01121c..."} 
[2026-09-08 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080735060012d79e78005ecac30000f01121c..."} 
[2026-09-08 15:28:39] local.INFO: Processing buffer {"connection_id":177281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080735060012d79e78005ecac30000f01121c..."} 
[2026-09-08 15:28:39] local.INFO: Packet analysis {"connection_id":177281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:39] local.INFO: Extracted packet for processing {"connection_id":177281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":762963840,"raw_latitude":99396656,"longitude_deg":76.296384,"latitude_deg":9.9396656,"altitude":15,"angle":274,"satellites":28,"speed":0,"hex_longitude":"2d79e780","hex_latitude":"05ecac30","is_valid_coordinates":true} 
[2026-09-08 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948522240001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129897819828912128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784130361143341056,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788861436000,"timestamp_ms":1788861436000,"timestamp_seconds":1788861436,"priority":1,"record_length":96,"hex_timestamp":"000001a080735060"} 
[2026-09-08 15:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948522240001,"66":13559,"118":206,"87":13824,"24":0,"16":129897819828912128,"45":8784130361143341056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-08 15:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948522240001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-08 15:28:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129897819828912128,"km_value":129897819828912.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784130361143341056,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948522240001,"power":13559,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8784130361143341056}} 
[2026-09-08 15:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":177281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:39] local.INFO: GPS data processed {"connection_id":177281,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:39] local.INFO: Acknowledgment sent {"connection_id":177281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:47] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:28:47] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:28:47] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:28:49] local.INFO: TCP Data received {"connection_id":175822,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:28:49] local.INFO: Processing buffer {"connection_id":175822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:28:49] local.INFO: IMEI packet received {"connection_id":175822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":175822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:28:52] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:28:52] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:28:52] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:28:55] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:55] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:55] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:55] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:55] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:55] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:28:58] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:58] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:28:58] local.INFO: IMEI packet received {"connection_id":177283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":177283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:28:58] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:58] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:28:58] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:58] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:28:58] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:28:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:28:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:28:58] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:28:58] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:29:00] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:00] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:00] local.INFO: IMEI packet received {"connection_id":177283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":177283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:29:01] local.INFO: TCP Data received {"connection_id":174493,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:29:01] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:29:01] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:29:01] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:01] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:01] local.INFO: IMEI packet received {"connection_id":177283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":177283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:29:04] local.INFO: TCP Data received {"connection_id":174493,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:29:04] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:29:04] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:29:05] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:05] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:29:05] local.INFO: IMEI packet received {"connection_id":177283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":177283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:29:06] local.INFO: TCP Data received {"connection_id":174493,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080737388012d1987800720c420003b015c26..."} 
[2026-09-08 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737388012d1987800720c420003b015c26..."} 
[2026-09-08 15:29:06] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737388012d1987800720c420003b015c26..."} 
[2026-09-08 15:29:06] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:29:06] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119587872,"longitude_deg":75.6647808,"latitude_deg":11.9587872,"altitude":59,"angle":348,"satellites":38,"speed":0,"hex_longitude":"2d198780","hex_latitude":"0720c420","is_valid_coordinates":true} 
[2026-09-08 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948524544001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18693273925189632,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584627552256,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] 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-09-08 15:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861445000,"timestamp_ms":1788861445000,"timestamp_seconds":1788861445,"priority":1,"record_length":96,"hex_timestamp":"000001a080737388"} 
[2026-09-08 15:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2154994864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2899836982,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3221692586,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,105,160,6,45,128,181,58,39,10,66,2,180,37,254,1,240,224,32,4,113,205,27,168,85,64,36,239,54,7,50],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 15:29:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323839543633379328,"timestamp_seconds":4323839543633379.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948524544001,"66":14428,"121":206,"28":31744,"24":0,"16":18693273925189632,"45":1839931584627552256},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948524544001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18693273925189632,"km_value":18693273925189.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584627552256,"description":"Unknown IO ID 45"} 
[2026-09-08 15:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948524544001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584627552256}} 
[2026-09-08 15:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:29:06] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:29:06] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:29:06] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080748cc8012d7a168005ec80800008004c1c..."} 
[2026-09-08 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080748cc8012d7a168005ec80800008004c1c..."} 
[2026-09-08 15:29:06] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080748cc8012d7a168005ec80800008004c1c..."} 
[2026-09-08 15:29:06] local.INFO: Packet analysis {"connection_id":177283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:29:06] local.INFO: Extracted packet for processing {"connection_id":177283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":762975872,"raw_latitude":99385472,"longitude_deg":76.2975872,"latitude_deg":9.9385472,"altitude":8,"angle":76,"satellites":28,"speed":5,"hex_longitude":"2d7a1680","hex_latitude":"05ec8080","is_valid_coordinates":true} 
[2026-09-08 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948543232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129898983765049344,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789689491929905152,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861517000,"timestamp_ms":1788861517000,"timestamp_seconds":1788861517,"priority":1,"record_length":96,"hex_timestamp":"000001a080748cc8"} 
[2026-09-08 15:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 15:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948543232001,"66":13678,"100":206,"87":13824,"24":5,"16":129898983765049344,"45":8789689491929905152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948543232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129898983765049344,"km_value":129898983765049.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789689491929905152,"description":"Unknown IO ID 45"} 
[2026-09-08 15:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948543232001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8789689491929905152}} 
[2026-09-08 15:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":177283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:29:06] local.INFO: GPS data processed {"connection_id":177283,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:29:06] local.INFO: Acknowledgment sent {"connection_id":177283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:29:37] local.INFO: TCP Data received {"connection_id":177283,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08074aff0012d7a18c005ec82080008001e1c..."} 
[2026-09-08 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08074aff0012d7a18c005ec82080008001e1c..."} 
[2026-09-08 15:29:37] local.INFO: Processing buffer {"connection_id":177283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08074aff0012d7a18c005ec82080008001e1c..."} 
[2026-09-08 15:29:37] local.INFO: Packet analysis {"connection_id":177283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:29:37] local.INFO: Extracted packet for processing {"connection_id":177283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99385864,"longitude_deg":76.2976448,"latitude_deg":9.9385864,"altitude":8,"angle":30,"satellites":28,"speed":3,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8208","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948548352001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899026714722304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797359685045878784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861526000,"timestamp_ms":1788861526000,"timestamp_seconds":1788861526,"priority":1,"record_length":96,"hex_timestamp":"000001a08074aff0"} 
[2026-09-08 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948548352001,"66":13798,"100":206,"87":13824,"24":3,"16":129899026714722304,"45":8797359685045878784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948548352001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899026714722304,"km_value":129899026714722.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797359685045878784,"description":"Unknown IO ID 45"} 
[2026-09-08 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948548352001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8797359685045878784}} 
[2026-09-08 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":177283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:29:37] local.INFO: GPS data processed {"connection_id":177283,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:29:37] local.INFO: Acknowledgment sent {"connection_id":177283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:29:37] local.INFO: TCP Data received {"connection_id":174493,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08073c590012d1987800720c420003b015c2b..."} 
[2026-09-08 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08073c590012d1987800720c420003b015c2b..."} 
[2026-09-08 15:29:37] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08073c590012d1987800720c420003b015c2b..."} 
[2026-09-08 15:29:37] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:29:37] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119587872,"longitude_deg":75.6647808,"latitude_deg":11.9587872,"altitude":59,"angle":348,"satellites":43,"speed":0,"hex_longitude":"2d198780","hex_latitude":"0720c420","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948529920001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18693273925189632,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740906987520,"note":"Value kept but may cause issues"} 
[2026-09-08 15: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-09-08 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861466000,"timestamp_ms":1788861466000,"timestamp_seconds":1788861466,"priority":1,"record_length":96,"hex_timestamp":"000001a08073c590"} 
[2026-09-08 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948529920001,"66":13928,"121":206,"28":31744,"24":0,"16":18693273925189632,"45":1839579740906987520},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948529920001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18693273925189632,"km_value":18693273925189.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740906987520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948529920001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839579740906987520}} 
[2026-09-08 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:29:37] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:29:37] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:29:42] local.INFO: TCP Data received {"connection_id":174758,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:29:42] local.INFO: Processing buffer {"connection_id":174758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:29:42] local.INFO: IMEI packet received {"connection_id":174758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":174758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:29:47] local.INFO: TCP Data received {"connection_id":174758,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:29:47] local.INFO: Processing buffer {"connection_id":174758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:29:47] local.INFO: IMEI packet received {"connection_id":174758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:29:50] local.INFO: TCP Data received {"connection_id":174758,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:29:50] local.INFO: Processing buffer {"connection_id":174758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:29:50] local.INFO: Packet analysis {"connection_id":174758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:29:50] local.INFO: Extracted packet for processing {"connection_id":174758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:29:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:29:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":174758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:29:50] local.INFO: GPS data processed {"connection_id":174758,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:29:50] local.INFO: Acknowledgment sent {"connection_id":174758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:30:00] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:30:00] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:30:00] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:30:01] local.INFO: TCP Data received {"connection_id":177285,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:01] local.INFO: Processing buffer {"connection_id":177285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:01] local.INFO: IMEI packet received {"connection_id":177285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":177285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:30:02] local.INFO: TCP Data received {"connection_id":177285,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:02] local.INFO: Processing buffer {"connection_id":177285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:02] local.INFO: IMEI packet received {"connection_id":177285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":177285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:30:05] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:30:05] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:30:05] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:30:06] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08074c378012d7a18c005ec81e0000700dc1c..."} 
[2026-09-08 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08074c378012d7a18c005ec81e0000700dc1c..."} 
[2026-09-08 15:30:06] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08074c378012d7a18c005ec81e0000700dc1c..."} 
[2026-09-08 15:30:06] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:30:06] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99385824,"longitude_deg":76.2976448,"latitude_deg":9.9385824,"altitude":7,"angle":220,"satellites":28,"speed":1,"hex_longitude":"2d7a18c0","hex_latitude":"05ec81e0","is_valid_coordinates":true} 
[2026-09-08 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948550656001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899035304656896,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743578112,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861531000,"timestamp_ms":1788861531000,"timestamp_seconds":1788861531,"priority":1,"record_length":96,"hex_timestamp":"000001a08074c378"} 
[2026-09-08 15:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 15:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948550656001,"66":13341,"100":206,"87":13824,"24":1,"16":129899035304656896,"45":8797993003743578112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948550656001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899035304656896,"km_value":129899035304656.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743578112,"description":"Unknown IO ID 45"} 
[2026-09-08 15:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948550656001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8797993003743578112}} 
[2026-09-08 15:30:06] local.INFO: TCP Data received {"connection_id":177285,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:06] local.INFO: Processing buffer {"connection_id":177285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:30:06] local.INFO: IMEI packet received {"connection_id":177285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":177285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:30:06] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:30:06] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:30:07] local.INFO: TCP Data received {"connection_id":177285,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08074f258012d194e000720aaf80035011925..."} 
[2026-09-08 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08074f258012d194e000720aaf80035011925..."} 
[2026-09-08 15:30:07] local.INFO: Processing buffer {"connection_id":177285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08074f258012d194e000720aaf80035011925..."} 
[2026-09-08 15:30:07] local.INFO: Packet analysis {"connection_id":177285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:30:07] local.INFO: Extracted packet for processing {"connection_id":177285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581432,"longitude_deg":75.6633088,"latitude_deg":11.9581432,"altitude":53,"angle":281,"satellites":37,"speed":25,"hex_longitude":"2d194e00","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-09-08 15:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948550144001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18694257472700416,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828461479325255680,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30: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-09-08 15:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861543000,"timestamp_ms":1788861543000,"timestamp_seconds":1788861543,"priority":1,"record_length":96,"hex_timestamp":"000001a08074f258"} 
[2026-09-08 15:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948550144001,"66":14374,"121":206,"28":31744,"24":25,"16":18694257472700416,"45":1828461479325255680},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948550144001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:30:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18694257472700416,"km_value":18694257472700.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828461479325255680,"description":"Unknown IO ID 45"} 
[2026-09-08 15:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948550144001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1828461479325255680}} 
[2026-09-08 15:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":177285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:30:07] local.INFO: GPS data processed {"connection_id":177285,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:30:07] local.INFO: Acknowledgment sent {"connection_id":177285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:30:22] local.INFO: TCP Data received {"connection_id":174758,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:30:22] local.INFO: Processing buffer {"connection_id":174758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:30:22] local.INFO: Packet analysis {"connection_id":174758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:30:22] local.INFO: Extracted packet for processing {"connection_id":174758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":174758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:30:22] local.INFO: GPS data processed {"connection_id":174758,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:30:22] local.INFO: Acknowledgment sent {"connection_id":174758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:30:37] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a08074cb48012d7a188005ec81c0000700e81c..."} 
[2026-09-08 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08074cb48012d7a188005ec81c0000700e81c..."} 
[2026-09-08 15:30:37] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08074cb48012d7a188005ec81c0000700e81c..."} 
[2026-09-08 15:30:37] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:30:37] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08074"} 
[2026-09-08 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99385792,"longitude_deg":76.2976384,"latitude_deg":9.9385792,"altitude":7,"angle":232,"satellites":28,"speed":0,"hex_longitude":"2d7a1880","hex_latitude":"05ec81c0","is_valid_coordinates":true} 
[2026-09-08 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948551936001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899039599624192,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743567872,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861533000,"timestamp_ms":1788861533000,"timestamp_seconds":1788861533,"priority":1,"record_length":96,"hex_timestamp":"000001a08074cb48"} 
[2026-09-08 15:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 15:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948551936001,"66":13526,"100":206,"87":13824,"24":0,"16":129899039599624192,"45":8797993003743567872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948551936001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899039599624192,"km_value":129899039599624.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743567872,"description":"Unknown IO ID 45"} 
[2026-09-08 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948551936001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797993003743567872}} 
[2026-09-08 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:30:37] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:30:37] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:30:39] local.INFO: TCP Data received {"connection_id":177285,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08075bd78012d18cec007212c70003f01522b..."} 
[2026-09-08 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08075bd78012d18cec007212c70003f01522b..."} 
[2026-09-08 15:30:39] local.INFO: Processing buffer {"connection_id":177285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08075bd78012d18cec007212c70003f01522b..."} 
[2026-09-08 15:30:39] local.INFO: Packet analysis {"connection_id":177285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08075"} 
[2026-09-08 15:30:39] local.INFO: Extracted packet for processing {"connection_id":177285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08075"} 
[2026-09-08 15:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756600512,"raw_latitude":119614576,"longitude_deg":75.6600512,"latitude_deg":11.9614576,"altitude":63,"angle":338,"satellites":43,"speed":39,"hex_longitude":"2d18cec0","hex_latitude":"07212c70","is_valid_coordinates":true} 
[2026-09-08 15:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948566784001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18696675539288064,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918372352,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30: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-09-08 15:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788861595000,"timestamp_ms":1788861595000,"timestamp_seconds":1788861595,"priority":1,"record_length":96,"hex_timestamp":"000001a08075bd78"} 
[2026-09-08 15:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 15:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948566784001,"66":14004,"121":206,"28":31744,"24":39,"16":18696675539288064,"45":1788140188918372352},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948566784001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:30:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18696675539288064,"km_value":18696675539288.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918372352,"description":"Unknown IO ID 45"} 
[2026-09-08 15:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948566784001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1788140188918372352}} 
[2026-09-08 15:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":177285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:30:39] local.INFO: GPS data processed {"connection_id":177285,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:30:39] local.INFO: Acknowledgment sent {"connection_id":177285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:30:41] local.INFO: TCP Data received {"connection_id":174759,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:30:41] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:30:41] local.INFO: IMEI packet received {"connection_id":174759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":174759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:30:47] local.INFO: TCP Data received {"connection_id":174759,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:30:47] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:30:47] local.INFO: IMEI packet received {"connection_id":174759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:30:49] local.INFO: TCP Data received {"connection_id":174759,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:30:49] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:30:49] local.INFO: Packet analysis {"connection_id":174759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:30:49] local.INFO: Extracted packet for processing {"connection_id":174759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:30:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:30:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":174759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:30:49] local.INFO: GPS data processed {"connection_id":174759,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:30:49] local.INFO: Acknowledgment sent {"connection_id":174759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:31:00] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:31:00] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:31:00] local.INFO: IMEI packet received {"connection_id":174761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":174761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:31:00] local.INFO: TCP Data received {"connection_id":175823,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:31:00] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:31:00] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:31:04] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:31:04] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:31:04] local.INFO: IMEI packet received {"connection_id":174761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":174761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:31:05] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080767ce0012d7a144005ec7f180006004f1f..."} 
[2026-09-08 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080767ce0012d7a144005ec7f180006004f1f..."} 
[2026-09-08 15:31:05] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080767ce0012d7a144005ec7f180006004f1f..."} 
[2026-09-08 15:31:05] local.INFO: Packet analysis {"connection_id":174761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:31:05] local.INFO: Extracted packet for processing {"connection_id":174761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762975296,"raw_latitude":99385112,"longitude_deg":76.2975296,"latitude_deg":9.9385112,"altitude":6,"angle":79,"satellites":31,"speed":2,"hex_longitude":"2d7a1440","hex_latitude":"05ec7f18","is_valid_coordinates":true} 
[2026-09-08 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948579072001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899138383872000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796726366348177408,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788861644000,"timestamp_ms":1788861644000,"timestamp_seconds":1788861644,"priority":1,"record_length":96,"hex_timestamp":"000001a080767ce0"} 
[2026-09-08 15:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 15:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948579072001,"66":13450,"100":206,"87":13824,"24":2,"16":129899138383872000,"45":8796726366348177408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948579072001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:31:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:31:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899138383872000,"km_value":129899138383872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796726366348177408,"description":"Unknown IO ID 45"} 
[2026-09-08 15:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948579072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8796726366348177408}} 
[2026-09-08 15:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":174761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:31:05] local.INFO: GPS data processed {"connection_id":174761,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:31:05] local.INFO: Acknowledgment sent {"connection_id":174761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:31:06] local.INFO: TCP Data received {"connection_id":175823,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:31:06] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:31:06] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:31:07] local.INFO: TCP Data received {"connection_id":175823,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08075c548012d18cac007213318004001462a..."} 
[2026-09-08 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08075c548012d18cac007213318004001462a..."} 
[2026-09-08 15:31:07] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08075c548012d18cac007213318004001462a..."} 
[2026-09-08 15:31:07] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08075"} 
[2026-09-08 15:31:07] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08075"} 
[2026-09-08 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119616280,"longitude_deg":75.6599488,"latitude_deg":11.961628,"altitude":64,"angle":326,"satellites":42,"speed":41,"hex_longitude":"2d18cac0","hex_latitude":"07213318","is_valid_coordinates":true} 
[2026-09-08 15:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948568320001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18696770028568576,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787577238966530048,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31: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-09-08 15:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861597000,"timestamp_ms":1788861597000,"timestamp_seconds":1788861597,"priority":1,"record_length":96,"hex_timestamp":"000001a08075c548"} 
[2026-09-08 15:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 15:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948568320001,"66":13961,"121":206,"28":31744,"24":41,"16":18696770028568576,"45":1787577238966530048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948568320001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:31:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18696770028568576,"km_value":18696770028568.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787577238966530048,"description":"Unknown IO ID 45"} 
[2026-09-08 15:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948568320001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1787577238966530048}} 
[2026-09-08 15:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:31:07] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:31:07] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:31:21] local.INFO: TCP Data received {"connection_id":174759,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:31:21] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:31:21] local.INFO: Packet analysis {"connection_id":174759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:31:21] local.INFO: Extracted packet for processing {"connection_id":174759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":174759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:31:21] local.INFO: GPS data processed {"connection_id":174759,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:31:21] local.INFO: Acknowledgment sent {"connection_id":174759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:31:29] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:29] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:29] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:31:31] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:31] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:31] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:31:34] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:34] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:31:34] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:31:35] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-08 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-08 15:31:35] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-08 15:31:35] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:31:35] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:31:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:31:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:31:35] local.ERROR: GPS data processing failed {"connection_id":174762,"error":"No valid data to process"} 
[2026-09-08 15:31:35] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:31:36] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a080768c80012d7a154005ec7ef0000600681f..."} 
[2026-09-08 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080768c80012d7a154005ec7ef0000600681f..."} 
[2026-09-08 15:31:36] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080768c80012d7a154005ec7ef0000600681f..."} 
[2026-09-08 15:31:36] local.INFO: Packet analysis {"connection_id":174761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:31:36] local.INFO: Extracted packet for processing {"connection_id":174761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":762975552,"raw_latitude":99385072,"longitude_deg":76.2975552,"latitude_deg":9.9385072,"altitude":6,"angle":104,"satellites":31,"speed":1,"hex_longitude":"2d7a1540","hex_latitude":"05ec7ef0","is_valid_coordinates":true} 
[2026-09-08 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948580864001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899151268773888,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796726366348187648,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788861648000,"timestamp_ms":1788861648000,"timestamp_seconds":1788861648,"priority":1,"record_length":96,"hex_timestamp":"000001a080768c80"} 
[2026-09-08 15:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 15:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948580864001,"66":13341,"100":206,"87":13824,"24":1,"16":129899151268773888,"45":8796726366348187648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948580864001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:31:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:31:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899151268773888,"km_value":129899151268773.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796726366348187648,"description":"Unknown IO ID 45"} 
[2026-09-08 15:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948580864001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8796726366348187648}} 
[2026-09-08 15:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":174761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:31:36] local.INFO: GPS data processed {"connection_id":174761,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:31:36] local.INFO: Acknowledgment sent {"connection_id":174761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:31:38] local.INFO: TCP Data received {"connection_id":175823,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08075d100012d18c58007213e580040015729..."} 
[2026-09-08 15:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08075d100012d18c58007213e580040015729..."} 
[2026-09-08 15:31:38] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08075d100012d18c58007213e580040015729..."} 
[2026-09-08 15:31:38] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08075"} 
[2026-09-08 15:31:38] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08075"} 
[2026-09-08 15:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119619160,"longitude_deg":75.6598144,"latitude_deg":11.961916,"altitude":64,"angle":343,"satellites":41,"speed":42,"hex_longitude":"2d18c580","hex_latitude":"07213e58","is_valid_coordinates":true} 
[2026-09-08 15:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948568832001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18696928942358528,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339060123648,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31: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-09-08 15:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788861600000,"timestamp_ms":1788861600000,"timestamp_seconds":1788861600,"priority":1,"record_length":96,"hex_timestamp":"000001a08075d100"} 
[2026-09-08 15:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 15:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948568832001,"66":14080,"121":206,"28":31744,"24":42,"16":18696928942358528,"45":1786451339060123648},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948568832001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:31:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18696928942358528,"km_value":18696928942358.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339060123648,"description":"Unknown IO ID 45"} 
[2026-09-08 15:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948568832001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1786451339060123648}} 
[2026-09-08 15:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:31:38] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:31:38] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:31:41] local.INFO: TCP Data received {"connection_id":174496,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:31:41] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:31:41] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:31:47] local.INFO: TCP Data received {"connection_id":174496,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:31:47] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:31:47] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:31:51] local.INFO: TCP Data received {"connection_id":174496,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:31:51] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:31:51] local.INFO: Packet analysis {"connection_id":174496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:31:51] local.INFO: Extracted packet for processing {"connection_id":174496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:31:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:31:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":174496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:31:51] local.INFO: GPS data processed {"connection_id":174496,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:31:51] local.INFO: Acknowledgment sent {"connection_id":174496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:32:00] local.INFO: TCP Data received {"connection_id":174497,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:00] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:00] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:32:03] local.INFO: TCP Data received {"connection_id":174497,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:03] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:03] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:32:05] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:32:05] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:32:05] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:32:06] local.INFO: TCP Data received {"connection_id":174497,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:06] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:32:06] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:32:06] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-08 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-08 15:32:06] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-08 15:32:06] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:32:06] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:32:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:32:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:32:06] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:32:06] local.ERROR: GPS data processing failed {"connection_id":174762,"error":"No valid data to process"} 
[2026-09-08 15:32:06] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:32:07] local.INFO: TCP Data received {"connection_id":174497,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08076abc0012d182b4007219a18004f012f28..."} 
[2026-09-08 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076abc0012d182b4007219a18004f012f28..."} 
[2026-09-08 15:32:07] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076abc0012d182b4007219a18004f012f28..."} 
[2026-09-08 15:32:07] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:07] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642648,"longitude_deg":75.6558656,"latitude_deg":11.9642648,"altitude":79,"angle":303,"satellites":40,"speed":16,"hex_longitude":"2d182b40","hex_latitude":"07219a18","is_valid_coordinates":true} 
[2026-09-08 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948581888001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699321239142400,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746692998605934592,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:07] 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-09-08 15:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861656000,"timestamp_ms":1788861656000,"timestamp_seconds":1788861656,"priority":1,"record_length":96,"hex_timestamp":"000001a08076abc0"} 
[2026-09-08 15:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948581888001,"66":14374,"120":206,"28":31744,"24":16,"16":18699321239142400,"45":1746692998605934592},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 15:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948581888001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:32:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 15:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699321239142400,"km_value":18699321239142.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746692998605934592,"description":"Unknown IO ID 45"} 
[2026-09-08 15:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948581888001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1746692998605934592}} 
[2026-09-08 15:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:32:07] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:32:07] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:32:10] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:32:10] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:32:10] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:32:11] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080769838012d7a158005ec7eb0000600781f..."} 
[2026-09-08 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080769838012d7a158005ec7eb0000600781f..."} 
[2026-09-08 15:32:11] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080769838012d7a158005ec7eb0000600781f..."} 
[2026-09-08 15:32:11] local.INFO: Packet analysis {"connection_id":174498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:11] local.INFO: Extracted packet for processing {"connection_id":174498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":99385008,"longitude_deg":76.2975616,"latitude_deg":9.9385008,"altitude":6,"angle":120,"satellites":31,"speed":2,"hex_longitude":"2d7a1580","hex_latitude":"05ec7eb0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948581888001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899155563741184,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797007841324888064,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788861651000,"timestamp_ms":1788861651000,"timestamp_seconds":1788861651,"priority":1,"record_length":96,"hex_timestamp":"000001a080769838"} 
[2026-09-08 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-09-08 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 15:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948581888001,"66":13820,"100":206,"87":13824,"24":2,"16":129899155563741184,"45":8797007841324888064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948581888001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899155563741184,"km_value":129899155563741.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797007841324888064,"description":"Unknown IO ID 45"} 
[2026-09-08 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948581888001,"power":13820,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8797007841324888064}} 
[2026-09-08 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":174498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:32:11] local.INFO: GPS data processed {"connection_id":174498,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:32:11] local.INFO: Acknowledgment sent {"connection_id":174498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:32:15] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08076a3f0012d7a160005ec7e58000600861f..."} 
[2026-09-08 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076a3f0012d7a160005ec7e58000600861f..."} 
[2026-09-08 15:32:15] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076a3f0012d7a160005ec7e58000600861f..."} 
[2026-09-08 15:32:15] local.INFO: Packet analysis {"connection_id":174498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:15] local.INFO: Extracted packet for processing {"connection_id":174498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384920,"longitude_deg":76.2975744,"latitude_deg":9.938492,"altitude":6,"angle":134,"satellites":31,"speed":1,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e58","is_valid_coordinates":true} 
[2026-09-08 15:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948582656001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078210069049344,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788861654000,"timestamp_ms":1788861654000,"timestamp_seconds":1788861654,"priority":1,"record_length":96,"hex_timestamp":"000001a08076a3f0"} 
[2026-09-08 15:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 15:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948582656001,"66":13526,"100":206,"87":13824,"24":1,"16":129899168448643072,"45":8797078210069049344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948582656001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:32:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:32:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078210069049344,"description":"Unknown IO ID 45"} 
[2026-09-08 15:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948582656001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8797078210069049344}} 
[2026-09-08 15:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":174498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:32:15] local.INFO: GPS data processed {"connection_id":174498,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:32:15] local.INFO: Acknowledgment sent {"connection_id":174498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:32:23] local.INFO: TCP Data received {"connection_id":174496,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:32:23] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:32:23] local.INFO: Packet analysis {"connection_id":174496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:32:23] local.INFO: Extracted packet for processing {"connection_id":174496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:32:23] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:32:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":174496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:32:23] local.INFO: GPS data processed {"connection_id":174496,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:32:23] local.INFO: Acknowledgment sent {"connection_id":174496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:32:38] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-09-08 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-09-08 15:32:38] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-09-08 15:32:38] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:32:38] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:32:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":70000,"timestamp_seconds":70,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:32:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:32:38] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:32:38] local.ERROR: GPS data processing failed {"connection_id":174762,"error":"No valid data to process"} 
[2026-09-08 15:32:38] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:32:38] local.INFO: TCP Data received {"connection_id":174497,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08076c330012d1822400721a1e8004c013c28..."} 
[2026-09-08 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076c330012d1822400721a1e8004c013c28..."} 
[2026-09-08 15:32:38] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076c330012d1822400721a1e8004c013c28..."} 
[2026-09-08 15:32:38] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:38] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119644648,"longitude_deg":75.6556352,"latitude_deg":11.9644648,"altitude":76,"angle":316,"satellites":40,"speed":16,"hex_longitude":"2d182240","hex_latitude":"0721a1e8","is_valid_coordinates":true} 
[2026-09-08 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948583936001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699471562997760,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281524224,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:38] 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-09-08 15:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788861662000,"timestamp_ms":1788861662000,"timestamp_seconds":1788861662,"priority":1,"record_length":96,"hex_timestamp":"000001a08076c330"} 
[2026-09-08 15:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 15:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948583936001,"66":14407,"120":206,"28":31744,"24":16,"16":18699471562997760,"45":1741556080281524224},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 15:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948583936001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:32:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 15:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699471562997760,"km_value":18699471562997.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281524224,"description":"Unknown IO ID 45"} 
[2026-09-08 15:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948583936001,"power":14407,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1741556080281524224}} 
[2026-09-08 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:32:38] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:32:38] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:32:47] local.INFO: TCP Data received {"connection_id":177286,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:32:47] local.INFO: Processing buffer {"connection_id":177286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:32:47] local.INFO: IMEI packet received {"connection_id":177286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":177286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:32:52] local.INFO: TCP Data received {"connection_id":177286,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:32:52] local.INFO: Processing buffer {"connection_id":177286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:32:52] local.INFO: IMEI packet received {"connection_id":177286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":177286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:32:54] local.INFO: TCP Data received {"connection_id":177286,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:32:54] local.INFO: Processing buffer {"connection_id":177286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:32:54] local.INFO: Packet analysis {"connection_id":177286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:32:54] local.INFO: Extracted packet for processing {"connection_id":177286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:32:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:32:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":177286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:32:54] local.INFO: GPS data processed {"connection_id":177286,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:32:54] local.INFO: Acknowledgment sent {"connection_id":177286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:33:00] local.INFO: TCP Data received {"connection_id":177286,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:33:00] local.INFO: Processing buffer {"connection_id":177286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080737770012d4cdf00068f46980049009a2b..."} 
[2026-09-08 15:33:00] local.INFO: Packet analysis {"connection_id":177286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:33:00] local.INFO: Extracted packet for processing {"connection_id":177286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08073"} 
[2026-09-08 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948453120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788861446000,"timestamp_ms":1788861446000,"timestamp_seconds":1788861446,"priority":1,"record_length":96,"hex_timestamp":"000001a080737770"} 
[2026-09-08 15:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 15:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":177286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":177286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":177286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948453120001,"66":26060,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948453120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:33:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948453120001,"power":26060,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":177286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:33:00] local.INFO: GPS data processed {"connection_id":177286,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:33:00] local.INFO: Acknowledgment sent {"connection_id":177286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:33:00] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:33:00] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:33:00] local.INFO: IMEI packet received {"connection_id":177288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":177288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:33:00] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:33:00] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:33:00] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:33:05] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:33:05] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:33:05] local.INFO: IMEI packet received {"connection_id":177288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":177288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:33:06] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:33:06] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:33:06] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:33:06] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08076a7d8012d7a160005ec7e400006007a1f..."} 
[2026-09-08 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076a7d8012d7a160005ec7e400006007a1f..."} 
[2026-09-08 15:33:06] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076a7d8012d7a160005ec7e400006007a1f..."} 
[2026-09-08 15:33:06] local.INFO: Packet analysis {"connection_id":177288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:33:06] local.INFO: Extracted packet for processing {"connection_id":177288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384896,"longitude_deg":76.2975744,"latitude_deg":9.9384896,"altitude":6,"angle":122,"satellites":31,"speed":0,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e40","is_valid_coordinates":true} 
[2026-09-08 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948583424001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947557382144,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861655000,"timestamp_ms":1788861655000,"timestamp_seconds":1788861655,"priority":1,"record_length":96,"hex_timestamp":"000001a08076a7d8"} 
[2026-09-08 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948583424001,"66":13526,"100":206,"87":13824,"24":0,"16":129899168448643072,"45":8797218947557382144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948583424001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947557382144,"description":"Unknown IO ID 45"} 
[2026-09-08 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948583424001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797218947557382144}} 
[2026-09-08 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":177288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:33:06] local.INFO: GPS data processed {"connection_id":177288,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:33:06] local.INFO: Acknowledgment sent {"connection_id":177288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:33:07] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08076cb00012d1820000721a390004c012927..."} 
[2026-09-08 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076cb00012d1820000721a390004c012927..."} 
[2026-09-08 15:33:07] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076cb00012d1820000721a390004c012927..."} 
[2026-09-08 15:33:07] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:33:07] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645072,"longitude_deg":75.6555776,"latitude_deg":11.9645072,"altitude":76,"angle":297,"satellites":39,"speed":9,"hex_longitude":"2d182000","hex_latitude":"0721a390","is_valid_coordinates":true} 
[2026-09-08 15:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699505922736128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805491640320,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:07] 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-09-08 15:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861664000,"timestamp_ms":1788861664000,"timestamp_seconds":1788861664,"priority":1,"record_length":96,"hex_timestamp":"000001a08076cb00"} 
[2026-09-08 15:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 15:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948585472001,"66":13276,"120":206,"28":31744,"24":9,"16":18699505922736128,"45":1739022805491640320},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 15:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:33:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 15:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699505922736128,"km_value":18699505922736.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805491640320,"description":"Unknown IO ID 45"} 
[2026-09-08 15:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948585472001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739022805491640320}} 
[2026-09-08 15:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:33:07] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:33:07] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:33:13] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000000000018e700100000000000000000000000000..."} 
[2026-09-08 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000018e700100000000000000000000000000..."} 
[2026-09-08 15:33:13] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000018e700100000000000000000000000000..."} 
[2026-09-08 15:33:13] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:33:13] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:33:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":102000,"timestamp_seconds":102,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:33:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:33:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:33:13] local.ERROR: GPS data processing failed {"connection_id":174762,"error":"No valid data to process"} 
[2026-09-08 15:33:13] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:33:37] local.INFO: TCP Data received {"connection_id":177288,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08076c330012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076c330012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:33:37] local.INFO: Processing buffer {"connection_id":177288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076c330012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:33:37] local.INFO: Packet analysis {"connection_id":177288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:33:37] local.INFO: Extracted packet for processing {"connection_id":177288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384888,"longitude_deg":76.2975744,"latitude_deg":9.9384888,"altitude":6,"angle":122,"satellites":31,"speed":0,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-09-08 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948583680001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947557376000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861662000,"timestamp_ms":1788861662000,"timestamp_seconds":1788861662,"priority":1,"record_length":96,"hex_timestamp":"000001a08076c330"} 
[2026-09-08 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 15:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948583680001,"66":13646,"100":206,"87":13824,"24":0,"16":129899168448643072,"45":8797218947557376000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948583680001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:33:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:33:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947557376000,"description":"Unknown IO ID 45"} 
[2026-09-08 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948583680001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797218947557376000}} 
[2026-09-08 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":177288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:33:37] local.INFO: GPS data processed {"connection_id":177288,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:33:37] local.INFO: Acknowledgment sent {"connection_id":177288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:33:39] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080771d08012d181e400721a510004b01332a..."} 
[2026-09-08 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080771d08012d181e400721a510004b01332a..."} 
[2026-09-08 15:33:39] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080771d08012d181e400721a510004b01332a..."} 
[2026-09-08 15:33:39] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08077"} 
[2026-09-08 15:33:39] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08077"} 
[2026-09-08 15:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645456,"longitude_deg":75.6555328,"latitude_deg":11.9645456,"altitude":75,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-09-08 15:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948585984001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699540282474496,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794149888,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:39] 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-09-08 15:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788861685000,"timestamp_ms":1788861685000,"timestamp_seconds":1788861685,"priority":1,"record_length":96,"hex_timestamp":"000001a080771d08"} 
[2026-09-08 15:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 15:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948585984001,"66":13102,"120":206,"28":31744,"24":0,"16":18699540282474496,"45":1738389486794149888},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 15:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948585984001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:33:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 15:33:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699540282474496,"km_value":18699540282474.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794149888,"description":"Unknown IO ID 45"} 
[2026-09-08 15:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948585984001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794149888}} 
[2026-09-08 15:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:33:39] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:33:39] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:33:41] local.INFO: TCP Data received {"connection_id":177289,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:33:41] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:33:41] local.INFO: IMEI packet received {"connection_id":177289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":177289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:33:44] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000001e0780100000000000000000000000000..."} 
[2026-09-08 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001e0780100000000000000000000000000..."} 
[2026-09-08 15:33:44] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001e0780100000000000000000000000000..."} 
[2026-09-08 15:33:44] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:33:44] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:33:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":123000,"timestamp_seconds":123,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:33:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-08 15:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:33:44] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:33:44] local.ERROR: GPS data processing failed {"connection_id":174762,"error":"No valid data to process"} 
[2026-09-08 15:33:44] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:33:47] local.INFO: TCP Data received {"connection_id":177289,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:33:47] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:33:47] local.INFO: IMEI packet received {"connection_id":177289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":177289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:33:49] local.INFO: TCP Data received {"connection_id":177289,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:33:49] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:33:49] local.INFO: Packet analysis {"connection_id":177289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:33:49] local.INFO: Extracted packet for processing {"connection_id":177289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:33:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:33:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:33:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":177289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:33:49] local.INFO: GPS data processed {"connection_id":177289,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:33:49] local.INFO: Acknowledgment sent {"connection_id":177289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:00] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:34:00] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:34:00] local.INFO: IMEI packet received {"connection_id":175824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":175824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:34:00] local.INFO: TCP Data received {"connection_id":174499,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:34:00] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:34:00] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:34:05] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:34:05] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:34:05] local.INFO: IMEI packet received {"connection_id":175824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":175824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:34:06] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08076c330012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076c330012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:34:06] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076c330012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:34:06] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:34:06] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384888,"longitude_deg":76.2975744,"latitude_deg":9.9384888,"altitude":6,"angle":122,"satellites":31,"speed":0,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-09-08 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947557373952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861662000,"timestamp_ms":1788861662000,"timestamp_seconds":1788861662,"priority":1,"record_length":96,"hex_timestamp":"000001a08076c330"} 
[2026-09-08 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948585472001,"66":13646,"100":206,"87":13824,"24":0,"16":129899168448643072,"45":8797218947557373952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947557373952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948585472001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797218947557373952}} 
[2026-09-08 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:34:06] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:34:06] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:06] local.INFO: TCP Data received {"connection_id":174499,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:34:06] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:34:06] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:34:07] local.INFO: TCP Data received {"connection_id":174499,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08078d670012d18288007219c600050008326..."} 
[2026-09-08 15:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08078d670012d18288007219c600050008326..."} 
[2026-09-08 15:34:07] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08078d670012d18288007219c600050008326..."} 
[2026-09-08 15:34:07] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:07] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643232,"longitude_deg":75.6557952,"latitude_deg":11.9643232,"altitude":80,"angle":131,"satellites":38,"speed":6,"hex_longitude":"2d182880","hex_latitude":"07219c60","is_valid_coordinates":true} 
[2026-09-08 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948620032001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699759325806592,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863213056,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:07] 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-09-08 15:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861798000,"timestamp_ms":1788861798000,"timestamp_seconds":1788861798,"priority":1,"record_length":96,"hex_timestamp":"000001a08078d670"} 
[2026-09-08 15:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948620032001,"66":14363,"120":206,"28":31744,"24":6,"16":18699759325806592,"45":1740570917863213056},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 15:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948620032001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:34:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 15:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699759325806592,"km_value":18699759325806.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863213056,"description":"Unknown IO ID 45"} 
[2026-09-08 15:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948620032001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740570917863213056}} 
[2026-09-08 15:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:34:07] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:34:07] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:09] local.INFO: TCP Data received {"connection_id":177290,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:34:09] local.INFO: Processing buffer {"connection_id":177290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:34:09] local.INFO: IMEI packet received {"connection_id":177290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":177290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:34:16] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08077ccd00100000000000000000000000000..."} 
[2026-09-08 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08077ccd00100000000000000000000000000..."} 
[2026-09-08 15:34:16] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08077ccd00100000000000000000000000000..."} 
[2026-09-08 15:34:16] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08077"} 
[2026-09-08 15:34:16] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08077"} 
[2026-09-08 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788861730000,"timestamp_ms":1788861730000,"timestamp_seconds":1788861730,"priority":1,"record_length":96,"hex_timestamp":"000001a08077ccd0"} 
[2026-09-08 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-09-08 15:34:16] 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-09-08 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:34:16] local.INFO: GPS data processed {"connection_id":174762,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:34:16] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:22] local.INFO: TCP Data received {"connection_id":177289,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:34:22] local.INFO: Processing buffer {"connection_id":177289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:34:22] local.INFO: Packet analysis {"connection_id":177289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:22] local.INFO: Extracted packet for processing {"connection_id":177289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:34:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:34:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":177289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:34:22] local.INFO: GPS data processed {"connection_id":177289,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:34:22] local.INFO: Acknowledgment sent {"connection_id":177289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:37] local.INFO: TCP Data received {"connection_id":175824,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:34:37] local.INFO: Processing buffer {"connection_id":175824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:34:37] local.INFO: Packet analysis {"connection_id":175824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:34:37] local.INFO: Extracted packet for processing {"connection_id":175824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384888,"longitude_deg":76.2975744,"latitude_deg":9.9384888,"altitude":6,"angle":122,"satellites":31,"speed":0,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-09-08 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947557373952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788861668000,"timestamp_ms":1788861668000,"timestamp_seconds":1788861668,"priority":1,"record_length":96,"hex_timestamp":"000001a08076daa0"} 
[2026-09-08 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948585472001,"66":13428,"100":206,"87":13824,"24":0,"16":129899168448643072,"45":8797218947557373952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947557373952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948585472001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797218947557373952}} 
[2026-09-08 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":175824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:34:37] local.INFO: GPS data processed {"connection_id":175824,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:34:37] local.INFO: Acknowledgment sent {"connection_id":175824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:39] local.INFO: TCP Data received {"connection_id":174499,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08078de40012d18294007219c000050005e26..."} 
[2026-09-08 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08078de40012d18294007219c000050005e26..."} 
[2026-09-08 15:34:39] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08078de40012d18294007219c000050005e26..."} 
[2026-09-08 15:34:39] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:39] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643136,"longitude_deg":75.6558144,"latitude_deg":11.9643136,"altitude":80,"angle":94,"satellites":38,"speed":1,"hex_longitude":"2d182940","hex_latitude":"07219c00","is_valid_coordinates":true} 
[2026-09-08 15:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948620288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699772210708480,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095719424,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34: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-09-08 15:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788861800000,"timestamp_ms":1788861800000,"timestamp_seconds":1788861800,"priority":1,"record_length":96,"hex_timestamp":"000001a08078de40"} 
[2026-09-08 15:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948620288001,"66":14352,"121":206,"28":31744,"24":1,"16":18699772210708480,"45":1740782024095719424},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948620288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:34:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699772210708480,"km_value":18699772210708.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095719424,"description":"Unknown IO ID 45"} 
[2026-09-08 15:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948620288001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1740782024095719424}} 
[2026-09-08 15:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:34:39] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:34:39] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:41] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:34:41] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:34:41] local.INFO: IMEI packet received {"connection_id":174765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":174765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:34:44] local.INFO: TCP Data received {"connection_id":174764,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:34:44] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:34:44] local.INFO: IMEI packet received {"connection_id":174764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":174764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:34:47] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:34:47] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:34:47] local.INFO: IMEI packet received {"connection_id":174765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:34:49] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:34:49] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:34:49] local.INFO: Packet analysis {"connection_id":174765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:49] local.INFO: Extracted packet for processing {"connection_id":174765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:34: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:34:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:34:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:34:49] local.INFO: GPS data processed {"connection_id":174765,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:34:49] local.INFO: Acknowledgment sent {"connection_id":174765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:34:52] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080781ed80100000000000000000000000000..."} 
[2026-09-08 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080781ed80100000000000000000000000000..."} 
[2026-09-08 15:34:52] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080781ed80100000000000000000000000000..."} 
[2026-09-08 15:34:52] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:52] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:34:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:34: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-09-08 15:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788861751000,"timestamp_ms":1788861751000,"timestamp_seconds":1788861751,"priority":1,"record_length":96,"hex_timestamp":"000001a080781ed8"} 
[2026-09-08 15:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 15:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:34:52] local.INFO: GPS data processed {"connection_id":174762,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:34:52] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:00] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:35:00] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:35:00] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:35:05] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:35:05] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:35:05] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:35:05] local.INFO: TCP Data received {"connection_id":175825,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:05] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:05] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:35:06] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:35:06] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:35:06] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:35:06] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384888,"longitude_deg":76.2975744,"latitude_deg":9.9384888,"altitude":6,"angle":122,"satellites":31,"speed":0,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-09-08 15:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947557373952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788861668000,"timestamp_ms":1788861668000,"timestamp_seconds":1788861668,"priority":1,"record_length":96,"hex_timestamp":"000001a08076daa0"} 
[2026-09-08 15:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35: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-09-08 15:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948587008001,"66":13428,"100":206,"87":13824,"24":0,"16":129899168448643072,"45":8797218947557373952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:35:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947557373952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948587008001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797218947557373952}} 
[2026-09-08 15:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:07] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:07] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:08] local.INFO: TCP Data received {"connection_id":175825,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:08] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:08] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:35:09] local.INFO: TCP Data received {"connection_id":175825,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08078fd80012d18298007219bb00050008522..."} 
[2026-09-08 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08078fd80012d18298007219bb00050008522..."} 
[2026-09-08 15:35:09] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08078fd80012d18298007219bb00050008522..."} 
[2026-09-08 15:35:09] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:09] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643056,"longitude_deg":75.6558208,"latitude_deg":11.9643056,"altitude":80,"angle":133,"satellites":34,"speed":6,"hex_longitude":"2d182980","hex_latitude":"07219bb0","is_valid_coordinates":true} 
[2026-09-08 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948620800001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699780800643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328227840,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35: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-09-08 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788861808000,"timestamp_ms":1788861808000,"timestamp_seconds":1788861808,"priority":1,"record_length":96,"hex_timestamp":"000001a08078fd80"} 
[2026-09-08 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2287836451810312269,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2155337864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84750525920649630,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2660761679,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454315896,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":152,"raw_value":22237073587044352,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055399,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,111,160,214,45,128,156,80,38,10,66,120,210,192,37,206,1,240,55,33,4,113,205,42,39,152,239,50,2,7,79],"length":628,"final_offset":758,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-08 15:35:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764711040336068608,"timestamp_seconds":5764711040336069.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948620800001,"66":14374,"121":206,"28":31744,"24":6,"16":18699780800643072,"45":1740993130328227840},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948620800001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699780800643072,"km_value":18699780800643.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328227840,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948620800001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740993130328227840}} 
[2026-09-08 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:09] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:09] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:10] local.INFO: TCP Data received {"connection_id":175825,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080790d20012d182d80072199080050007a23..."} 
[2026-09-08 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080790d20012d182d80072199080050007a23..."} 
[2026-09-08 15:35:10] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080790d20012d182d80072199080050007a23..."} 
[2026-09-08 15:35:10] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08079"} 
[2026-09-08 15:35:10] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08079"} 
[2026-09-08 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642376,"longitude_deg":75.6559232,"latitude_deg":11.9642376,"altitude":80,"angle":122,"satellites":35,"speed":16,"hex_longitude":"2d182d80","hex_latitude":"07219908","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948622848001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18699836635217920,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072385024,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:10] 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-09-08 15:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788861812000,"timestamp_ms":1788861812000,"timestamp_seconds":1788861812,"priority":1,"record_length":96,"hex_timestamp":"000001a080790d20"} 
[2026-09-08 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-09-08 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948622848001,"66":14298,"121":206,"28":31744,"24":16,"16":18699836635217920,"45":1741063499072385024},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948622848001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18699836635217920,"km_value":18699836635217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072385024,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948622848001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1741063499072385024}} 
[2026-09-08 15:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:10] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:10] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:14] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:35:14] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:35:14] local.INFO: IMEI packet received {"connection_id":177291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":177291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:35:19] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:35:19] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:35:19] local.INFO: IMEI packet received {"connection_id":177291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":177291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:35:20] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807870e00100000000000000000000000000..."} 
[2026-09-08 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807870e00100000000000000000000000000..."} 
[2026-09-08 15:35:20] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807870e00100000000000000000000000000..."} 
[2026-09-08 15:35:20] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:20] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750419651133440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788861772000,"timestamp_ms":1788861772000,"timestamp_seconds":1788861772,"priority":1,"record_length":96,"hex_timestamp":"000001a0807870e0"} 
[2026-09-08 15:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:20] 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-09-08 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:35:20] local.INFO: GPS data processed {"connection_id":177291,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:35:20] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:21] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:21] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:21] local.INFO: Packet analysis {"connection_id":174765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:21] local.INFO: Extracted packet for processing {"connection_id":174765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:35:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":174765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:21] local.INFO: GPS data processed {"connection_id":174765,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:21] local.INFO: Acknowledgment sent {"connection_id":174765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:38] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:35:38] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08076daa0012d7a160005ec7e380006007a1f..."} 
[2026-09-08 15:35:38] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:35:38] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08076"} 
[2026-09-08 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99384888,"longitude_deg":76.2975744,"latitude_deg":9.9384888,"altitude":6,"angle":122,"satellites":31,"speed":0,"hex_longitude":"2d7a1600","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-09-08 15:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948587008001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947557373952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788861668000,"timestamp_ms":1788861668000,"timestamp_seconds":1788861668,"priority":1,"record_length":96,"hex_timestamp":"000001a08076daa0"} 
[2026-09-08 15:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948587008001,"66":13428,"100":206,"87":13824,"24":0,"16":129899168448643072,"45":8797218947557373952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948587008001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:35:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947557373952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948587008001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797218947557373952}} 
[2026-09-08 15:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:38] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:38] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:42] local.INFO: TCP Data received {"connection_id":175825,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807a1e90012d18d20007212728004100a322..."} 
[2026-09-08 15:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807a1e90012d18d20007212728004100a322..."} 
[2026-09-08 15:35:42] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807a1e90012d18d20007212728004100a322..."} 
[2026-09-08 15:35:42] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:35:42] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613224,"longitude_deg":75.6601344,"latitude_deg":11.9613224,"altitude":65,"angle":163,"satellites":34,"speed":35,"hex_longitude":"2d18d200","hex_latitude":"07212728","is_valid_coordinates":true} 
[2026-09-08 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948640512001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18702529579712512,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851131904,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:42] 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-09-08 15:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788861882000,"timestamp_ms":1788861882000,"timestamp_seconds":1788861882,"priority":1,"record_length":96,"hex_timestamp":"000001a0807a1e90"} 
[2026-09-08 15:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948640512001,"66":14396,"121":206,"28":31744,"24":35,"16":18702529579712512,"45":1785958757851131904},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948640512001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18702529579712512,"km_value":18702529579712.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851131904,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948640512001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1785958757851131904}} 
[2026-09-08 15:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:42] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:42] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:47] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:35:47] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:35:47] local.INFO: IMEI packet received {"connection_id":174768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:35:52] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807af950012d0b6c0007034698000200a508..."} 
[2026-09-08 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807af950012d0b6c0007034698000200a508..."} 
[2026-09-08 15:35:52] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807af950012d0b6c0007034698000200a508..."} 
[2026-09-08 15:35:52] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:35:52] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":755723264,"raw_latitude":117655192,"longitude_deg":75.5723264,"latitude_deg":11.7655192,"altitude":2,"angle":165,"satellites":8,"speed":11,"hex_longitude":"2d0b6c00","hex_latitude":"07034698","is_valid_coordinates":true} 
[2026-09-08 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948655872001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750887802568704,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823103230765946880,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788861938000,"timestamp_ms":1788861938000,"timestamp_seconds":1788861938,"priority":1,"record_length":96,"hex_timestamp":"000001a0807af950"} 
[2026-09-08 15:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948655872001,"66":14396,"17":206,"94":11008,"24":11,"16":30750887802568704,"45":823103230765946880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 15:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948655872001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30750887802568704,"km_value":30750887802568.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":823103230765946880,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948655872001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":823103230765946880}} 
[2026-09-08 15:35:52] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:35:52] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:35:52] local.INFO: IMEI packet received {"connection_id":174768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:52] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:52] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:53] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:53] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:53] local.INFO: Packet analysis {"connection_id":174768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:53] local.INFO: Extracted packet for processing {"connection_id":174768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:53] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:35:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:53] local.INFO: GPS data processed {"connection_id":174768,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:53] local.INFO: Acknowledgment sent {"connection_id":174768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:35:58] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:58] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:35:58] local.INFO: IMEI packet received {"connection_id":174769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":174769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:35:59] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:59] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:35:59] local.INFO: Packet analysis {"connection_id":174768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:59] local.INFO: Extracted packet for processing {"connection_id":174768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":174768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:35:59] local.INFO: GPS data processed {"connection_id":174768,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:35:59] local.INFO: Acknowledgment sent {"connection_id":174768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:36:01] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:36:01] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:36:01] local.INFO: IMEI packet received {"connection_id":174769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":174769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:36:03] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:36:03] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:36:03] local.INFO: IMEI packet received {"connection_id":174769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":174769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:36:04] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807a2660012d18d28007212048004000b222..."} 
[2026-09-08 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807a2660012d18d28007212048004000b222..."} 
[2026-09-08 15:36:04] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807a2660012d18d28007212048004000b222..."} 
[2026-09-08 15:36:04] local.INFO: Packet analysis {"connection_id":174769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:36:04] local.INFO: Extracted packet for processing {"connection_id":174769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119611464,"longitude_deg":75.6601472,"latitude_deg":11.9611464,"altitude":64,"angle":178,"satellites":34,"speed":35,"hex_longitude":"2d18d280","hex_latitude":"07212048","is_valid_coordinates":true} 
[2026-09-08 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948641792001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18702615479058432,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640493568,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36: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-09-08 15:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788861884000,"timestamp_ms":1788861884000,"timestamp_seconds":1788861884,"priority":1,"record_length":96,"hex_timestamp":"000001a0807a2660"} 
[2026-09-08 15:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948641792001,"66":14396,"121":206,"28":31744,"24":35,"16":18702615479058432,"45":1788492032640493568},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948641792001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:36:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18702615479058432,"km_value":18702615479058.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640493568,"description":"Unknown IO ID 45"} 
[2026-09-08 15:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948641792001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788492032640493568}} 
[2026-09-08 15:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":174769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:36:04] local.INFO: GPS data processed {"connection_id":174769,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:36:04] local.INFO: Acknowledgment sent {"connection_id":174769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:36:23] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807b0cd8012d0b6d8007034360000300ba08..."} 
[2026-09-08 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807b0cd8012d0b6d8007034360000300ba08..."} 
[2026-09-08 15:36:23] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807b0cd8012d0b6d8007034360000300ba08..."} 
[2026-09-08 15:36:23] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:36:23] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755723648,"raw_latitude":117654368,"longitude_deg":75.5723648,"latitude_deg":11.7654368,"altitude":3,"angle":186,"satellites":8,"speed":4,"hex_longitude":"2d0b6d80","hex_latitude":"07034360","is_valid_coordinates":true} 
[2026-09-08 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948656128001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30750930752241664,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823032862021687296,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788861943000,"timestamp_ms":1788861943000,"timestamp_seconds":1788861943,"priority":1,"record_length":96,"hex_timestamp":"000001a0807b0cd8"} 
[2026-09-08 15:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948656128001,"66":14559,"17":206,"94":11008,"24":4,"16":30750930752241664,"45":823032862021687296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 15:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948656128001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30750930752241664,"km_value":30750930752241.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":823032862021687296,"description":"Unknown IO ID 45"} 
[2026-09-08 15:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948656128001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":823032862021687296}} 
[2026-09-08 15:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:36:23] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:36:23] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:36:35] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807a41b8012d18d28007210f68003f00a525..."} 
[2026-09-08 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807a41b8012d18d28007210f68003f00a525..."} 
[2026-09-08 15:36:35] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807a41b8012d18d28007210f68003f00a525..."} 
[2026-09-08 15:36:35] local.INFO: Packet analysis {"connection_id":174769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:36:35] local.INFO: Extracted packet for processing {"connection_id":174769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807a"} 
[2026-09-08 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119607144,"longitude_deg":75.6601472,"latitude_deg":11.9607144,"altitude":63,"angle":165,"satellites":37,"speed":11,"hex_longitude":"2d18d280","hex_latitude":"07210f68","is_valid_coordinates":true} 
[2026-09-08 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948642304001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18702825932455936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128398336,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36: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-09-08 15:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788861891000,"timestamp_ms":1788861891000,"timestamp_seconds":1788861891,"priority":1,"record_length":96,"hex_timestamp":"000001a0807a41b8"} 
[2026-09-08 15:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948642304001,"66":14363,"121":206,"28":31744,"24":11,"16":18702825932455936,"45":1788632770128398336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948642304001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:36:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18702825932455936,"km_value":18702825932455.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128398336,"description":"Unknown IO ID 45"} 
[2026-09-08 15:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948642304001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1788632770128398336}} 
[2026-09-08 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":174769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:36:35] local.INFO: GPS data processed {"connection_id":174769,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:36:35] local.INFO: Acknowledgment sent {"connection_id":174769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:36:42] local.INFO: TCP Data received {"connection_id":177292,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:36:42] local.INFO: Processing buffer {"connection_id":177292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:36:42] local.INFO: IMEI packet received {"connection_id":177292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":177292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:36:47] local.INFO: TCP Data received {"connection_id":177292,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:36:47] local.INFO: Processing buffer {"connection_id":177292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:36:47] local.INFO: IMEI packet received {"connection_id":177292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":177292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:36:49] local.INFO: TCP Data received {"connection_id":177292,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:36:49] local.INFO: Processing buffer {"connection_id":177292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:36:49] local.INFO: Packet analysis {"connection_id":177292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:36:49] local.INFO: Extracted packet for processing {"connection_id":177292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:36:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:36:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:36:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":177292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:36:49] local.INFO: GPS data processed {"connection_id":177292,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:36:49] local.INFO: Acknowledgment sent {"connection_id":177292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:36:54] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807bfb20012d0b874007034f300000004009..."} 
[2026-09-08 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807bfb20012d0b874007034f300000004009..."} 
[2026-09-08 15:36:54] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807bfb20012d0b874007034f300000004009..."} 
[2026-09-08 15:36:54] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:36:54] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:36:54] local.INFO: GPS Element Parsed {"raw_longitude":755730240,"raw_latitude":117657392,"longitude_deg":75.573024,"latitude_deg":11.7657392,"altitude":0,"angle":64,"satellites":9,"speed":12,"hex_longitude":"2d0b8740","hex_latitude":"07034f30","is_valid_coordinates":true} 
[2026-09-08 15:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948672768001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30751386018775040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830351211416694784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788862004000,"timestamp_ms":1788862004000,"timestamp_seconds":1788862004,"priority":1,"record_length":96,"hex_timestamp":"000001a0807bfb20"} 
[2026-09-08 15:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948672768001,"66":14450,"17":206,"94":11008,"24":12,"16":30751386018775040,"45":830351211416694784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 15:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948672768001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:36:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30751386018775040,"km_value":30751386018775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":830351211416694784,"description":"Unknown IO ID 45"} 
[2026-09-08 15:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948672768001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830351211416694784}} 
[2026-09-08 15:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:36:55] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:36:55] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:37:01] local.INFO: TCP Data received {"connection_id":175826,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:01] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:01] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:37:02] local.INFO: TCP Data received {"connection_id":175826,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:02] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:02] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:37:06] local.INFO: TCP Data received {"connection_id":175826,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:06] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:37:06] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:37:07] local.INFO: TCP Data received {"connection_id":175826,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807b3bb8012d1967000720ab500030005524..."} 
[2026-09-08 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807b3bb8012d1967000720ab500030005524..."} 
[2026-09-08 15:37:07] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807b3bb8012d1967000720ab500030005524..."} 
[2026-09-08 15:37:07] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:37:07] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119581520,"longitude_deg":75.6639488,"latitude_deg":11.958152,"altitude":48,"angle":85,"satellites":36,"speed":33,"hex_longitude":"2d196700","hex_latitude":"0720ab50","is_valid_coordinates":true} 
[2026-09-08 15:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948658944001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18705175279566848,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304627980288,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37: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-09-08 15:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788861955000,"timestamp_ms":1788861955000,"timestamp_seconds":1788861955,"priority":1,"record_length":96,"hex_timestamp":"000001a0807b3bb8"} 
[2026-09-08 15:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 15:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948658944001,"66":14070,"121":206,"28":31744,"24":33,"16":18705175279566848,"45":1824802304627980288},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948658944001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:37:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18705175279566848,"km_value":18705175279566.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304627980288,"description":"Unknown IO ID 45"} 
[2026-09-08 15:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948658944001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1824802304627980288}} 
[2026-09-08 15:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:37:07] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:37:07] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:37:21] local.INFO: TCP Data received {"connection_id":177292,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:37:21] local.INFO: Processing buffer {"connection_id":177292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:37:21] local.INFO: Packet analysis {"connection_id":177292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:37:21] local.INFO: Extracted packet for processing {"connection_id":177292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:37:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:37:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":177292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:37:21] local.INFO: GPS data processed {"connection_id":177292,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:37:21] local.INFO: Acknowledgment sent {"connection_id":177292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:37:26] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807bff08012d0b884007034f680000005009..."} 
[2026-09-08 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807bff08012d0b884007034f680000005009..."} 
[2026-09-08 15:37:26] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807bff08012d0b884007034f680000005009..."} 
[2026-09-08 15:37:26] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:37:26] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807b"} 
[2026-09-08 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":117657448,"longitude_deg":75.5730496,"latitude_deg":11.7657448,"altitude":0,"angle":80,"satellites":9,"speed":12,"hex_longitude":"2d0b8840","hex_latitude":"07034f68","is_valid_coordinates":true} 
[2026-09-08 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948673024001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30751403198644224,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830703055137615872,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788862005000,"timestamp_ms":1788862005000,"timestamp_seconds":1788862005,"priority":1,"record_length":96,"hex_timestamp":"000001a0807bff08"} 
[2026-09-08 15:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 15:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948673024001,"66":14450,"17":206,"94":11008,"24":12,"16":30751403198644224,"45":830703055137615872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 15:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948673024001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:37:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30751403198644224,"km_value":30751403198644.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":830703055137615872,"description":"Unknown IO ID 45"} 
[2026-09-08 15:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948673024001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830703055137615872}} 
[2026-09-08 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:37:26] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:37:26] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:37:39] local.INFO: TCP Data received {"connection_id":175826,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807c02f0012d19ae0007208f70003000bd29..."} 
[2026-09-08 15:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807c02f0012d19ae0007208f70003000bd29..."} 
[2026-09-08 15:37:39] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807c02f0012d19ae0007208f70003000bd29..."} 
[2026-09-08 15:37:39] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:37:39] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574384,"longitude_deg":75.6657664,"latitude_deg":11.9574384,"altitude":48,"angle":189,"satellites":41,"speed":30,"hex_longitude":"2d19ae00","hex_latitude":"07208f70","is_valid_coordinates":true} 
[2026-09-08 15:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948673280001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18706618388578304,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739620352,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37: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-09-08 15:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862006000,"timestamp_ms":1788862006000,"timestamp_seconds":1788862006,"priority":1,"record_length":96,"hex_timestamp":"000001a0807c02f0"} 
[2026-09-08 15:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 15:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948673280001,"66":13656,"121":206,"28":31744,"24":30,"16":18706618388578304,"45":1850627633739620352},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948673280001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18706618388578304,"km_value":18706618388578.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739620352,"description":"Unknown IO ID 45"} 
[2026-09-08 15:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948673280001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850627633739620352}} 
[2026-09-08 15:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:37:39] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:37:39] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:37:41] local.INFO: TCP Data received {"connection_id":174771,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:37:41] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:37:41] local.INFO: IMEI packet received {"connection_id":174771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":174771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:37:47] local.INFO: TCP Data received {"connection_id":174771,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:37:47] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:37:47] local.INFO: IMEI packet received {"connection_id":174771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:37:50] local.INFO: TCP Data received {"connection_id":174771,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:37:50] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080780f38012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:37:50] local.INFO: Packet analysis {"connection_id":174771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:37:50] local.INFO: Extracted packet for processing {"connection_id":174771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08078"} 
[2026-09-08 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948530176001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788861747000,"timestamp_ms":1788861747000,"timestamp_seconds":1788861747,"priority":1,"record_length":96,"hex_timestamp":"000001a080780f38"} 
[2026-09-08 15:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 15:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948530176001,"66":25973,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948530176001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948530176001,"power":25973,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":174771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:37:50] local.INFO: GPS data processed {"connection_id":174771,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:37:50] local.INFO: Acknowledgment sent {"connection_id":174771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:37:57] local.INFO: TCP Data received {"connection_id":177291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807cddb0012d0bfa4007035710000000850a..."} 
[2026-09-08 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807cddb0012d0bfa4007035710000000850a..."} 
[2026-09-08 15:37:57] local.INFO: Processing buffer {"connection_id":177291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807cddb0012d0bfa4007035710000000850a..."} 
[2026-09-08 15:37:57] local.INFO: Packet analysis {"connection_id":177291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:37:57] local.INFO: Extracted packet for processing {"connection_id":177291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755759680,"raw_latitude":117659408,"longitude_deg":75.575968,"latitude_deg":11.7659408,"altitude":0,"angle":133,"satellites":10,"speed":13,"hex_longitude":"2d0bfa40","hex_latitude":"07035710","is_valid_coordinates":true} 
[2026-09-08 15:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948687360001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30752816242884608,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862298621273982976,"note":"Value kept but may cause issues"} 
[2026-09-08 15:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788862062000,"timestamp_ms":1788862062000,"timestamp_seconds":1788862062,"priority":1,"record_length":96,"hex_timestamp":"000001a0807cddb0"} 
[2026-09-08 15:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948687360001,"66":14537,"37":206,"94":11008,"24":13,"16":30752816242884608,"45":862298621273982976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948687360001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:37:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:37:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30752816242884608,"km_value":30752816242884.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":862298621273982976,"description":"Unknown IO ID 45"} 
[2026-09-08 15:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948687360001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":862298621273982976}} 
[2026-09-08 15:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":177291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:37:57] local.INFO: GPS data processed {"connection_id":177291,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:37:57] local.INFO: Acknowledgment sent {"connection_id":177291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:00] local.INFO: TCP Data received {"connection_id":177293,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:00] local.INFO: Processing buffer {"connection_id":177293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:00] local.INFO: IMEI packet received {"connection_id":177293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":177293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:38:00] local.INFO: TCP Data received {"connection_id":177293,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:00] local.INFO: Processing buffer {"connection_id":177293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:00] local.INFO: IMEI packet received {"connection_id":177293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":177293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:38:01] local.INFO: TCP Data received {"connection_id":177293,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:01] local.INFO: Processing buffer {"connection_id":177293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:01] local.INFO: IMEI packet received {"connection_id":177293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":177293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:38:05] local.INFO: TCP Data received {"connection_id":177293,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:05] local.INFO: Processing buffer {"connection_id":177293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:38:05] local.INFO: IMEI packet received {"connection_id":177293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":177293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:38:06] local.INFO: TCP Data received {"connection_id":177293,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807c06d8012d19ae0007208c70003000b029..."} 
[2026-09-08 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807c06d8012d19ae0007208c70003000b029..."} 
[2026-09-08 15:38:06] local.INFO: Processing buffer {"connection_id":177293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807c06d8012d19ae0007208c70003000b029..."} 
[2026-09-08 15:38:06] local.INFO: Packet analysis {"connection_id":177293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:06] local.INFO: Extracted packet for processing {"connection_id":177293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573616,"longitude_deg":75.6657664,"latitude_deg":11.9573616,"altitude":48,"angle":176,"satellites":41,"speed":31,"hex_longitude":"2d19ae00","hex_latitude":"07208c70","is_valid_coordinates":true} 
[2026-09-08 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948673536001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18706657043283968,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506894848,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:06] 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-09-08 15:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788862007000,"timestamp_ms":1788862007000,"timestamp_seconds":1788862007,"priority":1,"record_length":96,"hex_timestamp":"000001a0807c06d8"} 
[2026-09-08 15:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948673536001,"66":13656,"121":206,"28":31744,"24":31,"16":18706657043283968,"45":1850416527506894848},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948673536001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18706657043283968,"km_value":18706657043283.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506894848,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948673536001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1850416527506894848}} 
[2026-09-08 15:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":177293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:06] local.INFO: GPS data processed {"connection_id":177293,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:06] local.INFO: Acknowledgment sent {"connection_id":177293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:14] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:38:14] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:38:14] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:38:19] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:38:19] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:38:19] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:38:20] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ce580012d0bfc00070355a80000006c0a..."} 
[2026-09-08 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ce580012d0bfc00070355a80000006c0a..."} 
[2026-09-08 15:38:20] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ce580012d0bfc00070355a80000006c0a..."} 
[2026-09-08 15:38:20] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:20] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":755760128,"raw_latitude":117659048,"longitude_deg":75.5760128,"latitude_deg":11.7659048,"altitude":0,"angle":108,"satellites":10,"speed":11,"hex_longitude":"2d0bfc00","hex_latitude":"070355a8","is_valid_coordinates":true} 
[2026-09-08 15:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948687872001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30752846307655680,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863072677459857408,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862064000,"timestamp_ms":1788862064000,"timestamp_seconds":1788862064,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ce580"} 
[2026-09-08 15:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948687872001,"66":14537,"37":206,"94":11008,"24":11,"16":30752846307655680,"45":863072677459857408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948687872001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:38:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30752846307655680,"km_value":30752846307655.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":863072677459857408,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948687872001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":863072677459857408}} 
[2026-09-08 15:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:20] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:20] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:23] local.INFO: TCP Data received {"connection_id":174771,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:23] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:23] local.INFO: Packet analysis {"connection_id":174771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:23] local.INFO: Extracted packet for processing {"connection_id":174771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":174771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:23] local.INFO: GPS data processed {"connection_id":174771,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:23] local.INFO: Acknowledgment sent {"connection_id":174771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:37] local.INFO: TCP Data received {"connection_id":177293,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807cca28012d19fd00071ffbb0002c00642a..."} 
[2026-09-08 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807cca28012d19fd00071ffbb0002c00642a..."} 
[2026-09-08 15:38:37] local.INFO: Processing buffer {"connection_id":177293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807cca28012d19fd00071ffbb0002c00642a..."} 
[2026-09-08 15:38:37] local.INFO: Packet analysis {"connection_id":177293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:37] local.INFO: Extracted packet for processing {"connection_id":177293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756677888,"raw_latitude":119536560,"longitude_deg":75.6677888,"latitude_deg":11.953656,"altitude":44,"angle":100,"satellites":42,"speed":35,"hex_longitude":"2d19fd00","hex_latitude":"071ffbb0","is_valid_coordinates":true} 
[2026-09-08 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948685824001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18708890426277888,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869767932146053120,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38: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-09-08 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788862057000,"timestamp_ms":1788862057000,"timestamp_seconds":1788862057,"priority":1,"record_length":96,"hex_timestamp":"000001a0807cca28"} 
[2026-09-08 15:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948685824001,"66":14070,"121":206,"28":31744,"24":35,"16":18708890426277888,"45":1869767932146053120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948685824001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18708890426277888,"km_value":18708890426277.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869767932146053120,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948685824001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1869767932146053120}} 
[2026-09-08 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":177293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:37] local.INFO: GPS data processed {"connection_id":177293,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:37] local.INFO: Acknowledgment sent {"connection_id":177293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:42] local.INFO: TCP Data received {"connection_id":174502,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:38:42] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:38:42] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:38:47] local.INFO: TCP Data received {"connection_id":174502,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:38:47] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:38:47] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:38:49] local.INFO: TCP Data received {"connection_id":174502,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:49] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:49] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:49] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:38:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:49] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:49] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:51] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807da100012d0c1b8007034350000000170c..."} 
[2026-09-08 15:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807da100012d0c1b8007034350000000170c..."} 
[2026-09-08 15:38:51] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807da100012d0c1b8007034350000000170c..."} 
[2026-09-08 15:38:51] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:38:51] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755768192,"raw_latitude":117654352,"longitude_deg":75.5768192,"latitude_deg":11.7654352,"altitude":0,"angle":23,"satellites":12,"speed":17,"hex_longitude":"2d0c1b80","hex_latitude":"07034350","is_valid_coordinates":true} 
[2026-09-08 15:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948699904001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30753576452096000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871868770480490496,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862112000,"timestamp_ms":1788862112000,"timestamp_seconds":1788862112,"priority":1,"record_length":96,"hex_timestamp":"000001a0807da100"} 
[2026-09-08 15:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948699904001,"66":14494,"37":206,"94":11008,"24":17,"16":30753576452096000,"45":871868770480490496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948699904001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30753576452096000,"km_value":30753576452096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":871868770480490496,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948699904001,"power":14494,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":871868770480490496}} 
[2026-09-08 15:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:51] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:51] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:38:53] local.INFO: TCP Data received {"connection_id":174502,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:53] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:38:53] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:53] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:38:53] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:38:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:38:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:38:53] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:38:53] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:00] local.INFO: TCP Data received {"connection_id":175828,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:00] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:00] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:39:05] local.INFO: TCP Data received {"connection_id":175828,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:05] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:05] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:39:05] local.INFO: TCP Data received {"connection_id":175828,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:05] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:39:05] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:39:07] local.INFO: TCP Data received {"connection_id":175828,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ced50012d1a1f40071ff100002d006b2a..."} 
[2026-09-08 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ced50012d1a1f40071ff100002d006b2a..."} 
[2026-09-08 15:39:07] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ced50012d1a1f40071ff100002d006b2a..."} 
[2026-09-08 15:39:07] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:39:07] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119533824,"longitude_deg":75.6686656,"latitude_deg":11.9533824,"altitude":45,"angle":107,"satellites":42,"speed":39,"hex_longitude":"2d1a1f40","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-09-08 15:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948686592001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18709328512942080,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872653050657353728,"note":"Value kept but may cause issues"} 
[2026-09-08 15: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-09-08 15:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862066000,"timestamp_ms":1788862066000,"timestamp_seconds":1788862066,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ced50"} 
[2026-09-08 15:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948686592001,"66":13526,"121":206,"28":31744,"24":39,"16":18709328512942080,"45":1872653050657353728},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948686592001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18709328512942080,"km_value":18709328512942.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872653050657353728,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948686592001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1872653050657353728}} 
[2026-09-08 15:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:08] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:08] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:08] local.INFO: TCP Data received {"connection_id":175828,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807d1460012d1a4380071fe778002f006729..."} 
[2026-09-08 15:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807d1460012d1a4380071fe778002f006729..."} 
[2026-09-08 15:39:08] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807d1460012d1a4380071fe778002f006729..."} 
[2026-09-08 15:39:08] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:08] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756695936,"raw_latitude":119531384,"longitude_deg":75.6695936,"latitude_deg":11.9531384,"altitude":47,"angle":103,"satellites":41,"speed":36,"hex_longitude":"2d1a4380","hex_latitude":"071fe778","is_valid_coordinates":true} 
[2026-09-08 15:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948688896001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18709783779475456,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568608993280,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39: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-09-08 15:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788862076000,"timestamp_ms":1788862076000,"timestamp_seconds":1788862076,"priority":1,"record_length":96,"hex_timestamp":"000001a0807d1460"} 
[2026-09-08 15:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948688896001,"66":14102,"121":206,"28":31744,"24":36,"16":18709783779475456,"45":1882293568608993280},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948688896001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18709783779475456,"km_value":18709783779475.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568608993280,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948688896001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1882293568608993280}} 
[2026-09-08 15:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:08] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:08] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:14] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:39:14] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:39:14] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:39:19] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:39:19] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:39:19] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:39:20] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807da8d0012d0c1bc0070346b8000000090c..."} 
[2026-09-08 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807da8d0012d0c1bc0070346b8000000090c..."} 
[2026-09-08 15:39:20] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807da8d0012d0c1bc0070346b8000000090c..."} 
[2026-09-08 15:39:20] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:20] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:20] local.INFO: GPS Element Parsed {"raw_longitude":755768256,"raw_latitude":117655224,"longitude_deg":75.5768256,"latitude_deg":11.7655224,"altitude":0,"angle":9,"satellites":12,"speed":17,"hex_longitude":"2d0c1bc0","hex_latitude":"070346b8","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948700672001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30753615106801664,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872431720434192384,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862114000,"timestamp_ms":1788862114000,"timestamp_seconds":1788862114,"priority":1,"record_length":96,"hex_timestamp":"000001a0807da8d0"} 
[2026-09-08 15:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948700672001,"66":14428,"37":206,"94":11008,"24":17,"16":30753615106801664,"45":872431720434192384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948700672001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:39:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30753615106801664,"km_value":30753615106801.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":872431720434192384,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948700672001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":872431720434192384}} 
[2026-09-08 15:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:20] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:20] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:26] local.INFO: TCP Data received {"connection_id":174502,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:39:26] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:39:26] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:39:26] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:26] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:39:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:26] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:26] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:40] local.INFO: TCP Data received {"connection_id":175828,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807d2018012d1a4d40071fe4100030007529..."} 
[2026-09-08 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807d2018012d1a4d40071fe4100030007529..."} 
[2026-09-08 15:39:40] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807d2018012d1a4d40071fe4100030007529..."} 
[2026-09-08 15:39:40] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:40] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756698432,"raw_latitude":119530512,"longitude_deg":75.6698432,"latitude_deg":11.9530512,"altitude":48,"angle":117,"satellites":41,"speed":34,"hex_longitude":"2d1a4d40","hex_latitude":"071fe410","is_valid_coordinates":true} 
[2026-09-08 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948691456001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18709912628494336,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892497036514129920,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39: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-09-08 15:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788862079000,"timestamp_ms":1788862079000,"timestamp_seconds":1788862079,"priority":1,"record_length":96,"hex_timestamp":"000001a0807d2018"} 
[2026-09-08 15:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948691456001,"66":14494,"121":206,"28":31744,"24":34,"16":18709912628494336,"45":1892497036514129920},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948691456001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18709912628494336,"km_value":18709912628494.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892497036514129920,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948691456001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1892497036514129920}} 
[2026-09-08 15:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:40] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:40] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:42] local.INFO: TCP Data received {"connection_id":177294,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:39:42] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:39:42] local.INFO: IMEI packet received {"connection_id":177294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":177294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:39:47] local.INFO: TCP Data received {"connection_id":177294,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:39:47] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:39:47] local.INFO: IMEI packet received {"connection_id":177294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":177294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:39:50] local.INFO: TCP Data received {"connection_id":177294,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:39:50] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:39:50] local.INFO: Packet analysis {"connection_id":177294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:39:50] local.INFO: Extracted packet for processing {"connection_id":177294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:39:50] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:39:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":177294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:50] local.INFO: GPS data processed {"connection_id":177294,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:50] local.INFO: Acknowledgment sent {"connection_id":177294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:51] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807de368012d0c1d0007034cc0000000500c..."} 
[2026-09-08 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807de368012d0c1d0007034cc0000000500c..."} 
[2026-09-08 15:39:51] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807de368012d0c1d0007034cc0000000500c..."} 
[2026-09-08 15:39:51] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:51] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755768576,"raw_latitude":117656768,"longitude_deg":75.5768576,"latitude_deg":11.7656768,"altitude":0,"angle":80,"satellites":12,"speed":0,"hex_longitude":"2d0c1d00","hex_latitude":"07034cc0","is_valid_coordinates":true} 
[2026-09-08 15:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948701184001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30753713891049472,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872502089178593280,"note":"Value kept but may cause issues"} 
[2026-09-08 15:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862129000,"timestamp_ms":1788862129000,"timestamp_seconds":1788862129,"priority":1,"record_length":96,"hex_timestamp":"000001a0807de368"} 
[2026-09-08 15:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 15:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948701184001,"66":14439,"37":206,"94":11008,"24":0,"16":30753713891049472,"45":872502089178593280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948701184001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:39:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30753713891049472,"km_value":30753713891049.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":872502089178593280,"description":"Unknown IO ID 45"} 
[2026-09-08 15:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948701184001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":872502089178593280}} 
[2026-09-08 15:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:39:51] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:39:51] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:39:59] local.INFO: TCP Data received {"connection_id":177295,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:39:59] local.INFO: Processing buffer {"connection_id":177295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:39:59] local.INFO: IMEI packet received {"connection_id":177295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":177295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:40:04] local.INFO: TCP Data received {"connection_id":177296,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:04] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:04] local.INFO: IMEI packet received {"connection_id":177296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":177296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:40:05] local.INFO: TCP Data received {"connection_id":177296,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:05] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:05] local.INFO: IMEI packet received {"connection_id":177296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":177296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:40:07] local.INFO: TCP Data received {"connection_id":177296,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:07] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:07] local.INFO: IMEI packet received {"connection_id":177296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":177296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:40:10] local.INFO: TCP Data received {"connection_id":177296,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:10] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:40:10] local.INFO: IMEI packet received {"connection_id":177296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":177296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:40:14] local.INFO: TCP Data received {"connection_id":177296,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807e1248012d1a2240071feef80032011e2c..."} 
[2026-09-08 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807e1248012d1a2240071feef80032011e2c..."} 
[2026-09-08 15:40:14] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807e1248012d1a2240071feef80032011e2c..."} 
[2026-09-08 15:40:14] local.INFO: Packet analysis {"connection_id":177296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:40:14] local.INFO: Extracted packet for processing {"connection_id":177296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756687424,"raw_latitude":119533304,"longitude_deg":75.6687424,"latitude_deg":11.9533304,"altitude":50,"angle":286,"satellites":44,"speed":44,"hex_longitude":"2d1a2240","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948705792001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18711145284108288,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893763673909178368,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40: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-09-08 15:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788862141000,"timestamp_ms":1788862141000,"timestamp_seconds":1788862141,"priority":1,"record_length":96,"hex_timestamp":"000001a0807e1248"} 
[2026-09-08 15:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 15:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948705792001,"66":14494,"121":206,"28":31744,"24":44,"16":18711145284108288,"45":1893763673909178368},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948705792001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:40:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18711145284108288,"km_value":18711145284108.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893763673909178368,"description":"Unknown IO ID 45"} 
[2026-09-08 15:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948705792001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1893763673909178368}} 
[2026-09-08 15:40:14] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:40:14] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:40:14] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":177296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:40:14] local.INFO: GPS data processed {"connection_id":177296,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:40:14] local.INFO: Acknowledgment sent {"connection_id":177296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:40:18] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:40:18] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:40:18] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:40:18] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807de750012d0c1d4007034cf00000003c0c..."} 
[2026-09-08 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807de750012d0c1d4007034cf00000003c0c..."} 
[2026-09-08 15:40:18] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807de750012d0c1d4007034cf00000003c0c..."} 
[2026-09-08 15:40:18] local.INFO: Packet analysis {"connection_id":174504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:40:18] local.INFO: Extracted packet for processing {"connection_id":174504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:40:18] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117656816,"longitude_deg":75.576864,"latitude_deg":11.7656816,"altitude":0,"angle":60,"satellites":12,"speed":2,"hex_longitude":"2d0c1d40","hex_latitude":"07034cf0","is_valid_coordinates":true} 
[2026-09-08 15:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948705024001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30753718186016768,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872853932899876864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788862130000,"timestamp_ms":1788862130000,"timestamp_seconds":1788862130,"priority":1,"record_length":96,"hex_timestamp":"000001a0807de750"} 
[2026-09-08 15:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948705024001,"66":14439,"37":206,"94":11008,"24":2,"16":30753718186016768,"45":872853932899876864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948705024001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:40:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:40:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30753718186016768,"km_value":30753718186016.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":872853932899876864,"description":"Unknown IO ID 45"} 
[2026-09-08 15:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948705024001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":872853932899876864}} 
[2026-09-08 15:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":174504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:40:19] local.INFO: GPS data processed {"connection_id":174504,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:40:19] local.INFO: Acknowledgment sent {"connection_id":174504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:40:22] local.INFO: TCP Data received {"connection_id":177294,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:40:22] local.INFO: Processing buffer {"connection_id":177294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:40:22] local.INFO: Packet analysis {"connection_id":177294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:40:22] local.INFO: Extracted packet for processing {"connection_id":177294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:40:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:40:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:40:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":177294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:40:22] local.INFO: GPS data processed {"connection_id":177294,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:40:22] local.INFO: Acknowledgment sent {"connection_id":177294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:40:41] local.INFO: TCP Data received {"connection_id":174505,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:40:41] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:40:41] local.INFO: IMEI packet received {"connection_id":174505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":174505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:40:45] local.INFO: TCP Data received {"connection_id":177296,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ee538012d19a240071ff078003400f42a..."} 
[2026-09-08 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ee538012d19a240071ff078003400f42a..."} 
[2026-09-08 15:40:45] local.INFO: Processing buffer {"connection_id":177296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ee538012d19a240071ff078003400f42a..."} 
[2026-09-08 15:40:45] local.INFO: Packet analysis {"connection_id":177296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:40:45] local.INFO: Extracted packet for processing {"connection_id":177296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119533688,"longitude_deg":75.6654656,"latitude_deg":11.9533688,"altitude":52,"angle":244,"satellites":42,"speed":12,"hex_longitude":"2d19a240","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-09-08 15:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948721664001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18712931990503424,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496867840,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40: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-09-08 15:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788862195000,"timestamp_ms":1788862195000,"timestamp_seconds":1788862195,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ee538"} 
[2026-09-08 15:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 15:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948721664001,"66":13080,"121":206,"28":31744,"24":12,"16":18712931990503424,"45":1847390671496867840},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948721664001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:40:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18712931990503424,"km_value":18712931990503.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496867840,"description":"Unknown IO ID 45"} 
[2026-09-08 15:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948721664001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1847390671496867840}} 
[2026-09-08 15:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":177296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:40:45] local.INFO: GPS data processed {"connection_id":177296,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:40:45] local.INFO: Acknowledgment sent {"connection_id":177296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:40:47] local.INFO: TCP Data received {"connection_id":174505,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:40:47] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:40:47] local.INFO: IMEI packet received {"connection_id":174505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:40:49] local.INFO: TCP Data received {"connection_id":174505,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:40:49] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:40:49] local.INFO: Packet analysis {"connection_id":174505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:40:49] local.INFO: Extracted packet for processing {"connection_id":174505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":174505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:40:49] local.INFO: GPS data processed {"connection_id":174505,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:40:49] local.INFO: Acknowledgment sent {"connection_id":174505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:40:49] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807dfad8012d0c210007034ed0000000490c..."} 
[2026-09-08 15:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807dfad8012d0c210007034ed0000000490c..."} 
[2026-09-08 15:40:49] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807dfad8012d0c210007034ed0000000490c..."} 
[2026-09-08 15:40:49] local.INFO: Packet analysis {"connection_id":174504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:40:49] local.INFO: Extracted packet for processing {"connection_id":174504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807d"} 
[2026-09-08 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755769600,"raw_latitude":117657296,"longitude_deg":75.57696,"latitude_deg":11.7657296,"altitude":0,"angle":73,"satellites":12,"speed":12,"hex_longitude":"2d0c2100","hex_latitude":"07034ed0","is_valid_coordinates":true} 
[2026-09-08 15:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948705280001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30753769725624320,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301644066816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862135000,"timestamp_ms":1788862135000,"timestamp_seconds":1788862135,"priority":1,"record_length":96,"hex_timestamp":"000001a0807dfad8"} 
[2026-09-08 15:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948705280001,"66":14450,"37":206,"94":11008,"24":12,"16":30753769725624320,"45":872924301644066816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948705280001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30753769725624320,"km_value":30753769725624.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301644066816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948705280001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":872924301644066816}} 
[2026-09-08 15:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":174504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:40:50] local.INFO: GPS data processed {"connection_id":174504,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:40:50] local.INFO: Acknowledgment sent {"connection_id":174504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:41:00] local.INFO: TCP Data received {"connection_id":174506,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:00] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:00] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:41:02] local.INFO: TCP Data received {"connection_id":174506,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:02] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:02] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:41:06] local.INFO: TCP Data received {"connection_id":174506,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:06] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:41:06] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:41:07] local.INFO: TCP Data received {"connection_id":174506,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ef0f0012d199e80071fef100035010729..."} 
[2026-09-08 15:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ef0f0012d199e80071fef100035010729..."} 
[2026-09-08 15:41:07] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ef0f0012d199e80071fef100035010729..."} 
[2026-09-08 15:41:07] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:41:07] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533328,"longitude_deg":75.6653696,"latitude_deg":11.9533328,"altitude":53,"angle":263,"satellites":41,"speed":15,"hex_longitude":"2d199e80","hex_latitude":"071fef10","is_valid_coordinates":true} 
[2026-09-08 15:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948721920001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18712979235143680,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196520126464,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41: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-09-08 15:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862198000,"timestamp_ms":1788862198000,"timestamp_seconds":1788862198,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ef0f0"} 
[2026-09-08 15:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 15:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948721920001,"66":13276,"121":206,"28":31744,"24":15,"16":18712979235143680,"45":1847109196520126464},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948721920001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18712979235143680,"km_value":18712979235143.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196520126464,"description":"Unknown IO ID 45"} 
[2026-09-08 15:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948721920001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1847109196520126464}} 
[2026-09-08 15:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:41:07] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:41:07] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:41:15] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:41:15] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:41:15] local.INFO: IMEI packet received {"connection_id":174773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":174773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:41:19] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:41:19] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:41:19] local.INFO: IMEI packet received {"connection_id":174773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":174773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:41:20] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0807e21e8012d0c30c007035290000000540c..."} 
[2026-09-08 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807e21e8012d0c30c007035290000000540c..."} 
[2026-09-08 15:41:20] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807e21e8012d0c30c007035290000000540c..."} 
[2026-09-08 15:41:20] local.INFO: Packet analysis {"connection_id":174773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:41:20] local.INFO: Extracted packet for processing {"connection_id":174773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":755773632,"raw_latitude":117658256,"longitude_deg":75.5773632,"latitude_deg":11.7658256,"altitude":0,"angle":84,"satellites":12,"speed":18,"hex_longitude":"2d0c30c0","hex_latitude":"07035290","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948706560001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30753967294119936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873979832806854656,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862145000,"timestamp_ms":1788862145000,"timestamp_seconds":1788862145,"priority":1,"record_length":96,"hex_timestamp":"000001a0807e21e8"} 
[2026-09-08 15:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 15:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948706560001,"66":14428,"37":206,"94":11008,"24":18,"16":30753967294119936,"45":873979832806854656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 15:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948706560001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:41:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 15:41:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30753967294119936,"km_value":30753967294119.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":873979832806854656,"description":"Unknown IO ID 45"} 
[2026-09-08 15:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948706560001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":873979832806854656}} 
[2026-09-08 15:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":174773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:41:20] local.INFO: GPS data processed {"connection_id":174773,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:41:20] local.INFO: Acknowledgment sent {"connection_id":174773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:41:21] local.INFO: TCP Data received {"connection_id":174505,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:41:21] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:41:21] local.INFO: Packet analysis {"connection_id":174505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:41:21] local.INFO: Extracted packet for processing {"connection_id":174505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":174505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:41:21] local.INFO: GPS data processed {"connection_id":174505,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:41:21] local.INFO: Acknowledgment sent {"connection_id":174505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:41:38] local.INFO: TCP Data received {"connection_id":174506,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ef4d8012d199c80071fef100036011429..."} 
[2026-09-08 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ef4d8012d199c80071fef100036011429..."} 
[2026-09-08 15:41:38] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ef4d8012d199c80071fef100036011429..."} 
[2026-09-08 15:41:38] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:41:38] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807e"} 
[2026-09-08 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533328,"longitude_deg":75.6653184,"latitude_deg":11.9533328,"altitude":54,"angle":276,"satellites":41,"speed":17,"hex_longitude":"2d199c80","hex_latitude":"071fef10","is_valid_coordinates":true} 
[2026-09-08 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948722688001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713000709980160,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357369344,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41: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-09-08 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788862199000,"timestamp_ms":1788862199000,"timestamp_seconds":1788862199,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ef4d8"} 
[2026-09-08 15:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 15:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948722688001,"66":13276,"121":206,"28":31744,"24":17,"16":18713000709980160,"45":1846053665357369344},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948722688001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713000709980160,"km_value":18713000709980.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357369344,"description":"Unknown IO ID 45"} 
[2026-09-08 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948722688001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1846053665357369344}} 
[2026-09-08 15:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:41:38] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:41:38] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:41:41] local.INFO: TCP Data received {"connection_id":177297,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:41:41] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:41:41] local.INFO: IMEI packet received {"connection_id":177297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":177297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:41:47] local.INFO: TCP Data received {"connection_id":177297,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:41:47] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:41:47] local.INFO: IMEI packet received {"connection_id":177297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":177297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:41:48] local.INFO: TCP Data received {"connection_id":177297,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:41:48] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:41:48] local.INFO: Packet analysis {"connection_id":177297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:41:48] local.INFO: Extracted packet for processing {"connection_id":177297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:41:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:41:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:41:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":177297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:41:48] local.INFO: GPS data processed {"connection_id":177297,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:41:48] local.INFO: Acknowledgment sent {"connection_id":177297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:41:51] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0808040e0012d0c68400703ac400008000d0f..."} 
[2026-09-08 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808040e0012d0c68400703ac400008000d0f..."} 
[2026-09-08 15:41:51] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808040e0012d0c68400703ac400008000d0f..."} 
[2026-09-08 15:41:51] local.INFO: Packet analysis {"connection_id":174773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:41:51] local.INFO: Extracted packet for processing {"connection_id":174773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117681216,"longitude_deg":75.578784,"latitude_deg":11.7681216,"altitude":8,"angle":13,"satellites":15,"speed":17,"hex_longitude":"2d0c6840","hex_latitude":"0703ac40","is_valid_coordinates":true} 
[2026-09-08 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30755530662215680,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892486812530130944,"note":"Value kept but may cause issues"} 
[2026-09-08 15:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862284000,"timestamp_ms":1788862284000,"timestamp_seconds":1788862284,"priority":1,"record_length":96,"hex_timestamp":"000001a0808040e0"} 
[2026-09-08 15:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948739584001,"66":14407,"249":206,"94":11008,"24":17,"16":30755530662215680,"45":892486812530130944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-09-08 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:41:51] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-08 15:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30755530662215680,"km_value":30755530662215.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":892486812530130944,"description":"Unknown IO ID 45"} 
[2026-09-08 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948739584001,"power":14407,"unknown_249":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":892486812530130944}} 
[2026-09-08 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":174773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:41:51] local.INFO: GPS data processed {"connection_id":174773,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:41:51] local.INFO: Acknowledgment sent {"connection_id":174773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:00] local.INFO: TCP Data received {"connection_id":177298,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:42:00] local.INFO: Processing buffer {"connection_id":177298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:42:00] local.INFO: IMEI packet received {"connection_id":177298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":177298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:42:05] local.INFO: TCP Data received {"connection_id":177298,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:42:05] local.INFO: Processing buffer {"connection_id":177298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:42:05] local.INFO: IMEI packet received {"connection_id":177298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":177298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:42:07] local.INFO: TCP Data received {"connection_id":177298,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807f1fd0012d198780071ff028003901082a..."} 
[2026-09-08 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807f1fd0012d198780071ff028003901082a..."} 
[2026-09-08 15:42:07] local.INFO: Processing buffer {"connection_id":177298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807f1fd0012d198780071ff028003901082a..."} 
[2026-09-08 15:42:07] local.INFO: Packet analysis {"connection_id":177298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:42:07] local.INFO: Extracted packet for processing {"connection_id":177298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119533608,"longitude_deg":75.6647808,"latitude_deg":11.9533608,"altitude":57,"angle":264,"satellites":42,"speed":21,"hex_longitude":"2d198780","hex_latitude":"071ff028","is_valid_coordinates":true} 
[2026-09-08 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948722944001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713258408017920,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715403948032,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42: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-09-08 15:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862210000,"timestamp_ms":1788862210000,"timestamp_seconds":1788862210,"priority":1,"record_length":96,"hex_timestamp":"000001a0807f1fd0"} 
[2026-09-08 15:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948722944001,"66":13135,"121":206,"28":31744,"24":21,"16":18713258408017920,"45":1845490715403948032},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948722944001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713258408017920,"km_value":18713258408017.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715403948032,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948722944001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1845490715403948032}} 
[2026-09-08 15:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":177298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:07] local.INFO: GPS data processed {"connection_id":177298,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:07] local.INFO: Acknowledgment sent {"connection_id":177298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:16] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:16] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:16] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:42:16] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:16] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:16] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:42:19] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:19] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:42:19] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:42:19] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080805850012d0c69c00703b578000901660f..."} 
[2026-09-08 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080805850012d0c69c00703b578000901660f..."} 
[2026-09-08 15:42:19] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080805850012d0c69c00703b578000901660f..."} 
[2026-09-08 15:42:19] local.INFO: Packet analysis {"connection_id":175830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:42:19] local.INFO: Extracted packet for processing {"connection_id":175830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:42:19] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":117683576,"longitude_deg":75.5788224,"latitude_deg":11.7683576,"altitude":9,"angle":358,"satellites":15,"speed":8,"hex_longitude":"2d0c69c0","hex_latitude":"0703b578","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948744704001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30755642331365376,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924903612416,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788862290000,"timestamp_ms":1788862290000,"timestamp_seconds":1788862290,"priority":1,"record_length":96,"hex_timestamp":"000001a080805850"} 
[2026-09-08 15:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948744704001,"66":14428,"249":206,"94":11008,"24":8,"16":30755642331365376,"45":894034924903612416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-09-08 15:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948744704001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:19] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-08 15:42:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30755642331365376,"km_value":30755642331365.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924903612416,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948744704001,"power":14428,"unknown_249":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":894034924903612416}} 
[2026-09-08 15:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":175830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:20] local.INFO: GPS data processed {"connection_id":175830,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:20] local.INFO: Acknowledgment sent {"connection_id":175830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:20] local.INFO: TCP Data received {"connection_id":177297,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:20] local.INFO: Processing buffer {"connection_id":177297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:20] local.INFO: Packet analysis {"connection_id":177297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:42:20] local.INFO: Extracted packet for processing {"connection_id":177297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:42:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":177297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:20] local.INFO: GPS data processed {"connection_id":177297,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:20] local.INFO: Acknowledgment sent {"connection_id":177297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:38] local.INFO: TCP Data received {"connection_id":177298,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807f27a0012d198380071fef08003900f129..."} 
[2026-09-08 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807f27a0012d198380071fef08003900f129..."} 
[2026-09-08 15:42:38] local.INFO: Processing buffer {"connection_id":177298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807f27a0012d198380071fef08003900f129..."} 
[2026-09-08 15:42:38] local.INFO: Packet analysis {"connection_id":177298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:42:38] local.INFO: Extracted packet for processing {"connection_id":177298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533320,"longitude_deg":75.6646784,"latitude_deg":11.953332,"altitude":57,"angle":241,"satellites":41,"speed":18,"hex_longitude":"2d198380","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-08 15:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948725760001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713309947625472,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740893095936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42: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-09-08 15:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788862212000,"timestamp_ms":1788862212000,"timestamp_seconds":1788862212,"priority":1,"record_length":96,"hex_timestamp":"000001a0807f27a0"} 
[2026-09-08 15:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948725760001,"66":13156,"121":206,"28":31744,"24":18,"16":18713309947625472,"45":1839579740893095936},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948725760001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713309947625472,"km_value":18713309947625.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740893095936,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948725760001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1839579740893095936}} 
[2026-09-08 15:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":177298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:38] local.INFO: GPS data processed {"connection_id":177298,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:38] local.INFO: Acknowledgment sent {"connection_id":177298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:47] local.INFO: TCP Data received {"connection_id":174507,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:42:47] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:42:47] local.INFO: IMEI packet received {"connection_id":174507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:42:51] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08080a670012d0c6c400703d7d8000b00030f..."} 
[2026-09-08 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08080a670012d0c6c400703d7d8000b00030f..."} 
[2026-09-08 15:42:51] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08080a670012d0c6c400703d7d8000b00030f..."} 
[2026-09-08 15:42:51] local.INFO: Packet analysis {"connection_id":175830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:42:51] local.INFO: Extracted packet for processing {"connection_id":175830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755788864,"raw_latitude":117692376,"longitude_deg":75.5788864,"latitude_deg":11.7692376,"altitude":11,"angle":3,"satellites":15,"speed":21,"hex_longitude":"2d0c6c40","hex_latitude":"0703d7d8","is_valid_coordinates":true} 
[2026-09-08 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948746240001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30756076123062272,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457137369282560,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862310000,"timestamp_ms":1788862310000,"timestamp_seconds":1788862310,"priority":1,"record_length":96,"hex_timestamp":"000001a08080a670"} 
[2026-09-08 15:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948746240001,"66":14515,"16":30756076123062272,"94":11008,"24":21,"45":894457137369282560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948746240001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30756076123062272,"km_value":30756076123062.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457137369282560,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948746240001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":894457137369282560}} 
[2026-09-08 15:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:51] local.INFO: GPS data processed {"connection_id":175830,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:51] local.INFO: Acknowledgment sent {"connection_id":175830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:52] local.INFO: TCP Data received {"connection_id":174507,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:42:52] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:42:52] local.INFO: IMEI packet received {"connection_id":174507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":174507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:42:54] local.INFO: TCP Data received {"connection_id":174507,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:54] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:54] local.INFO: Packet analysis {"connection_id":174507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:42:54] local.INFO: Extracted packet for processing {"connection_id":174507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:42:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":174507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:54] local.INFO: GPS data processed {"connection_id":174507,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:54] local.INFO: Acknowledgment sent {"connection_id":174507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:42:57] local.INFO: TCP Data received {"connection_id":174507,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:57] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ca700012d4cdf00068f46980049009a2c..."} 
[2026-09-08 15:42:57] local.INFO: Packet analysis {"connection_id":174507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:42:57] local.INFO: Extracted packet for processing {"connection_id":174507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807c"} 
[2026-09-08 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":73,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948607232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788862048000,"timestamp_ms":1788862048000,"timestamp_seconds":1788862048,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ca700"} 
[2026-09-08 15:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948607232001,"66":25952,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948607232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:42:57] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:42:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948607232001,"power":25952,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":174507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:42:57] local.INFO: GPS data processed {"connection_id":174507,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:42:57] local.INFO: Acknowledgment sent {"connection_id":174507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:43:00] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:43:00] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:43:00] local.INFO: IMEI packet received {"connection_id":174775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":174775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:43:06] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:43:06] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:43:06] local.INFO: IMEI packet received {"connection_id":174775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":174775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:43:07] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807f3740012d197cc0071feb80003900fe28..."} 
[2026-09-08 15:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807f3740012d197cc0071feb80003900fe28..."} 
[2026-09-08 15:43:07] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807f3740012d197cc0071feb80003900fe28..."} 
[2026-09-08 15:43:07] local.INFO: Packet analysis {"connection_id":174775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:43:07] local.INFO: Extracted packet for processing {"connection_id":174775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532416,"longitude_deg":75.6645056,"latitude_deg":11.9532416,"altitude":57,"angle":254,"satellites":40,"speed":20,"hex_longitude":"2d197cc0","hex_latitude":"071feb80","is_valid_coordinates":true} 
[2026-09-08 15:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948726272001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713404436905984,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986179584,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43: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-09-08 15:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862216000,"timestamp_ms":1788862216000,"timestamp_seconds":1788862216,"priority":1,"record_length":96,"hex_timestamp":"000001a0807f3740"} 
[2026-09-08 15:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-08 15:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948726272001,"66":12722,"121":206,"28":31744,"24":20,"16":18713404436905984,"45":1838453840986179584},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948726272001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:43:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713404436905984,"km_value":18713404436905.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986179584,"description":"Unknown IO ID 45"} 
[2026-09-08 15:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948726272001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1838453840986179584}} 
[2026-09-08 15:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":174775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:43:07] local.INFO: GPS data processed {"connection_id":174775,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:43:07] local.INFO: Acknowledgment sent {"connection_id":174775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:43:14] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:14] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:14] local.INFO: IMEI packet received {"connection_id":177299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":177299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:43:17] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:17] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:17] local.INFO: IMEI packet received {"connection_id":177299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":177299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:43:20] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:20] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:43:20] local.INFO: IMEI packet received {"connection_id":177299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":177299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:43:20] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080817190012d0c770007040118001700330f..."} 
[2026-09-08 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080817190012d0c770007040118001700330f..."} 
[2026-09-08 15:43:20] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080817190012d0c770007040118001700330f..."} 
[2026-09-08 15:43:20] local.INFO: Packet analysis {"connection_id":177299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:43:20] local.INFO: Extracted packet for processing {"connection_id":177299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:43:20] local.INFO: GPS Element Parsed {"raw_longitude":755791616,"raw_latitude":117702936,"longitude_deg":75.5791616,"latitude_deg":11.7702936,"altitude":23,"angle":51,"satellites":15,"speed":32,"hex_longitude":"2d0c7700","hex_latitude":"07040118","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757059670573056,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889742431512768512,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862362000,"timestamp_ms":1788862362000,"timestamp_seconds":1788862362,"priority":1,"record_length":96,"hex_timestamp":"000001a080817190"} 
[2026-09-08 15:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":14548,"16":30757059670573056,"94":11008,"24":32,"45":889742431512768512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757059670573056,"km_value":30757059670573.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:43:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":889742431512768512,"description":"Unknown IO ID 45"} 
[2026-09-08 15:43:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948761344001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":889742431512768512}} 
[2026-09-08 15:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":177299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:43:20] local.INFO: GPS data processed {"connection_id":177299,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:43:20] local.INFO: Acknowledgment sent {"connection_id":177299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:43:39] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807f42f8012d1976c0071feac00039010e29..."} 
[2026-09-08 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807f42f8012d1976c0071feac00039010e29..."} 
[2026-09-08 15:43:39] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807f42f8012d1976c0071feac00039010e29..."} 
[2026-09-08 15:43:39] local.INFO: Packet analysis {"connection_id":174775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:43:39] local.INFO: Extracted packet for processing {"connection_id":174775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756643520,"raw_latitude":119532224,"longitude_deg":75.664352,"latitude_deg":11.9532224,"altitude":57,"angle":270,"satellites":41,"speed":17,"hex_longitude":"2d1976c0","hex_latitude":"071feac0","is_valid_coordinates":true} 
[2026-09-08 15:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948727296001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713477451350016,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893151232,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43: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-09-08 15:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862219000,"timestamp_ms":1788862219000,"timestamp_seconds":1788862219,"priority":1,"record_length":96,"hex_timestamp":"000001a0807f42f8"} 
[2026-09-08 15:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 15:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948727296001,"66":13080,"121":206,"28":31744,"24":17,"16":18713477451350016,"45":1836553884893151232},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948727296001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713477451350016,"km_value":18713477451350.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893151232,"description":"Unknown IO ID 45"} 
[2026-09-08 15:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948727296001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1836553884893151232}} 
[2026-09-08 15:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":174775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:43:39] local.INFO: GPS data processed {"connection_id":174775,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:43:39] local.INFO: Acknowledgment sent {"connection_id":174775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:43:41] local.INFO: TCP Data received {"connection_id":175831,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:43:41] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:43:41] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:43:47] local.INFO: TCP Data received {"connection_id":175831,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:43:47] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:43:47] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:43:50] local.INFO: TCP Data received {"connection_id":175831,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:43:50] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:43:50] local.INFO: Packet analysis {"connection_id":175831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:43:50] local.INFO: Extracted packet for processing {"connection_id":175831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:43:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:43:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":175831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:43:50] local.INFO: GPS data processed {"connection_id":175831,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:43:50] local.INFO: Acknowledgment sent {"connection_id":175831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:43:52] local.INFO: TCP Data received {"connection_id":177299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0808198a0012d0c940007041530001800340f..."} 
[2026-09-08 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808198a0012d0c940007041530001800340f..."} 
[2026-09-08 15:43:52] local.INFO: Processing buffer {"connection_id":177299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808198a0012d0c940007041530001800340f..."} 
[2026-09-08 15:43:52] local.INFO: Packet analysis {"connection_id":177299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:43:52] local.INFO: Extracted packet for processing {"connection_id":177299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:43:52] local.INFO: GPS Element Parsed {"raw_longitude":755799040,"raw_latitude":117708080,"longitude_deg":75.579904,"latitude_deg":11.770808,"altitude":24,"angle":52,"satellites":15,"speed":30,"hex_longitude":"2d0c9400","hex_latitude":"07041530","is_valid_coordinates":true} 
[2026-09-08 15:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948764672001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757493462269952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898186680815654912,"note":"Value kept but may cause issues"} 
[2026-09-08 15:43:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788862372000,"timestamp_ms":1788862372000,"timestamp_seconds":1788862372,"priority":1,"record_length":96,"hex_timestamp":"000001a0808198a0"} 
[2026-09-08 15:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 15:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948764672001,"66":14515,"16":30757493462269952,"94":11008,"24":30,"45":898186680815654912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948764672001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757493462269952,"km_value":30757493462269.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:43:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":898186680815654912,"description":"Unknown IO ID 45"} 
[2026-09-08 15:43:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948764672001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":898186680815654912}} 
[2026-09-08 15:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":177299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:43:52] local.INFO: GPS data processed {"connection_id":177299,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:43:52] local.INFO: Acknowledgment sent {"connection_id":177299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:06] local.INFO: TCP Data received {"connection_id":175832,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:44:06] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:44:06] local.INFO: IMEI packet received {"connection_id":175832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":175832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:44:11] local.INFO: TCP Data received {"connection_id":175832,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:44:11] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:44:11] local.INFO: IMEI packet received {"connection_id":175832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":175832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:44:12] local.INFO: TCP Data received {"connection_id":175832,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807f5680012d196ec0071febd00039011c28..."} 
[2026-09-08 15:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807f5680012d196ec0071febd00039011c28..."} 
[2026-09-08 15:44:12] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807f5680012d196ec0071febd00039011c28..."} 
[2026-09-08 15:44:12] local.INFO: Packet analysis {"connection_id":175832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:44:12] local.INFO: Extracted packet for processing {"connection_id":175832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532496,"longitude_deg":75.6641472,"latitude_deg":11.9532496,"altitude":57,"angle":284,"satellites":40,"speed":15,"hex_longitude":"2d196ec0","hex_latitude":"071febd0","is_valid_coordinates":true} 
[2026-09-08 15:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948728064001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713576235597824,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834865035032838144,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44: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-09-08 15:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788862224000,"timestamp_ms":1788862224000,"timestamp_seconds":1788862224,"priority":1,"record_length":96,"hex_timestamp":"000001a0807f5680"} 
[2026-09-08 15:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948728064001,"66":13080,"121":206,"28":31744,"24":15,"16":18713576235597824,"45":1834865035032838144},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948728064001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713576235597824,"km_value":18713576235597.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834865035032838144,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948728064001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1834865035032838144}} 
[2026-09-08 15:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":175832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:12] local.INFO: GPS data processed {"connection_id":175832,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:12] local.INFO: Acknowledgment sent {"connection_id":175832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:13] local.INFO: TCP Data received {"connection_id":175832,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807fa4a0012d196780071fed78003a011f2a..."} 
[2026-09-08 15:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807fa4a0012d196780071fed78003a011f2a..."} 
[2026-09-08 15:44:13] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807fa4a0012d196780071fed78003a011f2a..."} 
[2026-09-08 15:44:13] local.INFO: Packet analysis {"connection_id":175832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:44:13] local.INFO: Extracted packet for processing {"connection_id":175832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948729344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219222528,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44: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-09-08 15:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788862244000,"timestamp_ms":1788862244000,"timestamp_seconds":1788862244,"priority":1,"record_length":96,"hex_timestamp":"000001a0807fa4a0"} 
[2026-09-08 15:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948729344001,"66":13135,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1832613235219222528},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948729344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:44:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219222528,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948729344001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1832613235219222528}} 
[2026-09-08 15:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":175832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:13] local.INFO: GPS data processed {"connection_id":175832,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:13] local.INFO: Acknowledgment sent {"connection_id":175832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:23] local.INFO: TCP Data received {"connection_id":175831,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:44:23] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:44:23] local.INFO: Packet analysis {"connection_id":175831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:23] local.INFO: Extracted packet for processing {"connection_id":175831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":175831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:23] local.INFO: GPS data processed {"connection_id":175831,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:23] local.INFO: Acknowledgment sent {"connection_id":175831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:25] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:44:25] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:44:25] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:44:33] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:44:33] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:44:33] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:44:34] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08081a840012d0c98c007041a08001900200f..."} 
[2026-09-08 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08081a840012d0c98c007041a08001900200f..."} 
[2026-09-08 15:44:34] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08081a840012d0c98c007041a08001900200f..."} 
[2026-09-08 15:44:34] local.INFO: Packet analysis {"connection_id":175833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:34] local.INFO: Extracted packet for processing {"connection_id":175833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":755800256,"raw_latitude":117709320,"longitude_deg":75.5800256,"latitude_deg":11.770932,"altitude":25,"angle":32,"satellites":15,"speed":6,"hex_longitude":"2d0c98c0","hex_latitude":"07041a08","is_valid_coordinates":true} 
[2026-09-08 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948767232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757575066648576,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906349455141580800,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788862376000,"timestamp_ms":1788862376000,"timestamp_seconds":1788862376,"priority":1,"record_length":96,"hex_timestamp":"000001a08081a840"} 
[2026-09-08 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948767232001,"66":14428,"16":30757575066648576,"94":11008,"24":6,"45":906349455141580800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948767232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757575066648576,"km_value":30757575066648.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":906349455141580800,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948767232001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":906349455141580800}} 
[2026-09-08 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":175833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:34] local.INFO: GPS data processed {"connection_id":175833,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:34] local.INFO: Acknowledgment sent {"connection_id":175833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:35] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08081f660012d0c98c007041ad8001a002010..."} 
[2026-09-08 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08081f660012d0c98c007041ad8001a002010..."} 
[2026-09-08 15:44:35] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08081f660012d0c98c007041ad8001a002010..."} 
[2026-09-08 15:44:35] local.INFO: Packet analysis {"connection_id":175833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:35] local.INFO: Extracted packet for processing {"connection_id":175833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":755800256,"raw_latitude":117709528,"longitude_deg":75.5800256,"latitude_deg":11.7709528,"altitude":26,"angle":32,"satellites":16,"speed":0,"hex_longitude":"2d0c98c0","hex_latitude":"07041ad8","is_valid_coordinates":true} 
[2026-09-08 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948768256001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757587951550464,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907686461281273856,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788862396000,"timestamp_ms":1788862396000,"timestamp_seconds":1788862396,"priority":1,"record_length":96,"hex_timestamp":"000001a08081f660"} 
[2026-09-08 15:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948768256001,"66":14580,"16":30757587951550464,"94":11008,"24":0,"45":907686461281273856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948768256001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757587951550464,"km_value":30757587951550.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":907686461281273856,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948768256001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":907686461281273856}} 
[2026-09-08 15:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":175833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:35] local.INFO: GPS data processed {"connection_id":175833,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:35] local.INFO: Acknowledgment sent {"connection_id":175833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:41] local.INFO: TCP Data received {"connection_id":177301,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:44:41] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:44:41] local.INFO: IMEI packet received {"connection_id":177301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":177301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:44:45] local.INFO: TCP Data received {"connection_id":175832,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0807ff6a8012d196780071fed78003a011f29..."} 
[2026-09-08 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0807ff6a8012d196780071fed78003a011f29..."} 
[2026-09-08 15:44:45] local.INFO: Processing buffer {"connection_id":175832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0807ff6a8012d196780071fed78003a011f29..."} 
[2026-09-08 15:44:45] local.INFO: Packet analysis {"connection_id":175832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:44:45] local.INFO: Extracted packet for processing {"connection_id":175832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0807f"} 
[2026-09-08 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948734464001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44: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-09-08 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788862265000,"timestamp_ms":1788862265000,"timestamp_seconds":1788862265,"priority":1,"record_length":96,"hex_timestamp":"000001a0807ff6a8"} 
[2026-09-08 15:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948734464001,"66":13080,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948734464001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948734464001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":175832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:45] local.INFO: GPS data processed {"connection_id":175832,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:45] local.INFO: Acknowledgment sent {"connection_id":175832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:44:47] local.INFO: TCP Data received {"connection_id":177301,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:44:47] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:44:47] local.INFO: IMEI packet received {"connection_id":177301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":177301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:44:49] local.INFO: TCP Data received {"connection_id":177301,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:44:49] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:44:49] local.INFO: Packet analysis {"connection_id":177301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:49] local.INFO: Extracted packet for processing {"connection_id":177301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:44:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:44: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:44:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:44:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":177301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:44:49] local.INFO: GPS data processed {"connection_id":177301,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:44:49] local.INFO: Acknowledgment sent {"connection_id":177301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:01] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:45:01] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:45:01] local.INFO: IMEI packet received {"connection_id":174776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":174776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:45:06] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:45:06] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:45:06] local.INFO: IMEI packet received {"connection_id":174776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":174776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:45:07] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080804c98012d196780071fed78003a011f2c..."} 
[2026-09-08 15:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080804c98012d196780071fed78003a011f2c..."} 
[2026-09-08 15:45:07] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080804c98012d196780071fed78003a011f2c..."} 
[2026-09-08 15:45:07] local.INFO: Packet analysis {"connection_id":174776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:45:07] local.INFO: Extracted packet for processing {"connection_id":174776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948739840001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45: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-09-08 15:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862287000,"timestamp_ms":1788862287000,"timestamp_seconds":1788862287,"priority":1,"record_length":96,"hex_timestamp":"000001a080804c98"} 
[2026-09-08 15:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948739840001,"66":13102,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948739840001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948739840001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":174776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:07] local.INFO: GPS data processed {"connection_id":174776,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:07] local.INFO: Acknowledgment sent {"connection_id":174776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:14] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:45:14] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:45:14] local.INFO: IMEI packet received {"connection_id":177302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":177302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:45:18] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:45:18] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:45:18] local.INFO: IMEI packet received {"connection_id":177302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":177302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:45:19] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080832af8012d0c9f80070424f8001a001f11..."} 
[2026-09-08 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080832af8012d0c9f80070424f8001a001f11..."} 
[2026-09-08 15:45:19] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080832af8012d0c9f80070424f8001a001f11..."} 
[2026-09-08 15:45:19] local.INFO: Packet analysis {"connection_id":177302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:45:19] local.INFO: Extracted packet for processing {"connection_id":177302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:45:19] local.INFO: GPS Element Parsed {"raw_longitude":755801984,"raw_latitude":117712120,"longitude_deg":75.5801984,"latitude_deg":11.771212,"altitude":26,"angle":31,"satellites":17,"speed":0,"hex_longitude":"2d0c9f80","hex_latitude":"070424f8","is_valid_coordinates":true} 
[2026-09-08 15:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948793344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757764045209600,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909656786118965248,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788862475000,"timestamp_ms":1788862475000,"timestamp_seconds":1788862475,"priority":1,"record_length":96,"hex_timestamp":"000001a080832af8"} 
[2026-09-08 15:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948793344001,"66":14450,"119":206,"94":11008,"24":0,"16":30757764045209600,"45":909656786118965248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,94,24,16,45]} 
[2026-09-08 15:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948793344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:19] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-08 15:45:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757764045209600,"km_value":30757764045209.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":909656786118965248,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948793344001,"power":14450,"unknown_119":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":909656786118965248}} 
[2026-09-08 15:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":177302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:19] local.INFO: GPS data processed {"connection_id":177302,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:19] local.INFO: Acknowledgment sent {"connection_id":177302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:20] local.INFO: TCP Data received {"connection_id":177301,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:20] local.INFO: Processing buffer {"connection_id":177301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:20] local.INFO: Packet analysis {"connection_id":177301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:45:20] local.INFO: Extracted packet for processing {"connection_id":177301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:45:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:45:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":177301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:20] local.INFO: GPS data processed {"connection_id":177301,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:20] local.INFO: Acknowledgment sent {"connection_id":177301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:40] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080809ea0012d196780071fed78003a011f2a..."} 
[2026-09-08 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080809ea0012d196780071fed78003a011f2a..."} 
[2026-09-08 15:45:40] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080809ea0012d196780071fed78003a011f2a..."} 
[2026-09-08 15:45:40] local.INFO: Packet analysis {"connection_id":174776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:45:40] local.INFO: Extracted packet for processing {"connection_id":174776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948745472001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45: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-09-08 15:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788862308000,"timestamp_ms":1788862308000,"timestamp_seconds":1788862308,"priority":1,"record_length":96,"hex_timestamp":"000001a080809ea0"} 
[2026-09-08 15:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948745472001,"66":13080,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948745472001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948745472001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":174776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:40] local.INFO: GPS data processed {"connection_id":174776,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:40] local.INFO: Acknowledgment sent {"connection_id":174776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:44] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:45:44] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:45:44] local.INFO: IMEI packet received {"connection_id":174510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":174510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:45:47] local.INFO: TCP Data received {"connection_id":174509,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:45:47] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:45:47] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:45:51] local.INFO: TCP Data received {"connection_id":177302,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080837918012d0ca14007042768001a002713..."} 
[2026-09-08 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080837918012d0ca14007042768001a002713..."} 
[2026-09-08 15:45:51] local.INFO: Processing buffer {"connection_id":177302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080837918012d0ca14007042768001a002713..."} 
[2026-09-08 15:45:51] local.INFO: Packet analysis {"connection_id":177302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:45:51] local.INFO: Extracted packet for processing {"connection_id":177302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755802432,"raw_latitude":117712744,"longitude_deg":75.5802432,"latitude_deg":11.7712744,"altitude":26,"angle":39,"satellites":19,"speed":1,"hex_longitude":"2d0ca140","hex_latitude":"07042768","is_valid_coordinates":true} 
[2026-09-08 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948793600001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757806994882560,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909586417374787584,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862495000,"timestamp_ms":1788862495000,"timestamp_seconds":1788862495,"priority":1,"record_length":96,"hex_timestamp":"000001a080837918"} 
[2026-09-08 15:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948793600001,"66":14515,"16":30757806994882560,"94":11008,"24":1,"45":909586417374787584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948793600001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757806994882560,"km_value":30757806994882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":909586417374787584,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948793600001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":909586417374787584}} 
[2026-09-08 15:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":177302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:51] local.INFO: GPS data processed {"connection_id":177302,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:51] local.INFO: Acknowledgment sent {"connection_id":177302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:52] local.INFO: TCP Data received {"connection_id":174509,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:45:52] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:45:52] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:45:54] local.INFO: TCP Data received {"connection_id":174509,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:54] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:54] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:45:54] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:45:54] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:54] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:54] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:45:58] local.INFO: TCP Data received {"connection_id":174509,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:58] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:45:58] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:45:58] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:45:58] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:45:58] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:45:58] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:46:00] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:00] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:00] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:46:06] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:06] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:06] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:46:07] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08080f0a8012d196780071fed78003a011f29..."} 
[2026-09-08 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08080f0a8012d196780071fed78003a011f29..."} 
[2026-09-08 15:46:07] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08080f0a8012d196780071fed78003a011f29..."} 
[2026-09-08 15:46:07] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:46:07] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08080"} 
[2026-09-08 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948750848001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46: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-09-08 15:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862329000,"timestamp_ms":1788862329000,"timestamp_seconds":1788862329,"priority":1,"record_length":96,"hex_timestamp":"000001a08080f0a8"} 
[2026-09-08 15:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 15:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948750848001,"66":12156,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948750848001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948750848001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:46:07] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:46:07] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:46:19] local.INFO: TCP Data received {"connection_id":177303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:46:19] local.INFO: Processing buffer {"connection_id":177303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:46:19] local.INFO: IMEI packet received {"connection_id":177303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":177303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:46:24] local.INFO: TCP Data received {"connection_id":177303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:46:24] local.INFO: Processing buffer {"connection_id":177303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:46:24] local.INFO: IMEI packet received {"connection_id":177303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":177303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:46:25] local.INFO: TCP Data received {"connection_id":177303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0808380e8012d0ca140070427d0001a001c13..."} 
[2026-09-08 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808380e8012d0ca140070427d0001a001c13..."} 
[2026-09-08 15:46:25] local.INFO: Processing buffer {"connection_id":177303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808380e8012d0ca140070427d0001a001c13..."} 
[2026-09-08 15:46:25] local.INFO: Packet analysis {"connection_id":177303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:46:25] local.INFO: Extracted packet for processing {"connection_id":177303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":755802432,"raw_latitude":117712848,"longitude_deg":75.5802432,"latitude_deg":11.7712848,"altitude":26,"angle":28,"satellites":19,"speed":1,"hex_longitude":"2d0ca140","hex_latitude":"070427d0","is_valid_coordinates":true} 
[2026-09-08 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948798720001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757815584817152,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910078998584190976,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788862497000,"timestamp_ms":1788862497000,"timestamp_seconds":1788862497,"priority":1,"record_length":96,"hex_timestamp":"000001a0808380e8"} 
[2026-09-08 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948798720001,"66":14580,"16":30757815584817152,"94":11008,"24":1,"45":910078998584190976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948798720001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757815584817152,"km_value":30757815584817.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:46:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":910078998584190976,"description":"Unknown IO ID 45"} 
[2026-09-08 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948798720001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":910078998584190976}} 
[2026-09-08 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":177303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:46:25] local.INFO: GPS data processed {"connection_id":177303,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:46:25] local.INFO: Acknowledgment sent {"connection_id":177303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:46:39] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808142b0012d196780071fed78003a011f25..."} 
[2026-09-08 15:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808142b0012d196780071fed78003a011f25..."} 
[2026-09-08 15:46:39] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808142b0012d196780071fed78003a011f25..."} 
[2026-09-08 15:46:39] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:46:39] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948756224001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15: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-09-08 15:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862350000,"timestamp_ms":1788862350000,"timestamp_seconds":1788862350,"priority":1,"record_length":96,"hex_timestamp":"000001a0808142b0"} 
[2026-09-08 15:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-08 15:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948756224001,"66":12809,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948756224001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948756224001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:46:39] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:46:39] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:46:42] local.INFO: TCP Data received {"connection_id":175835,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:46:42] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:46:42] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:46:47] local.INFO: TCP Data received {"connection_id":175835,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:46:47] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:46:47] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:46:49] local.INFO: TCP Data received {"connection_id":175835,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:46:49] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:46:49] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:46:49] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:46:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:46:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:46:49] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:46:49] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:46:57] local.INFO: TCP Data received {"connection_id":177303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08083cf08012d0ca40007042e680019001613..."} 
[2026-09-08 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08083cf08012d0ca40007042e680019001613..."} 
[2026-09-08 15:46:57] local.INFO: Processing buffer {"connection_id":177303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08083cf08012d0ca40007042e680019001613..."} 
[2026-09-08 15:46:57] local.INFO: Packet analysis {"connection_id":177303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:46:57] local.INFO: Extracted packet for processing {"connection_id":177303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08083"} 
[2026-09-08 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":755803136,"raw_latitude":117714536,"longitude_deg":75.5803136,"latitude_deg":11.7714536,"altitude":25,"angle":22,"satellites":19,"speed":3,"hex_longitude":"2d0ca400","hex_latitude":"07042e68","is_valid_coordinates":true} 
[2026-09-08 15:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948799232001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30757905779130368,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910078998584217600,"note":"Value kept but may cause issues"} 
[2026-09-08 15:46:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788862517000,"timestamp_ms":1788862517000,"timestamp_seconds":1788862517,"priority":1,"record_length":96,"hex_timestamp":"000001a08083cf08"} 
[2026-09-08 15:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 15:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948799232001,"66":14439,"16":30757905779130368,"94":11008,"24":3,"45":910078998584217600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948799232001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30757905779130368,"km_value":30757905779130.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:46:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":910078998584217600,"description":"Unknown IO ID 45"} 
[2026-09-08 15:46:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948799232001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":910078998584217600}} 
[2026-09-08 15:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":177303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:46:57] local.INFO: GPS data processed {"connection_id":177303,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:46:57] local.INFO: Acknowledgment sent {"connection_id":177303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:46:59] local.INFO: TCP Data received {"connection_id":177304,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:59] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:46:59] local.INFO: IMEI packet received {"connection_id":177304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":177304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:47:00] local.INFO: TCP Data received {"connection_id":177304,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:47:00] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:47:00] local.INFO: IMEI packet received {"connection_id":177304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":177304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:47:06] local.INFO: TCP Data received {"connection_id":177304,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:47:06] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:47:06] local.INFO: IMEI packet received {"connection_id":177304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":177304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:47:07] local.INFO: TCP Data received {"connection_id":177304,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808194b8012d196780071fed78003a011f24..."} 
[2026-09-08 15:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808194b8012d196780071fed78003a011f24..."} 
[2026-09-08 15:47:07] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808194b8012d196780071fed78003a011f24..."} 
[2026-09-08 15:47:07] local.INFO: Packet analysis {"connection_id":177304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:07] local.INFO: Extracted packet for processing {"connection_id":177304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761600001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15: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-09-08 15:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862371000,"timestamp_ms":1788862371000,"timestamp_seconds":1788862371,"priority":1,"record_length":96,"hex_timestamp":"000001a0808194b8"} 
[2026-09-08 15:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1224979098812548096,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2155828864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":9170164475215050432,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3984064570,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":1729608650961505820,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2299861666914962985,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,123,160,240,45,128,237,58,41,10,66,42,76,1,46,31,4,113,205,164,103,120,239,51,2,7,57,15,124,230],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 15:47:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179656172950781952,"timestamp_seconds":4179656172950782.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761600001,"66":12961,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761600001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:47:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761600001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":177304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:47:07] local.INFO: GPS data processed {"connection_id":177304,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:47:07] local.INFO: Acknowledgment sent {"connection_id":177304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:47:14] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:47:14] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:47:14] local.INFO: IMEI packet received {"connection_id":174778,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":174778,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:47:19] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:47:19] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:47:19] local.INFO: IMEI packet received {"connection_id":174778,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":174778,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:47:20] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080842110012d0cb1c007044eb00019001013..."} 
[2026-09-08 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080842110012d0cb1c007044eb00019001013..."} 
[2026-09-08 15:47:20] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080842110012d0cb1c007044eb00019001013..."} 
[2026-09-08 15:47:20] local.INFO: Packet analysis {"connection_id":174778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:47:20] local.INFO: Extracted packet for processing {"connection_id":174778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:47:20] local.INFO: GPS Element Parsed {"raw_longitude":755806656,"raw_latitude":117722800,"longitude_deg":75.5806656,"latitude_deg":11.77228,"altitude":25,"angle":16,"satellites":19,"speed":21,"hex_longitude":"2d0cb1c0","hex_latitude":"07044eb0","is_valid_coordinates":true} 
[2026-09-08 15:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948804352001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758343865794560,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910853054770604032,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862538000,"timestamp_ms":1788862538000,"timestamp_seconds":1788862538,"priority":1,"record_length":96,"hex_timestamp":"000001a080842110"} 
[2026-09-08 15:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948804352001,"66":14515,"16":30758343865794560,"94":11008,"24":21,"45":910853054770604032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948804352001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758343865794560,"km_value":30758343865794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:47:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":910853054770604032,"description":"Unknown IO ID 45"} 
[2026-09-08 15:47:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948804352001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":21,"unknown_45":910853054770604032}} 
[2026-09-08 15:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":174778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:47:20] local.INFO: GPS data processed {"connection_id":174778,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:47:20] local.INFO: Acknowledgment sent {"connection_id":174778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:47:21] local.INFO: TCP Data received {"connection_id":175835,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:47:21] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:47:21] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:21] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:47:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:47:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:47:21] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:47:21] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:47:39] local.INFO: TCP Data received {"connection_id":177304,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08081e6c0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08081e6c0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:47:39] local.INFO: Processing buffer {"connection_id":177304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08081e6c0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:47:39] local.INFO: Packet analysis {"connection_id":177304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:39] local.INFO: Extracted packet for processing {"connection_id":177304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948766976001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47: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-09-08 15:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862392000,"timestamp_ms":1788862392000,"timestamp_seconds":1788862392,"priority":1,"record_length":96,"hex_timestamp":"000001a08081e6c0"} 
[2026-09-08 15:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 15:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948766976001,"66":12917,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948766976001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948766976001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":177304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:47:39] local.INFO: GPS data processed {"connection_id":177304,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:47:39] local.INFO: Acknowledgment sent {"connection_id":177304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:47:41] local.INFO: TCP Data received {"connection_id":175837,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:47:41] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:47:41] local.INFO: IMEI packet received {"connection_id":175837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":175837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:47:47] local.INFO: TCP Data received {"connection_id":175837,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:47:47] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:47:47] local.INFO: IMEI packet received {"connection_id":175837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:47:49] local.INFO: TCP Data received {"connection_id":175837,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:47:49] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080813ec8012d4cdf00068f46980047009a25..."} 
[2026-09-08 15:47:49] local.INFO: Packet analysis {"connection_id":175837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:49] local.INFO: Extracted packet for processing {"connection_id":175837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08081"} 
[2026-09-08 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":71,"angle":154,"satellites":37,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948684288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862349000,"timestamp_ms":1788862349000,"timestamp_seconds":1788862349,"priority":1,"record_length":96,"hex_timestamp":"000001a080813ec8"} 
[2026-09-08 15:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 15:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948684288001,"66":25875,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948684288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:47:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:47:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948684288001,"power":25875,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":175837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:47:49] local.INFO: GPS data processed {"connection_id":175837,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:47:49] local.INFO: Acknowledgment sent {"connection_id":175837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:47:51] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a080844c08012d0cb600070462b0001a000513..."} 
[2026-09-08 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080844c08012d0cb600070462b0001a000513..."} 
[2026-09-08 15:47:51] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080844c08012d0cb600070462b0001a000513..."} 
[2026-09-08 15:47:51] local.INFO: Packet analysis {"connection_id":174778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:47:51] local.INFO: Extracted packet for processing {"connection_id":174778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755807744,"raw_latitude":117727920,"longitude_deg":75.5807744,"latitude_deg":11.772792,"altitude":26,"angle":5,"satellites":19,"speed":20,"hex_longitude":"2d0cb600","hex_latitude":"070462b0","is_valid_coordinates":true} 
[2026-09-08 15:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948809728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758597268865024,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914723335702491136,"note":"Value kept but may cause issues"} 
[2026-09-08 15:47:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862549000,"timestamp_ms":1788862549000,"timestamp_seconds":1788862549,"priority":1,"record_length":96,"hex_timestamp":"000001a080844c08"} 
[2026-09-08 15:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948809728001,"66":14461,"16":30758597268865024,"94":11008,"24":20,"45":914723335702491136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948809728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758597268865024,"km_value":30758597268865.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":914723335702491136,"description":"Unknown IO ID 45"} 
[2026-09-08 15:47:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948809728001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":914723335702491136}} 
[2026-09-08 15:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":174778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:47:51] local.INFO: GPS data processed {"connection_id":174778,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:47:51] local.INFO: Acknowledgment sent {"connection_id":174778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:00] local.INFO: TCP Data received {"connection_id":174511,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:00] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:00] local.INFO: IMEI packet received {"connection_id":174511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":174511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:48:02] local.INFO: TCP Data received {"connection_id":174511,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:02] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:02] local.INFO: IMEI packet received {"connection_id":174511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":174511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:48:06] local.INFO: TCP Data received {"connection_id":174511,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:06] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:48:06] local.INFO: IMEI packet received {"connection_id":174511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":174511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:48:07] local.INFO: TCP Data received {"connection_id":174511,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808238c8012d196780071fed78003a011f2a..."} 
[2026-09-08 15:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808238c8012d196780071fed78003a011f2a..."} 
[2026-09-08 15:48:07] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808238c8012d196780071fed78003a011f2a..."} 
[2026-09-08 15:48:07] local.INFO: Packet analysis {"connection_id":174511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08082"} 
[2026-09-08 15:48:07] local.INFO: Extracted packet for processing {"connection_id":174511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08082"} 
[2026-09-08 15:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948772352001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48: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-09-08 15:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862413000,"timestamp_ms":1788862413000,"timestamp_seconds":1788862413,"priority":1,"record_length":96,"hex_timestamp":"000001a0808238c8"} 
[2026-09-08 15:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948772352001,"66":12950,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948772352001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948772352001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":174511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:07] local.INFO: GPS data processed {"connection_id":174511,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:07] local.INFO: Acknowledgment sent {"connection_id":174511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:14] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:14] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:14] local.INFO: IMEI packet received {"connection_id":177305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":177305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:48:14] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:14] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:14] local.INFO: IMEI packet received {"connection_id":177305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":177305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:48:19] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:19] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:48:19] local.INFO: IMEI packet received {"connection_id":177305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":177305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:48:20] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080849a28012d0cb80007046c18001a000c14..."} 
[2026-09-08 15:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080849a28012d0cb80007046c18001a000c14..."} 
[2026-09-08 15:48:20] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080849a28012d0cb80007046c18001a000c14..."} 
[2026-09-08 15:48:20] local.INFO: Packet analysis {"connection_id":177305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:48:20] local.INFO: Extracted packet for processing {"connection_id":177305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117730328,"longitude_deg":75.5808256,"latitude_deg":11.7730328,"altitude":26,"angle":12,"satellites":20,"speed":0,"hex_longitude":"2d0cb800","hex_latitude":"07046c18","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948812544001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758721822916608,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915919604354822144,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862569000,"timestamp_ms":1788862569000,"timestamp_seconds":1788862569,"priority":1,"record_length":96,"hex_timestamp":"000001a080849a28"} 
[2026-09-08 15:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948812544001,"66":14548,"16":30758721822916608,"94":11008,"24":0,"45":915919604354822144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948812544001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758721822916608,"km_value":30758721822916.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":915919604354822144,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948812544001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":915919604354822144}} 
[2026-09-08 15:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":177305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:20] local.INFO: GPS data processed {"connection_id":177305,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:20] local.INFO: Acknowledgment sent {"connection_id":177305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:22] local.INFO: TCP Data received {"connection_id":175837,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:22] local.INFO: Processing buffer {"connection_id":175837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:22] local.INFO: Packet analysis {"connection_id":175837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:48:22] local.INFO: Extracted packet for processing {"connection_id":175837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:48:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":175837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:22] local.INFO: GPS data processed {"connection_id":175837,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:22] local.INFO: Acknowledgment sent {"connection_id":175837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:39] local.INFO: TCP Data received {"connection_id":174511,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080828ad0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080828ad0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:48:39] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080828ad0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:48:39] local.INFO: Packet analysis {"connection_id":174511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08082"} 
[2026-09-08 15:48:39] local.INFO: Extracted packet for processing {"connection_id":174511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08082"} 
[2026-09-08 15:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948777728001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48: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-09-08 15:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862434000,"timestamp_ms":1788862434000,"timestamp_seconds":1788862434,"priority":1,"record_length":96,"hex_timestamp":"000001a080828ad0"} 
[2026-09-08 15:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948777728001,"66":12928,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948777728001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948777728001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":174511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:39] local.INFO: GPS data processed {"connection_id":174511,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:39] local.INFO: Acknowledgment sent {"connection_id":174511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:47] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:48:47] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:48:47] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:48:51] local.INFO: TCP Data received {"connection_id":177305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08084ec30012d0cb88007046fc8001a000615..."} 
[2026-09-08 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08084ec30012d0cb88007046fc8001a000615..."} 
[2026-09-08 15:48:51] local.INFO: Processing buffer {"connection_id":177305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08084ec30012d0cb88007046fc8001a000615..."} 
[2026-09-08 15:48:51] local.INFO: Packet analysis {"connection_id":177305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:48:51] local.INFO: Extracted packet for processing {"connection_id":177305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08084"} 
[2026-09-08 15:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755808384,"raw_latitude":117731272,"longitude_deg":75.5808384,"latitude_deg":11.7731272,"altitude":26,"angle":6,"satellites":21,"speed":0,"hex_longitude":"2d0cb880","hex_latitude":"07046fc8","is_valid_coordinates":true} 
[2026-09-08 15:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948817664001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758769067556864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916482554308859904,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862590000,"timestamp_ms":1788862590000,"timestamp_seconds":1788862590,"priority":1,"record_length":96,"hex_timestamp":"000001a08084ec30"} 
[2026-09-08 15:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948817664001,"66":14374,"95":206,"94":10240,"24":0,"16":30758769067556864,"45":916482554308859904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948817664001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:48:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758769067556864,"km_value":30758769067556.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":916482554308859904,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948817664001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":916482554308859904}} 
[2026-09-08 15:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":177305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:51] local.INFO: GPS data processed {"connection_id":177305,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:51] local.INFO: Acknowledgment sent {"connection_id":177305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:52] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:48:52] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:48:52] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:48:54] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:54] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:54] local.INFO: Packet analysis {"connection_id":174781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:48:54] local.INFO: Extracted packet for processing {"connection_id":174781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:48:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":174781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:54] local.INFO: GPS data processed {"connection_id":174781,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:54] local.INFO: Acknowledgment sent {"connection_id":174781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:48:58] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:58] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:48:58] local.INFO: Packet analysis {"connection_id":174781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:48:58] local.INFO: Extracted packet for processing {"connection_id":174781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":174781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:48:58] local.INFO: GPS data processed {"connection_id":174781,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:48:58] local.INFO: Acknowledgment sent {"connection_id":174781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:49:00] local.INFO: TCP Data received {"connection_id":177306,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:00] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:00] local.INFO: IMEI packet received {"connection_id":177306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":177306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:49:05] local.INFO: TCP Data received {"connection_id":177306,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:05] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:05] local.INFO: IMEI packet received {"connection_id":177306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":177306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:49:05] local.INFO: TCP Data received {"connection_id":177306,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:05] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:49:05] local.INFO: IMEI packet received {"connection_id":177306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":177306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:49:07] local.INFO: TCP Data received {"connection_id":177306,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080861128012d196780071fed78003a011f2a..."} 
[2026-09-08 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080861128012d196780071fed78003a011f2a..."} 
[2026-09-08 15:49:07] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080861128012d196780071fed78003a011f2a..."} 
[2026-09-08 15:49:07] local.INFO: Packet analysis {"connection_id":177306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08086"} 
[2026-09-08 15:49:07] local.INFO: Extracted packet for processing {"connection_id":177306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08086"} 
[2026-09-08 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948836864001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49: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-09-08 15:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862665000,"timestamp_ms":1788862665000,"timestamp_seconds":1788862665,"priority":1,"record_length":96,"hex_timestamp":"000001a080861128"} 
[2026-09-08 15:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-08 15:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948836864001,"66":12135,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948836864001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:49:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948836864001,"power":12135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":177306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:49:07] local.INFO: GPS data processed {"connection_id":177306,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:49:07] local.INFO: Acknowledgment sent {"connection_id":177306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:49:11] local.INFO: TCP Data received {"connection_id":177306,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080866330012d196780071fed78003a011f2c..."} 
[2026-09-08 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080866330012d196780071fed78003a011f2c..."} 
[2026-09-08 15:49:11] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080866330012d196780071fed78003a011f2c..."} 
[2026-09-08 15:49:11] local.INFO: Packet analysis {"connection_id":177306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08086"} 
[2026-09-08 15:49:11] local.INFO: Extracted packet for processing {"connection_id":177306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08086"} 
[2026-09-08 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948842240001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49: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-09-08 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788862686000,"timestamp_ms":1788862686000,"timestamp_seconds":1788862686,"priority":1,"record_length":96,"hex_timestamp":"000001a080866330"} 
[2026-09-08 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-09-08 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:49:11] 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-09-08 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-09-08 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-09-08 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948842240001,"66":12667,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948842240001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948842240001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":177306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:49:11] local.INFO: GPS data processed {"connection_id":177306,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:49:11] local.INFO: Acknowledgment sent {"connection_id":177306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:49:16] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:16] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:16] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:49:16] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:16] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:16] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:49:19] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:19] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:49:19] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:49:20] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080853e38012d0cb88007046fd8001a000616..."} 
[2026-09-08 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080853e38012d0cb88007046fd8001a000616..."} 
[2026-09-08 15:49:20] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080853e38012d0cb88007046fd8001a000616..."} 
[2026-09-08 15:49:20] local.INFO: Packet analysis {"connection_id":174512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:49:20] local.INFO: Extracted packet for processing {"connection_id":174512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:49:20] local.INFO: GPS Element Parsed {"raw_longitude":755808384,"raw_latitude":117731288,"longitude_deg":75.5808384,"latitude_deg":11.7731288,"altitude":26,"angle":6,"satellites":22,"speed":0,"hex_longitude":"2d0cb880","hex_latitude":"07046fd8","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948823040001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758769067556864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291797456896,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862611000,"timestamp_ms":1788862611000,"timestamp_seconds":1788862611,"priority":1,"record_length":96,"hex_timestamp":"000001a080853e38"} 
[2026-09-08 15:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 15:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948823040001,"66":14439,"16":30758769067556864,"94":11008,"24":0,"45":916623291797456896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948823040001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758769067556864,"km_value":30758769067556.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:49:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291797456896,"description":"Unknown IO ID 45"} 
[2026-09-08 15:49:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948823040001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":916623291797456896}} 
[2026-09-08 15:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":174512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:49:20] local.INFO: GPS data processed {"connection_id":174512,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:49:20] local.INFO: Acknowledgment sent {"connection_id":174512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:49:41] local.INFO: TCP Data received {"connection_id":175838,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:49:41] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:49:41] local.INFO: IMEI packet received {"connection_id":175838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":175838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:49:42] local.INFO: TCP Data received {"connection_id":177306,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08086b538012d196780071fed78003a011f2c..."} 
[2026-09-08 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08086b538012d196780071fed78003a011f2c..."} 
[2026-09-08 15:49:42] local.INFO: Processing buffer {"connection_id":177306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08086b538012d196780071fed78003a011f2c..."} 
[2026-09-08 15:49:42] local.INFO: Packet analysis {"connection_id":177306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08086"} 
[2026-09-08 15:49:42] local.INFO: Extracted packet for processing {"connection_id":177306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08086"} 
[2026-09-08 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948847616001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:42] 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-09-08 15:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788862707000,"timestamp_ms":1788862707000,"timestamp_seconds":1788862707,"priority":1,"record_length":96,"hex_timestamp":"000001a08086b538"} 
[2026-09-08 15:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 15:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948847616001,"66":12667,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948847616001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:49:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948847616001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":177306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:49:42] local.INFO: GPS data processed {"connection_id":177306,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:49:42] local.INFO: Acknowledgment sent {"connection_id":177306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:49:47] local.INFO: TCP Data received {"connection_id":175838,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:49:47] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:49:47] local.INFO: IMEI packet received {"connection_id":175838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":175838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:49:48] local.INFO: TCP Data received {"connection_id":175838,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:49:48] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:49:48] local.INFO: Packet analysis {"connection_id":175838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:49:48] local.INFO: Extracted packet for processing {"connection_id":175838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:49:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:49:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":175838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:49:48] local.INFO: GPS data processed {"connection_id":175838,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:49:48] local.INFO: Acknowledgment sent {"connection_id":175838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:49:51] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080856d18012d0cb88007047108001b016317..."} 
[2026-09-08 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080856d18012d0cb88007047108001b016317..."} 
[2026-09-08 15:49:51] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080856d18012d0cb88007047108001b016317..."} 
[2026-09-08 15:49:51] local.INFO: Packet analysis {"connection_id":174512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:49:51] local.INFO: Extracted packet for processing {"connection_id":174512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":755808384,"raw_latitude":117731592,"longitude_deg":75.5808384,"latitude_deg":11.7731592,"altitude":27,"angle":355,"satellites":23,"speed":2,"hex_longitude":"2d0cb880","hex_latitude":"07047108","is_valid_coordinates":true} 
[2026-09-08 15:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948828416001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758786247426048,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291797460992,"note":"Value kept but may cause issues"} 
[2026-09-08 15:49:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862623000,"timestamp_ms":1788862623000,"timestamp_seconds":1788862623,"priority":1,"record_length":96,"hex_timestamp":"000001a080856d18"} 
[2026-09-08 15:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948828416001,"66":14515,"16":30758786247426048,"94":11008,"24":2,"45":916623291797460992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948828416001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758786247426048,"km_value":30758786247426.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:49:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291797460992,"description":"Unknown IO ID 45"} 
[2026-09-08 15:49:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948828416001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":916623291797460992}} 
[2026-09-08 15:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":174512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784215,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:49:51] local.INFO: GPS data processed {"connection_id":174512,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:49:51] local.INFO: Acknowledgment sent {"connection_id":174512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:50:00] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:50:00] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:50:00] local.INFO: IMEI packet received {"connection_id":174783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":174783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:50:06] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:50:06] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:50:06] local.INFO: IMEI packet received {"connection_id":174783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":174783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:50:07] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080870740012d196780071fed78003a011f2d..."} 
[2026-09-08 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080870740012d196780071fed78003a011f2d..."} 
[2026-09-08 15:50:07] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080870740012d196780071fed78003a011f2d..."} 
[2026-09-08 15:50:07] local.INFO: Packet analysis {"connection_id":174783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:50:07] local.INFO: Extracted packet for processing {"connection_id":174783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948852992001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50: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-09-08 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862728000,"timestamp_ms":1788862728000,"timestamp_seconds":1788862728,"priority":1,"record_length":96,"hex_timestamp":"000001a080870740"} 
[2026-09-08 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 15:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948852992001,"66":12711,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948852992001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948852992001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":174783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:50:07] local.INFO: GPS data processed {"connection_id":174783,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:50:07] local.INFO: Acknowledgment sent {"connection_id":174783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:50:16] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:16] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:16] local.INFO: IMEI packet received {"connection_id":175839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":175839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:50:16] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:16] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:16] local.INFO: IMEI packet received {"connection_id":175839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":175839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:50:20] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:20] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:50:20] local.INFO: IMEI packet received {"connection_id":175839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":175839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:50:20] local.INFO: TCP Data received {"connection_id":175838,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:50:20] local.INFO: Processing buffer {"connection_id":175838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:50:20] local.INFO: Packet analysis {"connection_id":175838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:50:20] local.INFO: Extracted packet for processing {"connection_id":175838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:50:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 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-09-08 15:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:50:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:50:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":175838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:50:20] local.INFO: GPS data processed {"connection_id":175838,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:50:20] local.INFO: Acknowledgment sent {"connection_id":175838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:50:22] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808574e8012d0cb900070471d8001b000717..."} 
[2026-09-08 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808574e8012d0cb900070471d8001b000717..."} 
[2026-09-08 15:50:22] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808574e8012d0cb900070471d8001b000717..."} 
[2026-09-08 15:50:22] local.INFO: Packet analysis {"connection_id":175839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:50:22] local.INFO: Extracted packet for processing {"connection_id":175839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117731800,"longitude_deg":75.5808512,"latitude_deg":11.77318,"altitude":27,"angle":7,"satellites":23,"speed":3,"hex_longitude":"2d0cb900","hex_latitude":"070471d8","is_valid_coordinates":true} 
[2026-09-08 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948831488001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30758799132327936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291797538816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788862625000,"timestamp_ms":1788862625000,"timestamp_seconds":1788862625,"priority":1,"record_length":96,"hex_timestamp":"000001a0808574e8"} 
[2026-09-08 15:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948831488001,"66":14515,"16":30758799132327936,"94":11008,"24":3,"45":916623291797538816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948831488001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30758799132327936,"km_value":30758799132327.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291797538816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:50:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948831488001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":916623291797538816}} 
[2026-09-08 15:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":175839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784218,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:50:22] local.INFO: GPS data processed {"connection_id":175839,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:50:22] local.INFO: Acknowledgment sent {"connection_id":175839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:50:39] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080875948012d196780071fed78003a011f2b..."} 
[2026-09-08 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080875948012d196780071fed78003a011f2b..."} 
[2026-09-08 15:50:39] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080875948012d196780071fed78003a011f2b..."} 
[2026-09-08 15:50:39] local.INFO: Packet analysis {"connection_id":174783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:50:39] local.INFO: Extracted packet for processing {"connection_id":174783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948858368001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50: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-09-08 15:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862749000,"timestamp_ms":1788862749000,"timestamp_seconds":1788862749,"priority":1,"record_length":96,"hex_timestamp":"000001a080875948"} 
[2026-09-08 15:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 15:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948858368001,"66":12689,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948858368001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948858368001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":174783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:50:39] local.INFO: GPS data processed {"connection_id":174783,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:50:39] local.INFO: Acknowledgment sent {"connection_id":174783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:50:41] local.INFO: TCP Data received {"connection_id":177307,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:50:41] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:50:41] local.INFO: IMEI packet received {"connection_id":177307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":177307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:50:47] local.INFO: TCP Data received {"connection_id":177307,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:50:47] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:50:47] local.INFO: IMEI packet received {"connection_id":177307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":177307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:50:49] local.INFO: TCP Data received {"connection_id":177307,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:50:49] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:50:49] local.INFO: Packet analysis {"connection_id":177307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:50:49] local.INFO: Extracted packet for processing {"connection_id":177307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:50:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:50:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":177307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:50:49] local.INFO: GPS data processed {"connection_id":177307,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:50:49] local.INFO: Acknowledgment sent {"connection_id":177307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:50:53] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808862e8012d0cb680070486e8001c014b1a..."} 
[2026-09-08 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808862e8012d0cb680070486e8001c014b1a..."} 
[2026-09-08 15:50:53] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808862e8012d0cb680070486e8001c014b1a..."} 
[2026-09-08 15:50:53] local.INFO: Packet analysis {"connection_id":175839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:50:53] local.INFO: Extracted packet for processing {"connection_id":175839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":755807872,"raw_latitude":117737192,"longitude_deg":75.5807872,"latitude_deg":11.7737192,"altitude":28,"angle":331,"satellites":26,"speed":3,"hex_longitude":"2d0cb680","hex_latitude":"070486e8","is_valid_coordinates":true} 
[2026-09-08 15:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948880128001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759069715267584,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916201079333769216,"note":"Value kept but may cause issues"} 
[2026-09-08 15:50:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788862817000,"timestamp_ms":1788862817000,"timestamp_seconds":1788862817,"priority":1,"record_length":96,"hex_timestamp":"000001a0808862e8"} 
[2026-09-08 15:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 15:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948880128001,"66":14211,"16":30759069715267584,"94":11008,"24":3,"45":916201079333769216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948880128001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759069715267584,"km_value":30759069715267.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:50:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":916201079333769216,"description":"Unknown IO ID 45"} 
[2026-09-08 15:50:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948880128001,"power":14211,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":916201079333769216}} 
[2026-09-08 15:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":175839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784221,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:50:53] local.INFO: GPS data processed {"connection_id":175839,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:50:53] local.INFO: Acknowledgment sent {"connection_id":175839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:04] local.INFO: TCP Data received {"connection_id":177308,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:51:04] local.INFO: Processing buffer {"connection_id":177308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:51:04] local.INFO: IMEI packet received {"connection_id":177308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":177308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:51:06] local.INFO: TCP Data received {"connection_id":177309,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:51:06] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:51:06] local.INFO: IMEI packet received {"connection_id":177309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":177309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:51:11] local.INFO: TCP Data received {"connection_id":177309,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:51:11] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:51:11] local.INFO: IMEI packet received {"connection_id":177309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":177309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:51:12] local.INFO: TCP Data received {"connection_id":177309,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08087ab50012d196780071fed78003a011f2a..."} 
[2026-09-08 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08087ab50012d196780071fed78003a011f2a..."} 
[2026-09-08 15:51:12] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08087ab50012d196780071fed78003a011f2a..."} 
[2026-09-08 15:51:12] local.INFO: Packet analysis {"connection_id":177309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:51:12] local.INFO: Extracted packet for processing {"connection_id":177309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948863744001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51: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-09-08 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788862770000,"timestamp_ms":1788862770000,"timestamp_seconds":1788862770,"priority":1,"record_length":96,"hex_timestamp":"000001a08087ab50"} 
[2026-09-08 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948863744001,"66":12591,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948863744001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948863744001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":177309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:12] local.INFO: GPS data processed {"connection_id":177309,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:12] local.INFO: Acknowledgment sent {"connection_id":177309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:13] local.INFO: TCP Data received {"connection_id":175840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:13] local.INFO: Processing buffer {"connection_id":175840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:13] local.INFO: IMEI packet received {"connection_id":175840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":175840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:51:13] local.INFO: TCP Data received {"connection_id":177309,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08087fd58012d196780071fed78003a011f2a..."} 
[2026-09-08 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08087fd58012d196780071fed78003a011f2a..."} 
[2026-09-08 15:51:13] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08087fd58012d196780071fed78003a011f2a..."} 
[2026-09-08 15:51:13] local.INFO: Packet analysis {"connection_id":177309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:51:13] local.INFO: Extracted packet for processing {"connection_id":177309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08087"} 
[2026-09-08 15:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948869120001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51: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-09-08 15:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788862791000,"timestamp_ms":1788862791000,"timestamp_seconds":1788862791,"priority":1,"record_length":96,"hex_timestamp":"000001a08087fd58"} 
[2026-09-08 15:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948869120001,"66":12678,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948869120001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948869120001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":177309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:13] local.INFO: GPS data processed {"connection_id":177309,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:13] local.INFO: Acknowledgment sent {"connection_id":177309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:14] local.INFO: TCP Data received {"connection_id":175840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:14] local.INFO: Processing buffer {"connection_id":175840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:14] local.INFO: IMEI packet received {"connection_id":175840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":175840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:51:19] local.INFO: TCP Data received {"connection_id":175840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:19] local.INFO: Processing buffer {"connection_id":175840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:51:19] local.INFO: IMEI packet received {"connection_id":175840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":175840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:51:20] local.INFO: TCP Data received {"connection_id":175840,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080888de0012d0cb64007048808001c01571a..."} 
[2026-09-08 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080888de0012d0cb64007048808001c01571a..."} 
[2026-09-08 15:51:20] local.INFO: Processing buffer {"connection_id":175840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080888de0012d0cb64007048808001c01571a..."} 
[2026-09-08 15:51:20] local.INFO: Packet analysis {"connection_id":175840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:51:20] local.INFO: Extracted packet for processing {"connection_id":175840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":755807808,"raw_latitude":117737480,"longitude_deg":75.5807808,"latitude_deg":11.773748,"altitude":28,"angle":343,"satellites":26,"speed":2,"hex_longitude":"2d0cb640","hex_latitude":"07048808","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948881152001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759086895136768,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916060341845551104,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862828000,"timestamp_ms":1788862828000,"timestamp_seconds":1788862828,"priority":1,"record_length":96,"hex_timestamp":"000001a080888de0"} 
[2026-09-08 15:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948881152001,"66":14537,"16":30759086895136768,"94":11008,"24":2,"45":916060341845551104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-08 15:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948881152001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759086895136768,"km_value":30759086895136.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 15:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":916060341845551104,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457948881152001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":916060341845551104}} 
[2026-09-08 15:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":175840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784224,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:20] local.INFO: GPS data processed {"connection_id":175840,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:20] local.INFO: Acknowledgment sent {"connection_id":175840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:22] local.INFO: TCP Data received {"connection_id":177307,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:51:22] local.INFO: Processing buffer {"connection_id":177307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:51:22] local.INFO: Packet analysis {"connection_id":177307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:51:22] local.INFO: Extracted packet for processing {"connection_id":177307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":177307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:22] local.INFO: GPS data processed {"connection_id":177307,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:22] local.INFO: Acknowledgment sent {"connection_id":177307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:29] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:29] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:29] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:51:30] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:30] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:30] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:51:34] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:34] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:51:34] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:51:35] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 15:51:35] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-08 15:51:35] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:51:35] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-08 15:51:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:51:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:51:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:51:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:51:35] local.ERROR: GPS data processing failed {"connection_id":174513,"error":"No valid data to process"} 
[2026-09-08 15:51:35] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:51:41] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:51:41] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:51:41] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:51:45] local.INFO: TCP Data received {"connection_id":177309,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080884b78012d196780071fed78003a011f2b..."} 
[2026-09-08 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080884b78012d196780071fed78003a011f2b..."} 
[2026-09-08 15:51:45] local.INFO: Processing buffer {"connection_id":177309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080884b78012d196780071fed78003a011f2b..."} 
[2026-09-08 15:51:45] local.INFO: Packet analysis {"connection_id":177309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:51:45] local.INFO: Extracted packet for processing {"connection_id":177309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948874496001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51: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-09-08 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788862811000,"timestamp_ms":1788862811000,"timestamp_seconds":1788862811,"priority":1,"record_length":96,"hex_timestamp":"000001a080884b78"} 
[2026-09-08 15:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948874496001,"66":12667,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948874496001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948874496001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":177309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:45] local.INFO: GPS data processed {"connection_id":177309,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:45] local.INFO: Acknowledgment sent {"connection_id":177309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:47] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:51:47] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:51:47] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:51:49] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:51:49] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:51:49] local.INFO: Packet analysis {"connection_id":174784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:51:49] local.INFO: Extracted packet for processing {"connection_id":174784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:51:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:51:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":174784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:49] local.INFO: GPS data processed {"connection_id":174784,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:49] local.INFO: Acknowledgment sent {"connection_id":174784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:51:51] local.INFO: TCP Data received {"connection_id":175840,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08088dc00012d0cb64007048830001c015a1a..."} 
[2026-09-08 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08088dc00012d0cb64007048830001c015a1a..."} 
[2026-09-08 15:51:51] local.INFO: Processing buffer {"connection_id":175840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08088dc00012d0cb64007048830001c015a1a..."} 
[2026-09-08 15:51:51] local.INFO: Packet analysis {"connection_id":175840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:51:51] local.INFO: Extracted packet for processing {"connection_id":175840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755807808,"raw_latitude":117737520,"longitude_deg":75.5807808,"latitude_deg":11.773752,"altitude":28,"angle":346,"satellites":26,"speed":0,"hex_longitude":"2d0cb640","hex_latitude":"07048830","is_valid_coordinates":true} 
[2026-09-08 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948883968001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759086895136768,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915989973101447168,"note":"Value kept but may cause issues"} 
[2026-09-08 15:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862848000,"timestamp_ms":1788862848000,"timestamp_seconds":1788862848,"priority":1,"record_length":96,"hex_timestamp":"000001a08088dc00"} 
[2026-09-08 15:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 15:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948883968001,"66":14559,"95":206,"94":10240,"24":0,"16":30759086895136768,"45":915989973101447168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948883968001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:51:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:51:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759086895136768,"km_value":30759086895136.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":915989973101447168,"description":"Unknown IO ID 45"} 
[2026-09-08 15:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948883968001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":915989973101447168}} 
[2026-09-08 15:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":175840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:51:51] local.INFO: GPS data processed {"connection_id":175840,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:51:51] local.INFO: Acknowledgment sent {"connection_id":175840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:00] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:52:00] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:52:00] local.INFO: IMEI packet received {"connection_id":174785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":174785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:52:06] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:52:06] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:52:06] local.INFO: IMEI packet received {"connection_id":174785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":174785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:52:06] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-08 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-08 15:52:06] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-08 15:52:06] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:52:06] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-08 15:52:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:52:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 15:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 15:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 15:52:06] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 15:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 15:52:06] local.ERROR: GPS data processing failed {"connection_id":174513,"error":"No valid data to process"} 
[2026-09-08 15:52:06] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 15:52:07] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080889d80012d196780071fed78003a011f2b..."} 
[2026-09-08 15:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080889d80012d196780071fed78003a011f2b..."} 
[2026-09-08 15:52:07] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080889d80012d196780071fed78003a011f2b..."} 
[2026-09-08 15:52:07] local.INFO: Packet analysis {"connection_id":174785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:52:07] local.INFO: Extracted packet for processing {"connection_id":174785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948879616001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52: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-09-08 15:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862832000,"timestamp_ms":1788862832000,"timestamp_seconds":1788862832,"priority":1,"record_length":96,"hex_timestamp":"000001a080889d80"} 
[2026-09-08 15:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":123,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948879616001,"66":12667,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948879616001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948879616001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":174785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:07] local.INFO: GPS data processed {"connection_id":174785,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:07] local.INFO: Acknowledgment sent {"connection_id":174785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:14] local.INFO: TCP Data received {"connection_id":177310,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:52:14] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:52:14] local.INFO: IMEI packet received {"connection_id":177310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":177310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:52:19] local.INFO: TCP Data received {"connection_id":177310,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:52:19] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:52:19] local.INFO: IMEI packet received {"connection_id":177310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":177310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:52:20] local.INFO: TCP Data received {"connection_id":177310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080890ae0012d0cb58007048930001d013e1a..."} 
[2026-09-08 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080890ae0012d0cb58007048930001d013e1a..."} 
[2026-09-08 15:52:20] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080890ae0012d0cb58007048930001d013e1a..."} 
[2026-09-08 15:52:20] local.INFO: Packet analysis {"connection_id":177310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:52:20] local.INFO: Extracted packet for processing {"connection_id":177310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:52:20] local.INFO: GPS Element Parsed {"raw_longitude":755807616,"raw_latitude":117737776,"longitude_deg":75.5807616,"latitude_deg":11.7737776,"altitude":29,"angle":318,"satellites":26,"speed":3,"hex_longitude":"2d0cb580","hex_latitude":"07048930","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948889088001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759104075005952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915989973101457408,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862860000,"timestamp_ms":1788862860000,"timestamp_seconds":1788862860,"priority":1,"record_length":96,"hex_timestamp":"000001a080890ae0"} 
[2026-09-08 15:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948889088001,"66":14580,"95":206,"94":10240,"24":3,"16":30759104075005952,"45":915989973101457408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948889088001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:52:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759104075005952,"km_value":30759104075005.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":915989973101457408,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948889088001,"power":14580,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":915989973101457408}} 
[2026-09-08 15:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":177310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:20] local.INFO: GPS data processed {"connection_id":177310,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:20] local.INFO: Acknowledgment sent {"connection_id":177310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:22] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:22] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:22] local.INFO: Packet analysis {"connection_id":174784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:52:22] local.INFO: Extracted packet for processing {"connection_id":174784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:52:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":174784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:22] local.INFO: GPS data processed {"connection_id":174784,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:22] local.INFO: Acknowledgment sent {"connection_id":174784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:37] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a1c500100000000000000000000000000..."} 
[2026-09-08 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a1c500100000000000000000000000000..."} 
[2026-09-08 15:52:37] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a1c500100000000000000000000000000..."} 
[2026-09-08 15:52:37] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:52:37] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788862930000,"timestamp_ms":1788862930000,"timestamp_seconds":1788862930,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a1c50"} 
[2026-09-08 15:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:52:37] 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-09-08 15:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:52:37] local.INFO: GPS data processed {"connection_id":174513,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:52:37] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:39] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08088ef88012d196780071fed78003a011f2b..."} 
[2026-09-08 15:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08088ef88012d196780071fed78003a011f2b..."} 
[2026-09-08 15:52:39] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08088ef88012d196780071fed78003a011f2b..."} 
[2026-09-08 15:52:39] local.INFO: Packet analysis {"connection_id":174785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:52:39] local.INFO: Extracted packet for processing {"connection_id":174785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08088"} 
[2026-09-08 15:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948884992001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52: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-09-08 15:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862853000,"timestamp_ms":1788862853000,"timestamp_seconds":1788862853,"priority":1,"record_length":96,"hex_timestamp":"000001a08088ef88"} 
[2026-09-08 15:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948884992001,"66":12613,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948884992001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948884992001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":174785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:39] local.INFO: GPS data processed {"connection_id":174785,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:39] local.INFO: Acknowledgment sent {"connection_id":174785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:47] local.INFO: TCP Data received {"connection_id":174516,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:52:47] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:52:47] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:52:51] local.INFO: TCP Data received {"connection_id":177310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808931f0012d0cb48007048b10001d01501a..."} 
[2026-09-08 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808931f0012d0cb48007048b10001d01501a..."} 
[2026-09-08 15:52:51] local.INFO: Processing buffer {"connection_id":177310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808931f0012d0cb48007048b10001d01501a..."} 
[2026-09-08 15:52:51] local.INFO: Packet analysis {"connection_id":177310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:52:51] local.INFO: Extracted packet for processing {"connection_id":177310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":755807360,"raw_latitude":117738256,"longitude_deg":75.580736,"latitude_deg":11.7738256,"altitude":29,"angle":336,"satellites":26,"speed":2,"hex_longitude":"2d0cb480","hex_latitude":"07048b10","is_valid_coordinates":true} 
[2026-09-08 15:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948892160001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759134139777024,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915778866868989952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788862870000,"timestamp_ms":1788862870000,"timestamp_seconds":1788862870,"priority":1,"record_length":96,"hex_timestamp":"000001a0808931f0"} 
[2026-09-08 15:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948892160001,"66":14548,"95":206,"94":10240,"24":2,"16":30759134139777024,"45":915778866868989952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948892160001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:52:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759134139777024,"km_value":30759134139777.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":915778866868989952,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948892160001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":915778866868989952}} 
[2026-09-08 15:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":177310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:51] local.INFO: GPS data processed {"connection_id":177310,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:51] local.INFO: Acknowledgment sent {"connection_id":177310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:52] local.INFO: TCP Data received {"connection_id":174516,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:52:52] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:52:52] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:52:54] local.INFO: TCP Data received {"connection_id":174516,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:54] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:54] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:52:54] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:52:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:54] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:54] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:52:59] local.INFO: TCP Data received {"connection_id":174516,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:59] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08085d690012d4cdf00068f46980046009a2b..."} 
[2026-09-08 15:52:59] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:52:59] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08085"} 
[2026-09-08 15:52:59] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":70,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948761344001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788862650000,"timestamp_ms":1788862650000,"timestamp_seconds":1788862650,"priority":1,"record_length":96,"hex_timestamp":"000001a08085d690"} 
[2026-09-08 15:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 15:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948761344001,"66":25843,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948761344001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:52:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:52:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948761344001,"power":25843,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:52:59] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:52:59] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:01] local.INFO: TCP Data received {"connection_id":175841,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:01] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:01] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:53:06] local.INFO: TCP Data received {"connection_id":175841,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:06] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:06] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:53:07] local.INFO: TCP Data received {"connection_id":175841,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080894578012d196780071fed78003a011f2d..."} 
[2026-09-08 15:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080894578012d196780071fed78003a011f2d..."} 
[2026-09-08 15:53:07] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080894578012d196780071fed78003a011f2d..."} 
[2026-09-08 15:53:07] local.INFO: Packet analysis {"connection_id":175841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:53:07] local.INFO: Extracted packet for processing {"connection_id":175841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948890368001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53: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-09-08 15:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862875000,"timestamp_ms":1788862875000,"timestamp_seconds":1788862875,"priority":1,"record_length":96,"hex_timestamp":"000001a080894578"} 
[2026-09-08 15:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948890368001,"66":12602,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948890368001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:53:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948890368001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":175841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:53:07] local.INFO: GPS data processed {"connection_id":175841,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:53:07] local.INFO: Acknowledgment sent {"connection_id":175841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:09] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e580100000000000000000000000000..."} 
[2026-09-08 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e580100000000000000000000000000..."} 
[2026-09-08 15:53:09] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e580100000000000000000000000000..."} 
[2026-09-08 15:53:09] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:09] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:53:09] 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-09-08 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:53:09] local.INFO: GPS data processed {"connection_id":174513,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:53:09] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:19] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:53:19] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:53:19] local.INFO: IMEI packet received {"connection_id":174786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":174786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:53:21] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:53:21] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:53:21] local.INFO: IMEI packet received {"connection_id":174786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":174786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:53:22] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808ad3e8012d0cafc0070491700020013d1e..."} 
[2026-09-08 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808ad3e8012d0cafc0070491700020013d1e..."} 
[2026-09-08 15:53:22] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808ad3e8012d0cafc0070491700020013d1e..."} 
[2026-09-08 15:53:22] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:22] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739888,"longitude_deg":75.5806144,"latitude_deg":11.7739888,"altitude":32,"angle":317,"satellites":30,"speed":3,"hex_longitude":"2d0cafc0","hex_latitude":"07049170","is_valid_coordinates":true} 
[2026-09-08 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948920576001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759232924024832,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914582598218407936,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788862977000,"timestamp_ms":1788862977000,"timestamp_seconds":1788862977,"priority":1,"record_length":96,"hex_timestamp":"000001a0808ad3e8"} 
[2026-09-08 15:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948920576001,"66":14439,"95":206,"94":10240,"24":3,"16":30759232924024832,"45":914582598218407936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948920576001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759232924024832,"km_value":30759232924024.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":914582598218407936,"description":"Unknown IO ID 45"} 
[2026-09-08 15:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948920576001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":914582598218407936}} 
[2026-09-08 15:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:53:22] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:53:22] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:25] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808adfa0012d0caf40070491a0002101541e..."} 
[2026-09-08 15:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808adfa0012d0caf40070491a0002101541e..."} 
[2026-09-08 15:53:25] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808adfa0012d0caf40070491a0002101541e..."} 
[2026-09-08 15:53:25] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:25] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":755806016,"raw_latitude":117739936,"longitude_deg":75.5806016,"latitude_deg":11.7739936,"altitude":33,"angle":340,"satellites":30,"speed":0,"hex_longitude":"2d0caf40","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948922112001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759237218992128,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753444352,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788862980000,"timestamp_ms":1788862980000,"timestamp_seconds":1788862980,"priority":1,"record_length":96,"hex_timestamp":"000001a0808adfa0"} 
[2026-09-08 15:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948922112001,"66":14580,"95":206,"94":10240,"24":0,"16":30759237218992128,"45":914160385753444352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948922112001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:53:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:53:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759237218992128,"km_value":30759237218992.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753444352,"description":"Unknown IO ID 45"} 
[2026-09-08 15:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948922112001,"power":14580,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753444352}} 
[2026-09-08 15:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:53:25] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:53:25] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:39] local.INFO: TCP Data received {"connection_id":175841,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080899780012d196780071fed78003a011f29..."} 
[2026-09-08 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080899780012d196780071fed78003a011f29..."} 
[2026-09-08 15:53:39] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080899780012d196780071fed78003a011f29..."} 
[2026-09-08 15:53:39] local.INFO: Packet analysis {"connection_id":175841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:53:39] local.INFO: Extracted packet for processing {"connection_id":175841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948896000001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53: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-09-08 15:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862896000,"timestamp_ms":1788862896000,"timestamp_seconds":1788862896,"priority":1,"record_length":96,"hex_timestamp":"000001a080899780"} 
[2026-09-08 15:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948896000001,"66":12613,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948896000001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948896000001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":175841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:53:39] local.INFO: GPS data processed {"connection_id":175841,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:53:39] local.INFO: Acknowledgment sent {"connection_id":175841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:41] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:53:41] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:53:41] local.INFO: IMEI packet received {"connection_id":177311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":177311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:53:46] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808ac0600100000000000000000000000000..."} 
[2026-09-08 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808ac0600100000000000000000000000000..."} 
[2026-09-08 15:53:46] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808ac0600100000000000000000000000000..."} 
[2026-09-08 15:53:46] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:46] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 15:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788862972000,"timestamp_ms":1788862972000,"timestamp_seconds":1788862972,"priority":1,"record_length":96,"hex_timestamp":"000001a0808ac060"} 
[2026-09-08 15:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:53:46] 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-09-08 15:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 15:53:46] local.INFO: GPS data processed {"connection_id":174513,"processed":0,"errors":0,"total":1} 
[2026-09-08 15:53:46] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:47] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:53:47] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:53:47] local.INFO: IMEI packet received {"connection_id":177311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":177311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:53:48] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:53:48] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:53:48] local.INFO: Packet analysis {"connection_id":177311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:48] local.INFO: Extracted packet for processing {"connection_id":177311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:53:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:53:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":177311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:53:48] local.INFO: GPS data processed {"connection_id":177311,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:53:48] local.INFO: Acknowledgment sent {"connection_id":177311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:56] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808b29d8012d0cafc0070491a0002201541e..."} 
[2026-09-08 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808b29d8012d0cafc0070491a0002201541e..."} 
[2026-09-08 15:53:56] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808b29d8012d0cafc0070491a0002201541e..."} 
[2026-09-08 15:53:56] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:53:56] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":30,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948922880001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914019648265101312,"note":"Value kept but may cause issues"} 
[2026-09-08 15:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788862999000,"timestamp_ms":1788862999000,"timestamp_seconds":1788862999,"priority":1,"record_length":96,"hex_timestamp":"000001a0808b29d8"} 
[2026-09-08 15:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-08 15:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948922880001,"66":14396,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914019648265101312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948922880001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:53:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:53:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":914019648265101312,"description":"Unknown IO ID 45"} 
[2026-09-08 15:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948922880001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914019648265101312}} 
[2026-09-08 15:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:53:56] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:53:56] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:53:59] local.INFO: TCP Data received {"connection_id":175842,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:59] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:53:59] local.INFO: IMEI packet received {"connection_id":175842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":175842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:54:00] local.INFO: TCP Data received {"connection_id":175842,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:54:00] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:54:00] local.INFO: IMEI packet received {"connection_id":175842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":175842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:54:06] local.INFO: TCP Data received {"connection_id":175842,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:54:06] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:54:06] local.INFO: IMEI packet received {"connection_id":175842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":175842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:54:08] local.INFO: TCP Data received {"connection_id":175842,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08089e988012d196780071fed78003a011f2a..."} 
[2026-09-08 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08089e988012d196780071fed78003a011f2a..."} 
[2026-09-08 15:54:08] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08089e988012d196780071fed78003a011f2a..."} 
[2026-09-08 15:54:08] local.INFO: Packet analysis {"connection_id":175842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:54:08] local.INFO: Extracted packet for processing {"connection_id":175842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08089"} 
[2026-09-08 15:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948901376001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54: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-09-08 15:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788862917000,"timestamp_ms":1788862917000,"timestamp_seconds":1788862917,"priority":1,"record_length":96,"hex_timestamp":"000001a08089e988"} 
[2026-09-08 15:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948901376001,"66":12504,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948901376001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948901376001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":175842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:08] local.INFO: GPS data processed {"connection_id":175842,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:08] local.INFO: Acknowledgment sent {"connection_id":175842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:14] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:54:14] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:54:14] local.INFO: IMEI packet received {"connection_id":174787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":174787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:54:17] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808afaf8012d7a070005ec49d8001100a909..."} 
[2026-09-08 15:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808afaf8012d7a070005ec49d8001100a909..."} 
[2026-09-08 15:54:17] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808afaf8012d7a070005ec49d8001100a909..."} 
[2026-09-08 15:54:17] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:17] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":99371480,"longitude_deg":76.2971904,"latitude_deg":9.937148,"altitude":17,"angle":169,"satellites":9,"speed":8,"hex_longitude":"2d7a0700","hex_latitude":"05ec49d8","is_valid_coordinates":true} 
[2026-09-08 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899168448643072,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 15:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788862987000,"timestamp_ms":1788862987000,"timestamp_seconds":1788862987,"priority":1,"record_length":96,"hex_timestamp":"000001a0808afaf8"} 
[2026-09-08 15:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:17] 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-09-08 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:54:17] 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-09-08 15:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13624,"100":206,"87":13824,"24":8,"16":129899168448643072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16]} 
[2026-09-08 15:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:54:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899168448643072,"km_value":129899168448643.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null}} 
[2026-09-08 15:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:17] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:17] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:19] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:54:19] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:54:19] local.INFO: IMEI packet received {"connection_id":174787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":174787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:54:20] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808b7fc8012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808b7fc8012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:54:20] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808b7fc8012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:54:20] local.INFO: Packet analysis {"connection_id":174787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:54:20] local.INFO: Extracted packet for processing {"connection_id":174787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":31,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948927744001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863021000,"timestamp_ms":1788863021000,"timestamp_seconds":1788863021,"priority":1,"record_length":96,"hex_timestamp":"000001a0808b7fc8"} 
[2026-09-08 15:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948927744001,"66":14157,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948927744001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948927744001,"power":14157,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":174787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:20] local.INFO: GPS data processed {"connection_id":174787,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:20] local.INFO: Acknowledgment sent {"connection_id":174787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:20] local.INFO: TCP Data received {"connection_id":177311,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:54:20] local.INFO: Processing buffer {"connection_id":177311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:54:20] local.INFO: Packet analysis {"connection_id":177311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:20] local.INFO: Extracted packet for processing {"connection_id":177311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":177311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:20] local.INFO: GPS data processed {"connection_id":177311,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:20] local.INFO: Acknowledgment sent {"connection_id":177311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:40] local.INFO: TCP Data received {"connection_id":175842,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a3b90012d196780071fed78003a011f29..."} 
[2026-09-08 15:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a3b90012d196780071fed78003a011f29..."} 
[2026-09-08 15:54:40] local.INFO: Processing buffer {"connection_id":175842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a3b90012d196780071fed78003a011f29..."} 
[2026-09-08 15:54:40] local.INFO: Packet analysis {"connection_id":175842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:40] local.INFO: Extracted packet for processing {"connection_id":175842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948906752001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54: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-09-08 15:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788862938000,"timestamp_ms":1788862938000,"timestamp_seconds":1788862938,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a3b90"} 
[2026-09-08 15:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948906752001,"66":12558,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948906752001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948906752001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":175842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:40] local.INFO: GPS data processed {"connection_id":175842,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:40] local.INFO: Acknowledgment sent {"connection_id":175842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:41] local.INFO: TCP Data received {"connection_id":174517,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:54:41] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:54:41] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:54:47] local.INFO: TCP Data received {"connection_id":174517,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:54:47] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:54:47] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:54:48] local.INFO: TCP Data received {"connection_id":174517,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:54:48] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:54:48] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:48] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:54:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:48] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:48] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:48] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808b06b0012d7a078005ec47780010009509..."} 
[2026-09-08 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808b06b0012d7a078005ec47780010009509..."} 
[2026-09-08 15:54:48] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808b06b0012d7a078005ec47780010009509..."} 
[2026-09-08 15:54:48] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:54:48] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:54:48] local.INFO: GPS Element Parsed {"raw_longitude":762972032,"raw_latitude":99370872,"longitude_deg":76.2972032,"latitude_deg":9.9370872,"altitude":16,"angle":149,"satellites":9,"speed":8,"hex_longitude":"2d7a0780","hex_latitude":"05ec4778","is_valid_coordinates":true} 
[2026-09-08 15:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948924672001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129899198513414144,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822903281664,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788862990000,"timestamp_ms":1788862990000,"timestamp_seconds":1788862990,"priority":1,"record_length":96,"hex_timestamp":"000001a0808b06b0"} 
[2026-09-08 15:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:54:48] 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-09-08 15:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948924672001,"66":13624,"100":206,"87":13824,"24":8,"16":129899198513414144,"45":8792996822903281664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-08 15:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948924672001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129899198513414144,"km_value":129899198513414.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822903281664,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948924672001,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8792996822903281664}} 
[2026-09-08 15:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:48] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:48] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:54:51] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808bd1d0012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808bd1d0012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:54:51] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808bd1d0012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:54:51] local.INFO: Packet analysis {"connection_id":174787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:54:51] local.INFO: Extracted packet for processing {"connection_id":174787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":31,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948933376001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863042000,"timestamp_ms":1788863042000,"timestamp_seconds":1788863042,"priority":1,"record_length":96,"hex_timestamp":"000001a0808bd1d0"} 
[2026-09-08 15:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-08 15:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948933376001,"66":14515,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948933376001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948933376001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":174787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:54:51] local.INFO: GPS data processed {"connection_id":174787,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:54:51] local.INFO: Acknowledgment sent {"connection_id":174787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:00] local.INFO: TCP Data received {"connection_id":174518,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:00] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:00] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:55:01] local.INFO: TCP Data received {"connection_id":174518,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:01] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:01] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:55:06] local.INFO: TCP Data received {"connection_id":174518,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:06] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:55:06] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:55:07] local.INFO: TCP Data received {"connection_id":174518,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a8d98012d196780071fed78003a011f2d..."} 
[2026-09-08 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a8d98012d196780071fed78003a011f2d..."} 
[2026-09-08 15:55:07] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a8d98012d196780071fed78003a011f2d..."} 
[2026-09-08 15:55:07] local.INFO: Packet analysis {"connection_id":174518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:07] local.INFO: Extracted packet for processing {"connection_id":174518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948912128001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55: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-09-08 15:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788862959000,"timestamp_ms":1788862959000,"timestamp_seconds":1788862959,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a8d98"} 
[2026-09-08 15:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2156415864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2297399297,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742405697531256,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3984064570,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,123,160,233,45,128,237,58,42,10,66,151,41,69,1,240,31,4,113,205,157,103,120,43,239,49,2,7,231,82,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 15:55:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179656190130651136,"timestamp_seconds":4179656190130651.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948912128001,"66":12580,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948912128001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948912128001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":174518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:07] local.INFO: GPS data processed {"connection_id":174518,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:07] local.INFO: Acknowledgment sent {"connection_id":174518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:14] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:55:14] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:55:14] local.INFO: IMEI packet received {"connection_id":175843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":175843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:55:19] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:55:19] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:55:19] local.INFO: IMEI packet received {"connection_id":175843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":175843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:55:19] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808cdf58012d7a538005eb9748000000700c..."} 
[2026-09-08 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808cdf58012d7a538005eb9748000000700c..."} 
[2026-09-08 15:55:19] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808cdf58012d7a538005eb9748000000700c..."} 
[2026-09-08 15:55:19] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:19] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":762991488,"raw_latitude":99325768,"longitude_deg":76.2991488,"latitude_deg":9.9325768,"altitude":0,"angle":112,"satellites":12,"speed":10,"hex_longitude":"2d7a5380","hex_latitude":"05eb9748","is_valid_coordinates":true} 
[2026-09-08 15:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948954624001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129901620874969088,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813685233680084992,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788863111000,"timestamp_ms":1788863111000,"timestamp_seconds":1788863111,"priority":1,"record_length":96,"hex_timestamp":"000001a0808cdf58"} 
[2026-09-08 15:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:55:19] 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-09-08 15:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948954624001,"66":13037,"163":206,"87":13824,"24":10,"16":129901620874969088,"45":8813685233680084992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948954624001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:55:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129901620874969088,"km_value":129901620874969.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813685233680084992,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948954624001,"power":13037,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8813685233680084992}} 
[2026-09-08 15:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:19] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:19] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:20] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808c23d8012d0cafc0070491a00022015420..."} 
[2026-09-08 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808c23d8012d0cafc0070491a00022015420..."} 
[2026-09-08 15:55:20] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808c23d8012d0cafc0070491a00022015420..."} 
[2026-09-08 15:55:20] local.INFO: Packet analysis {"connection_id":175843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:20] local.INFO: Extracted packet for processing {"connection_id":175843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":32,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948938752001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863063000,"timestamp_ms":1788863063000,"timestamp_seconds":1788863063,"priority":1,"record_length":96,"hex_timestamp":"000001a0808c23d8"} 
[2026-09-08 15:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948938752001,"66":14515,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948938752001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948938752001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":175843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:20] local.INFO: GPS data processed {"connection_id":175843,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:20] local.INFO: Acknowledgment sent {"connection_id":175843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:20] local.INFO: TCP Data received {"connection_id":174517,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:20] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:20] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:20] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:20] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:20] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:39] local.INFO: TCP Data received {"connection_id":174518,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808adfa0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808adfa0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:55:39] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808adfa0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:55:39] local.INFO: Packet analysis {"connection_id":174518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:39] local.INFO: Extracted packet for processing {"connection_id":174518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948917504001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55: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-09-08 15:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788862980000,"timestamp_ms":1788862980000,"timestamp_seconds":1788862980,"priority":1,"record_length":96,"hex_timestamp":"000001a0808adfa0"} 
[2026-09-08 15:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948917504001,"66":12548,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948917504001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948917504001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":174518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:39] local.INFO: GPS data processed {"connection_id":174518,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:39] local.INFO: Acknowledgment sent {"connection_id":174518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:47] local.INFO: TCP Data received {"connection_id":174519,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:55:47] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:55:47] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:55:50] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808ce340012d7a548005eb96f80000005e0c..."} 
[2026-09-08 15:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808ce340012d7a548005eb96f80000005e0c..."} 
[2026-09-08 15:55:50] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808ce340012d7a548005eb96f80000005e0c..."} 
[2026-09-08 15:55:50] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:50] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:50] local.INFO: GPS Element Parsed {"raw_longitude":762991744,"raw_latitude":99325688,"longitude_deg":76.2991744,"latitude_deg":9.9325688,"altitude":0,"angle":94,"satellites":12,"speed":9,"hex_longitude":"2d7a5480","hex_latitude":"05eb96f8","is_valid_coordinates":true} 
[2026-09-08 15:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948956416001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129901633759870976,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814529658609944576,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788863112000,"timestamp_ms":1788863112000,"timestamp_seconds":1788863112,"priority":1,"record_length":96,"hex_timestamp":"000001a0808ce340"} 
[2026-09-08 15:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:55:50] 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-09-08 15:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948956416001,"66":13037,"163":206,"87":13824,"24":9,"16":129901633759870976,"45":8814529658609944576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948956416001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:55:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129901633759870976,"km_value":129901633759870.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814529658609944576,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948956416001,"power":13037,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8814529658609944576}} 
[2026-09-08 15:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:50] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:50] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:51] local.INFO: TCP Data received {"connection_id":175843,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808c71f8012d0cafc0070491a00022015420..."} 
[2026-09-08 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808c71f8012d0cafc0070491a00022015420..."} 
[2026-09-08 15:55:51] local.INFO: Processing buffer {"connection_id":175843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808c71f8012d0cafc0070491a00022015420..."} 
[2026-09-08 15:55:51] local.INFO: Packet analysis {"connection_id":175843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:51] local.INFO: Extracted packet for processing {"connection_id":175843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":32,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948944128001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863083000,"timestamp_ms":1788863083000,"timestamp_seconds":1788863083,"priority":1,"record_length":96,"hex_timestamp":"000001a0808c71f8"} 
[2026-09-08 15:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948944128001,"66":14613,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948944128001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:55:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948944128001,"power":14613,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":175843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:51] local.INFO: GPS data processed {"connection_id":175843,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:51] local.INFO: Acknowledgment sent {"connection_id":175843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:52] local.INFO: TCP Data received {"connection_id":174519,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:55:52] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:55:52] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:55:53] local.INFO: TCP Data received {"connection_id":174519,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:53] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:53] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:53] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:53] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:53] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:53] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:55:59] local.INFO: TCP Data received {"connection_id":174519,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:59] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:55:59] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:59] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:55:59] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:55:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:55:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:55:59] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:55:59] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:00] local.INFO: TCP Data received {"connection_id":177313,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:56:00] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:56:00] local.INFO: IMEI packet received {"connection_id":177313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":177313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:56:05] local.INFO: TCP Data received {"connection_id":177313,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:56:05] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:56:05] local.INFO: IMEI packet received {"connection_id":177313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":177313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:56:06] local.INFO: TCP Data received {"connection_id":177313,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808b31a8012d196780071fed78003a011f2b..."} 
[2026-09-08 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808b31a8012d196780071fed78003a011f2b..."} 
[2026-09-08 15:56:06] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808b31a8012d196780071fed78003a011f2b..."} 
[2026-09-08 15:56:06] local.INFO: Packet analysis {"connection_id":177313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:56:06] local.INFO: Extracted packet for processing {"connection_id":177313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948922880001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] 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-09-08 15:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788863001000,"timestamp_ms":1788863001000,"timestamp_seconds":1788863001,"priority":1,"record_length":96,"hex_timestamp":"000001a0808b31a8"} 
[2026-09-08 15:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2156457864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2308407297,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3984064570,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:06] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,123,160,141,45,128,237,58,10,66,59,41,233,1,240,216,31,4,113,205,69,103,120,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 15:56:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179656198720585728,"timestamp_seconds":4179656198720585.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948922880001,"66":12526,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948922880001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948922880001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":177313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:06] local.INFO: GPS data processed {"connection_id":177313,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:06] local.INFO: Acknowledgment sent {"connection_id":177313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:08] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:56:08] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:56:08] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:56:14] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:56:14] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:56:14] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:56:14] local.INFO: TCP Data received {"connection_id":177314,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:14] local.INFO: Processing buffer {"connection_id":177314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:14] local.INFO: IMEI packet received {"connection_id":177314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":177314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:56:15] local.INFO: TCP Data received {"connection_id":177314,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:15] local.INFO: Processing buffer {"connection_id":177314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:15] local.INFO: IMEI packet received {"connection_id":177314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":177314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:56:15] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808ce728012d7a558005eb96e80000004a0c..."} 
[2026-09-08 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808ce728012d7a558005eb96e80000004a0c..."} 
[2026-09-08 15:56:15] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808ce728012d7a558005eb96e80000004a0c..."} 
[2026-09-08 15:56:15] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:56:15] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":762992000,"raw_latitude":99325672,"longitude_deg":76.2992,"latitude_deg":9.9325672,"altitude":0,"angle":74,"satellites":12,"speed":9,"hex_longitude":"2d7a5580","hex_latitude":"05eb96e8","is_valid_coordinates":true} 
[2026-09-08 15:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948956672001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129901646644772864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814811133586634752,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863113000,"timestamp_ms":1788863113000,"timestamp_seconds":1788863113,"priority":1,"record_length":96,"hex_timestamp":"000001a0808ce728"} 
[2026-09-08 15:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948956672001,"66":13602,"163":206,"87":13824,"24":9,"16":129901646644772864,"45":8814811133586634752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948956672001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:56:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129901646644772864,"km_value":129901646644772.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814811133586634752,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948956672001,"power":13602,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8814811133586634752}} 
[2026-09-08 15:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:15] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:15] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:19] local.INFO: TCP Data received {"connection_id":177314,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:19] local.INFO: Processing buffer {"connection_id":177314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:56:19] local.INFO: IMEI packet received {"connection_id":177314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":177314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:56:20] local.INFO: TCP Data received {"connection_id":177314,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808cc400012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808cc400012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:56:20] local.INFO: Processing buffer {"connection_id":177314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808cc400012d0cafc0070491a0002201541f..."} 
[2026-09-08 15:56:20] local.INFO: Packet analysis {"connection_id":177314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:56:20] local.INFO: Extracted packet for processing {"connection_id":177314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":31,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948949248001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863104000,"timestamp_ms":1788863104000,"timestamp_seconds":1788863104,"priority":1,"record_length":96,"hex_timestamp":"000001a0808cc400"} 
[2026-09-08 15:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948949248001,"66":14548,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948949248001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:56:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948949248001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":177314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:20] local.INFO: GPS data processed {"connection_id":177314,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:20] local.INFO: Acknowledgment sent {"connection_id":177314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:38] local.INFO: TCP Data received {"connection_id":177313,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808b83b0012d196780071fed78003a011f29..."} 
[2026-09-08 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808b83b0012d196780071fed78003a011f29..."} 
[2026-09-08 15:56:38] local.INFO: Processing buffer {"connection_id":177313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808b83b0012d196780071fed78003a011f29..."} 
[2026-09-08 15:56:38] local.INFO: Packet analysis {"connection_id":177313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:56:38] local.INFO: Extracted packet for processing {"connection_id":177313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948928256001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56: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-09-08 15:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788863022000,"timestamp_ms":1788863022000,"timestamp_seconds":1788863022,"priority":1,"record_length":96,"hex_timestamp":"000001a0808b83b0"} 
[2026-09-08 15:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948928256001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948928256001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948928256001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":177313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:38] local.INFO: GPS data processed {"connection_id":177313,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:38] local.INFO: Acknowledgment sent {"connection_id":177313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:42] local.INFO: TCP Data received {"connection_id":177315,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:56:42] local.INFO: Processing buffer {"connection_id":177315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:56:42] local.INFO: IMEI packet received {"connection_id":177315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":177315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:56:44] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:56:44] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 15:56:44] local.INFO: IMEI packet received {"connection_id":175844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 15:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":175844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:56:47] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d3548012d7a720005eb9fe8000000450c..."} 
[2026-09-08 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d3548012d7a720005eb9fe8000000450c..."} 
[2026-09-08 15:56:47] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d3548012d7a720005eb9fe8000000450c..."} 
[2026-09-08 15:56:47] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:56:47] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":762999296,"raw_latitude":99327976,"longitude_deg":76.2999296,"latitude_deg":9.9327976,"altitude":0,"angle":69,"satellites":12,"speed":20,"hex_longitude":"2d7a7200","hex_latitude":"05eb9fe8","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948956928001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129902011716993024,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815092608563341312,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788863133000,"timestamp_ms":1788863133000,"timestamp_seconds":1788863133,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d3548"} 
[2026-09-08 15:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948956928001,"66":13798,"163":206,"87":13824,"24":20,"16":129902011716993024,"45":8815092608563341312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-08 15:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948956928001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 15:56:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129902011716993024,"km_value":129902011716993.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815092608563341312,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948956928001,"power":13798,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8815092608563341312}} 
[2026-09-08 15:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:47] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:47] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:47] local.INFO: TCP Data received {"connection_id":177315,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:56:47] local.INFO: Processing buffer {"connection_id":177315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:56:47] local.INFO: IMEI packet received {"connection_id":177315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":177315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:56:49] local.INFO: TCP Data received {"connection_id":177315,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:56:49] local.INFO: Processing buffer {"connection_id":177315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:56:49] local.INFO: Packet analysis {"connection_id":177315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:56:49] local.INFO: Extracted packet for processing {"connection_id":177315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:56:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":177315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:49] local.INFO: GPS data processed {"connection_id":177315,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:49] local.INFO: Acknowledgment sent {"connection_id":177315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:56:51] local.INFO: TCP Data received {"connection_id":177314,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d1608012d0cafc0070491a00022015420..."} 
[2026-09-08 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d1608012d0cafc0070491a00022015420..."} 
[2026-09-08 15:56:51] local.INFO: Processing buffer {"connection_id":177314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d1608012d0cafc0070491a00022015420..."} 
[2026-09-08 15:56:51] local.INFO: Packet analysis {"connection_id":177314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:56:51] local.INFO: Extracted packet for processing {"connection_id":177314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":32,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948954624001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863125000,"timestamp_ms":1788863125000,"timestamp_seconds":1788863125,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d1608"} 
[2026-09-08 15:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 15:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948954624001,"66":14548,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948954624001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:56:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:56:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948954624001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":177314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784265,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:56:51] local.INFO: GPS data processed {"connection_id":177314,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:56:51] local.INFO: Acknowledgment sent {"connection_id":177314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:00] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:57:00] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:57:00] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:57:06] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:57:06] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:57:06] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:57:08] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808bd5b8012d196780071fed78003a011f2c..."} 
[2026-09-08 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808bd5b8012d196780071fed78003a011f2c..."} 
[2026-09-08 15:57:08] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808bd5b8012d196780071fed78003a011f2c..."} 
[2026-09-08 15:57:08] local.INFO: Packet analysis {"connection_id":174791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:57:08] local.INFO: Extracted packet for processing {"connection_id":174791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808b"} 
[2026-09-08 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948933632001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57: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-09-08 15:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788863043000,"timestamp_ms":1788863043000,"timestamp_seconds":1788863043,"priority":1,"record_length":96,"hex_timestamp":"000001a0808bd5b8"} 
[2026-09-08 15:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948933632001,"66":11961,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948933632001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948933632001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":174791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:08] local.INFO: GPS data processed {"connection_id":174791,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:08] local.INFO: Acknowledgment sent {"connection_id":174791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:14] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:14] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:14] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:57:16] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:16] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:16] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:57:18] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d6040012d7a8a4005eba818000000510c..."} 
[2026-09-08 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d6040012d7a8a4005eba818000000510c..."} 
[2026-09-08 15:57:18] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d6040012d7a8a4005eba818000000510c..."} 
[2026-09-08 15:57:18] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:18] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763005504,"raw_latitude":99330072,"longitude_deg":76.3005504,"latitude_deg":9.9330072,"altitude":0,"angle":81,"satellites":12,"speed":16,"hex_longitude":"2d7a8a40","hex_latitude":"05eba818","is_valid_coordinates":true} 
[2026-09-08 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948962048001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129902329544572928,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823114645400184832,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788863144000,"timestamp_ms":1788863144000,"timestamp_seconds":1788863144,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d6040"} 
[2026-09-08 15:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:57: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:57:18] 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-09-08 15:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948962048001,"66":13689,"161":206,"87":13824,"24":16,"16":129902329544572928,"45":8823114645400184832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 15:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948962048001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 15:57:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129902329544572928,"km_value":129902329544572.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823114645400184832,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948962048001,"power":13689,"unknown_161":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8823114645400184832}} 
[2026-09-08 15:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:18] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:18] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:19] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:19] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:57:19] local.INFO: IMEI packet received {"connection_id":175845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":175845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:57:20] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d6810012d0cafc0070491a00022015422..."} 
[2026-09-08 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d6810012d0cafc0070491a00022015422..."} 
[2026-09-08 15:57:20] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d6810012d0cafc0070491a00022015422..."} 
[2026-09-08 15:57:20] local.INFO: Packet analysis {"connection_id":175845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:20] local.INFO: Extracted packet for processing {"connection_id":175845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117739936,"longitude_deg":75.5806144,"latitude_deg":11.7739936,"altitude":34,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2d0cafc0","hex_latitude":"070491a0","is_valid_coordinates":true} 
[2026-09-08 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948960000001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759245808926720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863146000,"timestamp_ms":1788863146000,"timestamp_seconds":1788863146,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d6810"} 
[2026-09-08 15:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948960000001,"66":14537,"95":206,"94":10240,"24":0,"16":30759245808926720,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948960000001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:57:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759245808926720,"km_value":30759245808926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948960000001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":175845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:20] local.INFO: GPS data processed {"connection_id":175845,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:20] local.INFO: Acknowledgment sent {"connection_id":175845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:21] local.INFO: TCP Data received {"connection_id":177315,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:57:21] local.INFO: Processing buffer {"connection_id":177315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:57:21] local.INFO: Packet analysis {"connection_id":177315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:57:21] local.INFO: Extracted packet for processing {"connection_id":177315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:57:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":177315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:21] local.INFO: GPS data processed {"connection_id":177315,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:21] local.INFO: Acknowledgment sent {"connection_id":177315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:39] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808c27c0012d196780071fed78003a011f2d..."} 
[2026-09-08 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808c27c0012d196780071fed78003a011f2d..."} 
[2026-09-08 15:57:39] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808c27c0012d196780071fed78003a011f2d..."} 
[2026-09-08 15:57:39] local.INFO: Packet analysis {"connection_id":174791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:57:39] local.INFO: Extracted packet for processing {"connection_id":174791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948939008001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57: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-09-08 15:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863064000,"timestamp_ms":1788863064000,"timestamp_seconds":1788863064,"priority":1,"record_length":96,"hex_timestamp":"000001a0808c27c0"} 
[2026-09-08 15:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948939008001,"66":12504,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948939008001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948939008001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":174791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:39] local.INFO: GPS data processed {"connection_id":174791,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:39] local.INFO: Acknowledgment sent {"connection_id":174791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:41] local.INFO: TCP Data received {"connection_id":174520,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:57:41] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:57:41] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:57:47] local.INFO: TCP Data received {"connection_id":174520,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:57:47] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:57:47] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:57:48] local.INFO: TCP Data received {"connection_id":174520,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:57:48] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808a6e58012d4cdf00068f46980045009a2d..."} 
[2026-09-08 15:57:48] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:57:48] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808a"} 
[2026-09-08 15:57:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":69,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948838400001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788862951000,"timestamp_ms":1788862951000,"timestamp_seconds":1788862951,"priority":1,"record_length":96,"hex_timestamp":"000001a0808a6e58"} 
[2026-09-08 15:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948838400001,"66":25832,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948838400001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:57:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948838400001,"power":25832,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:48] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:48] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:51] local.INFO: TCP Data received {"connection_id":175845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d7f80012d0caf00070493e80020014222..."} 
[2026-09-08 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d7f80012d0caf00070493e80020014222..."} 
[2026-09-08 15:57:51] local.INFO: Processing buffer {"connection_id":175845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d7f80012d0caf00070493e80020014222..."} 
[2026-09-08 15:57:51] local.INFO: Packet analysis {"connection_id":175845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:51] local.INFO: Extracted packet for processing {"connection_id":175845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755805952,"raw_latitude":117740520,"longitude_deg":75.5805952,"latitude_deg":11.774052,"altitude":32,"angle":322,"satellites":34,"speed":4,"hex_longitude":"2d0caf00","hex_latitude":"070493e8","is_valid_coordinates":true} 
[2026-09-08 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759280168665088,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914160385753456640,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863152000,"timestamp_ms":1788863152000,"timestamp_seconds":1788863152,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d7f80"} 
[2026-09-08 15:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948965376001,"66":14026,"95":206,"94":10240,"24":4,"16":30759280168665088,"45":914160385753456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759280168665088,"km_value":30759280168665.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":914160385753456640,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948965376001,"power":14026,"unknown_95":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":914160385753456640}} 
[2026-09-08 15:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":175845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:52] local.INFO: GPS data processed {"connection_id":175845,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:52] local.INFO: Acknowledgment sent {"connection_id":175845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:57:53] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d6fe0012d7a91c005ebaa48000000430c..."} 
[2026-09-08 15:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d6fe0012d7a91c005ebaa48000000430c..."} 
[2026-09-08 15:57:53] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d6fe0012d7a91c005ebaa48000000430c..."} 
[2026-09-08 15:57:53] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:53] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763007424,"raw_latitude":99330632,"longitude_deg":76.3007424,"latitude_deg":9.9330632,"altitude":0,"angle":67,"satellites":12,"speed":18,"hex_longitude":"2d7a91c0","hex_latitude":"05ebaa48","is_valid_coordinates":true} 
[2026-09-08 15:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948964864001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129902424033853440,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829940413585954816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788863148000,"timestamp_ms":1788863148000,"timestamp_seconds":1788863148,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d6fe0"} 
[2026-09-08 15:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 15:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:57:53] 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-09-08 15:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948964864001,"66":13406,"161":206,"87":13824,"24":18,"16":129902424033853440,"45":8829940413585954816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 15:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948964864001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:57:53] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 15:57:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129902424033853440,"km_value":129902424033853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829940413585954816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948964864001,"power":13406,"unknown_161":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8829940413585954816}} 
[2026-09-08 15:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:57:53] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:57:53] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:00] local.INFO: TCP Data received {"connection_id":177316,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:58:00] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:58:00] local.INFO: IMEI packet received {"connection_id":177316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":177316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:58:06] local.INFO: TCP Data received {"connection_id":177316,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:58:06] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:58:06] local.INFO: IMEI packet received {"connection_id":177316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":177316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:58:08] local.INFO: TCP Data received {"connection_id":177316,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808c75e0012d196780071fed78003a011f2c..."} 
[2026-09-08 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808c75e0012d196780071fed78003a011f2c..."} 
[2026-09-08 15:58:08] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808c75e0012d196780071fed78003a011f2c..."} 
[2026-09-08 15:58:08] local.INFO: Packet analysis {"connection_id":177316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:58:08] local.INFO: Extracted packet for processing {"connection_id":177316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948944384001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15: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-09-08 15:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788863084000,"timestamp_ms":1788863084000,"timestamp_seconds":1788863084,"priority":1,"record_length":96,"hex_timestamp":"000001a0808c75e0"} 
[2026-09-08 15:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948944384001,"66":12548,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948944384001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948944384001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":177316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:08] local.INFO: GPS data processed {"connection_id":177316,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:08] local.INFO: Acknowledgment sent {"connection_id":177316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:08] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:08] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:08] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:58:13] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:13] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:13] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:58:14] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:14] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:14] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:58:14] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:14] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:58:14] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:58:16] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:16] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:16] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:58:17] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808da2a8012d7ab5c005ebb758000000450d..."} 
[2026-09-08 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808da2a8012d7ab5c005ebb758000000450d..."} 
[2026-09-08 15:58:17] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808da2a8012d7ab5c005ebb758000000450d..."} 
[2026-09-08 15:58:17] local.INFO: Packet analysis {"connection_id":174793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:58:17] local.INFO: Extracted packet for processing {"connection_id":174793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763016640,"raw_latitude":99333976,"longitude_deg":76.301664,"latitude_deg":9.9333976,"altitude":0,"angle":69,"satellites":13,"speed":26,"hex_longitude":"2d7ab5c0","hex_latitude":"05ebb758","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948965888001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129902896480256000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832051475911428096,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788863161000,"timestamp_ms":1788863161000,"timestamp_seconds":1788863161,"priority":1,"record_length":96,"hex_timestamp":"000001a0808da2a8"} 
[2026-09-08 15:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:58:17] 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-09-08 15:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948965888001,"66":13559,"161":206,"87":13824,"24":26,"16":129902896480256000,"45":8832051475911428096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-08 15:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948965888001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 15:58:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129902896480256000,"km_value":129902896480256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832051475911428096,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948965888001,"power":13559,"unknown_161":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8832051475911428096}} 
[2026-09-08 15:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":174793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:17] local.INFO: GPS data processed {"connection_id":174793,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:17] local.INFO: Acknowledgment sent {"connection_id":174793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:19] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:19] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:58:19] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:58:19] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808dd570012d7ad74005ebc6500000003f0d..."} 
[2026-09-08 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808dd570012d7ad74005ebc6500000003f0d..."} 
[2026-09-08 15:58:19] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808dd570012d7ad74005ebc6500000003f0d..."} 
[2026-09-08 15:58:19] local.INFO: Packet analysis {"connection_id":174793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:58:19] local.INFO: Extracted packet for processing {"connection_id":174793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":99337808,"longitude_deg":76.3025216,"latitude_deg":9.9337808,"altitude":0,"angle":63,"satellites":13,"speed":25,"hex_longitude":"2d7ad740","hex_latitude":"05ebc650","is_valid_coordinates":true} 
[2026-09-08 15:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948969216001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129903343156854784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842184575073867776,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788863174000,"timestamp_ms":1788863174000,"timestamp_seconds":1788863174,"priority":1,"record_length":96,"hex_timestamp":"000001a0808dd570"} 
[2026-09-08 15:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:58:19] 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-09-08 15:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948969216001,"66":13515,"99":206,"87":13824,"24":25,"16":129903343156854784,"45":8842184575073867776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948969216001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:19] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:58:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129903343156854784,"km_value":129903343156854.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842184575073867776,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948969216001,"power":13515,"unknown_99":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8842184575073867776}} 
[2026-09-08 15:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":174793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:19] local.INFO: GPS data processed {"connection_id":174793,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:19] local.INFO: Acknowledgment sent {"connection_id":174793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:20] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808dcda0012d0caf00070494300020013f22..."} 
[2026-09-08 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808dcda0012d0caf00070494300020013f22..."} 
[2026-09-08 15:58:20] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808dcda0012d0caf00070494300020013f22..."} 
[2026-09-08 15:58:20] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:58:20] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":755805952,"raw_latitude":117740592,"longitude_deg":75.5805952,"latitude_deg":11.7740592,"altitude":32,"angle":319,"satellites":34,"speed":0,"hex_longitude":"2d0caf00","hex_latitude":"07049430","is_valid_coordinates":true} 
[2026-09-08 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-09-08 15:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948966912001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30759284463632384,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913949279521073152,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863172000,"timestamp_ms":1788863172000,"timestamp_seconds":1788863172,"priority":1,"record_length":96,"hex_timestamp":"000001a0808dcda0"} 
[2026-09-08 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-09-08 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 15:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948966912001,"66":14591,"95":206,"94":10240,"24":0,"16":30759284463632384,"45":913949279521073152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948966912001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:58:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30759284463632384,"km_value":30759284463632.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":913949279521073152,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948966912001,"power":14591,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913949279521073152}} 
[2026-09-08 15:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:20] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:20] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:21] local.INFO: TCP Data received {"connection_id":174520,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:58:21] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:58:21] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:58:21] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:58:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:21] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:21] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:39] local.INFO: TCP Data received {"connection_id":177316,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808cc7e8012d196780071fed78003a011f2a..."} 
[2026-09-08 15:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808cc7e8012d196780071fed78003a011f2a..."} 
[2026-09-08 15:58:39] local.INFO: Processing buffer {"connection_id":177316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808cc7e8012d196780071fed78003a011f2a..."} 
[2026-09-08 15:58:39] local.INFO: Packet analysis {"connection_id":177316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:58:39] local.INFO: Extracted packet for processing {"connection_id":177316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808c"} 
[2026-09-08 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948949504001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58: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-09-08 15:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863105000,"timestamp_ms":1788863105000,"timestamp_seconds":1788863105,"priority":1,"record_length":96,"hex_timestamp":"000001a0808cc7e8"} 
[2026-09-08 15:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2156563864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2335287297,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3984064570,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,123,160,39,45,128,237,58,10,66,213,44,131,1,240,173,31,4,113,205,223,103,120,43,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 15:58:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179656203015553024,"timestamp_seconds":4179656203015553.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 15:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948949504001,"66":11874,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948949504001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948949504001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":177316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:39] local.INFO: GPS data processed {"connection_id":177316,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:39] local.INFO: Acknowledgment sent {"connection_id":177316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:42] local.INFO: TCP Data received {"connection_id":175847,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:58:42] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:58:42] local.INFO: IMEI packet received {"connection_id":175847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":175847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:58:47] local.INFO: TCP Data received {"connection_id":175847,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:58:47] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:58:47] local.INFO: IMEI packet received {"connection_id":175847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":175847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:58:49] local.INFO: TCP Data received {"connection_id":175847,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:58:49] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:58:49] local.INFO: Packet analysis {"connection_id":175847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:58:49] local.INFO: Extracted packet for processing {"connection_id":175847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:58:49] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 15:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:58:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":175847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:49] local.INFO: GPS data processed {"connection_id":175847,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:49] local.INFO: Acknowledgment sent {"connection_id":175847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:51] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808e1008012d7af84005ebd6900000003f0e..."} 
[2026-09-08 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808e1008012d7af84005ebd6900000003f0e..."} 
[2026-09-08 15:58:51] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808e1008012d7af84005ebd6900000003f0e..."} 
[2026-09-08 15:58:51] local.INFO: Packet analysis {"connection_id":174793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:58:51] local.INFO: Extracted packet for processing {"connection_id":174793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763033664,"raw_latitude":99341968,"longitude_deg":76.3033664,"latitude_deg":9.9341968,"altitude":0,"angle":63,"satellites":14,"speed":23,"hex_longitude":"2d7af840","hex_latitude":"05ebd690","is_valid_coordinates":true} 
[2026-09-08 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948972544001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129903794128420864,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851613986794655744,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863189000,"timestamp_ms":1788863189000,"timestamp_seconds":1788863189,"priority":1,"record_length":96,"hex_timestamp":"000001a0808e1008"} 
[2026-09-08 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948972544001,"66":13515,"99":206,"87":13824,"24":23,"16":129903794128420864,"45":8851613986794655744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948972544001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129903794128420864,"km_value":129903794128420.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851613986794655744,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948972544001,"power":13515,"unknown_99":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8851613986794655744}} 
[2026-09-08 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":174793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:51] local.INFO: GPS data processed {"connection_id":174793,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:51] local.INFO: Acknowledgment sent {"connection_id":174793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:58:51] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808fb9d0012d0c8c800704d1d8001d011e1f..."} 
[2026-09-08 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808fb9d0012d0c8c800704d1d8001d011e1f..."} 
[2026-09-08 15:58:51] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808fb9d0012d0c8c800704d1d8001d011e1f..."} 
[2026-09-08 15:58:51] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:58:51] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117756376,"longitude_deg":75.579712,"latitude_deg":11.7756376,"altitude":29,"angle":286,"satellites":31,"speed":5,"hex_longitude":"2d0c8c80","hex_latitude":"0704d1d8","is_valid_coordinates":true} 
[2026-09-08 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949003264001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760186406764544,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904801342781925376,"note":"Value kept but may cause issues"} 
[2026-09-08 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863298000,"timestamp_ms":1788863298000,"timestamp_seconds":1788863298,"priority":1,"record_length":96,"hex_timestamp":"000001a0808fb9d0"} 
[2026-09-08 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949003264001,"66":14678,"95":206,"94":10240,"24":5,"16":30760186406764544,"45":904801342781925376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949003264001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760186406764544,"km_value":30760186406764.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":904801342781925376,"description":"Unknown IO ID 45"} 
[2026-09-08 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949003264001,"power":14678,"unknown_95":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":904801342781925376}} 
[2026-09-08 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:58:51] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:58:51] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:06] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:59:06] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:59:06] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 15:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:59:10] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:59:10] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 15:59:10] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:59:11] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d19f0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d19f0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:59:11] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d19f0012d196780071fed78003a011f2b..."} 
[2026-09-08 15:59:11] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:59:11] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948954880001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59: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-09-08 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788863126000,"timestamp_ms":1788863126000,"timestamp_seconds":1788863126,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d19f0"} 
[2026-09-08 15:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948954880001,"66":12526,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948954880001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948954880001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:12] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:12] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:14] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:59:14] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:59:14] local.INFO: IMEI packet received {"connection_id":177317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 15:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":177317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:59:17] local.INFO: TCP Data received {"connection_id":174521,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808d6bf8012d196780071fed78003a011f2d..."} 
[2026-09-08 15:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808d6bf8012d196780071fed78003a011f2d..."} 
[2026-09-08 15:59:17] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808d6bf8012d196780071fed78003a011f2d..."} 
[2026-09-08 15:59:17] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:59:17] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 15:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948960256001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59: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-09-08 15:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788863147000,"timestamp_ms":1788863147000,"timestamp_seconds":1788863147,"priority":1,"record_length":96,"hex_timestamp":"000001a0808d6bf8"} 
[2026-09-08 15:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 15:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 15:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 15:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948960256001,"66":12515,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 15:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 15:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 15:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948960256001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 15:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 15:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948960256001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 15:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:17] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:17] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:19] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:59:19] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 15:59:19] local.INFO: IMEI packet received {"connection_id":177317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 15:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":177317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:59:19] local.INFO: TCP Data received {"connection_id":177318,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:59:19] local.INFO: Processing buffer {"connection_id":177318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:59:19] local.INFO: IMEI packet received {"connection_id":177318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 15:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":177318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:59:20] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808e5e28012d7b108005ebe3300000003e10..."} 
[2026-09-08 15:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808e5e28012d7b108005ebe3300000003e10..."} 
[2026-09-08 15:59:20] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808e5e28012d7b108005ebe3300000003e10..."} 
[2026-09-08 15:59:20] local.INFO: Packet analysis {"connection_id":177317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:59:20] local.INFO: Extracted packet for processing {"connection_id":177317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:59:20] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":99345200,"longitude_deg":76.3039872,"latitude_deg":9.93452,"altitude":0,"angle":62,"satellites":16,"speed":13,"hex_longitude":"2d7b1080","hex_latitude":"05ebe330","is_valid_coordinates":true} 
[2026-09-08 15:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948976384001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129904129135869952,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860902661027172352,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863209000,"timestamp_ms":1788863209000,"timestamp_seconds":1788863209,"priority":1,"record_length":96,"hex_timestamp":"000001a0808e5e28"} 
[2026-09-08 15:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948976384001,"66":13526,"99":206,"87":13824,"24":13,"16":129904129135869952,"45":8860902661027172352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948976384001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:20] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:59:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129904129135869952,"km_value":129904129135869.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860902661027172352,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948976384001,"power":13526,"unknown_99":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8860902661027172352}} 
[2026-09-08 15:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":177317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:20] local.INFO: GPS data processed {"connection_id":177317,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:20] local.INFO: Acknowledgment sent {"connection_id":177317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:21] local.INFO: TCP Data received {"connection_id":175847,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:59:21] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:59:21] local.INFO: Packet analysis {"connection_id":175847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:59:21] local.INFO: Extracted packet for processing {"connection_id":175847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 15:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":175847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:21] local.INFO: GPS data processed {"connection_id":175847,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:21] local.INFO: Acknowledgment sent {"connection_id":175847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:22] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808eb030012d7b2b8005ebf130000f003f10..."} 
[2026-09-08 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808eb030012d7b2b8005ebf130000f003f10..."} 
[2026-09-08 15:59:22] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808eb030012d7b2b8005ebf130000f003f10..."} 
[2026-09-08 15:59:22] local.INFO: Packet analysis {"connection_id":177317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:59:22] local.INFO: Extracted packet for processing {"connection_id":177317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":99348784,"longitude_deg":76.3046784,"latitude_deg":9.9348784,"altitude":15,"angle":63,"satellites":16,"speed":13,"hex_longitude":"2d7b2b80","hex_latitude":"05ebf130","is_valid_coordinates":true} 
[2026-09-08 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948981504001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129904507092992000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429213233152,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788863230000,"timestamp_ms":1788863230000,"timestamp_seconds":1788863230,"priority":1,"record_length":96,"hex_timestamp":"000001a0808eb030"} 
[2026-09-08 15:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:59:22] 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-09-08 15:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948981504001,"66":13374,"99":206,"87":13824,"24":13,"16":129904507092992000,"45":8867728429213233152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948981504001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129904507092992000,"km_value":129904507092992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429213233152,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948981504001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8867728429213233152}} 
[2026-09-08 15:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":177317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:22] local.INFO: GPS data processed {"connection_id":177317,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:22] local.INFO: Acknowledgment sent {"connection_id":177317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:24] local.INFO: TCP Data received {"connection_id":177318,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:59:24] local.INFO: Processing buffer {"connection_id":177318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 15:59:24] local.INFO: IMEI packet received {"connection_id":177318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":177318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:59:25] local.INFO: TCP Data received {"connection_id":177318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0808fd528012d0c84800704d388001b010e21..."} 
[2026-09-08 15:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808fd528012d0c84800704d388001b010e21..."} 
[2026-09-08 15:59:25] local.INFO: Processing buffer {"connection_id":177318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808fd528012d0c84800704d388001b010e21..."} 
[2026-09-08 15:59:25] local.INFO: Packet analysis {"connection_id":177318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:59:25] local.INFO: Extracted packet for processing {"connection_id":177318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:59:25] local.INFO: GPS Element Parsed {"raw_longitude":755795072,"raw_latitude":117756808,"longitude_deg":75.5795072,"latitude_deg":11.7756808,"altitude":27,"angle":270,"satellites":33,"speed":12,"hex_longitude":"2d0c8480","hex_latitude":"0704d388","is_valid_coordinates":true} 
[2026-09-08 15:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949004288001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760285191012352,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904238392828614656,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788863305000,"timestamp_ms":1788863305000,"timestamp_seconds":1788863305,"priority":1,"record_length":96,"hex_timestamp":"000001a0808fd528"} 
[2026-09-08 15:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949004288001,"66":14548,"95":206,"94":10240,"24":12,"16":30760285191012352,"45":904238392828614656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949004288001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:59:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760285191012352,"km_value":30760285191012.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":904238392828614656,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949004288001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":904238392828614656}} 
[2026-09-08 15:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":177318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:25] local.INFO: GPS data processed {"connection_id":177318,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:25] local.INFO: Acknowledgment sent {"connection_id":177318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:41] local.INFO: TCP Data received {"connection_id":174795,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:59:41] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:59:41] local.INFO: IMEI packet received {"connection_id":174795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":174795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 15:59:47] local.INFO: TCP Data received {"connection_id":174795,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:59:47] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 15:59:47] local.INFO: IMEI packet received {"connection_id":174795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 15:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 15:59:50] local.INFO: TCP Data received {"connection_id":174795,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:59:50] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 15:59:50] local.INFO: Packet analysis {"connection_id":174795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:59:50] local.INFO: Extracted packet for processing {"connection_id":174795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 15:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 15:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 15:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 15:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 15:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 15:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 15:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 15:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 15:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 15:59:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 15:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 15:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":174795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:50] local.INFO: GPS data processed {"connection_id":174795,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:50] local.INFO: Acknowledgment sent {"connection_id":174795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:53] local.INFO: TCP Data received {"connection_id":177317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808efa68012d7b4c4005ec01400015004210..."} 
[2026-09-08 15:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808efa68012d7b4c4005ec01400015004210..."} 
[2026-09-08 15:59:53] local.INFO: Processing buffer {"connection_id":177317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808efa68012d7b4c4005ec01400015004210..."} 
[2026-09-08 15:59:53] local.INFO: Packet analysis {"connection_id":177317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:59:53] local.INFO: Extracted packet for processing {"connection_id":177317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 15:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99352896,"longitude_deg":76.3055168,"latitude_deg":9.9352896,"altitude":21,"angle":66,"satellites":16,"speed":24,"hex_longitude":"2d7b4c40","hex_latitude":"05ec0140","is_valid_coordinates":true} 
[2026-09-08 15:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 15:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948986880001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129904953769590784,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253585338368,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788863249000,"timestamp_ms":1788863249000,"timestamp_seconds":1788863249,"priority":1,"record_length":96,"hex_timestamp":"000001a0808efa68"} 
[2026-09-08 15:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 15:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 15:59:53] 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-09-08 15:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 15:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 15:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948986880001,"66":13504,"99":206,"87":13824,"24":24,"16":129904953769590784,"45":8875328253585338368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 15:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 15:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 15:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948986880001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:53] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 15:59:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 15:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129904953769590784,"km_value":129904953769590.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253585338368,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948986880001,"power":13504,"unknown_99":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8875328253585338368}} 
[2026-09-08 15:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":177317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:53] local.INFO: GPS data processed {"connection_id":177317,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:53] local.INFO: Acknowledgment sent {"connection_id":177317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 15:59:56] local.INFO: TCP Data received {"connection_id":177318,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080902348012d0c81c00704d398001a010d1f..."} 
[2026-09-08 15:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080902348012d0c81c00704d398001a010d1f..."} 
[2026-09-08 15:59:56] local.INFO: Processing buffer {"connection_id":177318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080902348012d0c81c00704d398001a010d1f..."} 
[2026-09-08 15:59:56] local.INFO: Packet analysis {"connection_id":177318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08090"} 
[2026-09-08 15:59:56] local.INFO: Extracted packet for processing {"connection_id":177318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08090"} 
[2026-09-08 15:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755794368,"raw_latitude":117756824,"longitude_deg":75.5794368,"latitude_deg":11.7756824,"altitude":26,"angle":269,"satellites":31,"speed":0,"hex_longitude":"2d0c81c0","hex_latitude":"0704d398","is_valid_coordinates":true} 
[2026-09-08 15: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-09-08 15:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949006080001,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760319550750720,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901986593015040000,"note":"Value kept but may cause issues"} 
[2026-09-08 15:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 15:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788863325000,"timestamp_ms":1788863325000,"timestamp_seconds":1788863325,"priority":1,"record_length":96,"hex_timestamp":"000001a080902348"} 
[2026-09-08 15:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 15:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 15:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 15: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-09-08 15:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 15:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 15:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 15:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 15:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 15:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 15:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 15:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949006080001,"66":14548,"95":206,"94":10240,"24":0,"16":30760319550750720,"45":901986593015040000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 15:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 15:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 15:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949006080001,"description":"Unknown IO ID 0"} 
[2026-09-08 15:59:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 15:59:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 15:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760319550750720,"km_value":30760319550750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 15:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":901986593015040000,"description":"Unknown IO ID 45"} 
[2026-09-08 15:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949006080001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":901986593015040000}} 
[2026-09-08 15:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":177318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 15:59:56] local.INFO: GPS data processed {"connection_id":177318,"processed":1,"errors":0,"total":1} 
[2026-09-08 15:59:56] local.INFO: Acknowledgment sent {"connection_id":177318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:00] local.INFO: TCP Data received {"connection_id":177319,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:00] local.INFO: Processing buffer {"connection_id":177319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:00] local.INFO: IMEI packet received {"connection_id":177319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":177319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:00:06] local.INFO: TCP Data received {"connection_id":177319,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:06] local.INFO: Processing buffer {"connection_id":177319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:06] local.INFO: IMEI packet received {"connection_id":177319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":177319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:00:08] local.INFO: TCP Data received {"connection_id":177319,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808dbe00012d196780071fed78003a011f2c..."} 
[2026-09-08 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808dbe00012d196780071fed78003a011f2c..."} 
[2026-09-08 16:00:08] local.INFO: Processing buffer {"connection_id":177319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808dbe00012d196780071fed78003a011f2c..."} 
[2026-09-08 16:00:08] local.INFO: Packet analysis {"connection_id":177319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 16:00:08] local.INFO: Extracted packet for processing {"connection_id":177319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808d"} 
[2026-09-08 16:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948965632001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00: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-09-08 16:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788863168000,"timestamp_ms":1788863168000,"timestamp_seconds":1788863168,"priority":1,"record_length":96,"hex_timestamp":"000001a0808dbe00"} 
[2026-09-08 16:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948965632001,"66":12504,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948965632001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948965632001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":177319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:08] local.INFO: GPS data processed {"connection_id":177319,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:08] local.INFO: Acknowledgment sent {"connection_id":177319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:09] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:00:09] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:00:09] local.INFO: IMEI packet received {"connection_id":174796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":174796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:00:11] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:11] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:11] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:00:14] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:00:14] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:00:14] local.INFO: IMEI packet received {"connection_id":174796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":174796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:00:14] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:14] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:14] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:00:15] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f3118012d7b6f4005ec0e280017004812..."} 
[2026-09-08 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f3118012d7b6f4005ec0e280017004812..."} 
[2026-09-08 16:00:15] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f3118012d7b6f4005ec0e280017004812..."} 
[2026-09-08 16:00:15] local.INFO: Packet analysis {"connection_id":174796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:15] local.INFO: Extracted packet for processing {"connection_id":174796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763064128,"raw_latitude":99356200,"longitude_deg":76.3064128,"latitude_deg":9.93562,"altitude":23,"angle":72,"satellites":18,"speed":27,"hex_longitude":"2d7b6f40","hex_latitude":"05ec0e28","is_valid_coordinates":true} 
[2026-09-08 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948991744001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129905409036124160,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546559073665024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863263000,"timestamp_ms":1788863263000,"timestamp_seconds":1788863263,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f3118"} 
[2026-09-08 16:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948991744001,"66":13319,"99":206,"87":13824,"24":27,"16":129905409036124160,"45":8884546559073665024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-08 16:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948991744001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:15] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-08 16:00:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129905409036124160,"km_value":129905409036124.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546559073665024,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948991744001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8884546559073665024}} 
[2026-09-08 16:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":174796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:15] local.INFO: GPS data processed {"connection_id":174796,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:15] local.INFO: Acknowledgment sent {"connection_id":174796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:16] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f67c8012d7b910005ec18800017004913..."} 
[2026-09-08 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f67c8012d7b910005ec18800017004913..."} 
[2026-09-08 16:00:16] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f67c8012d7b910005ec18800017004913..."} 
[2026-09-08 16:00:16] local.INFO: Packet analysis {"connection_id":174796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:16] local.INFO: Extracted packet for processing {"connection_id":174796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763072768,"raw_latitude":99358848,"longitude_deg":76.3072768,"latitude_deg":9.9358848,"altitude":23,"angle":73,"satellites":19,"speed":27,"hex_longitude":"2d7b9100","hex_latitude":"05ec1880","is_valid_coordinates":true} 
[2026-09-08 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948995328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129905838532853760,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894398183259383808,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788863277000,"timestamp_ms":1788863277000,"timestamp_seconds":1788863277,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f67c8"} 
[2026-09-08 16:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2156765864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2383415297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-6176686888934241280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2187788288,"corrected_to":0} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827396,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3954661376,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57752539752191798,"corrected_to":0} 
[2026-09-08 16:00:16] local.WARNING: Large IO value detected {"io_id":141,"raw_value":8061444627834716165,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,99,87,24,241,157,16,132,160,250,45,64,1,21,10,66,131,176,128,15,94,240,214,227,235,4,113,205,23,213,215,80,13,239,52,2,5,26,247,141],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2187788288,"validated":0},{"io_id":247,"original":57752539752191798,"validated":0}]} 
[2026-09-08 16:00:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657403905020723200,"timestamp_seconds":1657403905020723.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948995328001,"66":13678,"198":206,"87":13824,"24":27,"16":129905838532853760,"45":8894398183259383808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948995328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:00:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129905838532853760,"km_value":129905838532853.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894398183259383808,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948995328001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8894398183259383808}} 
[2026-09-08 16:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":174796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:16] local.INFO: GPS data processed {"connection_id":174796,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:16] local.INFO: Acknowledgment sent {"connection_id":174796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:19] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:19] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:00:19] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:00:20] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080907550012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080907550012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:00:20] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080907550012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:00:20] local.INFO: Packet analysis {"connection_id":174522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08090"} 
[2026-09-08 16:00:20] local.INFO: Extracted packet for processing {"connection_id":174522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08090"} 
[2026-09-08 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":755794368,"raw_latitude":117756824,"longitude_deg":75.5794368,"latitude_deg":11.7756824,"altitude":26,"angle":269,"satellites":31,"speed":0,"hex_longitude":"2d0c81c0","hex_latitude":"0704d398","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949011200001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760319550750720,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536829089792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863346000,"timestamp_ms":1788863346000,"timestamp_seconds":1788863346,"priority":1,"record_length":96,"hex_timestamp":"000001a080907550"} 
[2026-09-08 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949011200001,"66":14428,"95":206,"94":10240,"24":0,"16":30760319550750720,"45":901212536829089792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949011200001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:00:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760319550750720,"km_value":30760319550750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536829089792,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949011200001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":901212536829089792}} 
[2026-09-08 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784295,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:20] local.INFO: GPS data processed {"connection_id":174522,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:20] local.INFO: Acknowledgment sent {"connection_id":174522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:22] local.INFO: TCP Data received {"connection_id":174795,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:00:22] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:00:22] local.INFO: Packet analysis {"connection_id":174795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:22] local.INFO: Extracted packet for processing {"connection_id":174795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 16:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":174795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:22] local.INFO: GPS data processed {"connection_id":174795,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:22] local.INFO: Acknowledgment sent {"connection_id":174795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:39] local.INFO: TCP Data received {"connection_id":177319,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808e13f0012d196780071fed78003a011f2b..."} 
[2026-09-08 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808e13f0012d196780071fed78003a011f2b..."} 
[2026-09-08 16:00:39] local.INFO: Processing buffer {"connection_id":177319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808e13f0012d196780071fed78003a011f2b..."} 
[2026-09-08 16:00:39] local.INFO: Packet analysis {"connection_id":177319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:00:39] local.INFO: Extracted packet for processing {"connection_id":177319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948971008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00: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-09-08 16:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863190000,"timestamp_ms":1788863190000,"timestamp_seconds":1788863190,"priority":1,"record_length":96,"hex_timestamp":"000001a0808e13f0"} 
[2026-09-08 16:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948971008001,"66":12504,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948971008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948971008001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":177319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:39] local.INFO: GPS data processed {"connection_id":177319,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:39] local.INFO: Acknowledgment sent {"connection_id":177319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:41] local.INFO: TCP Data received {"connection_id":174797,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:00:41] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:00:41] local.INFO: IMEI packet received {"connection_id":174797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":174797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:00:47] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08091b988012d7d1b4005ec4300000e011215..."} 
[2026-09-08 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08091b988012d7d1b4005ec4300000e011215..."} 
[2026-09-08 16:00:47] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08091b988012d7d1b4005ec4300000e011215..."} 
[2026-09-08 16:00:47] local.INFO: Packet analysis {"connection_id":174796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:00:47] local.INFO: Extracted packet for processing {"connection_id":174796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99369728,"longitude_deg":76.3173696,"latitude_deg":9.9369728,"altitude":14,"angle":274,"satellites":21,"speed":12,"hex_longitude":"2d7d1b40","hex_latitude":"05ec4300","is_valid_coordinates":true} 
[2026-09-08 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949037568001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129910794925113344,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948271712256,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788863429000,"timestamp_ms":1788863429000,"timestamp_seconds":1788863429,"priority":1,"record_length":96,"hex_timestamp":"000001a08091b988"} 
[2026-09-08 16:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949037568001,"66":13319,"110":206,"87":13824,"24":12,"16":129910794925113344,"45":9015150948271712256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949037568001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:47] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 16:00:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129910794925113344,"km_value":129910794925113.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948271712256,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949037568001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015150948271712256}} 
[2026-09-08 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":174796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:47] local.INFO: GPS data processed {"connection_id":174796,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:47] local.INFO: Acknowledgment sent {"connection_id":174796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:47] local.INFO: TCP Data received {"connection_id":174797,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:00:47] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:00:47] local.INFO: IMEI packet received {"connection_id":174797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:00:50] local.INFO: TCP Data received {"connection_id":174797,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:00:50] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:00:50] local.INFO: Packet analysis {"connection_id":174797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:50] local.INFO: Extracted packet for processing {"connection_id":174797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 16:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":174797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:50] local.INFO: GPS data processed {"connection_id":174797,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:50] local.INFO: Acknowledgment sent {"connection_id":174797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:51] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08090c758012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08090c758012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:00:51] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08090c758012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:00:51] local.INFO: Packet analysis {"connection_id":174522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08090"} 
[2026-09-08 16:00:51] local.INFO: Extracted packet for processing {"connection_id":174522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08090"} 
[2026-09-08 16:00:51] local.INFO: GPS Element Parsed {"raw_longitude":755794368,"raw_latitude":117756824,"longitude_deg":75.5794368,"latitude_deg":11.7756824,"altitude":26,"angle":269,"satellites":31,"speed":0,"hex_longitude":"2d0c81c0","hex_latitude":"0704d398","is_valid_coordinates":true} 
[2026-09-08 16:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949016576001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760319550750720,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536829089792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863367000,"timestamp_ms":1788863367000,"timestamp_seconds":1788863367,"priority":1,"record_length":96,"hex_timestamp":"000001a08090c758"} 
[2026-09-08 16:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949016576001,"66":14396,"95":206,"94":10240,"24":0,"16":30760319550750720,"45":901212536829089792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949016576001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:00:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:00:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760319550750720,"km_value":30760319550750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536829089792,"description":"Unknown IO ID 45"} 
[2026-09-08 16:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949016576001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":901212536829089792}} 
[2026-09-08 16:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":174522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:00:51] local.INFO: GPS data processed {"connection_id":174522,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:00:51] local.INFO: Acknowledgment sent {"connection_id":174522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:00:59] local.INFO: TCP Data received {"connection_id":174798,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:59] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:00:59] local.INFO: IMEI packet received {"connection_id":174798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":174798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:01:00] local.INFO: TCP Data received {"connection_id":174798,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:01:00] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:01:00] local.INFO: IMEI packet received {"connection_id":174798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:01:06] local.INFO: TCP Data received {"connection_id":174798,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:01:06] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:01:06] local.INFO: IMEI packet received {"connection_id":174798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":174798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:01:08] local.INFO: TCP Data received {"connection_id":174798,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808e65f8012d196780071fed78003a011f28..."} 
[2026-09-08 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808e65f8012d196780071fed78003a011f28..."} 
[2026-09-08 16:01:08] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808e65f8012d196780071fed78003a011f28..."} 
[2026-09-08 16:01:08] local.INFO: Packet analysis {"connection_id":174798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:01:08] local.INFO: Extracted packet for processing {"connection_id":174798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948976640001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01: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-09-08 16:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788863211000,"timestamp_ms":1788863211000,"timestamp_seconds":1788863211,"priority":1,"record_length":96,"hex_timestamp":"000001a0808e65f8"} 
[2026-09-08 16:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948976640001,"66":12515,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948976640001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948976640001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":174798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:08] local.INFO: GPS data processed {"connection_id":174798,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:08] local.INFO: Acknowledgment sent {"connection_id":174798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:09] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:01:09] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:01:09] local.INFO: IMEI packet received {"connection_id":175850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":175850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:01:12] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:01:12] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:01:12] local.INFO: IMEI packet received {"connection_id":175850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":175850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:01:14] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08091bd70012d7d1a0005ec42d0000f010515..."} 
[2026-09-08 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08091bd70012d7d1a0005ec42d0000f010515..."} 
[2026-09-08 16:01:14] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08091bd70012d7d1a0005ec42d0000f010515..."} 
[2026-09-08 16:01:14] local.INFO: Packet analysis {"connection_id":175850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:14] local.INFO: Extracted packet for processing {"connection_id":175850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369680,"longitude_deg":76.3173376,"latitude_deg":9.936968,"altitude":15,"angle":261,"satellites":21,"speed":13,"hex_longitude":"2d7d1a00","hex_latitude":"05ec42d0","is_valid_coordinates":true} 
[2026-09-08 16:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949037824001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129910807810015232,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473295007744,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788863430000,"timestamp_ms":1788863430000,"timestamp_seconds":1788863430,"priority":1,"record_length":96,"hex_timestamp":"000001a08091bd70"} 
[2026-09-08 16:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2157027864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2443831297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4512606886759109888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2300641280,"corrected_to":0} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963582464,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.WARNING: Large IO value detected {"io_id":145,"raw_value":-7048132121950765051,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,137,160,181,45,64,66,14,21,10,177,173,128,1,240,221,227,236,4,113,205,8,166,29,96,239,49,2,5,15,254,145],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2300641280,"validated":0}]} 
[2026-09-08 16:01:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009107672912101376,"timestamp_seconds":1009107672912101.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:01:14] 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-09-08 16:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949037824001,"66":13319,"110":206,"87":13824,"24":13,"16":129910807810015232,"45":9014869473295007744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 16:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949037824001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 16:01:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129910807810015232,"km_value":129910807810015.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473295007744,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949037824001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9014869473295007744}} 
[2026-09-08 16:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":175850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:14] local.INFO: GPS data processed {"connection_id":175850,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:14] local.INFO: Acknowledgment sent {"connection_id":175850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:14] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:14] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:14] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:01:15] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:15] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:15] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:01:16] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08091ec50012d7cf54005ec40d8000c010c11..."} 
[2026-09-08 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08091ec50012d7cf54005ec40d8000c010c11..."} 
[2026-09-08 16:01:16] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08091ec50012d7cf54005ec40d8000c010c11..."} 
[2026-09-08 16:01:16] local.INFO: Packet analysis {"connection_id":175850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:16] local.INFO: Extracted packet for processing {"connection_id":175850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":99369176,"longitude_deg":76.3163968,"latitude_deg":9.9369176,"altitude":12,"angle":268,"satellites":17,"speed":36,"hex_longitude":"2d7cf540","hex_latitude":"05ec40d8","is_valid_coordinates":true} 
[2026-09-08 16:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949038080001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129911258781581312,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629574107136,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788863442000,"timestamp_ms":1788863442000,"timestamp_seconds":1788863442,"priority":1,"record_length":96,"hex_timestamp":"000001a08091ec50"} 
[2026-09-08 16:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2157028864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2444087297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4573405481727825152,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2300837888,"corrected_to":0} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3892391293,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2147871809,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817289,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963641856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.WARNING: Large IO value detected {"io_id":145,"raw_value":-6766657145240010747,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,110,87,24,241,157,16,137,160,185,45,64,67,14,21,10,66,181,177,1,240,133,227,128,236,4,113,205,7,169,29,56,239,49,2,5,15,12,254,145],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2300837888,"validated":0}]} 
[2026-09-08 16:01:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081150973298933760,"timestamp_seconds":1081150973298933.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949038080001,"66":13341,"110":206,"87":13824,"24":36,"16":129911258781581312,"45":9014517629574107136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 16:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949038080001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129911258781581312,"km_value":129911258781581.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629574107136,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949038080001,"power":13341,"unknown_110":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9014517629574107136}} 
[2026-09-08 16:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":175850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:16] local.INFO: GPS data processed {"connection_id":175850,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:16] local.INFO: Acknowledgment sent {"connection_id":175850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:18] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:18] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:01:18] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:01:19] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080911960012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080911960012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:01:19] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080911960012d0c81c00704d398001a010d1f..."} 
[2026-09-08 16:01:19] local.INFO: Packet analysis {"connection_id":174523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:19] local.INFO: Extracted packet for processing {"connection_id":174523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":755794368,"raw_latitude":117756824,"longitude_deg":75.5794368,"latitude_deg":11.7756824,"altitude":26,"angle":269,"satellites":31,"speed":0,"hex_longitude":"2d0c81c0","hex_latitude":"0704d398","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949021952001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760319550750720,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536829089792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788863388000,"timestamp_ms":1788863388000,"timestamp_seconds":1788863388,"priority":1,"record_length":96,"hex_timestamp":"000001a080911960"} 
[2026-09-08 16:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949021952001,"66":14559,"95":206,"94":10240,"24":0,"16":30760319550750720,"45":901212536829089792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949021952001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:01:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760319550750720,"km_value":30760319550750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536829089792,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949021952001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":901212536829089792}} 
[2026-09-08 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":174523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:19] local.INFO: GPS data processed {"connection_id":174523,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:19] local.INFO: Acknowledgment sent {"connection_id":174523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:25] local.INFO: TCP Data received {"connection_id":174797,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:25] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:25] local.INFO: Packet analysis {"connection_id":174797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:01:25] local.INFO: Extracted packet for processing {"connection_id":174797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:01:25] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 16:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:01:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":174797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:25] local.INFO: GPS data processed {"connection_id":174797,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:25] local.INFO: Acknowledgment sent {"connection_id":174797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:39] local.INFO: TCP Data received {"connection_id":174798,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808eb800012d196780071fed78003a011f2d..."} 
[2026-09-08 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808eb800012d196780071fed78003a011f2d..."} 
[2026-09-08 16:01:39] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808eb800012d196780071fed78003a011f2d..."} 
[2026-09-08 16:01:39] local.INFO: Packet analysis {"connection_id":174798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:01:39] local.INFO: Extracted packet for processing {"connection_id":174798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":45,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948982016001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01: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-09-08 16:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863232000,"timestamp_ms":1788863232000,"timestamp_seconds":1788863232,"priority":1,"record_length":96,"hex_timestamp":"000001a0808eb800"} 
[2026-09-08 16:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948982016001,"66":12515,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948982016001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948982016001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":174798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:39] local.INFO: GPS data processed {"connection_id":174798,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:39] local.INFO: Acknowledgment sent {"connection_id":174798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:46] local.INFO: TCP Data received {"connection_id":175850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080922ad0012d7cd04005ec3fe0000b010c11..."} 
[2026-09-08 16:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080922ad0012d7cd04005ec3fe0000b010c11..."} 
[2026-09-08 16:01:46] local.INFO: Processing buffer {"connection_id":175850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080922ad0012d7cd04005ec3fe0000b010c11..."} 
[2026-09-08 16:01:46] local.INFO: Packet analysis {"connection_id":175850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:01:46] local.INFO: Extracted packet for processing {"connection_id":175850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763154496,"raw_latitude":99368928,"longitude_deg":76.3154496,"latitude_deg":9.9368928,"altitude":11,"angle":268,"satellites":17,"speed":25,"hex_longitude":"2d7cd040","hex_latitude":"05ec3fe0","is_valid_coordinates":true} 
[2026-09-08 16:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949041152001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129911709753147392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424179861504,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788863458000,"timestamp_ms":1788863458000,"timestamp_seconds":1788863458,"priority":1,"record_length":96,"hex_timestamp":"000001a080922ad0"} 
[2026-09-08 16:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:01:46] 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-09-08 16:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949041152001,"66":13037,"110":206,"87":13824,"24":25,"16":129911709753147392,"45":9004173424179861504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-08 16:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949041152001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-08 16:01:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129911709753147392,"km_value":129911709753147.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424179861504,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949041152001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9004173424179861504}} 
[2026-09-08 16:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":175850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:47] local.INFO: GPS data processed {"connection_id":175850,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:47] local.INFO: Acknowledgment sent {"connection_id":175850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:47] local.INFO: TCP Data received {"connection_id":174524,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:01:47] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:01:47] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:01:49] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080916b68012d0c81c00704d398001a010d1e..."} 
[2026-09-08 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080916b68012d0c81c00704d398001a010d1e..."} 
[2026-09-08 16:01:49] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080916b68012d0c81c00704d398001a010d1e..."} 
[2026-09-08 16:01:49] local.INFO: Packet analysis {"connection_id":174523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:49] local.INFO: Extracted packet for processing {"connection_id":174523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08091"} 
[2026-09-08 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":755794368,"raw_latitude":117756824,"longitude_deg":75.5794368,"latitude_deg":11.7756824,"altitude":26,"angle":269,"satellites":30,"speed":0,"hex_longitude":"2d0c81c0","hex_latitude":"0704d398","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949027328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30760319550750720,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901212536829089792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788863409000,"timestamp_ms":1788863409000,"timestamp_seconds":1788863409,"priority":1,"record_length":96,"hex_timestamp":"000001a080916b68"} 
[2026-09-08 16:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949027328001,"66":14559,"95":206,"94":10240,"24":0,"16":30760319550750720,"45":901212536829089792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949027328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:01:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30760319550750720,"km_value":30760319550750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":901212536829089792,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949027328001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":901212536829089792}} 
[2026-09-08 16:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":174523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:50] local.INFO: GPS data processed {"connection_id":174523,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:50] local.INFO: Acknowledgment sent {"connection_id":174523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:52] local.INFO: TCP Data received {"connection_id":174524,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:01:52] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:01:52] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:01:55] local.INFO: TCP Data received {"connection_id":174524,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:55] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:55] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:01:55] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 16:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:01:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:55] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:55] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:01:58] local.INFO: TCP Data received {"connection_id":174524,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:58] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:01:58] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:01:58] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 16:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 16:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:01:58] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:01:58] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:00] local.INFO: TCP Data received {"connection_id":174525,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:00] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:00] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:02:02] local.INFO: TCP Data received {"connection_id":174525,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:02] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:02] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:04] local.INFO: TCP Data received {"connection_id":177320,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:02:04] local.INFO: Processing buffer {"connection_id":177320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:02:04] local.INFO: IMEI packet received {"connection_id":177320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":177320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:02:06] local.INFO: TCP Data received {"connection_id":174525,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:06] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:02:06] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:07] local.INFO: TCP Data received {"connection_id":174525,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0a08012d196780071fed78003a011f2b..."} 
[2026-09-08 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0a08012d196780071fed78003a011f2b..."} 
[2026-09-08 16:02:07] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0a08012d196780071fed78003a011f2b..."} 
[2026-09-08 16:02:07] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:02:07] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948987392001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02: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-09-08 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788863253000,"timestamp_ms":1788863253000,"timestamp_seconds":1788863253,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0a08"} 
[2026-09-08 16:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948987392001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948987392001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948987392001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:07] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:07] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:08] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:08] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:08] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:02:11] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:11] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:11] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:12] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:12] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:12] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:02:12] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:12] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:02:12] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:13] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0809259b0012d7ca98005ec3c08000b010914..."} 
[2026-09-08 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809259b0012d7ca98005ec3c08000b010914..."} 
[2026-09-08 16:02:13] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809259b0012d7ca98005ec3c08000b010914..."} 
[2026-09-08 16:02:13] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:13] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763144576,"raw_latitude":99367944,"longitude_deg":76.3144576,"latitude_deg":9.9367944,"altitude":11,"angle":265,"satellites":20,"speed":39,"hex_longitude":"2d7ca980","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-09-08 16:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949045248001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129912186494517248,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993758850041503744,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788863470000,"timestamp_ms":1788863470000,"timestamp_seconds":1788863470,"priority":1,"record_length":96,"hex_timestamp":"000001a0809259b0"} 
[2026-09-08 16:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:02:13] 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-09-08 16:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949045248001,"66":13276,"197":206,"87":13824,"24":39,"16":129912186494517248,"45":8993758850041503744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-08 16:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949045248001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-08 16:02:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129912186494517248,"km_value":129912186494517.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993758850041503744,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949045248001,"power":13276,"unknown_197":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8993758850041503744}} 
[2026-09-08 16:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:13] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:13] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:14] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080927cd8012d7c858005ec3aa00012010b15..."} 
[2026-09-08 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080927cd8012d7c858005ec3aa00012010b15..."} 
[2026-09-08 16:02:14] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080927cd8012d7c858005ec3aa00012010b15..."} 
[2026-09-08 16:02:14] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:14] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763135360,"raw_latitude":99367584,"longitude_deg":76.313536,"latitude_deg":9.9367584,"altitude":18,"angle":267,"satellites":21,"speed":28,"hex_longitude":"2d7c8580","hex_latitude":"05ec3aa0","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949048320001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129912628876148736,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982851694693713920,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788863479000,"timestamp_ms":1788863479000,"timestamp_seconds":1788863479,"priority":1,"record_length":96,"hex_timestamp":"000001a080927cd8"} 
[2026-09-08 16:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02: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-09-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:02:14] 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-09-08 16:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949048320001,"66":13504,"198":206,"87":13824,"24":28,"16":129912628876148736,"45":8982851694693713920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949048320001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:14] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:02:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129912628876148736,"km_value":129912628876148.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982851694693713920,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949048320001,"power":13504,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8982851694693713920}} 
[2026-09-08 16:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:14] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:14] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:14] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:14] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:14] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:16] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:16] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:16] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:19] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:19] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:02:19] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:20] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08092ee20012d0c1e000704c380002101081f..."} 
[2026-09-08 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08092ee20012d0c1e000704c380002101081f..."} 
[2026-09-08 16:02:20] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08092ee20012d0c1e000704c380002101081f..."} 
[2026-09-08 16:02:20] local.INFO: Packet analysis {"connection_id":175851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:20] local.INFO: Extracted packet for processing {"connection_id":175851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117752704,"longitude_deg":75.5768832,"latitude_deg":11.7752704,"altitude":33,"angle":264,"satellites":31,"speed":36,"hex_longitude":"2d0c1e00","hex_latitude":"0704c380","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949057536001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30761569386233856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875105732738213888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863508000,"timestamp_ms":1788863508000,"timestamp_seconds":1788863508,"priority":1,"record_length":96,"hex_timestamp":"000001a08092ee20"} 
[2026-09-08 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-09-08 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949057536001,"66":14559,"95":206,"94":10240,"24":36,"16":30761569386233856,"45":875105732738213888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949057536001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:02:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30761569386233856,"km_value":30761569386233.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":875105732738213888,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949057536001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":875105732738213888}} 
[2026-09-08 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":175851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:20] local.INFO: GPS data processed {"connection_id":175851,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:20] local.INFO: Acknowledgment sent {"connection_id":175851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:24] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080931148012d0bf7800704bdf0001f01061f..."} 
[2026-09-08 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080931148012d0bf7800704bdf0001f01061f..."} 
[2026-09-08 16:02:24] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080931148012d0bf7800704bdf0001f01061f..."} 
[2026-09-08 16:02:24] local.INFO: Packet analysis {"connection_id":175851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:02:24] local.INFO: Extracted packet for processing {"connection_id":175851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":755758976,"raw_latitude":117751280,"longitude_deg":75.5758976,"latitude_deg":11.775128,"altitude":31,"angle":262,"satellites":31,"speed":45,"hex_longitude":"2d0bf780","hex_latitude":"0704bdf0","is_valid_coordinates":true} 
[2026-09-08 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949058048001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30762041832636416,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407901147136,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788863517000,"timestamp_ms":1788863517000,"timestamp_seconds":1788863517,"priority":1,"record_length":96,"hex_timestamp":"000001a080931148"} 
[2026-09-08 16:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949058048001,"66":14537,"95":206,"94":10240,"24":45,"16":30762041832636416,"45":873135407901147136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949058048001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:02:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30762041832636416,"km_value":30762041832636.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407901147136,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949058048001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":873135407901147136}} 
[2026-09-08 16:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":175851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:25] local.INFO: GPS data processed {"connection_id":175851,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:25] local.INFO: Acknowledgment sent {"connection_id":175851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:39] local.INFO: TCP Data received {"connection_id":174525,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f5c10012d196780071fed78003a011f2a..."} 
[2026-09-08 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f5c10012d196780071fed78003a011f2a..."} 
[2026-09-08 16:02:39] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f5c10012d196780071fed78003a011f2a..."} 
[2026-09-08 16:02:39] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:02:39] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948992768001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02: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-09-08 16:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863274000,"timestamp_ms":1788863274000,"timestamp_seconds":1788863274,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f5c10"} 
[2026-09-08 16:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948992768001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948992768001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948992768001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:39] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:39] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:41] local.INFO: TCP Data received {"connection_id":177321,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:02:41] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:02:41] local.INFO: IMEI packet received {"connection_id":177321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":177321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:02:46] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08092abb8012d7c610005ec39880016010c16..."} 
[2026-09-08 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08092abb8012d7c610005ec39880016010c16..."} 
[2026-09-08 16:02:46] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08092abb8012d7c610005ec39880016010c16..."} 
[2026-09-08 16:02:46] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:46] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763126016,"raw_latitude":99367304,"longitude_deg":76.3126016,"latitude_deg":9.9367304,"altitude":22,"angle":268,"satellites":22,"speed":33,"hex_longitude":"2d7c6100","hex_latitude":"05ec3988","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949050624001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129913075552747520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972718595532038144,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788863491000,"timestamp_ms":1788863491000,"timestamp_seconds":1788863491,"priority":1,"record_length":96,"hex_timestamp":"000001a08092abb8"} 
[2026-09-08 16:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:02:46] 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-09-08 16:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949050624001,"66":13352,"198":206,"87":13824,"24":33,"16":129913075552747520,"45":8972718595532038144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949050624001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:02:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129913075552747520,"km_value":129913075552747.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972718595532038144,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949050624001,"power":13352,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8972718595532038144}} 
[2026-09-08 16:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:46] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:46] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:47] local.INFO: TCP Data received {"connection_id":177321,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:02:47] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:02:47] local.INFO: IMEI packet received {"connection_id":177321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":177321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:02:48] local.INFO: TCP Data received {"connection_id":177321,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:02:48] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808f0620012d4cdf00068f46980041009a2a..."} 
[2026-09-08 16:02:48] local.INFO: Packet analysis {"connection_id":177321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:02:48] local.INFO: Extracted packet for processing {"connection_id":177321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808f"} 
[2026-09-08 16:02:48] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":65,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948915456001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788863252000,"timestamp_ms":1788863252000,"timestamp_seconds":1788863252,"priority":1,"record_length":96,"hex_timestamp":"000001a0808f0620"} 
[2026-09-08 16:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948915456001,"66":25745,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948915456001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948915456001,"power":25745,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":177321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:48] local.INFO: GPS data processed {"connection_id":177321,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:48] local.INFO: Acknowledgment sent {"connection_id":177321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:02:56] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08093c8e0012d0b7a400704c4e00019013820..."} 
[2026-09-08 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08093c8e0012d0b7a400704c4e00019013820..."} 
[2026-09-08 16:02:56] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08093c8e0012d0b7a400704c4e00019013820..."} 
[2026-09-08 16:02:56] local.INFO: Packet analysis {"connection_id":175851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:02:56] local.INFO: Extracted packet for processing {"connection_id":175851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:02:56] local.INFO: GPS Element Parsed {"raw_longitude":755726912,"raw_latitude":117753056,"longitude_deg":75.5726912,"latitude_deg":11.7753056,"altitude":25,"angle":312,"satellites":32,"speed":6,"hex_longitude":"2d0b7a40","hex_latitude":"0704c4e0","is_valid_coordinates":true} 
[2026-09-08 16:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949071872001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30763673920208896,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827254986697336832,"note":"Value kept but may cause issues"} 
[2026-09-08 16:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788863564000,"timestamp_ms":1788863564000,"timestamp_seconds":1788863564,"priority":1,"record_length":96,"hex_timestamp":"000001a08093c8e0"} 
[2026-09-08 16:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949071872001,"66":14439,"96":206,"94":10240,"24":6,"16":30763673920208896,"45":827254986697336832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-08 16:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949071872001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:02:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:02:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30763673920208896,"km_value":30763673920208.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":827254986697336832,"description":"Unknown IO ID 45"} 
[2026-09-08 16:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949071872001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":827254986697336832}} 
[2026-09-08 16:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":175851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:02:56] local.INFO: GPS data processed {"connection_id":175851,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:02:56] local.INFO: Acknowledgment sent {"connection_id":175851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:00] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:03:00] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:03:00] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:03:05] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:03:05] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:03:05] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:03:06] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08092e268012d196780071fed78003a011f28..."} 
[2026-09-08 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08092e268012d196780071fed78003a011f28..."} 
[2026-09-08 16:03:06] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08092e268012d196780071fed78003a011f28..."} 
[2026-09-08 16:03:06] local.INFO: Packet analysis {"connection_id":174799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:03:06] local.INFO: Extracted packet for processing {"connection_id":174799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08092"} 
[2026-09-08 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949051904001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:06] 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-09-08 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788863505000,"timestamp_ms":1788863505000,"timestamp_seconds":1788863505,"priority":1,"record_length":96,"hex_timestamp":"000001a08092e268"} 
[2026-09-08 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949051904001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949051904001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949051904001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":174799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:07] local.INFO: GPS data processed {"connection_id":174799,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:07] local.INFO: Acknowledgment sent {"connection_id":174799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:09] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:09] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:09] local.INFO: IMEI packet received {"connection_id":175852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":175852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:03:11] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:11] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:11] local.INFO: IMEI packet received {"connection_id":175852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":175852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:03:14] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:14] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:03:14] local.INFO: IMEI packet received {"connection_id":175852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":175852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:03:14] local.INFO: TCP Data received {"connection_id":175853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:14] local.INFO: Processing buffer {"connection_id":175853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:14] local.INFO: IMEI packet received {"connection_id":175853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":175853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:03:15] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08093c4f8012d7beec005ec15d00000009c17..."} 
[2026-09-08 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08093c4f8012d7beec005ec15d00000009c17..."} 
[2026-09-08 16:03:15] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08093c4f8012d7beec005ec15d00000009c17..."} 
[2026-09-08 16:03:15] local.INFO: Packet analysis {"connection_id":175852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:15] local.INFO: Extracted packet for processing {"connection_id":175852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763096768,"raw_latitude":99358160,"longitude_deg":76.3096768,"latitude_deg":9.935816,"altitude":0,"angle":156,"satellites":23,"speed":13,"hex_longitude":"2d7beec0","hex_latitude":"05ec15d0","is_valid_coordinates":true} 
[2026-09-08 16:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949070592001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129914978223259648,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929864030326001664,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863563000,"timestamp_ms":1788863563000,"timestamp_seconds":1788863563,"priority":1,"record_length":96,"hex_timestamp":"000001a08093c4f8"} 
[2026-09-08 16:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949070592001,"66":13135,"198":206,"87":13824,"24":13,"16":129914978223259648,"45":8929864030326001664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949070592001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:03:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129914978223259648,"km_value":129914978223259.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929864030326001664,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949070592001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8929864030326001664}} 
[2026-09-08 16:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":175852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:15] local.INFO: GPS data processed {"connection_id":175852,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:15] local.INFO: Acknowledgment sent {"connection_id":175852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:15] local.INFO: TCP Data received {"connection_id":175853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:15] local.INFO: Processing buffer {"connection_id":175853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:15] local.INFO: IMEI packet received {"connection_id":175853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":175853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:03:19] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08093d880012d7bf1c005ec0b40000000a917..."} 
[2026-09-08 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08093d880012d7bf1c005ec0b40000000a917..."} 
[2026-09-08 16:03:19] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08093d880012d7bf1c005ec0b40000000a917..."} 
[2026-09-08 16:03:19] local.INFO: Packet analysis {"connection_id":175852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:19] local.INFO: Extracted packet for processing {"connection_id":175852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763097536,"raw_latitude":99355456,"longitude_deg":76.3097536,"latitude_deg":9.9355456,"altitude":0,"angle":169,"satellites":23,"speed":22,"hex_longitude":"2d7bf1c0","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-08 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949072128001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129915111367245824,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930286242790494208,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788863568000,"timestamp_ms":1788863568000,"timestamp_seconds":1788863568,"priority":1,"record_length":96,"hex_timestamp":"000001a08093d880"} 
[2026-09-08 16:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:03:19] 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-09-08 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949072128001,"66":13037,"198":206,"87":13824,"24":22,"16":129915111367245824,"45":8930286242790494208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949072128001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:03:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129915111367245824,"km_value":129915111367245.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930286242790494208,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949072128001,"power":13037,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8930286242790494208}} 
[2026-09-08 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":175852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:19] local.INFO: GPS data processed {"connection_id":175852,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:19] local.INFO: Acknowledgment sent {"connection_id":175852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:19] local.INFO: TCP Data received {"connection_id":175853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:19] local.INFO: Processing buffer {"connection_id":175853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:03:19] local.INFO: IMEI packet received {"connection_id":175853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":175853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:03:20] local.INFO: TCP Data received {"connection_id":175853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08093d0b0012d0b78c00704c5c00019012120..."} 
[2026-09-08 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08093d0b0012d0b78c00704c5c00019012120..."} 
[2026-09-08 16:03:20] local.INFO: Processing buffer {"connection_id":175853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08093d0b0012d0b78c00704c5c00019012120..."} 
[2026-09-08 16:03:20] local.INFO: Packet analysis {"connection_id":175853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:20] local.INFO: Extracted packet for processing {"connection_id":175853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755726528,"raw_latitude":117753280,"longitude_deg":75.5726528,"latitude_deg":11.775328,"altitude":25,"angle":289,"satellites":32,"speed":7,"hex_longitude":"2d0b78c0","hex_latitude":"0704c5c0","is_valid_coordinates":true} 
[2026-09-08 16:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949072384001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30763695395045376,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827043880464867328,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863566000,"timestamp_ms":1788863566000,"timestamp_seconds":1788863566,"priority":1,"record_length":96,"hex_timestamp":"000001a08093d0b0"} 
[2026-09-08 16:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949072384001,"66":14537,"96":206,"94":10240,"24":7,"16":30763695395045376,"45":827043880464867328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-08 16:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949072384001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:03:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30763695395045376,"km_value":30763695395045.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":827043880464867328,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949072384001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":827043880464867328}} 
[2026-09-08 16:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":175853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:20] local.INFO: GPS data processed {"connection_id":175853,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:20] local.INFO: Acknowledgment sent {"connection_id":175853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:23] local.INFO: TCP Data received {"connection_id":177321,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080939de8012d4cdf00068f46980044009a29..."} 
[2026-09-08 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080939de8012d4cdf00068f46980044009a29..."} 
[2026-09-08 16:03:23] local.INFO: Processing buffer {"connection_id":177321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080939de8012d4cdf00068f46980044009a29..."} 
[2026-09-08 16:03:23] local.INFO: Packet analysis {"connection_id":177321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:23] local.INFO: Extracted packet for processing {"connection_id":177321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053016,"longitude_deg":76.0012544,"latitude_deg":11.0053016,"altitude":68,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d4cdf00","hex_latitude":"068f4698","is_valid_coordinates":true} 
[2026-09-08 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948992512001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402791202774056960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862571520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788863553000,"timestamp_ms":1788863553000,"timestamp_seconds":1788863553,"priority":1,"record_length":96,"hex_timestamp":"000001a080939de8"} 
[2026-09-08 16:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948992512001,"66":25756,"49":206,"19":48128,"24":0,"16":402791202774056960,"45":5539146094862571520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-09-08 16:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948992512001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:23] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 16:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402791202774056960,"km_value":402791202774056.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862571520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948992512001,"power":25756,"unknown_49":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5539146094862571520}} 
[2026-09-08 16:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":177321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:23] local.INFO: GPS data processed {"connection_id":177321,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:23] local.INFO: Acknowledgment sent {"connection_id":177321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:38] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080933470012d196780071fed78003a011f27..."} 
[2026-09-08 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080933470012d196780071fed78003a011f27..."} 
[2026-09-08 16:03:38] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080933470012d196780071fed78003a011f27..."} 
[2026-09-08 16:03:38] local.INFO: Packet analysis {"connection_id":174799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:38] local.INFO: Extracted packet for processing {"connection_id":174799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949057280001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03: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-09-08 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788863526000,"timestamp_ms":1788863526000,"timestamp_seconds":1788863526,"priority":1,"record_length":96,"hex_timestamp":"000001a080933470"} 
[2026-09-08 16:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949057280001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949057280001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949057280001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":174799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:38] local.INFO: GPS data processed {"connection_id":174799,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:38] local.INFO: Acknowledgment sent {"connection_id":174799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:51] local.INFO: TCP Data received {"connection_id":175852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080941318012d7bf70005ebe668000000ac17..."} 
[2026-09-08 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080941318012d7bf70005ebe668000000ac17..."} 
[2026-09-08 16:03:51] local.INFO: Processing buffer {"connection_id":175852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080941318012d7bf70005ebe668000000ac17..."} 
[2026-09-08 16:03:51] local.INFO: Packet analysis {"connection_id":175852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:03:51] local.INFO: Extracted packet for processing {"connection_id":175852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":763098880,"raw_latitude":99346024,"longitude_deg":76.309888,"latitude_deg":9.9346024,"altitude":0,"angle":172,"satellites":23,"speed":27,"hex_longitude":"2d7bf700","hex_latitude":"05ebe668","is_valid_coordinates":true} 
[2026-09-08 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949073408001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129915575223713792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931130667719933952,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788863583000,"timestamp_ms":1788863583000,"timestamp_seconds":1788863583,"priority":1,"record_length":96,"hex_timestamp":"000001a080941318"} 
[2026-09-08 16:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949073408001,"66":13428,"198":206,"87":13824,"24":27,"16":129915575223713792,"45":8931130667719933952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949073408001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:03:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129915575223713792,"km_value":129915575223713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931130667719933952,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949073408001,"power":13428,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8931130667719933952}} 
[2026-09-08 16:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":175852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:51] local.INFO: GPS data processed {"connection_id":175852,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:51] local.INFO: Acknowledgment sent {"connection_id":175852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:53] local.INFO: TCP Data received {"connection_id":175853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080948848012d0b2b000704fae8001d00031e..."} 
[2026-09-08 16:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080948848012d0b2b000704fae8001d00031e..."} 
[2026-09-08 16:03:53] local.INFO: Processing buffer {"connection_id":175853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080948848012d0b2b000704fae8001d00031e..."} 
[2026-09-08 16:03:53] local.INFO: Packet analysis {"connection_id":175853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:03:53] local.INFO: Extracted packet for processing {"connection_id":175853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117766888,"longitude_deg":75.5706624,"latitude_deg":11.7766888,"altitude":29,"angle":3,"satellites":30,"speed":11,"hex_longitude":"2d0b2b00","hex_latitude":"0704fae8","is_valid_coordinates":true} 
[2026-09-08 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949084672001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30765099849351168,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988564013056,"note":"Value kept but may cause issues"} 
[2026-09-08 16:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788863613000,"timestamp_ms":1788863613000,"timestamp_seconds":1788863613,"priority":1,"record_length":96,"hex_timestamp":"000001a080948848"} 
[2026-09-08 16:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949084672001,"66":14548,"96":206,"94":10240,"24":11,"16":30765099849351168,"45":804736988564013056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-08 16:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949084672001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:03:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:03:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30765099849351168,"km_value":30765099849351.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988564013056,"description":"Unknown IO ID 45"} 
[2026-09-08 16:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949084672001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":804736988564013056}} 
[2026-09-08 16:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":175853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:03:53] local.INFO: GPS data processed {"connection_id":175853,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:03:53] local.INFO: Acknowledgment sent {"connection_id":175853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:03:57] local.INFO: TCP Data received {"connection_id":177323,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:03:57] local.INFO: Processing buffer {"connection_id":177323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:03:57] local.INFO: IMEI packet received {"connection_id":177323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":177323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:04:00] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:04:00] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:04:00] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:04:02] local.INFO: TCP Data received {"connection_id":177323,"ip":"117.224.141.146","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177323,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:04:02] local.INFO: Processing buffer {"connection_id":177323,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:04:02] local.INFO: IMEI packet received {"connection_id":177323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":177323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:06] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:04:06] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:04:06] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:07] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080938678012d196780071fed78003a011f27..."} 
[2026-09-08 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080938678012d196780071fed78003a011f27..."} 
[2026-09-08 16:04:07] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080938678012d196780071fed78003a011f27..."} 
[2026-09-08 16:04:07] local.INFO: Packet analysis {"connection_id":174800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:04:07] local.INFO: Extracted packet for processing {"connection_id":174800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949062656001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04: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-09-08 16:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788863547000,"timestamp_ms":1788863547000,"timestamp_seconds":1788863547,"priority":1,"record_length":96,"hex_timestamp":"000001a080938678"} 
[2026-09-08 16:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949062656001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949062656001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949062656001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":174800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:04:07] local.INFO: GPS data processed {"connection_id":174800,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:04:07] local.INFO: Acknowledgment sent {"connection_id":174800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:04:15] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:15] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:15] local.INFO: IMEI packet received {"connection_id":175854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":175854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:04:16] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:16] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:16] local.INFO: IMEI packet received {"connection_id":175854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":175854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:18] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:18] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:18] local.INFO: IMEI packet received {"connection_id":175854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":175854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:19] local.INFO: TCP Data received {"connection_id":175854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175854,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:19] local.INFO: Processing buffer {"connection_id":175854,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:04:19] local.INFO: IMEI packet received {"connection_id":175854,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":175854,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:22] local.INFO: TCP Data received {"connection_id":177324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:22] local.INFO: Processing buffer {"connection_id":177324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:22] local.INFO: IMEI packet received {"connection_id":177324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":177324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:04:23] local.INFO: TCP Data received {"connection_id":177324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:23] local.INFO: Processing buffer {"connection_id":177324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:23] local.INFO: IMEI packet received {"connection_id":177324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":177324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:25] local.INFO: TCP Data received {"connection_id":177324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:25] local.INFO: Processing buffer {"connection_id":177324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:04:25] local.INFO: IMEI packet received {"connection_id":177324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":177324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:04:26] local.INFO: TCP Data received {"connection_id":177324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080942a88012d7bfc0005ebd350000300a017..."} 
[2026-09-08 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080942a88012d7bfc0005ebd350000300a017..."} 
[2026-09-08 16:04:26] local.INFO: Processing buffer {"connection_id":177324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080942a88012d7bfc0005ebd350000300a017..."} 
[2026-09-08 16:04:26] local.INFO: Packet analysis {"connection_id":177324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:04:26] local.INFO: Extracted packet for processing {"connection_id":177324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763100160,"raw_latitude":99341136,"longitude_deg":76.310016,"latitude_deg":9.9341136,"altitude":3,"angle":160,"satellites":23,"speed":31,"hex_longitude":"2d7bfc00","hex_latitude":"05ebd350","is_valid_coordinates":true} 
[2026-09-08 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949077248001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129915820036849664,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932608411345250304,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788863589000,"timestamp_ms":1788863589000,"timestamp_seconds":1788863589,"priority":1,"record_length":96,"hex_timestamp":"000001a080942a88"} 
[2026-09-08 16:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 16:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:04:26] 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-09-08 16:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949077248001,"66":13222,"198":206,"87":13824,"24":31,"16":129915820036849664,"45":8932608411345250304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-08 16:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949077248001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:04:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 16:04:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129915820036849664,"km_value":129915820036849.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932608411345250304,"description":"Unknown IO ID 45"} 
[2026-09-08 16:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949077248001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8932608411345250304}} 
[2026-09-08 16:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":177324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:04:26] local.INFO: GPS data processed {"connection_id":177324,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:04:26] local.INFO: Acknowledgment sent {"connection_id":177324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:04:38] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08093d880012d196780071fed78003a011f25..."} 
[2026-09-08 16:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08093d880012d196780071fed78003a011f25..."} 
[2026-09-08 16:04:39] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08093d880012d196780071fed78003a011f25..."} 
[2026-09-08 16:04:39] local.INFO: Packet analysis {"connection_id":174800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:04:39] local.INFO: Extracted packet for processing {"connection_id":174800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08093"} 
[2026-09-08 16:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949068032001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:04: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-09-08 16:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863568000,"timestamp_ms":1788863568000,"timestamp_seconds":1788863568,"priority":1,"record_length":96,"hex_timestamp":"000001a08093d880"} 
[2026-09-08 16:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949068032001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949068032001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:04:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949068032001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":174800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:04:39] local.INFO: GPS data processed {"connection_id":174800,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:04:39] local.INFO: Acknowledgment sent {"connection_id":174800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:05:00] local.INFO: TCP Data received {"connection_id":174528,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:05:00] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:05:00] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:05:06] local.INFO: TCP Data received {"connection_id":174528,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:05:06] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:05:06] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:05:06] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:06] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:06] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:05:07] local.INFO: TCP Data received {"connection_id":174528,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080942a88012d196780071fed78003a011f24..."} 
[2026-09-08 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080942a88012d196780071fed78003a011f24..."} 
[2026-09-08 16:05:07] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080942a88012d196780071fed78003a011f24..."} 
[2026-09-08 16:05:07] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:05:07] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949073408001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05: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-09-08 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788863589000,"timestamp_ms":1788863589000,"timestamp_seconds":1788863589,"priority":1,"record_length":96,"hex_timestamp":"000001a080942a88"} 
[2026-09-08 16:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949073408001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949073408001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:05:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949073408001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:05:07] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:05:07] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:05:08] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:08] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:08] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:05:14] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:14] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:05:14] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:05:15] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080957e60012d7c3c8005eb0630000d00a717..."} 
[2026-09-08 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080957e60012d7c3c8005eb0630000d00a717..."} 
[2026-09-08 16:05:15] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080957e60012d7c3c8005eb0630000d00a717..."} 
[2026-09-08 16:05:15] local.INFO: Packet analysis {"connection_id":174529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:05:15] local.INFO: Extracted packet for processing {"connection_id":174529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99288624,"longitude_deg":76.3116672,"latitude_deg":9.9288624,"altitude":13,"angle":167,"satellites":23,"speed":27,"hex_longitude":"2d7c3c80","hex_latitude":"05eb0630","is_valid_coordinates":true} 
[2026-09-08 16:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949100800001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129918530161213440,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815979581440,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863676000,"timestamp_ms":1788863676000,"timestamp_seconds":1788863676,"priority":1,"record_length":96,"hex_timestamp":"000001a080957e60"} 
[2026-09-08 16:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 16:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949100800001,"66":13602,"10":206,"87":13824,"24":27,"16":129918530161213440,"45":8951959815979581440},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-08 16:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949100800001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:05:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 16:05:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129918530161213440,"km_value":129918530161213.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815979581440,"description":"Unknown IO ID 45"} 
[2026-09-08 16:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949100800001,"power":13602,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8951959815979581440}} 
[2026-09-08 16:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":174529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:05:15] local.INFO: GPS data processed {"connection_id":174529,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:05:15] local.INFO: Acknowledgment sent {"connection_id":174529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:05:38] local.INFO: TCP Data received {"connection_id":174528,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080947c90012d196780071fed78003a011f23..."} 
[2026-09-08 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080947c90012d196780071fed78003a011f23..."} 
[2026-09-08 16:05:38] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080947c90012d196780071fed78003a011f23..."} 
[2026-09-08 16:05:38] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:05:38] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949078784001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05: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-09-08 16:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788863610000,"timestamp_ms":1788863610000,"timestamp_seconds":1788863610,"priority":1,"record_length":96,"hex_timestamp":"000001a080947c90"} 
[2026-09-08 16:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949078784001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949078784001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949078784001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:05:39] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:05:39] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:05:46] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080958a18012d7c3d4005eafc18000c00b317..."} 
[2026-09-08 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080958a18012d7c3d4005eafc18000c00b317..."} 
[2026-09-08 16:05:46] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080958a18012d7c3d4005eafc18000c00b317..."} 
[2026-09-08 16:05:46] local.INFO: Packet analysis {"connection_id":174529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:05:46] local.INFO: Extracted packet for processing {"connection_id":174529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":99286040,"longitude_deg":76.3116864,"latitude_deg":9.928604,"altitude":12,"angle":179,"satellites":23,"speed":38,"hex_longitude":"2d7c3d40","hex_latitude":"05eafc18","is_valid_coordinates":true} 
[2026-09-08 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949101056001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129918654715265024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922211946496,"note":"Value kept but may cause issues"} 
[2026-09-08 16:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788863679000,"timestamp_ms":1788863679000,"timestamp_seconds":1788863679,"priority":1,"record_length":96,"hex_timestamp":"000001a080958a18"} 
[2026-09-08 16:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 16:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:05:46] 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-09-08 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949101056001,"66":13417,"10":206,"87":13824,"24":38,"16":129918654715265024,"45":8952170922211946496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-08 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949101056001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:05:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 16:05:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129918654715265024,"km_value":129918654715265.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922211946496,"description":"Unknown IO ID 45"} 
[2026-09-08 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949101056001,"power":13417,"unknown_10":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8952170922211946496}} 
[2026-09-08 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":174529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:05:46] local.INFO: GPS data processed {"connection_id":174529,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:05:46] local.INFO: Acknowledgment sent {"connection_id":174529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:06:00] local.INFO: TCP Data received {"connection_id":177327,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:06:00] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:06:00] local.INFO: IMEI packet received {"connection_id":177327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":177327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:06:06] local.INFO: TCP Data received {"connection_id":177327,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:06:06] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:06:06] local.INFO: IMEI packet received {"connection_id":177327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":177327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:06:07] local.INFO: TCP Data received {"connection_id":177327,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08094cab0012d196780071fed78003a011f28..."} 
[2026-09-08 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08094cab0012d196780071fed78003a011f28..."} 
[2026-09-08 16:06:07] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08094cab0012d196780071fed78003a011f28..."} 
[2026-09-08 16:06:07] local.INFO: Packet analysis {"connection_id":177327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:06:07] local.INFO: Extracted packet for processing {"connection_id":177327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08094"} 
[2026-09-08 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949084160001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06: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-09-08 16:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788863630000,"timestamp_ms":1788863630000,"timestamp_seconds":1788863630,"priority":1,"record_length":96,"hex_timestamp":"000001a08094cab0"} 
[2026-09-08 16:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949084160001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949084160001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:06:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949084160001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":177327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:06:07] local.INFO: GPS data processed {"connection_id":177327,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:06:07] local.INFO: Acknowledgment sent {"connection_id":177327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:06:08] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:08] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:08] local.INFO: IMEI packet received {"connection_id":177328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":177328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:06:08] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:08] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:08] local.INFO: IMEI packet received {"connection_id":177328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":177328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:06:14] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:14] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:06:14] local.INFO: IMEI packet received {"connection_id":177328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":177328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:06:14] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08095b510012d7c3dc005ead890000f00b116..."} 
[2026-09-08 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08095b510012d7c3dc005ead890000f00b116..."} 
[2026-09-08 16:06:14] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08095b510012d7c3dc005ead890000f00b116..."} 
[2026-09-08 16:06:14] local.INFO: Packet analysis {"connection_id":177328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:06:14] local.INFO: Extracted packet for processing {"connection_id":177328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99276944,"longitude_deg":76.3116992,"latitude_deg":9.9276944,"altitude":15,"angle":177,"satellites":22,"speed":28,"hex_longitude":"2d7c3dc0","hex_latitude":"05ead890","is_valid_coordinates":true} 
[2026-09-08 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949101824001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129919097096896512,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028443817984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788863690000,"timestamp_ms":1788863690000,"timestamp_seconds":1788863690,"priority":1,"record_length":96,"hex_timestamp":"000001a08095b510"} 
[2026-09-08 16:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 16:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:06:14] 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-09-08 16:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949101824001,"66":13254,"10":206,"87":13824,"24":28,"16":129919097096896512,"45":8952382028443817984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-08 16:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949101824001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:06:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 16:06:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129919097096896512,"km_value":129919097096896.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028443817984,"description":"Unknown IO ID 45"} 
[2026-09-08 16:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949101824001,"power":13254,"unknown_10":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8952382028443817984}} 
[2026-09-08 16:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":177328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:06:14] local.INFO: GPS data processed {"connection_id":177328,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:06:14] local.INFO: Acknowledgment sent {"connection_id":177328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:06:38] local.INFO: TCP Data received {"connection_id":177327,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080951cb8012d196780071fed78003a011f28..."} 
[2026-09-08 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080951cb8012d196780071fed78003a011f28..."} 
[2026-09-08 16:06:38] local.INFO: Processing buffer {"connection_id":177327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080951cb8012d196780071fed78003a011f28..."} 
[2026-09-08 16:06:38] local.INFO: Packet analysis {"connection_id":177327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:06:38] local.INFO: Extracted packet for processing {"connection_id":177327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949089280001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06: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-09-08 16:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788863651000,"timestamp_ms":1788863651000,"timestamp_seconds":1788863651,"priority":1,"record_length":96,"hex_timestamp":"000001a080951cb8"} 
[2026-09-08 16:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949089280001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949089280001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949089280001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":177327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:06:39] local.INFO: GPS data processed {"connection_id":177327,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:06:39] local.INFO: Acknowledgment sent {"connection_id":177327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:06:45] local.INFO: TCP Data received {"connection_id":177328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08095d450012d7c3ec005eac858000f00a516..."} 
[2026-09-08 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08095d450012d7c3ec005eac858000f00a516..."} 
[2026-09-08 16:06:45] local.INFO: Processing buffer {"connection_id":177328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08095d450012d7c3ec005eac858000f00a516..."} 
[2026-09-08 16:06:45] local.INFO: Packet analysis {"connection_id":177328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:06:45] local.INFO: Extracted packet for processing {"connection_id":177328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99272792,"longitude_deg":76.3117248,"latitude_deg":9.9272792,"altitude":15,"angle":165,"satellites":22,"speed":9,"hex_longitude":"2d7c3ec0","hex_latitude":"05eac858","is_valid_coordinates":true} 
[2026-09-08 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949104640001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129919298960359424,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765929844736,"note":"Value kept but may cause issues"} 
[2026-09-08 16:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788863698000,"timestamp_ms":1788863698000,"timestamp_seconds":1788863698,"priority":1,"record_length":96,"hex_timestamp":"000001a08095d450"} 
[2026-09-08 16:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:06: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 16:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:06:45] 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-09-08 16:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949104640001,"66":13319,"10":206,"87":13824,"24":9,"16":129919298960359424,"45":8952522765929844736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-08 16:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949104640001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:06:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 16:06:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129919298960359424,"km_value":129919298960359.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765929844736,"description":"Unknown IO ID 45"} 
[2026-09-08 16:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949104640001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8952522765929844736}} 
[2026-09-08 16:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":177328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:06:45] local.INFO: GPS data processed {"connection_id":177328,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:06:45] local.INFO: Acknowledgment sent {"connection_id":177328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:07:06] local.INFO: TCP Data received {"connection_id":174803,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:06] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:06] local.INFO: IMEI packet received {"connection_id":174803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":174803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:07:09] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:07:09] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:07:09] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:07:11] local.INFO: TCP Data received {"connection_id":174803,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:11] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:11] local.INFO: IMEI packet received {"connection_id":174803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":174803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:07:12] local.INFO: TCP Data received {"connection_id":174803,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080956ec0012d196780071fed78003a011f27..."} 
[2026-09-08 16:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080956ec0012d196780071fed78003a011f27..."} 
[2026-09-08 16:07:12] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080956ec0012d196780071fed78003a011f27..."} 
[2026-09-08 16:07:12] local.INFO: Packet analysis {"connection_id":174803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:07:12] local.INFO: Extracted packet for processing {"connection_id":174803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949094656001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07: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-09-08 16:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788863672000,"timestamp_ms":1788863672000,"timestamp_seconds":1788863672,"priority":1,"record_length":96,"hex_timestamp":"000001a080956ec0"} 
[2026-09-08 16:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949094656001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949094656001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:07:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949094656001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":174803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:07:12] local.INFO: GPS data processed {"connection_id":174803,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:07:12] local.INFO: Acknowledgment sent {"connection_id":174803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:07:14] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:07:14] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:07:14] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:07:15] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080974768012d7c93c005eadc10000f004818..."} 
[2026-09-08 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080974768012d7c93c005eadc10000f004818..."} 
[2026-09-08 16:07:15] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080974768012d7c93c005eadc10000f004818..."} 
[2026-09-08 16:07:15] local.INFO: Packet analysis {"connection_id":175859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:07:15] local.INFO: Extracted packet for processing {"connection_id":175859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763139008,"raw_latitude":99277840,"longitude_deg":76.3139008,"latitude_deg":9.927784,"altitude":15,"angle":72,"satellites":24,"speed":21,"hex_longitude":"2d7c93c0","hex_latitude":"05eadc10","is_valid_coordinates":true} 
[2026-09-08 16:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949125888001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129920407061921792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707880781824,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863793000,"timestamp_ms":1788863793000,"timestamp_seconds":1788863793,"priority":1,"record_length":96,"hex_timestamp":"000001a080974768"} 
[2026-09-08 16:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 16:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949125888001,"66":12645,"8":206,"87":13824,"24":21,"16":129920407061921792,"45":8974266707880781824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 16:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949125888001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:07:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 16:07:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129920407061921792,"km_value":129920407061921.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707880781824,"description":"Unknown IO ID 45"} 
[2026-09-08 16:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949125888001,"power":12645,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8974266707880781824}} 
[2026-09-08 16:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":175859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:07:15] local.INFO: GPS data processed {"connection_id":175859,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:07:15] local.INFO: Acknowledgment sent {"connection_id":175859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:07:17] local.INFO: TCP Data received {"connection_id":174803,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08095c0c8012d196780071fed78003a011f28..."} 
[2026-09-08 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08095c0c8012d196780071fed78003a011f28..."} 
[2026-09-08 16:07:17] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08095c0c8012d196780071fed78003a011f28..."} 
[2026-09-08 16:07:17] local.INFO: Packet analysis {"connection_id":174803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:07:17] local.INFO: Extracted packet for processing {"connection_id":174803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08095"} 
[2026-09-08 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949100032001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07: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-09-08 16:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788863693000,"timestamp_ms":1788863693000,"timestamp_seconds":1788863693,"priority":1,"record_length":96,"hex_timestamp":"000001a08095c0c8"} 
[2026-09-08 16:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949100032001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949100032001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:07:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949100032001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":174803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:07:17] local.INFO: GPS data processed {"connection_id":174803,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:07:17] local.INFO: Acknowledgment sent {"connection_id":174803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:07:44] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:07:44] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:07:44] local.INFO: IMEI packet received {"connection_id":175860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":175860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:07:45] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080978200012d7cb5c005eae730000c004d18..."} 
[2026-09-08 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080978200012d7cb5c005eae730000c004d18..."} 
[2026-09-08 16:07:45] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080978200012d7cb5c005eae730000c004d18..."} 
[2026-09-08 16:07:45] local.INFO: Packet analysis {"connection_id":175859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:07:45] local.INFO: Extracted packet for processing {"connection_id":175859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763147712,"raw_latitude":99280688,"longitude_deg":76.3147712,"latitude_deg":9.9280688,"altitude":12,"angle":77,"satellites":24,"speed":23,"hex_longitude":"2d7cb5c0","hex_latitude":"05eae730","is_valid_coordinates":true} 
[2026-09-08 16:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949131008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129920845148585984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976729613927190528,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788863808000,"timestamp_ms":1788863808000,"timestamp_seconds":1788863808,"priority":1,"record_length":96,"hex_timestamp":"000001a080978200"} 
[2026-09-08 16:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-08 16:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:07:45] 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-09-08 16:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949131008001,"66":13580,"8":206,"87":13824,"24":23,"16":129920845148585984,"45":8976729613927190528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 16:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949131008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:07:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 16:07:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129920845148585984,"km_value":129920845148585.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976729613927190528,"description":"Unknown IO ID 45"} 
[2026-09-08 16:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949131008001,"power":13580,"unknown_8":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8976729613927190528}} 
[2026-09-08 16:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":175859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:07:46] local.INFO: GPS data processed {"connection_id":175859,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:07:46] local.INFO: Acknowledgment sent {"connection_id":175859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:07:49] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:07:49] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:07:49] local.INFO: IMEI packet received {"connection_id":175860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-08 16:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":175860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:07:50] local.INFO: TCP Data received {"connection_id":175860,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0808e2778012b882a400b7c72500014014f19..."} 
[2026-09-08 16:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0808e2778012b882a400b7c72500014014f19..."} 
[2026-09-08 16:07:50] local.INFO: Processing buffer {"connection_id":175860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0808e2778012b882a400b7c72500014014f19..."} 
[2026-09-08 16:07:50] local.INFO: Packet analysis {"connection_id":175860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:07:50] local.INFO: Extracted packet for processing {"connection_id":175860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0808e"} 
[2026-09-08 16:07:50] local.INFO: GPS Element Parsed {"raw_longitude":730344000,"raw_latitude":192705104,"longitude_deg":73.0344,"latitude_deg":19.2705104,"altitude":20,"angle":335,"satellites":25,"speed":0,"hex_longitude":"2b882a40","hex_latitude":"0b7c7250","is_valid_coordinates":true} 
[2026-09-08 16:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457948905984001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3888255367905280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:50] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8635018917452820480,"note":"Value kept but may cause issues"} 
[2026-09-08 16:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788863195000,"timestamp_ms":1788863195000,"timestamp_seconds":1788863195,"priority":1,"record_length":96,"hex_timestamp":"000001a0808e2778"} 
[2026-09-08 16:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 16:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-08 16:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-08 16:07:50] 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-09-08 16:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-08 16:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-08 16:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457948905984001,"66":25419,"27":206,"234":55296,"24":0,"16":3888255367905280,"43":-8635018917452820480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-08 16:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-08 16:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-08 16:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457948905984001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-08 16:07:50] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-08 16:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3888255367905280,"km_value":3888255367905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:07:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8635018917452820480,"description":"Unknown IO ID 43"} 
[2026-09-08 16:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457948905984001,"power":25419,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8635018917452820480}} 
[2026-09-08 16:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":175860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:07:50] local.INFO: GPS data processed {"connection_id":175860,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:07:50] local.INFO: Acknowledgment sent {"connection_id":175860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:07:59] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:59] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:07:59] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:08:00] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:08:00] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:08:00] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:08:08] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:08] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:08] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:08:09] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:08:09] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:08:09] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:08:10] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:10] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:10] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:08:10] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809612d0012d196780071fed78003a011f27..."} 
[2026-09-08 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809612d0012d196780071fed78003a011f27..."} 
[2026-09-08 16:08:10] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809612d0012d196780071fed78003a011f27..."} 
[2026-09-08 16:08:10] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08096"} 
[2026-09-08 16:08:10] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08096"} 
[2026-09-08 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949105408001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:10] 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-09-08 16:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788863714000,"timestamp_ms":1788863714000,"timestamp_seconds":1788863714,"priority":1,"record_length":96,"hex_timestamp":"000001a0809612d0"} 
[2026-09-08 16:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949105408001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949105408001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:08:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949105408001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:08:10] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:08:10] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:08:14] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:14] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:08:14] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:08:15] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08097b0e0012d7cd18005eaebf00008005918..."} 
[2026-09-08 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08097b0e0012d7cd18005eaebf00008005918..."} 
[2026-09-08 16:08:15] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08097b0e0012d7cd18005eaebf00008005918..."} 
[2026-09-08 16:08:15] local.INFO: Packet analysis {"connection_id":175861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:08:15] local.INFO: Extracted packet for processing {"connection_id":175861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763154816,"raw_latitude":99281904,"longitude_deg":76.3154816,"latitude_deg":9.9281904,"altitude":8,"angle":89,"satellites":24,"speed":18,"hex_longitude":"2d7cd180","hex_latitude":"05eaebf0","is_valid_coordinates":true} 
[2026-09-08 16:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949134848001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129921188745969664,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986299763136081920,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863820000,"timestamp_ms":1788863820000,"timestamp_seconds":1788863820,"priority":1,"record_length":96,"hex_timestamp":"000001a08097b0e0"} 
[2026-09-08 16:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631760,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2157320864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":145,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3634114628218257408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454856,"corrected_to":0} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2526007297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3516923917,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124334602,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2436956160,"corrected_to":0} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2147871432,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163030993292887,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3938959360,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4773822110926110735,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,8,87,24,241,157,16,146,160,71,45,192,220,15,10,66,145,249,217,14,23,221,64,1,240,247,227,128,234,4,113,205,65,91,184,21,239,52,2,5,6,124,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":247,"original":13454856,"validated":0},{"io_id":205,"original":2436956160,"validated":0}]} 
[2026-09-08 16:08:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864775893931196416,"timestamp_seconds":864775893931196.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949134848001,"66":13526,"8":206,"87":13824,"24":18,"16":129921188745969664,"45":8986299763136081920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949134848001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:08:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 16:08:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129921188745969664,"km_value":129921188745969.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986299763136081920,"description":"Unknown IO ID 45"} 
[2026-09-08 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949134848001,"power":13526,"unknown_8":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8986299763136081920}} 
[2026-09-08 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":175861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:08:15] local.INFO: GPS data processed {"connection_id":175861,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:08:15] local.INFO: Acknowledgment sent {"connection_id":175861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:08:34] local.INFO: TCP Data received {"connection_id":177329,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:08:34] local.INFO: Processing buffer {"connection_id":177329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:08:34] local.INFO: IMEI packet received {"connection_id":177329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":177329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:08:42] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809664d8012d196780071fed78003a011f28..."} 
[2026-09-08 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809664d8012d196780071fed78003a011f28..."} 
[2026-09-08 16:08:42] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809664d8012d196780071fed78003a011f28..."} 
[2026-09-08 16:08:42] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08096"} 
[2026-09-08 16:08:42] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08096"} 
[2026-09-08 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949110784001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:42] 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-09-08 16:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788863735000,"timestamp_ms":1788863735000,"timestamp_seconds":1788863735,"priority":1,"record_length":96,"hex_timestamp":"000001a0809664d8"} 
[2026-09-08 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-09-08 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949110784001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949110784001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949110784001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:08:42] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:08:42] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:08:46] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08097bc98012d7cd78005eaecb80008004c18..."} 
[2026-09-08 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08097bc98012d7cd78005eaecb80008004c18..."} 
[2026-09-08 16:08:46] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08097bc98012d7cd78005eaecb80008004c18..."} 
[2026-09-08 16:08:46] local.INFO: Packet analysis {"connection_id":175861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:08:46] local.INFO: Extracted packet for processing {"connection_id":175861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763156352,"raw_latitude":99282104,"longitude_deg":76.3156352,"latitude_deg":9.9282104,"altitude":8,"angle":76,"satellites":24,"speed":18,"hex_longitude":"2d7cd780","hex_latitude":"05eaecb8","is_valid_coordinates":true} 
[2026-09-08 16:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949137920001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129921266055380992,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994110693740113920,"note":"Value kept but may cause issues"} 
[2026-09-08 16:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788863823000,"timestamp_ms":1788863823000,"timestamp_seconds":1788863823,"priority":1,"record_length":96,"hex_timestamp":"000001a08097bc98"} 
[2026-09-08 16:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 16:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:08:46] 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-09-08 16:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949137920001,"66":13493,"8":206,"87":13824,"24":18,"16":129921266055380992,"45":8994110693740113920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-08 16:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949137920001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:08:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-08 16:08:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129921266055380992,"km_value":129921266055380.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994110693740113920,"description":"Unknown IO ID 45"} 
[2026-09-08 16:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949137920001,"power":13493,"unknown_8":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8994110693740113920}} 
[2026-09-08 16:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:08:46] local.INFO: GPS data processed {"connection_id":175861,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:08:46] local.INFO: Acknowledgment sent {"connection_id":175861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:01] local.INFO: TCP Data received {"connection_id":174805,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:01] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:01] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:09:01] local.INFO: TCP Data received {"connection_id":174533,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:01] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:01] local.INFO: IMEI packet received {"connection_id":174533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:09:02] local.INFO: TCP Data received {"connection_id":174805,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:02] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:02] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:09:02] local.INFO: TCP Data received {"connection_id":174533,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080988f88012d4bfc00068e80d80043011227..."} 
[2026-09-08 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080988f88012d4bfc00068e80d80043011227..."} 
[2026-09-08 16:09:02] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080988f88012d4bfc00068e80d80043011227..."} 
[2026-09-08 16:09:02] local.INFO: Packet analysis {"connection_id":174533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:09:02] local.INFO: Extracted packet for processing {"connection_id":174533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":759954432,"raw_latitude":110002392,"longitude_deg":75.9954432,"latitude_deg":11.0002392,"altitude":67,"angle":274,"satellites":39,"speed":29,"hex_longitude":"2d4bfc00","hex_latitude":"068e80d8","is_valid_coordinates":true} 
[2026-09-08 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949149952001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402798328124801024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5485173268065026048,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788863877000,"timestamp_ms":1788863877000,"timestamp_seconds":1788863877,"priority":1,"record_length":96,"hex_timestamp":"000001a080988f88"} 
[2026-09-08 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949149952001,"66":27832,"16":402798328124801024,"19":48128,"24":29,"45":5485173268065026048},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949149952001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402798328124801024,"km_value":402798328124801.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5485173268065026048,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949149952001,"power":27832,"odometer":null,"unknown_19":48128,"ignition":29,"unknown_45":5485173268065026048}} 
[2026-09-08 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":174533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:02] local.INFO: GPS data processed {"connection_id":174533,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:02] local.INFO: Acknowledgment sent {"connection_id":174533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:06] local.INFO: TCP Data received {"connection_id":174805,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:06] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:09:06] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:09:08] local.INFO: TCP Data received {"connection_id":174805,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08096b6e0012d196780071fed78003a011f28..."} 
[2026-09-08 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08096b6e0012d196780071fed78003a011f28..."} 
[2026-09-08 16:09:08] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08096b6e0012d196780071fed78003a011f28..."} 
[2026-09-08 16:09:08] local.INFO: Packet analysis {"connection_id":174805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08096"} 
[2026-09-08 16:09:08] local.INFO: Extracted packet for processing {"connection_id":174805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08096"} 
[2026-09-08 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949116160001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09: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-09-08 16:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788863756000,"timestamp_ms":1788863756000,"timestamp_seconds":1788863756,"priority":1,"record_length":96,"hex_timestamp":"000001a08096b6e0"} 
[2026-09-08 16:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949116160001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949116160001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949116160001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":174805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:08] local.INFO: GPS data processed {"connection_id":174805,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:08] local.INFO: Acknowledgment sent {"connection_id":174805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:08] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:09:08] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:09:08] local.INFO: IMEI packet received {"connection_id":174806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":174806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:09:13] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:09:14] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:09:14] local.INFO: IMEI packet received {"connection_id":174806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":174806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:09:14] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0809956c0012d7d214005eafd000004008418..."} 
[2026-09-08 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809956c0012d7d214005eafd000004008418..."} 
[2026-09-08 16:09:14] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809956c0012d7d214005eafd000004008418..."} 
[2026-09-08 16:09:14] local.INFO: Packet analysis {"connection_id":174806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:09:14] local.INFO: Extracted packet for processing {"connection_id":174806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99286272,"longitude_deg":76.3175232,"latitude_deg":9.9286272,"altitude":4,"angle":132,"satellites":24,"speed":9,"hex_longitude":"2d7d2140","hex_latitude":"05eafd00","is_valid_coordinates":true} 
[2026-09-08 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949165312001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129922215243153408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848157235200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788863928000,"timestamp_ms":1788863928000,"timestamp_seconds":1788863928,"priority":1,"record_length":96,"hex_timestamp":"000001a0809956c0"} 
[2026-09-08 16:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:09:14] 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-09-08 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949165312001,"66":13428,"158":206,"87":13824,"24":9,"16":129922215243153408,"45":9016276848157235200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-08 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949165312001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129922215243153408,"km_value":129922215243153.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848157235200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949165312001,"power":13428,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9016276848157235200}} 
[2026-09-08 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":174806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:14] local.INFO: GPS data processed {"connection_id":174806,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:14] local.INFO: Acknowledgment sent {"connection_id":174806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:21] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:09:21] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:09:21] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:09:22] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a08098be68012d0a75000705e4d8001400111f..."} 
[2026-09-08 16:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08098be68012d0a75000705e4d8001400111f..."} 
[2026-09-08 16:09:22] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08098be68012d0a75000705e4d8001400111f..."} 
[2026-09-08 16:09:22] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:09:22] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117826776,"longitude_deg":75.5660032,"latitude_deg":11.7826776,"altitude":20,"angle":17,"satellites":31,"speed":14,"hex_longitude":"2d0a7500","hex_latitude":"0705e4d8","is_valid_coordinates":true} 
[2026-09-08 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949154304001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30770442788667392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631796736,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788863889000,"timestamp_ms":1788863889000,"timestamp_seconds":1788863889,"priority":1,"record_length":96,"hex_timestamp":"000001a08098be68"} 
[2026-09-08 16:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949154304001,"66":14439,"153":206,"94":10240,"24":14,"16":30770442788667392,"45":752734486631796736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 16:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949154304001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 16:09:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30770442788667392,"km_value":30770442788667.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631796736,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949154304001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":752734486631796736}} 
[2026-09-08 16:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:22] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:22] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:41] local.INFO: TCP Data received {"connection_id":175863,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:41] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:41] local.INFO: IMEI packet received {"connection_id":175863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":175863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:09:45] local.INFO: TCP Data received {"connection_id":174805,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080970cd0012d196780071fed78003a011f29..."} 
[2026-09-08 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080970cd0012d196780071fed78003a011f29..."} 
[2026-09-08 16:09:45] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080970cd0012d196780071fed78003a011f29..."} 
[2026-09-08 16:09:45] local.INFO: Packet analysis {"connection_id":174805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:09:45] local.INFO: Extracted packet for processing {"connection_id":174805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949121536001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09: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-09-08 16:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788863778000,"timestamp_ms":1788863778000,"timestamp_seconds":1788863778,"priority":1,"record_length":96,"hex_timestamp":"000001a080970cd0"} 
[2026-09-08 16:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949121536001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949121536001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949121536001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":174805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:45] local.INFO: GPS data processed {"connection_id":174805,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:45] local.INFO: Acknowledgment sent {"connection_id":174805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:45] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080995aa8012d7d21c005eafc200003009d18..."} 
[2026-09-08 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080995aa8012d7d21c005eafc200003009d18..."} 
[2026-09-08 16:09:45] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080995aa8012d7d21c005eafc200003009d18..."} 
[2026-09-08 16:09:45] local.INFO: Packet analysis {"connection_id":174806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:09:45] local.INFO: Extracted packet for processing {"connection_id":174806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:09:45] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99286048,"longitude_deg":76.317536,"latitude_deg":9.9286048,"altitude":3,"angle":157,"satellites":24,"speed":10,"hex_longitude":"2d7d21c0","hex_latitude":"05eafc20","is_valid_coordinates":true} 
[2026-09-08 16:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949165568001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129922228128055296,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323133906944,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788863929000,"timestamp_ms":1788863929000,"timestamp_seconds":1788863929,"priority":1,"record_length":96,"hex_timestamp":"000001a080995aa8"} 
[2026-09-08 16:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:09:45] 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-09-08 16:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949165568001,"66":13820,"158":206,"87":13824,"24":10,"16":129922228128055296,"45":9016558323133906944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-08 16:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949165568001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129922228128055296,"km_value":129922228128055.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323133906944,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949165568001,"power":13820,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016558323133906944}} 
[2026-09-08 16:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":174806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:46] local.INFO: GPS data processed {"connection_id":174806,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:46] local.INFO: Acknowledgment sent {"connection_id":174806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:46] local.INFO: TCP Data received {"connection_id":175863,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:46] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:09:46] local.INFO: IMEI packet received {"connection_id":175863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":175863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:09:50] local.INFO: TCP Data received {"connection_id":175863,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08098ba80012d4bd840068e80d80049010727..."} 
[2026-09-08 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08098ba80012d4bd840068e80d80049010727..."} 
[2026-09-08 16:09:50] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08098ba80012d4bd840068e80d80049010727..."} 
[2026-09-08 16:09:50] local.INFO: Packet analysis {"connection_id":175863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:09:50] local.INFO: Extracted packet for processing {"connection_id":175863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":759945280,"raw_latitude":110002392,"longitude_deg":75.994528,"latitude_deg":11.0002392,"altitude":73,"angle":263,"satellites":39,"speed":33,"hex_longitude":"2d4bd840","hex_latitude":"068e80d8","is_valid_coordinates":true} 
[2026-09-08 16:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949152512001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402798766211465216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5475251275136292864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788863888000,"timestamp_ms":1788863888000,"timestamp_seconds":1788863888,"priority":1,"record_length":96,"hex_timestamp":"000001a08098ba80"} 
[2026-09-08 16:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949152512001,"66":27691,"16":402798766211465216,"19":48128,"24":33,"45":5475251275136292864},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 16:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949152512001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402798766211465216,"km_value":402798766211465.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5475251275136292864,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949152512001,"power":27691,"odometer":null,"unknown_19":48128,"ignition":33,"unknown_45":5475251275136292864}} 
[2026-09-08 16:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":175863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:50] local.INFO: GPS data processed {"connection_id":175863,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:50] local.INFO: Acknowledgment sent {"connection_id":175863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:09:53] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0809a0a70012d0a87c0070615c80011001621..."} 
[2026-09-08 16:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809a0a70012d0a87c0070615c80011001621..."} 
[2026-09-08 16:09:53] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809a0a70012d0a87c0070615c80011001621..."} 
[2026-09-08 16:09:53] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:09:53] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":755664832,"raw_latitude":117839304,"longitude_deg":75.5664832,"latitude_deg":11.7839304,"altitude":17,"angle":22,"satellites":33,"speed":7,"hex_longitude":"2d0a87c0","hex_latitude":"070615c8","is_valid_coordinates":true} 
[2026-09-08 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949177088001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30771306077093888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461146216448,"note":"Value kept but may cause issues"} 
[2026-09-08 16:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788863974000,"timestamp_ms":1788863974000,"timestamp_seconds":1788863974,"priority":1,"record_length":96,"hex_timestamp":"000001a0809a0a70"} 
[2026-09-08 16:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949177088001,"66":14407,"153":206,"94":10240,"24":7,"16":30771306077093888,"45":758645461146216448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-08 16:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949177088001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:09:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-08 16:09:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30771306077093888,"km_value":30771306077093.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461146216448,"description":"Unknown IO ID 45"} 
[2026-09-08 16:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949177088001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758645461146216448}} 
[2026-09-08 16:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784355,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:09:53] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:09:53] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:10:00] local.INFO: TCP Data received {"connection_id":174807,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:10:00] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:10:00] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:10:05] local.INFO: TCP Data received {"connection_id":174807,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:10:05] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:10:05] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:10:06] local.INFO: TCP Data received {"connection_id":174807,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080975ed8012d196780071fed78003a011f25..."} 
[2026-09-08 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080975ed8012d196780071fed78003a011f25..."} 
[2026-09-08 16:10:06] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080975ed8012d196780071fed78003a011f25..."} 
[2026-09-08 16:10:06] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:10:06] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949127168001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:06] 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-09-08 16:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788863799000,"timestamp_ms":1788863799000,"timestamp_seconds":1788863799,"priority":1,"record_length":96,"hex_timestamp":"000001a080975ed8"} 
[2026-09-08 16:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949127168001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949127168001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949127168001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:10:07] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:10:07] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:10:08] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:10:08] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:10:08] local.INFO: IMEI packet received {"connection_id":177330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":177330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:10:14] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:10:14] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:10:14] local.INFO: IMEI packet received {"connection_id":177330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":177330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:10:15] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080995e90012d7d220005eafad8000300b717..."} 
[2026-09-08 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080995e90012d7d220005eafad8000300b717..."} 
[2026-09-08 16:10:15] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080995e90012d7d220005eafad8000300b717..."} 
[2026-09-08 16:10:15] local.INFO: Packet analysis {"connection_id":177330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:10:15] local.INFO: Extracted packet for processing {"connection_id":177330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99285720,"longitude_deg":76.3175424,"latitude_deg":9.928572,"altitude":3,"angle":183,"satellites":23,"speed":13,"hex_longitude":"2d7d2200","hex_latitude":"05eafad8","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949165824001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129922245307924480,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060622204928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788863930000,"timestamp_ms":1788863930000,"timestamp_seconds":1788863930,"priority":1,"record_length":96,"hex_timestamp":"000001a080995e90"} 
[2026-09-08 16:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 16:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949165824001,"66":13820,"158":206,"87":13824,"24":13,"16":129922245307924480,"45":9016699060622204928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-08 16:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949165824001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129922245307924480,"km_value":129922245307924.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060622204928,"description":"Unknown IO ID 45"} 
[2026-09-08 16:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949165824001,"power":13820,"unknown_158":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9016699060622204928}} 
[2026-09-08 16:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":177330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:10:15] local.INFO: GPS data processed {"connection_id":177330,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:10:15] local.INFO: Acknowledgment sent {"connection_id":177330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:10:16] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:16] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:16] local.INFO: IMEI packet received {"connection_id":177331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":177331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:10:17] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:17] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:17] local.INFO: IMEI packet received {"connection_id":177331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":177331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:10:18] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:18] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:18] local.INFO: IMEI packet received {"connection_id":177331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":177331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:10:19] local.INFO: TCP Data received {"connection_id":177331,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:19] local.INFO: Processing buffer {"connection_id":177331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:10:19] local.INFO: IMEI packet received {"connection_id":177331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":177331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:10:24] local.INFO: TCP Data received {"connection_id":175863,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08098ca20012d4bcc80068e7e08004900fb27..."} 
[2026-09-08 16:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08098ca20012d4bcc80068e7e08004900fb27..."} 
[2026-09-08 16:10:24] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08098ca20012d4bcc80068e7e08004900fb27..."} 
[2026-09-08 16:10:24] local.INFO: Packet analysis {"connection_id":175863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:10:24] local.INFO: Extracted packet for processing {"connection_id":175863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:10:24] local.INFO: GPS Element Parsed {"raw_longitude":759942272,"raw_latitude":110001672,"longitude_deg":75.9942272,"latitude_deg":11.0001672,"altitude":73,"angle":251,"satellites":39,"speed":30,"hex_longitude":"2d4bcc80","hex_latitude":"068e7e08","is_valid_coordinates":true} 
[2026-09-08 16:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949155328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402798912240353280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5465188544718886912,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788863892000,"timestamp_ms":1788863892000,"timestamp_seconds":1788863892,"priority":1,"record_length":96,"hex_timestamp":"000001a08098ca20"} 
[2026-09-08 16:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 16:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949155328001,"66":27800,"16":402798912240353280,"19":48128,"24":30,"45":5465188544718886912},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 16:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949155328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402798912240353280,"km_value":402798912240353.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:10:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5465188544718886912,"description":"Unknown IO ID 45"} 
[2026-09-08 16:10:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949155328001,"power":27800,"odometer":null,"unknown_19":48128,"ignition":30,"unknown_45":5465188544718886912}} 
[2026-09-08 16:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":175863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:10:24] local.INFO: GPS data processed {"connection_id":175863,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:10:24] local.INFO: Acknowledgment sent {"connection_id":175863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:10:37] local.INFO: TCP Data received {"connection_id":174807,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08097b0e0012d196780071fed78003a011f29..."} 
[2026-09-08 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08097b0e0012d196780071fed78003a011f29..."} 
[2026-09-08 16:10:37] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08097b0e0012d196780071fed78003a011f29..."} 
[2026-09-08 16:10:37] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:10:37] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08097"} 
[2026-09-08 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949132544001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10: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-09-08 16:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788863820000,"timestamp_ms":1788863820000,"timestamp_seconds":1788863820,"priority":1,"record_length":96,"hex_timestamp":"000001a08097b0e0"} 
[2026-09-08 16:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949132544001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949132544001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949132544001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:10:38] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:10:38] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:10:41] local.INFO: TCP Data received {"connection_id":175865,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:10:41] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:10:41] local.INFO: IMEI packet received {"connection_id":175865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":175865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:10:47] local.INFO: TCP Data received {"connection_id":175865,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:10:47] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:10:47] local.INFO: IMEI packet received {"connection_id":175865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":175865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:10:48] local.INFO: TCP Data received {"connection_id":175865,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a08098f900012d4baac0068e6ee8004d00f224..."} 
[2026-09-08 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08098f900012d4baac0068e6ee8004d00f224..."} 
[2026-09-08 16:10:48] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08098f900012d4baac0068e6ee8004d00f224..."} 
[2026-09-08 16:10:48] local.INFO: Packet analysis {"connection_id":175865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:10:48] local.INFO: Extracted packet for processing {"connection_id":175865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:10:48] local.INFO: GPS Element Parsed {"raw_longitude":759933632,"raw_latitude":109997800,"longitude_deg":75.9933632,"latitude_deg":10.99978,"altitude":77,"angle":242,"satellites":36,"speed":31,"hex_longitude":"2d4baac0","hex_latitude":"068e6ee8","is_valid_coordinates":true} 
[2026-09-08 16:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949156352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402799367506886656,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461881213742352384,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,19,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788863904000,"timestamp_ms":1788863904000,"timestamp_seconds":1788863904,"priority":1,"record_length":96,"hex_timestamp":"000001a08098f900"} 
[2026-09-08 16:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949156352001,"66":27691,"16":402799367506886656,"19":48128,"24":31,"45":5461881213742352384},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,19,24,45]} 
[2026-09-08 16:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949156352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402799367506886656,"km_value":402799367506886.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:10:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461881213742352384,"description":"Unknown IO ID 45"} 
[2026-09-08 16:10:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949156352001,"power":27691,"odometer":null,"unknown_19":48128,"ignition":31,"unknown_45":5461881213742352384}} 
[2026-09-08 16:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":175865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:10:48] local.INFO: GPS data processed {"connection_id":175865,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:10:48] local.INFO: Acknowledgment sent {"connection_id":175865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:10:50] local.INFO: TCP Data received {"connection_id":177330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080999540012d7d208005ead700000200b418..."} 
[2026-09-08 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080999540012d7d208005ead700000200b418..."} 
[2026-09-08 16:10:50] local.INFO: Processing buffer {"connection_id":177330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080999540012d7d208005ead700000200b418..."} 
[2026-09-08 16:10:50] local.INFO: Packet analysis {"connection_id":177330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:10:50] local.INFO: Extracted packet for processing {"connection_id":177330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99276544,"longitude_deg":76.317504,"latitude_deg":9.9276544,"altitude":2,"angle":180,"satellites":24,"speed":18,"hex_longitude":"2d7d2080","hex_latitude":"05ead700","is_valid_coordinates":true} 
[2026-09-08 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949166080001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129922691984523264,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769429366298624,"note":"Value kept but may cause issues"} 
[2026-09-08 16:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788863944000,"timestamp_ms":1788863944000,"timestamp_seconds":1788863944,"priority":1,"record_length":96,"hex_timestamp":"000001a080999540"} 
[2026-09-08 16:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 16:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:10:50] 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-09-08 16:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949166080001,"66":12461,"158":206,"87":13824,"24":18,"16":129922691984523264,"45":9016769429366298624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-08 16:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949166080001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:10:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-08 16:10:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129922691984523264,"km_value":129922691984523.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769429366298624,"description":"Unknown IO ID 45"} 
[2026-09-08 16:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949166080001,"power":12461,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9016769429366298624}} 
[2026-09-08 16:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":177330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:10:50] local.INFO: GPS data processed {"connection_id":177330,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:10:50] local.INFO: Acknowledgment sent {"connection_id":177330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:11:00] local.INFO: TCP Data received {"connection_id":174808,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:11:00] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:11:00] local.INFO: IMEI packet received {"connection_id":174808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":174808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:11:06] local.INFO: TCP Data received {"connection_id":174808,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:11:06] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:11:06] local.INFO: IMEI packet received {"connection_id":174808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":174808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:11:07] local.INFO: TCP Data received {"connection_id":174808,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809802e8012d196780071fed78003a011f27..."} 
[2026-09-08 16:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809802e8012d196780071fed78003a011f27..."} 
[2026-09-08 16:11:07] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809802e8012d196780071fed78003a011f27..."} 
[2026-09-08 16:11:07] local.INFO: Packet analysis {"connection_id":174808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:11:07] local.INFO: Extracted packet for processing {"connection_id":174808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949137920001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11: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-09-08 16:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788863841000,"timestamp_ms":1788863841000,"timestamp_seconds":1788863841,"priority":1,"record_length":96,"hex_timestamp":"000001a0809802e8"} 
[2026-09-08 16:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949137920001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949137920001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:11:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949137920001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":174808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:11:07] local.INFO: GPS data processed {"connection_id":174808,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:11:07] local.INFO: Acknowledgment sent {"connection_id":174808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:11:08] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:08] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:08] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:11:10] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:10] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:10] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:11:10] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:10] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:10] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:11:11] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:11] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:11:11] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:11:20] local.INFO: TCP Data received {"connection_id":175865,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809a4120012d4b84c0068de518004700ac2a..."} 
[2026-09-08 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809a4120012d4b84c0068de518004700ac2a..."} 
[2026-09-08 16:11:20] local.INFO: Processing buffer {"connection_id":175865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809a4120012d4b84c0068de518004700ac2a..."} 
[2026-09-08 16:11:20] local.INFO: Packet analysis {"connection_id":175865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:11:20] local.INFO: Extracted packet for processing {"connection_id":175865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":759923904,"raw_latitude":109962520,"longitude_deg":75.9923904,"latitude_deg":10.996252,"altitude":71,"angle":172,"satellites":42,"speed":7,"hex_longitude":"2d4b84c0","hex_latitude":"068de518","is_valid_coordinates":true} 
[2026-09-08 16:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949180928001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402801562235174912,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5441685384153339904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788863988000,"timestamp_ms":1788863988000,"timestamp_seconds":1788863988,"priority":1,"record_length":96,"hex_timestamp":"000001a0809a4120"} 
[2026-09-08 16:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949180928001,"66":27745,"127":206,"19":48128,"24":7,"16":402801562235174912,"45":5441685384153339904},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-09-08 16:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949180928001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:11:20] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-08 16:11:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402801562235174912,"km_value":402801562235174.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5441685384153339904,"description":"Unknown IO ID 45"} 
[2026-09-08 16:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949180928001,"power":27745,"unknown_127":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":5441685384153339904}} 
[2026-09-08 16:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":175865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:11:20] local.INFO: GPS data processed {"connection_id":175865,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:11:20] local.INFO: Acknowledgment sent {"connection_id":175865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:11:39] local.INFO: TCP Data received {"connection_id":174808,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809854f0012d196780071fed78003a011f28..."} 
[2026-09-08 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809854f0012d196780071fed78003a011f28..."} 
[2026-09-08 16:11:39] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809854f0012d196780071fed78003a011f28..."} 
[2026-09-08 16:11:39] local.INFO: Packet analysis {"connection_id":174808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:11:39] local.INFO: Extracted packet for processing {"connection_id":174808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949143296001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11: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-09-08 16:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788863862000,"timestamp_ms":1788863862000,"timestamp_seconds":1788863862,"priority":1,"record_length":96,"hex_timestamp":"000001a0809854f0"} 
[2026-09-08 16:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949143296001,"66":11547,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949143296001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949143296001,"power":11547,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":174808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:11:39] local.INFO: GPS data processed {"connection_id":174808,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:11:39] local.INFO: Acknowledgment sent {"connection_id":174808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:11:44] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:44] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:44] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:11:46] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:46] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:46] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:11:52] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:52] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:11:52] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:11:53] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809a9328012d4b88c0068dd1c0004900ac29..."} 
[2026-09-08 16:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809a9328012d4b88c0068dd1c0004900ac29..."} 
[2026-09-08 16:11:53] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809a9328012d4b88c0068dd1c0004900ac29..."} 
[2026-09-08 16:11:53] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:11:53] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":759924928,"raw_latitude":109957568,"longitude_deg":75.9924928,"latitude_deg":10.9957568,"altitude":73,"angle":172,"satellites":41,"speed":23,"hex_longitude":"2d4b88c0","hex_latitude":"068dd1c0","is_valid_coordinates":true} 
[2026-09-08 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949180928001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402801811343278080,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5441685384153339904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788864009000,"timestamp_ms":1788864009000,"timestamp_seconds":1788864009,"priority":1,"record_length":96,"hex_timestamp":"000001a0809a9328"} 
[2026-09-08 16:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949180928001,"66":27908,"127":206,"19":48128,"24":23,"16":402801811343278080,"45":5441685384153339904},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-09-08 16:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949180928001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:11:53] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-08 16:11:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402801811343278080,"km_value":402801811343278.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5441685384153339904,"description":"Unknown IO ID 45"} 
[2026-09-08 16:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949180928001,"power":27908,"unknown_127":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":5441685384153339904}} 
[2026-09-08 16:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:11:54] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:11:54] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:11:57] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809ac9d8012d4b8d00068dae00004b00ad29..."} 
[2026-09-08 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809ac9d8012d4b8d00068dae00004b00ad29..."} 
[2026-09-08 16:11:57] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809ac9d8012d4b8d00068dae00004b00ad29..."} 
[2026-09-08 16:11:57] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:11:57] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:11:57] local.INFO: GPS Element Parsed {"raw_longitude":759926016,"raw_latitude":109948416,"longitude_deg":75.9926016,"latitude_deg":10.9948416,"altitude":75,"angle":173,"satellites":41,"speed":30,"hex_longitude":"2d4b8d00","hex_latitude":"068dae00","is_valid_coordinates":true} 
[2026-09-08 16:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949186304001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402802258019876864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442811284058914816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788864023000,"timestamp_ms":1788864023000,"timestamp_seconds":1788864023,"priority":1,"record_length":96,"hex_timestamp":"000001a0809ac9d8"} 
[2026-09-08 16:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 16:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949186304001,"66":27984,"127":206,"19":48128,"24":30,"16":402802258019876864,"45":5442811284058914816},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-09-08 16:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949186304001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:11:57] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-08 16:11:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402802258019876864,"km_value":402802258019876.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442811284058914816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949186304001,"power":27984,"unknown_127":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5442811284058914816}} 
[2026-09-08 16:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:11:57] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:11:57] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:12:05] local.INFO: TCP Data received {"connection_id":175867,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:12:05] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:12:05] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:12:11] local.INFO: TCP Data received {"connection_id":175867,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:12:11] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:12:11] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:12:12] local.INFO: TCP Data received {"connection_id":175867,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08098a6f8012d196780071fed78003a011f27..."} 
[2026-09-08 16:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08098a6f8012d196780071fed78003a011f27..."} 
[2026-09-08 16:12:12] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08098a6f8012d196780071fed78003a011f27..."} 
[2026-09-08 16:12:12] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:12:12] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949148672001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:12: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-09-08 16:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788863883000,"timestamp_ms":1788863883000,"timestamp_seconds":1788863883,"priority":1,"record_length":96,"hex_timestamp":"000001a08098a6f8"} 
[2026-09-08 16:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 16:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949148672001,"66":12113,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949148672001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:12:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949148672001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:12:13] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:12:13] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:12:44] local.INFO: TCP Data received {"connection_id":175867,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08098f518012d196780071fed78003a011f27..."} 
[2026-09-08 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08098f518012d196780071fed78003a011f27..."} 
[2026-09-08 16:12:44] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08098f518012d196780071fed78003a011f27..."} 
[2026-09-08 16:12:44] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:12:44] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08098"} 
[2026-09-08 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949154048001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:12: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-09-08 16:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788863903000,"timestamp_ms":1788863903000,"timestamp_seconds":1788863903,"priority":1,"record_length":96,"hex_timestamp":"000001a08098f518"} 
[2026-09-08 16:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-08 16:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949154048001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949154048001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:12:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949154048001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:12:44] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:12:44] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:13:00] local.INFO: TCP Data received {"connection_id":174811,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:13:00] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:13:00] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:13:05] local.INFO: TCP Data received {"connection_id":174811,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:13:05] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:13:05] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:13:07] local.INFO: TCP Data received {"connection_id":174811,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080994b08012d196780071fed78003a011f25..."} 
[2026-09-08 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080994b08012d196780071fed78003a011f25..."} 
[2026-09-08 16:13:07] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080994b08012d196780071fed78003a011f25..."} 
[2026-09-08 16:13:07] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:13:07] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949159168001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13: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-09-08 16:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788863925000,"timestamp_ms":1788863925000,"timestamp_seconds":1788863925,"priority":1,"record_length":96,"hex_timestamp":"000001a080994b08"} 
[2026-09-08 16:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949159168001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949159168001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:13:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949159168001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:13:07] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:13:07] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:13:11] local.INFO: TCP Data received {"connection_id":174537,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:11] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:11] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:13:13] local.INFO: TCP Data received {"connection_id":174537,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:13] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:13] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:13:16] local.INFO: TCP Data received {"connection_id":174537,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:16] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:16] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:13:17] local.INFO: TCP Data received {"connection_id":174537,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809b1be0012d4b8f80068d94a0004d00ab2b..."} 
[2026-09-08 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809b1be0012d4b8f80068d94a0004d00ab2b..."} 
[2026-09-08 16:13:17] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809b1be0012d4b8f80068d94a0004d00ab2b..."} 
[2026-09-08 16:13:17] local.INFO: Packet analysis {"connection_id":174537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809b"} 
[2026-09-08 16:13:17] local.INFO: Extracted packet for processing {"connection_id":174537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809b"} 
[2026-09-08 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":759926656,"raw_latitude":109941920,"longitude_deg":75.9926656,"latitude_deg":10.994192,"altitude":77,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d4b8f80","hex_latitude":"068d94a0","is_valid_coordinates":true} 
[2026-09-08 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949189888001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402802575847456768,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5444007552707592192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788864044000,"timestamp_ms":1788864044000,"timestamp_seconds":1788864044,"priority":1,"record_length":96,"hex_timestamp":"000001a0809b1be0"} 
[2026-09-08 16:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 16:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949189888001,"66":27832,"127":206,"19":48128,"24":0,"16":402802575847456768,"45":5444007552707592192},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-09-08 16:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949189888001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402802575847456768,"km_value":402802575847456.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5444007552707592192,"description":"Unknown IO ID 45"} 
[2026-09-08 16:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949189888001,"power":27832,"unknown_127":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5444007552707592192}} 
[2026-09-08 16:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":174537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:13:17] local.INFO: GPS data processed {"connection_id":174537,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:13:17] local.INFO: Acknowledgment sent {"connection_id":174537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:13:38] local.INFO: TCP Data received {"connection_id":174811,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080999928012d196780071fed78003a011f25..."} 
[2026-09-08 16:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080999928012d196780071fed78003a011f25..."} 
[2026-09-08 16:13:38] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080999928012d196780071fed78003a011f25..."} 
[2026-09-08 16:13:38] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:13:38] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949164800001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13: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-09-08 16:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788863945000,"timestamp_ms":1788863945000,"timestamp_seconds":1788863945,"priority":1,"record_length":96,"hex_timestamp":"000001a080999928"} 
[2026-09-08 16:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949164800001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949164800001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949164800001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:13:39] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:13:39] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:13:44] local.INFO: TCP Data received {"connection_id":174539,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:44] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:44] local.INFO: IMEI packet received {"connection_id":174539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":174539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:13:46] local.INFO: TCP Data received {"connection_id":174539,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:46] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:46] local.INFO: IMEI packet received {"connection_id":174539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":174539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:13:52] local.INFO: TCP Data received {"connection_id":174539,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:52] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:13:52] local.INFO: IMEI packet received {"connection_id":174539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":174539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:13:53] local.INFO: TCP Data received {"connection_id":174539,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809b6de8012d4b90c0068d8670004c00ad2b..."} 
[2026-09-08 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809b6de8012d4b90c0068d8670004c00ad2b..."} 
[2026-09-08 16:13:53] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809b6de8012d4b90c0068d8670004c00ad2b..."} 
[2026-09-08 16:13:53] local.INFO: Packet analysis {"connection_id":174539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809b"} 
[2026-09-08 16:13:53] local.INFO: Extracted packet for processing {"connection_id":174539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809b"} 
[2026-09-08 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":759926976,"raw_latitude":109938288,"longitude_deg":75.9926976,"latitude_deg":10.9938288,"altitude":76,"angle":173,"satellites":43,"speed":7,"hex_longitude":"2d4b90c0","hex_latitude":"068d8670","is_valid_coordinates":true} 
[2026-09-08 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949195264001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402802756236083200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5444711240147705856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788864065000,"timestamp_ms":1788864065000,"timestamp_seconds":1788864065,"priority":1,"record_length":96,"hex_timestamp":"000001a0809b6de8"} 
[2026-09-08 16:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 16:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949195264001,"66":27832,"127":206,"19":48128,"24":7,"16":402802756236083200,"45":5444711240147705856},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-09-08 16:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949195264001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:13:53] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-08 16:13:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402802756236083200,"km_value":402802756236083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5444711240147705856,"description":"Unknown IO ID 45"} 
[2026-09-08 16:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949195264001,"power":27832,"unknown_127":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":5444711240147705856}} 
[2026-09-08 16:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":174539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:13:53] local.INFO: GPS data processed {"connection_id":174539,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:13:53] local.INFO: Acknowledgment sent {"connection_id":174539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:13:59] local.INFO: TCP Data received {"connection_id":177334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:13:59] local.INFO: Processing buffer {"connection_id":177334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:13:59] local.INFO: IMEI packet received {"connection_id":177334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":177334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:14:06] local.INFO: TCP Data received {"connection_id":175869,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:06] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:06] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:14:11] local.INFO: TCP Data received {"connection_id":175869,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:11] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:11] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:14:12] local.INFO: TCP Data received {"connection_id":175869,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08099eb30012d196780071fed78003a011f28..."} 
[2026-09-08 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08099eb30012d196780071fed78003a011f28..."} 
[2026-09-08 16:14:12] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08099eb30012d196780071fed78003a011f28..."} 
[2026-09-08 16:14:12] local.INFO: Packet analysis {"connection_id":175869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:14:12] local.INFO: Extracted packet for processing {"connection_id":175869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08099"} 
[2026-09-08 16:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949169920001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14: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-09-08 16:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788863966000,"timestamp_ms":1788863966000,"timestamp_seconds":1788863966,"priority":1,"record_length":96,"hex_timestamp":"000001a08099eb30"} 
[2026-09-08 16:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949169920001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949169920001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:14:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949169920001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":175869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:14:12] local.INFO: GPS data processed {"connection_id":175869,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:14:12] local.INFO: Acknowledgment sent {"connection_id":175869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:14:16] local.INFO: TCP Data received {"connection_id":175869,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809a3d38012d196780071fed78003a011f28..."} 
[2026-09-08 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809a3d38012d196780071fed78003a011f28..."} 
[2026-09-08 16:14:16] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809a3d38012d196780071fed78003a011f28..."} 
[2026-09-08 16:14:16] local.INFO: Packet analysis {"connection_id":175869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:14:16] local.INFO: Extracted packet for processing {"connection_id":175869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809a"} 
[2026-09-08 16:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949175296001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:16] 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-09-08 16:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788863987000,"timestamp_ms":1788863987000,"timestamp_seconds":1788863987,"priority":1,"record_length":96,"hex_timestamp":"000001a0809a3d38"} 
[2026-09-08 16:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949175296001,"66":12439,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949175296001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:14:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:14:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949175296001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":175869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:14:16] local.INFO: GPS data processed {"connection_id":175869,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:14:16] local.INFO: Acknowledgment sent {"connection_id":175869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:14:26] local.INFO: TCP Data received {"connection_id":174539,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809d65d0012d4c1880068c3d38005100862c..."} 
[2026-09-08 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809d65d0012d4c1880068c3d38005100862c..."} 
[2026-09-08 16:14:26] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809d65d0012d4c1880068c3d38005100862c..."} 
[2026-09-08 16:14:26] local.INFO: Packet analysis {"connection_id":174539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:14:26] local.INFO: Extracted packet for processing {"connection_id":174539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:14:26] local.INFO: GPS Element Parsed {"raw_longitude":759961728,"raw_latitude":109854008,"longitude_deg":75.9961728,"latitude_deg":10.9854008,"altitude":81,"angle":134,"satellites":44,"speed":45,"hex_longitude":"2d4c1880","hex_latitude":"068c3d38","is_valid_coordinates":true} 
[2026-09-08 16:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949231616001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402807291721547776,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5476377175006863360,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788864194000,"timestamp_ms":1788864194000,"timestamp_seconds":1788864194,"priority":1,"record_length":96,"hex_timestamp":"000001a0809d65d0"} 
[2026-09-08 16:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 16:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949231616001,"66":27876,"31":206,"19":48128,"24":45,"16":402807291721547776,"45":5476377175006863360},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,19,24,16,45]} 
[2026-09-08 16:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949231616001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:14:26] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-08 16:14:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402807291721547776,"km_value":402807291721547.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5476377175006863360,"description":"Unknown IO ID 45"} 
[2026-09-08 16:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949231616001,"power":27876,"unknown_31":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":5476377175006863360}} 
[2026-09-08 16:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":174539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:14:26] local.INFO: GPS data processed {"connection_id":174539,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:14:26] local.INFO: Acknowledgment sent {"connection_id":174539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:14:43] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:14:43] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:14:43] local.INFO: IMEI packet received {"connection_id":174812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":174812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:14:45] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:14:45] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:14:45] local.INFO: IMEI packet received {"connection_id":174812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":174812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:14:48] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809d88f8012d4c34c0068c25d80051007d2c..."} 
[2026-09-08 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809d88f8012d4c34c0068c25d80051007d2c..."} 
[2026-09-08 16:14:48] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809d88f8012d4c34c0068c25d80051007d2c..."} 
[2026-09-08 16:14:48] local.INFO: Packet analysis {"connection_id":174812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:14:48] local.INFO: Extracted packet for processing {"connection_id":174812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:14:48] local.INFO: GPS Element Parsed {"raw_longitude":759968960,"raw_latitude":109848024,"longitude_deg":75.996896,"latitude_deg":10.9848024,"altitude":81,"angle":125,"satellites":44,"speed":34,"hex_longitude":"2d4c34c0","hex_latitude":"068c25d8","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949233664001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402807742693113856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5483273311934560256,"note":"Value kept but may cause issues"} 
[2026-09-08 16:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864203000,"timestamp_ms":1788864203000,"timestamp_seconds":1788864203,"priority":1,"record_length":96,"hex_timestamp":"000001a0809d88f8"} 
[2026-09-08 16:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 16:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949233664001,"66":27865,"31":206,"19":48128,"24":34,"16":402807742693113856,"45":5483273311934560256},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,19,24,16,45]} 
[2026-09-08 16:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949233664001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:14:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-08 16:14:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402807742693113856,"km_value":402807742693113.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5483273311934560256,"description":"Unknown IO ID 45"} 
[2026-09-08 16:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949233664001,"power":27865,"unknown_31":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":5483273311934560256}} 
[2026-09-08 16:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":174812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:14:48] local.INFO: GPS data processed {"connection_id":174812,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:14:48] local.INFO: Acknowledgment sent {"connection_id":174812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:14:49] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:14:49] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:14:49] local.INFO: IMEI packet received {"connection_id":174813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":174813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:14:59] local.INFO: TCP Data received {"connection_id":174540,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:59] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:14:59] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:15:00] local.INFO: TCP Data received {"connection_id":174540,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:15:00] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:15:00] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:15:06] local.INFO: TCP Data received {"connection_id":174540,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:15:06] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:15:06] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:15:07] local.INFO: TCP Data received {"connection_id":174540,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809dc390012d196780071fed78003a011f28..."} 
[2026-09-08 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809dc390012d196780071fed78003a011f28..."} 
[2026-09-08 16:15:07] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809dc390012d196780071fed78003a011f28..."} 
[2026-09-08 16:15:07] local.INFO: Packet analysis {"connection_id":174540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:15:07] local.INFO: Extracted packet for processing {"connection_id":174540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949234432001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15: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-09-08 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864218000,"timestamp_ms":1788864218000,"timestamp_seconds":1788864218,"priority":1,"record_length":96,"hex_timestamp":"000001a0809dc390"} 
[2026-09-08 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949234432001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949234432001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:15:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949234432001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":174540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:15:07] local.INFO: GPS data processed {"connection_id":174540,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:15:07] local.INFO: Acknowledgment sent {"connection_id":174540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:15:22] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809ddb00012d4c4ac0068c17900054007c2b..."} 
[2026-09-08 16:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809ddb00012d4c4ac0068c17900054007c2b..."} 
[2026-09-08 16:15:22] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809ddb00012d4c4ac0068c17900054007c2b..."} 
[2026-09-08 16:15:22] local.INFO: Packet analysis {"connection_id":174812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:15:22] local.INFO: Extracted packet for processing {"connection_id":174812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809d"} 
[2026-09-08 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":759974592,"raw_latitude":109844368,"longitude_deg":75.9974592,"latitude_deg":10.9844368,"altitude":84,"angle":124,"satellites":43,"speed":13,"hex_longitude":"2d4c4ac0","hex_latitude":"068c1790","is_valid_coordinates":true} 
[2026-09-08 16:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949235968001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402808064815661056,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5491224980025104384,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788864224000,"timestamp_ms":1788864224000,"timestamp_seconds":1788864224,"priority":1,"record_length":96,"hex_timestamp":"000001a0809ddb00"} 
[2026-09-08 16:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949235968001,"66":27843,"32":206,"19":48128,"24":13,"16":402808064815661056,"45":5491224980025104384},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,19,24,16,45]} 
[2026-09-08 16:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949235968001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:15:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 16:15:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402808064815661056,"km_value":402808064815661.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5491224980025104384,"description":"Unknown IO ID 45"} 
[2026-09-08 16:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949235968001,"power":27843,"unknown_32":206,"unknown_19":48128,"ignition":13,"odometer":null,"unknown_45":5491224980025104384}} 
[2026-09-08 16:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":174812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:15:22] local.INFO: GPS data processed {"connection_id":174812,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:15:22] local.INFO: Acknowledgment sent {"connection_id":174812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:15:24] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:15:24] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:15:24] local.INFO: IMEI packet received {"connection_id":174815,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":174815,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:15:25] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0809ea620012d09bf8007056978001c007b20..."} 
[2026-09-08 16:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809ea620012d09bf8007056978001c007b20..."} 
[2026-09-08 16:15:25] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809ea620012d09bf8007056978001c007b20..."} 
[2026-09-08 16:15:25] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:25] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:25] local.INFO: GPS Element Parsed {"raw_longitude":755613568,"raw_latitude":117795192,"longitude_deg":75.5613568,"latitude_deg":11.7795192,"altitude":28,"angle":123,"satellites":32,"speed":7,"hex_longitude":"2d09bf80","hex_latitude":"07056978","is_valid_coordinates":true} 
[2026-09-08 16:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949253632001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30775996181381120,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702350465792987136,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788864276000,"timestamp_ms":1788864276000,"timestamp_seconds":1788864276,"priority":1,"record_length":96,"hex_timestamp":"000001a0809ea620"} 
[2026-09-08 16:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949253632001,"66":14537,"177":206,"94":10240,"24":7,"16":30775996181381120,"45":702350465792987136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949253632001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:15:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:15:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30775996181381120,"km_value":30775996181381.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":702350465792987136,"description":"Unknown IO ID 45"} 
[2026-09-08 16:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949253632001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":702350465792987136}} 
[2026-09-08 16:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:15:25] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:15:25] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:15:39] local.INFO: TCP Data received {"connection_id":174540,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809e1598012d196780071fed78003a011f28..."} 
[2026-09-08 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809e1598012d196780071fed78003a011f28..."} 
[2026-09-08 16:15:39] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809e1598012d196780071fed78003a011f28..."} 
[2026-09-08 16:15:39] local.INFO: Packet analysis {"connection_id":174540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:39] local.INFO: Extracted packet for processing {"connection_id":174540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949239808001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15: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-09-08 16:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788864239000,"timestamp_ms":1788864239000,"timestamp_seconds":1788864239,"priority":1,"record_length":96,"hex_timestamp":"000001a0809e1598"} 
[2026-09-08 16:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949239808001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949239808001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949239808001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":174540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:15:39] local.INFO: GPS data processed {"connection_id":174540,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:15:39] local.INFO: Acknowledgment sent {"connection_id":174540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:15:41] local.INFO: TCP Data received {"connection_id":174541,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:41] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:41] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:15:42] local.INFO: TCP Data received {"connection_id":174541,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:42] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:42] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:15:47] local.INFO: TCP Data received {"connection_id":174541,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:47] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:15:47] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:15:49] local.INFO: TCP Data received {"connection_id":174541,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809e1598012d4c6a00068c01d8004e007e2a..."} 
[2026-09-08 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809e1598012d4c6a00068c01d8004e007e2a..."} 
[2026-09-08 16:15:49] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809e1598012d4c6a00068c01d8004e007e2a..."} 
[2026-09-08 16:15:49] local.INFO: Packet analysis {"connection_id":174541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:49] local.INFO: Extracted packet for processing {"connection_id":174541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":759982592,"raw_latitude":109838808,"longitude_deg":75.9982592,"latitude_deg":10.9838808,"altitude":78,"angle":126,"satellites":42,"speed":36,"hex_longitude":"2d4c6a00","hex_latitude":"068c01d8","is_valid_coordinates":true} 
[2026-09-08 16:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949241344001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402808532967096320,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5497417429511802880,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788864239000,"timestamp_ms":1788864239000,"timestamp_seconds":1788864239,"priority":1,"record_length":96,"hex_timestamp":"000001a0809e1598"} 
[2026-09-08 16:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 16:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949241344001,"66":27800,"32":206,"19":48128,"24":36,"16":402808532967096320,"45":5497417429511802880},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,19,24,16,45]} 
[2026-09-08 16:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949241344001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:15:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 16:15:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402808532967096320,"km_value":402808532967096.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5497417429511802880,"description":"Unknown IO ID 45"} 
[2026-09-08 16:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949241344001,"power":27800,"unknown_32":206,"unknown_19":48128,"ignition":36,"odometer":null,"unknown_45":5497417429511802880}} 
[2026-09-08 16:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":174541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:15:49] local.INFO: GPS data processed {"connection_id":174541,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:15:49] local.INFO: Acknowledgment sent {"connection_id":174541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:15:56] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0809eaa08012d09c04007056928001c00681e..."} 
[2026-09-08 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809eaa08012d09c04007056928001c00681e..."} 
[2026-09-08 16:15:56] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809eaa08012d09c04007056928001c00681e..."} 
[2026-09-08 16:15:56] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:56] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:15:56] local.INFO: GPS Element Parsed {"raw_longitude":755613760,"raw_latitude":117795112,"longitude_deg":75.561376,"latitude_deg":11.7795112,"altitude":28,"angle":104,"satellites":30,"speed":8,"hex_longitude":"2d09c040","hex_latitude":"07056928","is_valid_coordinates":true} 
[2026-09-08 16:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949254656001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30776009066283008,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702420834537011200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788864277000,"timestamp_ms":1788864277000,"timestamp_seconds":1788864277,"priority":1,"record_length":96,"hex_timestamp":"000001a0809eaa08"} 
[2026-09-08 16:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 16:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949254656001,"66":14537,"177":206,"94":10240,"24":8,"16":30776009066283008,"45":702420834537011200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949254656001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:15:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:15:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30776009066283008,"km_value":30776009066283.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":702420834537011200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949254656001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":702420834537011200}} 
[2026-09-08 16:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:15:56] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:15:56] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:01] local.INFO: TCP Data received {"connection_id":174542,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:01] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:01] local.INFO: IMEI packet received {"connection_id":174542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":174542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:16:02] local.INFO: TCP Data received {"connection_id":174542,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:02] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:02] local.INFO: IMEI packet received {"connection_id":174542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":174542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:16:06] local.INFO: TCP Data received {"connection_id":174542,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:06] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:16:06] local.INFO: IMEI packet received {"connection_id":174542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":174542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:16:07] local.INFO: TCP Data received {"connection_id":174542,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809e67a0012d196780071fed78003a011f27..."} 
[2026-09-08 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809e67a0012d196780071fed78003a011f27..."} 
[2026-09-08 16:16:07] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809e67a0012d196780071fed78003a011f27..."} 
[2026-09-08 16:16:07] local.INFO: Packet analysis {"connection_id":174542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:16:07] local.INFO: Extracted packet for processing {"connection_id":174542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949245184001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16: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-09-08 16:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864260000,"timestamp_ms":1788864260000,"timestamp_seconds":1788864260,"priority":1,"record_length":96,"hex_timestamp":"000001a0809e67a0"} 
[2026-09-08 16:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949245184001,"66":11993,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949245184001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949245184001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":174542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:07] local.INFO: GPS data processed {"connection_id":174542,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:07] local.INFO: Acknowledgment sent {"connection_id":174542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:13] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:13] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:13] local.INFO: IMEI packet received {"connection_id":177336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":177336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:16:14] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:14] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:14] local.INFO: IMEI packet received {"connection_id":177336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":177336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:16:14] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:16:14] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:16:14] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:16:18] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:18] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:16:18] local.INFO: IMEI packet received {"connection_id":177336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":177336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:16:19] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a01168012d09bcc0070504880016008b21..."} 
[2026-09-08 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a01168012d09bcc0070504880016008b21..."} 
[2026-09-08 16:16:19] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a01168012d09bcc0070504880016008b21..."} 
[2026-09-08 16:16:19] local.INFO: Packet analysis {"connection_id":177336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:16:19] local.INFO: Extracted packet for processing {"connection_id":177336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":755612864,"raw_latitude":117769352,"longitude_deg":75.5612864,"latitude_deg":11.7769352,"altitude":22,"angle":139,"satellites":33,"speed":14,"hex_longitude":"2d09bcc0","hex_latitude":"07050488","is_valid_coordinates":true} 
[2026-09-08 16:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949276416001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30777340506144768,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":700661615926886400,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788864369000,"timestamp_ms":1788864369000,"timestamp_seconds":1788864369,"priority":1,"record_length":96,"hex_timestamp":"000001a080a01168"} 
[2026-09-08 16:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949276416001,"66":14548,"177":206,"94":10240,"24":14,"16":30777340506144768,"45":700661615926886400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949276416001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:16:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30777340506144768,"km_value":30777340506144.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":700661615926886400,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949276416001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":700661615926886400}} 
[2026-09-08 16:16:19] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:16:19] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:16:19] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":177336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:20] local.INFO: GPS data processed {"connection_id":177336,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:20] local.INFO: Acknowledgment sent {"connection_id":177336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:20] local.INFO: TCP Data received {"connection_id":174541,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809e34d8012d4c7fc0068beed8004b00892a..."} 
[2026-09-08 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809e34d8012d4c7fc0068beed8004b00892a..."} 
[2026-09-08 16:16:20] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809e34d8012d4c7fc0068beed8004b00892a..."} 
[2026-09-08 16:16:20] local.INFO: Packet analysis {"connection_id":174541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:16:20] local.INFO: Extracted packet for processing {"connection_id":174541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:16:20] local.INFO: GPS Element Parsed {"raw_longitude":759988160,"raw_latitude":109833944,"longitude_deg":75.998816,"latitude_deg":10.9833944,"altitude":75,"angle":137,"satellites":42,"speed":36,"hex_longitude":"2d4c7fc0","hex_latitude":"068beed8","is_valid_coordinates":true} 
[2026-09-08 16:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949245184001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402808889449381888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5506213522532587520,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788864247000,"timestamp_ms":1788864247000,"timestamp_seconds":1788864247,"priority":1,"record_length":96,"hex_timestamp":"000001a0809e34d8"} 
[2026-09-08 16:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949245184001,"66":27800,"32":206,"19":48128,"24":36,"16":402808889449381888,"45":5506213522532587520},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,19,24,16,45]} 
[2026-09-08 16:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949245184001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 16:16:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402808889449381888,"km_value":402808889449381.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5506213522532587520,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949245184001,"power":27800,"unknown_32":206,"unknown_19":48128,"ignition":36,"odometer":null,"unknown_45":5506213522532587520}} 
[2026-09-08 16:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":174541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:20] local.INFO: GPS data processed {"connection_id":174541,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:20] local.INFO: Acknowledgment sent {"connection_id":174541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:38] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0809f7528012d7b83c005e93b60000b01051b..."} 
[2026-09-08 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809f7528012d7b83c005e93b60000b01051b..."} 
[2026-09-08 16:16:38] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809f7528012d7b83c005e93b60000b01051b..."} 
[2026-09-08 16:16:38] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:38] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":99171168,"longitude_deg":76.3069376,"latitude_deg":9.9171168,"altitude":11,"angle":261,"satellites":27,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05e93b60","is_valid_coordinates":true} 
[2026-09-08 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949263104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129931788725256192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895211288576,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788864329000,"timestamp_ms":1788864329000,"timestamp_seconds":1788864329,"priority":1,"record_length":96,"hex_timestamp":"000001a0809f7528"} 
[2026-09-08 16:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:16:38] 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-09-08 16:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949263104001,"66":13037,"156":206,"87":13824,"24":0,"16":129931788725256192,"45":8900449895211288576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-08 16:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949263104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 16:16:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129931788725256192,"km_value":129931788725256.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895211288576,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949263104001,"power":13037,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8900449895211288576}} 
[2026-09-08 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:38] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:38] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:39] local.INFO: TCP Data received {"connection_id":174542,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809eb9a8012d196780071fed78003a011f27..."} 
[2026-09-08 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809eb9a8012d196780071fed78003a011f27..."} 
[2026-09-08 16:16:39] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809eb9a8012d196780071fed78003a011f27..."} 
[2026-09-08 16:16:39] local.INFO: Packet analysis {"connection_id":174542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:16:39] local.INFO: Extracted packet for processing {"connection_id":174542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809e"} 
[2026-09-08 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949250560001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16: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-09-08 16:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788864281000,"timestamp_ms":1788864281000,"timestamp_seconds":1788864281,"priority":1,"record_length":96,"hex_timestamp":"000001a0809eb9a8"} 
[2026-09-08 16:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949250560001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949250560001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949250560001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":174542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:39] local.INFO: GPS data processed {"connection_id":174542,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:39] local.INFO: Acknowledgment sent {"connection_id":174542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:47] local.INFO: TCP Data received {"connection_id":175872,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:16:47] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:16:47] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:16:49] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0809f9850012d7b824005e93b20000b01111b..."} 
[2026-09-08 16:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809f9850012d7b824005e93b20000b01111b..."} 
[2026-09-08 16:16:49] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809f9850012d7b824005e93b20000b01111b..."} 
[2026-09-08 16:16:49] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:49] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763068992,"raw_latitude":99171104,"longitude_deg":76.3068992,"latitude_deg":9.9171104,"altitude":11,"angle":273,"satellites":27,"speed":1,"hex_longitude":"2d7b8240","hex_latitude":"05e93b20","is_valid_coordinates":true} 
[2026-09-08 16:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949268224001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129931805905125376,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420234584064,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788864338000,"timestamp_ms":1788864338000,"timestamp_seconds":1788864338,"priority":1,"record_length":96,"hex_timestamp":"000001a0809f9850"} 
[2026-09-08 16:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:16:49] 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-09-08 16:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949268224001,"66":13363,"156":206,"87":13824,"24":1,"16":129931805905125376,"45":8900168420234584064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-08 16:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949268224001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 16:16:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129931805905125376,"km_value":129931805905125.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420234584064,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949268224001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8900168420234584064}} 
[2026-09-08 16:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:49] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:49] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:50] local.INFO: TCP Data received {"connection_id":177336,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a01550012d09bdc0070503d00015007321..."} 
[2026-09-08 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a01550012d09bdc0070503d00015007321..."} 
[2026-09-08 16:16:50] local.INFO: Processing buffer {"connection_id":177336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a01550012d09bdc0070503d00015007321..."} 
[2026-09-08 16:16:50] local.INFO: Packet analysis {"connection_id":177336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:16:50] local.INFO: Extracted packet for processing {"connection_id":177336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":755613120,"raw_latitude":117769168,"longitude_deg":75.561312,"latitude_deg":11.7769168,"altitude":21,"angle":115,"satellites":33,"speed":12,"hex_longitude":"2d09bdc0","hex_latitude":"070503d0","is_valid_coordinates":true} 
[2026-09-08 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949278464001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30777353391046656,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701646778344441856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788864370000,"timestamp_ms":1788864370000,"timestamp_seconds":1788864370,"priority":1,"record_length":96,"hex_timestamp":"000001a080a01550"} 
[2026-09-08 16:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949278464001,"66":14461,"177":206,"94":10240,"24":12,"16":30777353391046656,"45":701646778344441856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949278464001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:16:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30777353391046656,"km_value":30777353391046.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":701646778344441856,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949278464001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":701646778344441856}} 
[2026-09-08 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":177336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:51] local.INFO: GPS data processed {"connection_id":177336,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:51] local.INFO: Acknowledgment sent {"connection_id":177336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:52] local.INFO: TCP Data received {"connection_id":175872,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:16:52] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:16:52] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:16:54] local.INFO: TCP Data received {"connection_id":175872,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809f9850012d4d4700068af718006400732c..."} 
[2026-09-08 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809f9850012d4d4700068af718006400732c..."} 
[2026-09-08 16:16:54] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809f9850012d4d4700068af718006400732c..."} 
[2026-09-08 16:16:54] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:54] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":760039168,"raw_latitude":109770520,"longitude_deg":76.0039168,"latitude_deg":10.977052,"altitude":100,"angle":115,"satellites":44,"speed":40,"hex_longitude":"2d4d4700","hex_latitude":"068af718","is_valid_coordinates":true} 
[2026-09-08 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949267968001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402812918128705536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5558497499440230400,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788864338000,"timestamp_ms":1788864338000,"timestamp_seconds":1788864338,"priority":1,"record_length":96,"hex_timestamp":"000001a0809f9850"} 
[2026-09-08 16:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949267968001,"66":27767,"67":206,"19":48128,"24":40,"16":402812918128705536,"45":5558497499440230400},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-09-08 16:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949267968001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:54] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-08 16:16:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402812918128705536,"km_value":402812918128705.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5558497499440230400,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949267968001,"power":27767,"unknown_67":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":5558497499440230400}} 
[2026-09-08 16:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:54] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:54] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:16:55] local.INFO: TCP Data received {"connection_id":175872,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809fbb78012d4d6700068ae7f8006300752a..."} 
[2026-09-08 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809fbb78012d4d6700068ae7f8006300752a..."} 
[2026-09-08 16:16:55] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809fbb78012d4d6700068ae7f8006300752a..."} 
[2026-09-08 16:16:55] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:55] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":760047360,"raw_latitude":109766648,"longitude_deg":76.004736,"latitude_deg":10.9766648,"altitude":99,"angle":117,"satellites":42,"speed":41,"hex_longitude":"2d4d6700","hex_latitude":"068ae7f8","is_valid_coordinates":true} 
[2026-09-08 16:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949270528001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402813351920402432,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5568419492368160768,"note":"Value kept but may cause issues"} 
[2026-09-08 16:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788864347000,"timestamp_ms":1788864347000,"timestamp_seconds":1788864347,"priority":1,"record_length":96,"hex_timestamp":"000001a0809fbb78"} 
[2026-09-08 16:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949270528001,"66":27843,"68":206,"19":48128,"24":41,"16":402813351920402432,"45":5568419492368160768},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 16:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949270528001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:16:55] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 16:16:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402813351920402432,"km_value":402813351920402.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5568419492368160768,"description":"Unknown IO ID 45"} 
[2026-09-08 16:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949270528001,"power":27843,"unknown_68":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":5568419492368160768}} 
[2026-09-08 16:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:16:55] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:16:55] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:00] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:17:00] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:17:00] local.INFO: IMEI packet received {"connection_id":174818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":174818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:17:05] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:17:05] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:17:05] local.INFO: IMEI packet received {"connection_id":174818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":174818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:17:07] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809f0bb0012d196780071fed78003a011f26..."} 
[2026-09-08 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809f0bb0012d196780071fed78003a011f26..."} 
[2026-09-08 16:17:07] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809f0bb0012d196780071fed78003a011f26..."} 
[2026-09-08 16:17:07] local.INFO: Packet analysis {"connection_id":174818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:07] local.INFO: Extracted packet for processing {"connection_id":174818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949255936001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17: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-09-08 16:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864302000,"timestamp_ms":1788864302000,"timestamp_seconds":1788864302,"priority":1,"record_length":96,"hex_timestamp":"000001a0809f0bb0"} 
[2026-09-08 16:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949255936001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949255936001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949255936001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":174818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:07] local.INFO: GPS data processed {"connection_id":174818,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:07] local.INFO: Acknowledgment sent {"connection_id":174818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:08] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:17:08] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:17:08] local.INFO: IMEI packet received {"connection_id":177337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":177337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:17:10] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:17:10] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:17:10] local.INFO: IMEI packet received {"connection_id":177337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":177337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:17:11] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0809fb3a8012d7b800005e93ae0000b01011b..."} 
[2026-09-08 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809fb3a8012d7b800005e93ae0000b01011b..."} 
[2026-09-08 16:17:11] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809fb3a8012d7b800005e93ae0000b01011b..."} 
[2026-09-08 16:17:11] local.INFO: Packet analysis {"connection_id":177337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:11] local.INFO: Extracted packet for processing {"connection_id":177337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":99171040,"longitude_deg":76.3068416,"latitude_deg":9.917104,"altitude":11,"angle":257,"satellites":27,"speed":3,"hex_longitude":"2d7b8000","hex_latitude":"05e93ae0","is_valid_coordinates":true} 
[2026-09-08 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949270528001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129931835969896448,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899746207769501696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788864345000,"timestamp_ms":1788864345000,"timestamp_seconds":1788864345,"priority":1,"record_length":96,"hex_timestamp":"000001a0809fb3a8"} 
[2026-09-08 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:17:11] 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-09-08 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949270528001,"66":12722,"156":206,"87":13824,"24":3,"16":129931835969896448,"45":8899746207769501696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-08 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949270528001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129931835969896448,"km_value":129931835969896.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899746207769501696,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949270528001,"power":12722,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8899746207769501696}} 
[2026-09-08 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":177337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:11] local.INFO: GPS data processed {"connection_id":177337,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:11] local.INFO: Acknowledgment sent {"connection_id":177337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:13] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:13] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:13] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:17:14] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:14] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:14] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:17:14] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0809fbb78012d7b7f4005e93a80000b00f41b..."} 
[2026-09-08 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809fbb78012d7b7f4005e93a80000b00f41b..."} 
[2026-09-08 16:17:14] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809fbb78012d7b7f4005e93a80000b00f41b..."} 
[2026-09-08 16:17:14] local.INFO: Packet analysis {"connection_id":177337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:14] local.INFO: Extracted packet for processing {"connection_id":177337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763068224,"raw_latitude":99170944,"longitude_deg":76.3068224,"latitude_deg":9.9170944,"altitude":11,"angle":244,"satellites":27,"speed":3,"hex_longitude":"2d7b7f40","hex_latitude":"05e93a80","is_valid_coordinates":true} 
[2026-09-08 16:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949272320001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129931844559831040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112889071886336,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788864347000,"timestamp_ms":1788864347000,"timestamp_seconds":1788864347,"priority":1,"record_length":96,"hex_timestamp":"000001a0809fbb78"} 
[2026-09-08 16:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:17:14] 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-09-08 16:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949272320001,"66":12602,"156":206,"87":13824,"24":3,"16":129931844559831040,"45":8899112889071886336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-08 16:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949272320001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 16:17:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129931844559831040,"km_value":129931844559831.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112889071886336,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949272320001,"power":12602,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8899112889071886336}} 
[2026-09-08 16:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":177337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:14] local.INFO: GPS data processed {"connection_id":177337,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:14] local.INFO: Acknowledgment sent {"connection_id":177337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:19] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:19] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:17:19] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:17:20] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a01938012d09be80070503c0001500591f..."} 
[2026-09-08 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a01938012d09be80070503c0001500591f..."} 
[2026-09-08 16:17:20] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a01938012d09be80070503c0001500591f..."} 
[2026-09-08 16:17:20] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:17:20] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:17:20] local.INFO: GPS Element Parsed {"raw_longitude":755613312,"raw_latitude":117769152,"longitude_deg":75.5613312,"latitude_deg":11.7769152,"altitude":21,"angle":89,"satellites":31,"speed":12,"hex_longitude":"2d09be80","hex_latitude":"070503c0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949278720001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30777366275948544,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701928253321105408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788864371000,"timestamp_ms":1788864371000,"timestamp_seconds":1788864371,"priority":1,"record_length":96,"hex_timestamp":"000001a080a01938"} 
[2026-09-08 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-09-08 16:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949278720001,"66":14461,"177":206,"94":10240,"24":12,"16":30777366275948544,"45":701928253321105408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949278720001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:17:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30777366275948544,"km_value":30777366275948.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":701928253321105408,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949278720001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":701928253321105408}} 
[2026-09-08 16:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:20] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:20] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:26] local.INFO: TCP Data received {"connection_id":175872,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a0809fd2e8012d4d7740068addb0006300812c..."} 
[2026-09-08 16:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809fd2e8012d4d7740068addb0006300812c..."} 
[2026-09-08 16:17:26] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809fd2e8012d4d7740068addb0006300812c..."} 
[2026-09-08 16:17:26] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:26] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:26] local.INFO: GPS Element Parsed {"raw_longitude":760051520,"raw_latitude":109764016,"longitude_deg":76.005152,"latitude_deg":10.9764016,"altitude":99,"angle":129,"satellites":44,"speed":18,"hex_longitude":"2d4d7740","hex_latitude":"068addb0","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949272832001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402813588143603712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5577426691621910528,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788864353000,"timestamp_ms":1788864353000,"timestamp_seconds":1788864353,"priority":1,"record_length":96,"hex_timestamp":"000001a0809fd2e8"} 
[2026-09-08 16:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949272832001,"66":27767,"68":206,"19":48128,"24":18,"16":402813588143603712,"45":5577426691621910528},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 16:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949272832001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:26] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 16:17:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402813588143603712,"km_value":402813588143603.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5577426691621910528,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949272832001,"power":27767,"unknown_68":206,"unknown_19":48128,"ignition":18,"odometer":null,"unknown_45":5577426691621910528}} 
[2026-09-08 16:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:26] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:26] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:38] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809f5db8012d196780071fed78003a011f26..."} 
[2026-09-08 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809f5db8012d196780071fed78003a011f26..."} 
[2026-09-08 16:17:38] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809f5db8012d196780071fed78003a011f26..."} 
[2026-09-08 16:17:38] local.INFO: Packet analysis {"connection_id":174818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:38] local.INFO: Extracted packet for processing {"connection_id":174818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949261312001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17: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-09-08 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788864323000,"timestamp_ms":1788864323000,"timestamp_seconds":1788864323,"priority":1,"record_length":96,"hex_timestamp":"000001a0809f5db8"} 
[2026-09-08 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949261312001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949261312001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949261312001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":174818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:39] local.INFO: GPS data processed {"connection_id":174818,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:39] local.INFO: Acknowledgment sent {"connection_id":174818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:39] local.INFO: TCP Data received {"connection_id":177338,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:39] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:39] local.INFO: IMEI packet received {"connection_id":177338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":177338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:17:41] local.INFO: TCP Data received {"connection_id":177338,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:41] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:41] local.INFO: IMEI packet received {"connection_id":177338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":177338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:17:46] local.INFO: TCP Data received {"connection_id":177338,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:46] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:17:46] local.INFO: IMEI packet received {"connection_id":177338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":177338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:17:47] local.INFO: TCP Data received {"connection_id":177337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a00998012d7b778005e936d8000d00fa1b..."} 
[2026-09-08 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a00998012d7b778005e936d8000d00fa1b..."} 
[2026-09-08 16:17:47] local.INFO: Processing buffer {"connection_id":177337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a00998012d7b778005e936d8000d00fa1b..."} 
[2026-09-08 16:17:47] local.INFO: Packet analysis {"connection_id":177337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:17:47] local.INFO: Extracted packet for processing {"connection_id":177337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763066240,"raw_latitude":99170008,"longitude_deg":76.306624,"latitude_deg":9.9170008,"altitude":13,"angle":250,"satellites":27,"speed":10,"hex_longitude":"2d7b7780","hex_latitude":"05e936d8","is_valid_coordinates":true} 
[2026-09-08 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949272832001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129931951934013440,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898901782839328768,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788864367000,"timestamp_ms":1788864367000,"timestamp_seconds":1788864367,"priority":1,"record_length":96,"hex_timestamp":"000001a080a00998"} 
[2026-09-08 16:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949272832001,"66":13363,"156":206,"87":13824,"24":10,"16":129931951934013440,"45":8898901782839328768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-08 16:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949272832001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 16:17:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129931951934013440,"km_value":129931951934013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898901782839328768,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949272832001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8898901782839328768}} 
[2026-09-08 16:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":177337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:47] local.INFO: GPS data processed {"connection_id":177337,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:47] local.INFO: Acknowledgment sent {"connection_id":177337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:48] local.INFO: TCP Data received {"connection_id":177338,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a024f0012d4d8900068acda00064008a2b..."} 
[2026-09-08 16:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a024f0012d4d8900068acda00064008a2b..."} 
[2026-09-08 16:17:48] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a024f0012d4d8900068acda00064008a2b..."} 
[2026-09-08 16:17:48] local.INFO: Packet analysis {"connection_id":177338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:17:48] local.INFO: Extracted packet for processing {"connection_id":177338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:17:48] local.INFO: GPS Element Parsed {"raw_longitude":760056064,"raw_latitude":109759904,"longitude_deg":76.0056064,"latitude_deg":10.9759904,"altitude":100,"angle":138,"satellites":43,"speed":11,"hex_longitude":"2d4d8900","hex_latitude":"068acda0","is_valid_coordinates":true} 
[2026-09-08 16:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949274368001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402813884496347136,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5582000659992784896,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864374000,"timestamp_ms":1788864374000,"timestamp_seconds":1788864374,"priority":1,"record_length":96,"hex_timestamp":"000001a080a024f0"} 
[2026-09-08 16:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949274368001,"66":27865,"68":206,"19":48128,"24":11,"16":402813884496347136,"45":5582000659992784896},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 16:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949274368001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:48] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 16:17:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402813884496347136,"km_value":402813884496347.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5582000659992784896,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949274368001,"power":27865,"unknown_68":206,"unknown_19":48128,"ignition":11,"odometer":null,"unknown_45":5582000659992784896}} 
[2026-09-08 16:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":177338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:48] local.INFO: GPS data processed {"connection_id":177338,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:48] local.INFO: Acknowledgment sent {"connection_id":177338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:17:51] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a18c50012d09f2c00704dd08001d002d1e..."} 
[2026-09-08 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a18c50012d09f2c00704dd08001d002d1e..."} 
[2026-09-08 16:17:51] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a18c50012d09f2c00704dd08001d002d1e..."} 
[2026-09-08 16:17:51] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:17:51] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755626688,"raw_latitude":117759240,"longitude_deg":75.5626688,"latitude_deg":11.775924,"altitude":29,"angle":45,"satellites":30,"speed":17,"hex_longitude":"2d09f2c0","hex_latitude":"0704dd08","is_valid_coordinates":true} 
[2026-09-08 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949302272001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30778689125875712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716002002153619456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788864466000,"timestamp_ms":1788864466000,"timestamp_seconds":1788864466,"priority":1,"record_length":96,"hex_timestamp":"000001a080a18c50"} 
[2026-09-08 16:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 16:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949302272001,"66":14374,"177":206,"94":10240,"24":17,"16":30778689125875712,"45":716002002153619456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949302272001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:17:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30778689125875712,"km_value":30778689125875.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":716002002153619456,"description":"Unknown IO ID 45"} 
[2026-09-08 16:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949302272001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":716002002153619456}} 
[2026-09-08 16:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:17:51] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:17:51] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:00] local.INFO: TCP Data received {"connection_id":174821,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:18:00] local.INFO: Processing buffer {"connection_id":174821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:18:00] local.INFO: IMEI packet received {"connection_id":174821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":174821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:18:08] local.INFO: TCP Data received {"connection_id":174821,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:18:08] local.INFO: Processing buffer {"connection_id":174821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:18:08] local.INFO: IMEI packet received {"connection_id":174821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":174821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:08] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:18:08] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:18:08] local.INFO: IMEI packet received {"connection_id":177339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":177339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:18:10] local.INFO: TCP Data received {"connection_id":174821,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0809fafc0012d196780071fed78003a011f22..."} 
[2026-09-08 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0809fafc0012d196780071fed78003a011f22..."} 
[2026-09-08 16:18:10] local.INFO: Processing buffer {"connection_id":174821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0809fafc0012d196780071fed78003a011f22..."} 
[2026-09-08 16:18:10] local.INFO: Packet analysis {"connection_id":174821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:18:10] local.INFO: Extracted packet for processing {"connection_id":174821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0809f"} 
[2026-09-08 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949266688001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:10] 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-09-08 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788864344000,"timestamp_ms":1788864344000,"timestamp_seconds":1788864344,"priority":1,"record_length":96,"hex_timestamp":"000001a0809fafc0"} 
[2026-09-08 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-09-08 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949266688001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949266688001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949266688001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":174821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:10] local.INFO: GPS data processed {"connection_id":174821,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:10] local.INFO: Acknowledgment sent {"connection_id":174821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:15] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 16:18:15] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 16:18:15] local.INFO: IMEI packet received {"connection_id":177339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":177339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:19] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1b748012d7b5c8005e84a68000700b81b..."} 
[2026-09-08 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1b748012d7b5c8005e84a68000700b81b..."} 
[2026-09-08 16:18:19] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a080..."} 
[2026-09-08 16:18:19] local.INFO: IMEI packet received {"connection_id":177339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":177339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:21] local.INFO: TCP Data received {"connection_id":177338,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a057b8012d4d9a00068abec00066007e2b..."} 
[2026-09-08 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a057b8012d4d9a00068abec00066007e2b..."} 
[2026-09-08 16:18:21] local.INFO: Processing buffer {"connection_id":177338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a057b8012d4d9a00068abec00066007e2b..."} 
[2026-09-08 16:18:21] local.INFO: Packet analysis {"connection_id":177338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:18:21] local.INFO: Extracted packet for processing {"connection_id":177338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":760060416,"raw_latitude":109756096,"longitude_deg":76.0060416,"latitude_deg":10.9756096,"altitude":102,"angle":126,"satellites":43,"speed":23,"hex_longitude":"2d4d9a00","hex_latitude":"068abec0","is_valid_coordinates":true} 
[2026-09-08 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949279744001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402814159374254080,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5586996840828346368,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788864387000,"timestamp_ms":1788864387000,"timestamp_seconds":1788864387,"priority":1,"record_length":96,"hex_timestamp":"000001a080a057b8"} 
[2026-09-08 16:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949279744001,"66":27745,"68":206,"19":48128,"24":23,"16":402814159374254080,"45":5586996840828346368},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949279744001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402814159374254080,"km_value":402814159374254.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5586996840828346368,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949279744001,"power":27745,"unknown_68":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":5586996840828346368}} 
[2026-09-08 16:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":177338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:21] local.INFO: GPS data processed {"connection_id":177338,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:21] local.INFO: Acknowledgment sent {"connection_id":177338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:21] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e01000001a080a1e240012d7b594005e82778000700b51a..."} 
[2026-09-08 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":93,"packet_hex":"00000000000000518e01000001a080a1e240012d7b594005e82778000700b51a..."} 
[2026-09-08 16:18:21] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":888,"buffer_hex":"000000000000030f8e0a000001a080a1b748012d7b5c8005e84a68000700b81b..."} 
[2026-09-08 16:18:21] local.INFO: Packet analysis {"connection_id":177339,"data_field_length":783,"total_packet_length":795,"buffer_length":888,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:21] local.INFO: Extracted packet for processing {"connection_id":177339,"packet_length":795,"remaining_buffer_length":93,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99109480,"longitude_deg":76.3059328,"latitude_deg":9.910948,"altitude":7,"angle":184,"satellites":27,"speed":36,"hex_longitude":"2d7b5c80","hex_latitude":"05e84a68","is_valid_coordinates":true} 
[2026-09-08 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949305344001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129935370727981056,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383578624,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788864477000,"timestamp_ms":1788864477000,"timestamp_seconds":1788864477,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1b748"} 
[2026-09-08 16:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:18:21] 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-09-08 16:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949305344001,"66":13526,"201":206,"87":13824,"24":36,"16":129935370727981056,"45":8889120527383578624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949305344001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129935370727981056,"km_value":129935370727981.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383578624,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949305344001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8889120527383578624}} 
[2026-09-08 16:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":177339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:21] local.INFO: GPS data processed {"connection_id":177339,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:21] local.INFO: Acknowledgment sent {"connection_id":177339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:21] local.INFO: Packet analysis {"connection_id":177339,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a080a1"} 
[2026-09-08 16:18:21] local.INFO: Extracted packet for processing {"connection_id":177339,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a080a1"} 
[2026-09-08 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99100536,"longitude_deg":76.3058496,"latitude_deg":9.9100536,"altitude":7,"angle":181,"satellites":26,"speed":32,"hex_longitude":"2d7b5940","hex_latitude":"05e82778","is_valid_coordinates":true} 
[2026-09-08 16: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":93,"current_offset":40} 
[2026-09-08 16:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 16:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177339,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-08 16:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 16:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-08 16:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 16:18:21] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 16:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":177339,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 16:18:21] local.ERROR: GPS data processing failed {"connection_id":177339,"error":"No valid data to process"} 
[2026-09-08 16:18:21] local.INFO: Acknowledgment sent {"connection_id":177339,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 16:18:23] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1f1e0012d7b5a0005e81b28000700aa1b..."} 
[2026-09-08 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1f1e0012d7b5a0005e81b28000700aa1b..."} 
[2026-09-08 16:18:23] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a1f1e0012d7b5a0005e81b28000700aa1b..."} 
[2026-09-08 16:18:23] local.INFO: Packet analysis {"connection_id":177339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:23] local.INFO: Extracted packet for processing {"connection_id":177339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99097384,"longitude_deg":76.3058688,"latitude_deg":9.9097384,"altitude":7,"angle":170,"satellites":27,"speed":28,"hex_longitude":"2d7b5a00","hex_latitude":"05e81b28","is_valid_coordinates":true} 
[2026-09-08 16:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949308928001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129935959138500608,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733706299392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788864492000,"timestamp_ms":1788864492000,"timestamp_seconds":1788864492,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1f1e0"} 
[2026-09-08 16:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:18:23] 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-09-08 16:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949308928001,"66":13406,"201":206,"87":13824,"24":28,"16":129935959138500608,"45":8888205733706299392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949308928001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:23] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:18:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129935959138500608,"km_value":129935959138500.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733706299392,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949308928001,"power":13406,"unknown_201":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8888205733706299392}} 
[2026-09-08 16:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":177339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:23] local.INFO: GPS data processed {"connection_id":177339,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:23] local.INFO: Acknowledgment sent {"connection_id":177339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:29] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:29] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:29] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:18:30] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:30] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:30] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:32] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:32] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:32] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:41] local.INFO: TCP Data received {"connection_id":174544,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:41] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:41] local.INFO: IMEI packet received {"connection_id":174544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":174544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:18:41] local.INFO: TCP Data received {"connection_id":174821,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a005b0012d196780071fed78003a011f28..."} 
[2026-09-08 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a005b0012d196780071fed78003a011f28..."} 
[2026-09-08 16:18:41] local.INFO: Processing buffer {"connection_id":174821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a005b0012d196780071fed78003a011f28..."} 
[2026-09-08 16:18:41] local.INFO: Packet analysis {"connection_id":174821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:18:41] local.INFO: Extracted packet for processing {"connection_id":174821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949272064001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18: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-09-08 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788864366000,"timestamp_ms":1788864366000,"timestamp_seconds":1788864366,"priority":1,"record_length":96,"hex_timestamp":"000001a080a005b0"} 
[2026-09-08 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949272064001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949272064001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949272064001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":174821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:41] local.INFO: GPS data processed {"connection_id":174821,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:41] local.INFO: Acknowledgment sent {"connection_id":174821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:44] local.INFO: TCP Data received {"connection_id":174544,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:44] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:44] local.INFO: IMEI packet received {"connection_id":174544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":174544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:45] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:45] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:18:45] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:46] local.INFO: TCP Data received {"connection_id":174544,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:46] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:18:46] local.INFO: IMEI packet received {"connection_id":174544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":174544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:18:48] local.INFO: TCP Data received {"connection_id":174544,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a19fd8012d4dfdc006898fc0006400c42c..."} 
[2026-09-08 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a19fd8012d4dfdc006898fc0006400c42c..."} 
[2026-09-08 16:18:48] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a19fd8012d4dfdc006898fc0006400c42c..."} 
[2026-09-08 16:18:48] local.INFO: Packet analysis {"connection_id":174544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:48] local.INFO: Extracted packet for processing {"connection_id":174544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":760085952,"raw_latitude":109678528,"longitude_deg":76.0085952,"latitude_deg":10.9678528,"altitude":100,"angle":196,"satellites":44,"speed":53,"hex_longitude":"2d4dfdc0","hex_latitude":"06898fc0","is_valid_coordinates":true} 
[2026-09-08 16:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949302784001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402818540240896000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5622673794107904000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864471000,"timestamp_ms":1788864471000,"timestamp_seconds":1788864471,"priority":1,"record_length":96,"hex_timestamp":"000001a080a19fd8"} 
[2026-09-08 16:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949302784001,"66":206,"19":48128,"24":53,"16":402818540240896000,"45":5622673794107904000},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 16:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949302784001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402818540240896000,"km_value":402818540240896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5622673794107904000,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949302784001,"power":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5622673794107904000}} 
[2026-09-08 16:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":174544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:48] local.INFO: GPS data processed {"connection_id":174544,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:48] local.INFO: Acknowledgment sent {"connection_id":174544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:51] local.INFO: TCP Data received {"connection_id":174544,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1bb30012d4df24006896b90006000c52a..."} 
[2026-09-08 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1bb30012d4df24006896b90006000c52a..."} 
[2026-09-08 16:18:51] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a1bb30012d4df24006896b90006000c52a..."} 
[2026-09-08 16:18:51] local.INFO: Packet analysis {"connection_id":174544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:51] local.INFO: Extracted packet for processing {"connection_id":174544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":760083008,"raw_latitude":109669264,"longitude_deg":76.0083008,"latitude_deg":10.9669264,"altitude":96,"angle":197,"satellites":42,"speed":56,"hex_longitude":"2d4df240","hex_latitude":"06896b90","is_valid_coordinates":true} 
[2026-09-08 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949304576001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402819012687298560,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619859044338483200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788864478000,"timestamp_ms":1788864478000,"timestamp_seconds":1788864478,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1bb30"} 
[2026-09-08 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949304576001,"66":206,"19":48128,"24":56,"16":402819012687298560,"45":5619859044338483200},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949304576001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402819012687298560,"km_value":402819012687298.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619859044338483200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949304576001,"power":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":5619859044338483200}} 
[2026-09-08 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":174544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:51] local.INFO: GPS data processed {"connection_id":174544,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:51] local.INFO: Acknowledgment sent {"connection_id":174544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:54] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a19038012d09f4400704ddd8001d00431e..."} 
[2026-09-08 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a19038012d09f4400704ddd8001d00431e..."} 
[2026-09-08 16:18:54] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a19038012d09f4400704ddd8001d00431e..."} 
[2026-09-08 16:18:54] local.INFO: Packet analysis {"connection_id":174822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:54] local.INFO: Extracted packet for processing {"connection_id":174822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":755627072,"raw_latitude":117759448,"longitude_deg":75.5627072,"latitude_deg":11.7759448,"altitude":29,"angle":67,"satellites":30,"speed":17,"hex_longitude":"2d09f440","hex_latitude":"0704ddd8","is_valid_coordinates":true} 
[2026-09-08 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949303296001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30778710600712192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716846427084228608,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788864467000,"timestamp_ms":1788864467000,"timestamp_seconds":1788864467,"priority":1,"record_length":96,"hex_timestamp":"000001a080a19038"} 
[2026-09-08 16:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949303296001,"66":14374,"177":206,"94":10240,"24":17,"16":30778710600712192,"45":716846427084228608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-08 16:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949303296001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 16:18:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30778710600712192,"km_value":30778710600712.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":716846427084228608,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949303296001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":716846427084228608}} 
[2026-09-08 16:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":174822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784408,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:54] local.INFO: GPS data processed {"connection_id":174822,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:54] local.INFO: Acknowledgment sent {"connection_id":174822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:18:58] local.INFO: TCP Data received {"connection_id":177339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1fd98012d7b5b4005e815600008009f1a..."} 
[2026-09-08 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1fd98012d7b5b4005e815600008009f1a..."} 
[2026-09-08 16:18:58] local.INFO: Processing buffer {"connection_id":177339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a1fd98012d7b5b4005e815600008009f1a..."} 
[2026-09-08 16:18:58] local.INFO: Packet analysis {"connection_id":177339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:58] local.INFO: Extracted packet for processing {"connection_id":177339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99095904,"longitude_deg":76.3059008,"latitude_deg":9.9095904,"altitude":8,"angle":159,"satellites":26,"speed":13,"hex_longitude":"2d7b5b40","hex_latitude":"05e81560","is_valid_coordinates":true} 
[2026-09-08 16:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949309952001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129936032152944640,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839938025472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788864495000,"timestamp_ms":1788864495000,"timestamp_seconds":1788864495,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1fd98"} 
[2026-09-08 16:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 16:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:18:58] 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-09-08 16:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949309952001,"66":13276,"201":206,"87":13824,"24":13,"16":129936032152944640,"45":8888416839938025472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949309952001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129936032152944640,"km_value":129936032152944.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839938025472,"description":"Unknown IO ID 45"} 
[2026-09-08 16:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949309952001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8888416839938025472}} 
[2026-09-08 16:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":177339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:18:58] local.INFO: GPS data processed {"connection_id":177339,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:18:58] local.INFO: Acknowledgment sent {"connection_id":177339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:19:00] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:19:00] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:19:00] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:19:05] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:19:05] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:19:05] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:19:06] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a057b8012d196780071fed78003a011f26..."} 
[2026-09-08 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a057b8012d196780071fed78003a011f26..."} 
[2026-09-08 16:19:06] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a057b8012d196780071fed78003a011f26..."} 
[2026-09-08 16:19:06] local.INFO: Packet analysis {"connection_id":174823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:19:06] local.INFO: Extracted packet for processing {"connection_id":174823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949277696001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:06] 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-09-08 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788864387000,"timestamp_ms":1788864387000,"timestamp_seconds":1788864387,"priority":1,"record_length":96,"hex_timestamp":"000001a080a057b8"} 
[2026-09-08 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949277696001,"66":11787,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949277696001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949277696001,"power":11787,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":174823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:19:07] local.INFO: GPS data processed {"connection_id":174823,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:19:07] local.INFO: Acknowledgment sent {"connection_id":174823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:19:13] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:19:13] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:19:13] local.INFO: IMEI packet received {"connection_id":174824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":174824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:19:19] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:19:19] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:19:19] local.INFO: IMEI packet received {"connection_id":174824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":174824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:19:19] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a20180012d7b5b4005e814c8000700931b..."} 
[2026-09-08 16:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a20180012d7b5b4005e814c8000700931b..."} 
[2026-09-08 16:19:19] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a20180012d7b5b4005e814c8000700931b..."} 
[2026-09-08 16:19:19] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:19:19] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99095752,"longitude_deg":76.3059008,"latitude_deg":9.9095752,"altitude":7,"angle":147,"satellites":27,"speed":6,"hex_longitude":"2d7b5b40","hex_latitude":"05e814c8","is_valid_coordinates":true} 
[2026-09-08 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949310720001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129936040742879232,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683658534912,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788864496000,"timestamp_ms":1788864496000,"timestamp_seconds":1788864496,"priority":1,"record_length":96,"hex_timestamp":"000001a080a20180"} 
[2026-09-08 16:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 16:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:19:19] 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-09-08 16:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949310720001,"66":13276,"201":206,"87":13824,"24":6,"16":129936040742879232,"45":8888768683658534912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949310720001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:19:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:19:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129936040742879232,"km_value":129936040742879.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683658534912,"description":"Unknown IO ID 45"} 
[2026-09-08 16:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949310720001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8888768683658534912}} 
[2026-09-08 16:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:19:20] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:19:20] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:19:22] local.INFO: TCP Data received {"connection_id":174544,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1d688012d4de80006894510005d00be2b..."} 
[2026-09-08 16:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1d688012d4de80006894510005d00be2b..."} 
[2026-09-08 16:19:22] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a1d688012d4de80006894510005d00be2b..."} 
[2026-09-08 16:19:22] local.INFO: Packet analysis {"connection_id":174544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:19:22] local.INFO: Extracted packet for processing {"connection_id":174544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:19:22] local.INFO: GPS Element Parsed {"raw_longitude":760080384,"raw_latitude":109659408,"longitude_deg":76.0080384,"latitude_deg":10.9659408,"altitude":93,"angle":190,"satellites":43,"speed":59,"hex_longitude":"2d4de800","hex_latitude":"06894510","is_valid_coordinates":true} 
[2026-09-08 16:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949306368001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402819506608537600,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616622082103939072,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788864485000,"timestamp_ms":1788864485000,"timestamp_seconds":1788864485,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1d688"} 
[2026-09-08 16:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949306368001,"66":206,"19":48128,"24":59,"16":402819506608537600,"45":5616622082103939072},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 16:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949306368001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:19:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402819506608537600,"km_value":402819506608537.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616622082103939072,"description":"Unknown IO ID 45"} 
[2026-09-08 16:19:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949306368001,"power":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5616622082103939072}} 
[2026-09-08 16:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":174544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:19:22] local.INFO: GPS data processed {"connection_id":174544,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:19:22] local.INFO: Acknowledgment sent {"connection_id":174544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:19:31] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:19:31] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:19:31] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:19:32] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 16:19:32] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 16:19:32] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:19:39] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a0a9c0012d196780071fed78003a011f28..."} 
[2026-09-08 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a0a9c0012d196780071fed78003a011f28..."} 
[2026-09-08 16:19:39] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a0a9c0012d196780071fed78003a011f28..."} 
[2026-09-08 16:19:39] local.INFO: Packet analysis {"connection_id":174823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:19:39] local.INFO: Extracted packet for processing {"connection_id":174823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949283072001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19: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-09-08 16:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788864408000,"timestamp_ms":1788864408000,"timestamp_seconds":1788864408,"priority":1,"record_length":96,"hex_timestamp":"000001a080a0a9c0"} 
[2026-09-08 16:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2157864864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2668343297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":8933734285819510784,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6881326415040402151,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2882303761517120000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":103,"raw_value":-9221366607236810239,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:39] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,123,160,5,45,128,237,58,40,10,66,175,34,93,1,240,173,31,4,113,205,185,103,120,39,239,48,2,82,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 16:19:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179656177245749248,"timestamp_seconds":4179656177245749.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949283072001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949283072001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949283072001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":174823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:19:39] local.INFO: GPS data processed {"connection_id":174823,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:19:39] local.INFO: Acknowledgment sent {"connection_id":174823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:19:39] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:19:39] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-08 16:19:39] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:19:41] local.INFO: TCP Data received {"connection_id":177340,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:41] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:41] local.INFO: IMEI packet received {"connection_id":177340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":177340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:19:42] local.INFO: TCP Data received {"connection_id":177340,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:42] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:42] local.INFO: IMEI packet received {"connection_id":177340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":177340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:19:47] local.INFO: TCP Data received {"connection_id":177340,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:47] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:19:47] local.INFO: IMEI packet received {"connection_id":177340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":177340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:19:48] local.INFO: TCP Data received {"connection_id":177340,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1edf8012d4de580068921a8005a00b22c..."} 
[2026-09-08 16:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1edf8012d4de580068921a8005a00b22c..."} 
[2026-09-08 16:19:48] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a1edf8012d4de580068921a8005a00b22c..."} 
[2026-09-08 16:19:48] local.INFO: Packet analysis {"connection_id":177340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:19:48] local.INFO: Extracted packet for processing {"connection_id":177340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:19:48] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":109650344,"longitude_deg":76.0079744,"latitude_deg":10.9650344,"altitude":90,"angle":178,"satellites":44,"speed":60,"hex_longitude":"2d4de580","hex_latitude":"068921a8","is_valid_coordinates":true} 
[2026-09-08 16:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949308160001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402819944695201792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613736963590131712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864491000,"timestamp_ms":1788864491000,"timestamp_seconds":1788864491,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1edf8"} 
[2026-09-08 16:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949308160001,"66":206,"19":48128,"24":60,"16":402819944695201792,"45":5613736963590131712},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 16:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949308160001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:19:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402819944695201792,"km_value":402819944695201.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613736963590131712,"description":"Unknown IO ID 45"} 
[2026-09-08 16:19:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949308160001,"power":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5613736963590131712}} 
[2026-09-08 16:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":177340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:19:48] local.INFO: GPS data processed {"connection_id":177340,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:19:48] local.INFO: Acknowledgment sent {"connection_id":177340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:19:51] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a21cd8012d7b5b0005e81430000600ad19..."} 
[2026-09-08 16:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a21cd8012d7b5b0005e81430000600ad19..."} 
[2026-09-08 16:19:51] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a21cd8012d7b5b0005e81430000600ad19..."} 
[2026-09-08 16:19:51] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:19:51] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763058944,"raw_latitude":99095600,"longitude_deg":76.3058944,"latitude_deg":9.90956,"altitude":6,"angle":173,"satellites":25,"speed":10,"hex_longitude":"2d7b5b00","hex_latitude":"05e81430","is_valid_coordinates":true} 
[2026-09-08 16:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949310976001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129936053627781120,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683658496000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788864503000,"timestamp_ms":1788864503000,"timestamp_seconds":1788864503,"priority":1,"record_length":96,"hex_timestamp":"000001a080a21cd8"} 
[2026-09-08 16:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 16:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949310976001,"66":13602,"201":206,"87":13824,"24":10,"16":129936053627781120,"45":8888768683658496000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949310976001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:19:51] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:19:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129936053627781120,"km_value":129936053627781.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683658496000,"description":"Unknown IO ID 45"} 
[2026-09-08 16:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949310976001,"power":13602,"unknown_201":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8888768683658496000}} 
[2026-09-08 16:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:19:51] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:19:51] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:20:00] local.INFO: TCP Data received {"connection_id":174545,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:20:00] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:20:00] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:20:06] local.INFO: TCP Data received {"connection_id":174545,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:20:06] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:20:06] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:20:07] local.INFO: TCP Data received {"connection_id":174545,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a0fbc8012d196780071fed78003a011f28..."} 
[2026-09-08 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a0fbc8012d196780071fed78003a011f28..."} 
[2026-09-08 16:20:07] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a0fbc8012d196780071fed78003a011f28..."} 
[2026-09-08 16:20:07] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:20:07] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a0"} 
[2026-09-08 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949288448001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20: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-09-08 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864429000,"timestamp_ms":1788864429000,"timestamp_seconds":1788864429,"priority":1,"record_length":96,"hex_timestamp":"000001a080a0fbc8"} 
[2026-09-08 16:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949288448001,"66":12439,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949288448001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:20:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949288448001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:20:07] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:20:07] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:20:08] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:08] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:08] local.INFO: IMEI packet received {"connection_id":177342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":177342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:20:08] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:08] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:08] local.INFO: IMEI packet received {"connection_id":177342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":177342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:20:13] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:13] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:20:13] local.INFO: IMEI packet received {"connection_id":177342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":177342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:20:14] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a25388012d7b5b8005e7f088000600b91b..."} 
[2026-09-08 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a25388012d7b5b8005e7f088000600b91b..."} 
[2026-09-08 16:20:14] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a25388012d7b5b8005e7f088000600b91b..."} 
[2026-09-08 16:20:14] local.INFO: Packet analysis {"connection_id":177342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:20:14] local.INFO: Extracted packet for processing {"connection_id":177342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99086472,"longitude_deg":76.3059072,"latitude_deg":9.9086472,"altitude":6,"angle":185,"satellites":27,"speed":33,"hex_longitude":"2d7b5b80","hex_latitude":"05e7f088","is_valid_coordinates":true} 
[2026-09-08 16:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949312768001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129936500304379904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888698314914279424,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788864517000,"timestamp_ms":1788864517000,"timestamp_seconds":1788864517,"priority":1,"record_length":96,"hex_timestamp":"000001a080a25388"} 
[2026-09-08 16:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 16:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:20:14] 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-09-08 16:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949312768001,"66":13243,"201":206,"87":13824,"24":33,"16":129936500304379904,"45":8888698314914279424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949312768001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129936500304379904,"km_value":129936500304379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888698314914279424,"description":"Unknown IO ID 45"} 
[2026-09-08 16:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949312768001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8888698314914279424}} 
[2026-09-08 16:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":177342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:20:14] local.INFO: GPS data processed {"connection_id":177342,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:20:14] local.INFO: Acknowledgment sent {"connection_id":177342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:20:19] local.INFO: TCP Data received {"connection_id":177341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:20:19] local.INFO: Processing buffer {"connection_id":177341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:20:19] local.INFO: IMEI packet received {"connection_id":177341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":177341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:20:21] local.INFO: TCP Data received {"connection_id":177340,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a2f798012d4dca400687b8f8005a00c327..."} 
[2026-09-08 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a2f798012d4dca400687b8f8005a00c327..."} 
[2026-09-08 16:20:21] local.INFO: Processing buffer {"connection_id":177340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a2f798012d4dca400687b8f8005a00c327..."} 
[2026-09-08 16:20:21] local.INFO: Packet analysis {"connection_id":177340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:20:21] local.INFO: Extracted packet for processing {"connection_id":177340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":760072768,"raw_latitude":109558008,"longitude_deg":76.0072768,"latitude_deg":10.9558008,"altitude":90,"angle":195,"satellites":39,"speed":45,"hex_longitude":"2d4dca40","hex_latitude":"0687b8f8","is_valid_coordinates":true} 
[2026-09-08 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949325056001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402824501655502848,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5607966726543880192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788864559000,"timestamp_ms":1788864559000,"timestamp_seconds":1788864559,"priority":1,"record_length":96,"hex_timestamp":"000001a080a2f798"} 
[2026-09-08 16:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949325056001,"66":206,"19":48128,"24":45,"16":402824501655502848,"45":5607966726543880192},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 16:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949325056001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:20:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402824501655502848,"km_value":402824501655502.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5607966726543880192,"description":"Unknown IO ID 45"} 
[2026-09-08 16:20:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949325056001,"power":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":5607966726543880192}} 
[2026-09-08 16:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":177340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:20:21] local.INFO: GPS data processed {"connection_id":177340,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:20:21] local.INFO: Acknowledgment sent {"connection_id":177340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:20:39] local.INFO: TCP Data received {"connection_id":174545,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a14dd0012d196780071fed78003a011f26..."} 
[2026-09-08 16:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a14dd0012d196780071fed78003a011f26..."} 
[2026-09-08 16:20:39] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a14dd0012d196780071fed78003a011f26..."} 
[2026-09-08 16:20:39] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:20:39] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949293824001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20: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-09-08 16:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788864450000,"timestamp_ms":1788864450000,"timestamp_seconds":1788864450,"priority":1,"record_length":96,"hex_timestamp":"000001a080a14dd0"} 
[2026-09-08 16:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 16:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949293824001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949293824001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:20:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949293824001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:20:39] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:20:39] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:20:44] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:20:44] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:20:44] local.INFO: IMEI packet received {"connection_id":174826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":174826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:20:45] local.INFO: TCP Data received {"connection_id":177342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a25388012d7b5b8005e7f088000600b91b..."} 
[2026-09-08 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a25388012d7b5b8005e7f088000600b91b..."} 
[2026-09-08 16:20:45] local.INFO: Processing buffer {"connection_id":177342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a25388012d7b5b8005e7f088000600b91b..."} 
[2026-09-08 16:20:45] local.INFO: Packet analysis {"connection_id":177342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:20:45] local.INFO: Extracted packet for processing {"connection_id":177342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:20:45] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99086472,"longitude_deg":76.3059072,"latitude_deg":9.9086472,"altitude":6,"angle":185,"satellites":27,"speed":33,"hex_longitude":"2d7b5b80","hex_latitude":"05e7f088","is_valid_coordinates":true} 
[2026-09-08 16:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949316352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129936500304379904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052400297984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788864517000,"timestamp_ms":1788864517000,"timestamp_seconds":1788864517,"priority":1,"record_length":96,"hex_timestamp":"000001a080a25388"} 
[2026-09-08 16:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 16:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:20:45] 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-09-08 16:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949316352001,"66":13243,"201":206,"87":13824,"24":33,"16":129936500304379904,"45":8888839052400297984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-08 16:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949316352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129936500304379904,"km_value":129936500304379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052400297984,"description":"Unknown IO ID 45"} 
[2026-09-08 16:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949316352001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8888839052400297984}} 
[2026-09-08 16:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":177342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:20:45] local.INFO: GPS data processed {"connection_id":177342,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:20:45] local.INFO: Acknowledgment sent {"connection_id":177342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:20:46] local.INFO: TCP Data received {"connection_id":175874,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:20:46] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:20:46] local.INFO: IMEI packet received {"connection_id":175874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":175874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:20:51] local.INFO: TCP Data received {"connection_id":175874,"ip":"117.224.141.146","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:20:51] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:20:51] local.INFO: IMEI packet received {"connection_id":175874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":175874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:21:06] local.INFO: TCP Data received {"connection_id":175875,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:06] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:06] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:21:08] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:08] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:08] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:21:09] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:09] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:09] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:21:11] local.INFO: TCP Data received {"connection_id":175875,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:11] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:11] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:21:12] local.INFO: TCP Data received {"connection_id":175875,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a19bf0012d196780071fed78003a011f28..."} 
[2026-09-08 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a19bf0012d196780071fed78003a011f28..."} 
[2026-09-08 16:21:12] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a19bf0012d196780071fed78003a011f28..."} 
[2026-09-08 16:21:12] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:21:12] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949299200001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21: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-09-08 16:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788864470000,"timestamp_ms":1788864470000,"timestamp_seconds":1788864470,"priority":1,"record_length":96,"hex_timestamp":"000001a080a19bf0"} 
[2026-09-08 16:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949299200001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949299200001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:21:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949299200001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:21:12] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:21:12] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:21:14] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:14] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:21:14] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:21:15] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a43400012d7b868005e70aa0000800a41b..."} 
[2026-09-08 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a43400012d7b868005e70aa0000800a41b..."} 
[2026-09-08 16:21:15] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a43400012d7b868005e70aa0000800a41b..."} 
[2026-09-08 16:21:15] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:21:15] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":99027616,"longitude_deg":76.307008,"latitude_deg":9.9027616,"altitude":8,"angle":164,"satellites":27,"speed":33,"hex_longitude":"2d7b8680","hex_latitude":"05e70aa0","is_valid_coordinates":true} 
[2026-09-08 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949346816001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129939455241879552,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257780008960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788864640000,"timestamp_ms":1788864640000,"timestamp_seconds":1788864640,"priority":1,"record_length":96,"hex_timestamp":"000001a080a43400"} 
[2026-09-08 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 16:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949346816001,"66":13319,"96":206,"87":13824,"24":33,"16":129939455241879552,"45":8899183257780008960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949346816001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129939455241879552,"km_value":129939455241879.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257780008960,"description":"Unknown IO ID 45"} 
[2026-09-08 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949346816001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8899183257780008960}} 
[2026-09-08 16:21:15] local.INFO: TCP Data received {"connection_id":175874,"ip":"117.224.141.146","data_length":795,"data_hex":"000000000000030f8e0a000001a080a316d8012d4dc0c0068796c8005c00c32c..."} 
[2026-09-08 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a316d8012d4dc0c0068796c8005c00c32c..."} 
[2026-09-08 16:21:15] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a316d8012d4dc0c0068796c8005c00c32c..."} 
[2026-09-08 16:21:15] local.INFO: Packet analysis {"connection_id":175874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:21:15] local.INFO: Extracted packet for processing {"connection_id":175874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":760070336,"raw_latitude":109549256,"longitude_deg":76.0070336,"latitude_deg":10.9549256,"altitude":92,"angle":195,"satellites":44,"speed":45,"hex_longitude":"2d4dc0c0","hex_latitude":"068796c8","is_valid_coordinates":true} 
[2026-09-08 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949327104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402824939742167040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5605363083007031296,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788864567000,"timestamp_ms":1788864567000,"timestamp_seconds":1788864567,"priority":1,"record_length":96,"hex_timestamp":"000001a080a316d8"} 
[2026-09-08 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.141.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949327104001,"66":206,"19":48128,"24":45,"16":402824939742167040,"45":5605363083007031296},"client_ip":"117.224.141.146","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949327104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402824939742167040,"km_value":402824939742167.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5605363083007031296,"description":"Unknown IO ID 45"} 
[2026-09-08 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457949327104001,"power":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":5605363083007031296}} 
[2026-09-08 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":175874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:21:15] local.INFO: GPS data processed {"connection_id":175874,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:21:15] local.INFO: Acknowledgment sent {"connection_id":175874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:21:15] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:21:15] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:21:17] local.INFO: TCP Data received {"connection_id":175875,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a1edf8012d196780071fed78003a011f27..."} 
[2026-09-08 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a1edf8012d196780071fed78003a011f27..."} 
[2026-09-08 16:21:17] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a1edf8012d196780071fed78003a011f27..."} 
[2026-09-08 16:21:17] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:21:17] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a1"} 
[2026-09-08 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949304320001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16: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-09-08 16:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788864491000,"timestamp_ms":1788864491000,"timestamp_seconds":1788864491,"priority":1,"record_length":96,"hex_timestamp":"000001a080a1edf8"} 
[2026-09-08 16:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949304320001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949304320001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:21:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949304320001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:21:17] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:21:17] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:21:47] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a45340012d7b8e8005e6f168000800991b..."} 
[2026-09-08 16:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a45340012d7b8e8005e6f168000800991b..."} 
[2026-09-08 16:21:47] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a45340012d7b8e8005e6f168000800991b..."} 
[2026-09-08 16:21:47] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:21:47] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763072128,"raw_latitude":99021160,"longitude_deg":76.3072128,"latitude_deg":9.902116,"altitude":8,"angle":153,"satellites":27,"speed":34,"hex_longitude":"2d7b8e80","hex_latitude":"05e6f168","is_valid_coordinates":true} 
[2026-09-08 16:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949347840001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129939785954361344,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476383789056,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788864648000,"timestamp_ms":1788864648000,"timestamp_seconds":1788864648,"priority":1,"record_length":96,"hex_timestamp":"000001a080a45340"} 
[2026-09-08 16:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":163,"raw_value":5023766679187472389,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2158203864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2747959297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9164825224508401152,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2726363136,"corrected_to":0} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3881705472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-09-08 16:21:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,87,24,241,157,16,163,160,36,45,64,20,8,27,10,66,253,47,25,162,1,240,29,227,128,231,4,113,205,11,175,116,32,239,50,2,5,6,35],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2726363136,"validated":0}]} 
[2026-09-08 16:21:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576641188176658432,"timestamp_seconds":576641188176658.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949347840001,"66":13363,"96":206,"87":13824,"24":34,"16":129939785954361344,"45":8900942476383789056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 16:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949347840001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129939785954361344,"km_value":129939785954361.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476383789056,"description":"Unknown IO ID 45"} 
[2026-09-08 16:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949347840001,"power":13363,"unknown_96":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8900942476383789056}} 
[2026-09-08 16:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:21:47] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:21:47] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:21:59] local.INFO: TCP Data received {"connection_id":177345,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:59] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:21:59] local.INFO: IMEI packet received {"connection_id":177345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":177345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:22:00] local.INFO: TCP Data received {"connection_id":177345,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:22:00] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:22:00] local.INFO: IMEI packet received {"connection_id":177345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":177345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:03] local.INFO: TCP Data received {"connection_id":177344,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:03] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:03] local.INFO: IMEI packet received {"connection_id":177344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":177344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:22:04] local.INFO: TCP Data received {"connection_id":177344,"ip":"117.225.171.207","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:22:04] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:22:04] local.INFO: IMEI packet received {"connection_id":177344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":177344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:05] local.INFO: TCP Data received {"connection_id":177344,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a4a160012d4d250006862a10007900db29..."} 
[2026-09-08 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a4a160012d4d250006862a10007900db29..."} 
[2026-09-08 16:22:05] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a080..."} 
[2026-09-08 16:22:05] local.INFO: IMEI packet received {"connection_id":177344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":177344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:05] local.INFO: TCP Data received {"connection_id":177345,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:22:05] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:22:05] local.INFO: IMEI packet received {"connection_id":177345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":177345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:06] local.INFO: TCP Data received {"connection_id":177345,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a24000012d196780071fed78003a011f28..."} 
[2026-09-08 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a24000012d196780071fed78003a011f28..."} 
[2026-09-08 16:22:06] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a24000012d196780071fed78003a011f28..."} 
[2026-09-08 16:22:06] local.INFO: Packet analysis {"connection_id":177345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:22:06] local.INFO: Extracted packet for processing {"connection_id":177345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949309696001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:06] 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-09-08 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788864512000,"timestamp_ms":1788864512000,"timestamp_seconds":1788864512,"priority":1,"record_length":96,"hex_timestamp":"000001a080a24000"} 
[2026-09-08 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949309696001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949309696001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949309696001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":177345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:06] local.INFO: GPS data processed {"connection_id":177345,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:06] local.INFO: Acknowledgment sent {"connection_id":177345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:08] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:22:08] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:22:08] local.INFO: IMEI packet received {"connection_id":175876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":175876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:22:08] local.INFO: TCP Data received {"connection_id":177344,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a4c0a0012d4d0dc006860e78007b00dc27..."} 
[2026-09-08 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a4c0a0012d4d0dc006860e78007b00dc27..."} 
[2026-09-08 16:22:08] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a080a4a160012d4d250006862a10007900db29..."} 
[2026-09-08 16:22:08] local.INFO: Packet analysis {"connection_id":177344,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:08] local.INFO: Extracted packet for processing {"connection_id":177344,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":760030464,"raw_latitude":109455888,"longitude_deg":76.0030464,"latitude_deg":10.9455888,"altitude":121,"angle":219,"satellites":41,"speed":43,"hex_longitude":"2d4d2500","hex_latitude":"06862a10","is_valid_coordinates":true} 
[2026-09-08 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949352704001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402829943379066880,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565464005033981952,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788864668000,"timestamp_ms":1788864668000,"timestamp_seconds":1788864668,"priority":1,"record_length":96,"hex_timestamp":"000001a080a4a160"} 
[2026-09-08 16:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949352704001,"66":28017,"229":206,"19":47872,"24":43,"16":402829943379066880,"45":5565464005033981952},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949352704001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402829943379066880,"km_value":402829943379066.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565464005033981952,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949352704001,"power":28017,"unknown_229":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5565464005033981952}} 
[2026-09-08 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":177344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:08] local.INFO: GPS data processed {"connection_id":177344,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:08] local.INFO: Acknowledgment sent {"connection_id":177344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:08] local.INFO: Packet analysis {"connection_id":177344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:08] local.INFO: Extracted packet for processing {"connection_id":177344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":760024512,"raw_latitude":109448824,"longitude_deg":76.0024512,"latitude_deg":10.9448824,"altitude":123,"angle":220,"satellites":39,"speed":48,"hex_longitude":"2d4d0dc0","hex_latitude":"06860e78","is_valid_coordinates":true} 
[2026-09-08 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949355008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402830385760698368,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5558849343079452672,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788864676000,"timestamp_ms":1788864676000,"timestamp_seconds":1788864676,"priority":1,"record_length":96,"hex_timestamp":"000001a080a4c0a0"} 
[2026-09-08 16:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949355008001,"66":27865,"229":206,"19":47872,"24":48,"16":402830385760698368,"45":5558849343079452672},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949355008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402830385760698368,"km_value":402830385760698.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5558849343079452672,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949355008001,"power":27865,"unknown_229":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5558849343079452672}} 
[2026-09-08 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":177344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:08] local.INFO: GPS data processed {"connection_id":177344,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:08] local.INFO: Acknowledgment sent {"connection_id":177344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:11] local.INFO: TCP Data received {"connection_id":177344,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a4dfe0012d4cf4400685f138007c00db29..."} 
[2026-09-08 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a4dfe0012d4cf4400685f138007c00db29..."} 
[2026-09-08 16:22:11] local.INFO: Processing buffer {"connection_id":177344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a4dfe0012d4cf4400685f138007c00db29..."} 
[2026-09-08 16:22:11] local.INFO: Packet analysis {"connection_id":177344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:11] local.INFO: Extracted packet for processing {"connection_id":177344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":760017984,"raw_latitude":109441336,"longitude_deg":76.0017984,"latitude_deg":10.9441336,"altitude":124,"angle":219,"satellites":41,"speed":49,"hex_longitude":"2d4cf440","hex_latitude":"0685f138","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949357056001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402830862502068224,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5552305049869121536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788864684000,"timestamp_ms":1788864684000,"timestamp_seconds":1788864684,"priority":1,"record_length":96,"hex_timestamp":"000001a080a4dfe0"} 
[2026-09-08 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-09-08 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949357056001,"66":27865,"229":206,"19":47872,"24":49,"16":402830862502068224,"45":5552305049869121536},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949357056001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402830862502068224,"km_value":402830862502068.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5552305049869121536,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949357056001,"power":27865,"unknown_229":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5552305049869121536}} 
[2026-09-08 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":177344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:11] local.INFO: GPS data processed {"connection_id":177344,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:11] local.INFO: Acknowledgment sent {"connection_id":177344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:14] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:22:14] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:22:14] local.INFO: IMEI packet received {"connection_id":175876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":175876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:14] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a46e98012d7b974005e6dc28000500aa1b..."} 
[2026-09-08 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a46e98012d7b974005e6dc28000500aa1b..."} 
[2026-09-08 16:22:14] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a46e98012d7b974005e6dc28000500aa1b..."} 
[2026-09-08 16:22:14] local.INFO: Packet analysis {"connection_id":175876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:14] local.INFO: Extracted packet for processing {"connection_id":175876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763074368,"raw_latitude":99015720,"longitude_deg":76.3074368,"latitude_deg":9.901572,"altitude":5,"angle":170,"satellites":27,"speed":34,"hex_longitude":"2d7b9740","hex_latitude":"05e6dc28","is_valid_coordinates":true} 
[2026-09-08 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949349888001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129940069422202880,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903194276195821568,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788864655000,"timestamp_ms":1788864655000,"timestamp_seconds":1788864655,"priority":1,"record_length":96,"hex_timestamp":"000001a080a46e98"} 
[2026-09-08 16:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:22:14] 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-09-08 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949349888001,"66":13276,"96":206,"87":13824,"24":34,"16":129940069422202880,"45":8903194276195821568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949349888001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:22:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129940069422202880,"km_value":129940069422202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903194276195821568,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949349888001,"power":13276,"unknown_96":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8903194276195821568}} 
[2026-09-08 16:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":175876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:15] local.INFO: GPS data processed {"connection_id":175876,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:15] local.INFO: Acknowledgment sent {"connection_id":175876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:38] local.INFO: TCP Data received {"connection_id":177345,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a29208012d196780071fed78003a011f26..."} 
[2026-09-08 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a29208012d196780071fed78003a011f26..."} 
[2026-09-08 16:22:38] local.INFO: Processing buffer {"connection_id":177345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a29208012d196780071fed78003a011f26..."} 
[2026-09-08 16:22:38] local.INFO: Packet analysis {"connection_id":177345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:22:38] local.INFO: Extracted packet for processing {"connection_id":177345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949315072001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22: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-09-08 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788864533000,"timestamp_ms":1788864533000,"timestamp_seconds":1788864533,"priority":1,"record_length":96,"hex_timestamp":"000001a080a29208"} 
[2026-09-08 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949315072001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949315072001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949315072001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":177345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:39] local.INFO: GPS data processed {"connection_id":177345,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:39] local.INFO: Acknowledgment sent {"connection_id":177345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:42] local.INFO: TCP Data received {"connection_id":177346,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:42] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:42] local.INFO: IMEI packet received {"connection_id":177346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:22:42] local.INFO: TCP Data received {"connection_id":177346,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:42] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:42] local.INFO: IMEI packet received {"connection_id":177346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":177346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:45] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a47e38012d7b97c005e6ce30000400b91b..."} 
[2026-09-08 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a47e38012d7b97c005e6ce30000400b91b..."} 
[2026-09-08 16:22:45] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a47e38012d7b97c005e6ce30000400b91b..."} 
[2026-09-08 16:22:45] local.INFO: Packet analysis {"connection_id":175876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:45] local.INFO: Extracted packet for processing {"connection_id":175876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99012144,"longitude_deg":76.3074496,"latitude_deg":9.9012144,"altitude":4,"angle":185,"satellites":27,"speed":36,"hex_longitude":"2d7b97c0","hex_latitude":"05e6ce30","is_valid_coordinates":true} 
[2026-09-08 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949351680001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129940245515862016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905657182240647168,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788864659000,"timestamp_ms":1788864659000,"timestamp_seconds":1788864659,"priority":1,"record_length":96,"hex_timestamp":"000001a080a47e38"} 
[2026-09-08 16:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:22:45] 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-09-08 16:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949351680001,"66":13472,"96":206,"87":13824,"24":36,"16":129940245515862016,"45":8905657182240647168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-08 16:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949351680001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-08 16:22:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129940245515862016,"km_value":129940245515862.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905657182240647168,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949351680001,"power":13472,"unknown_96":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8905657182240647168}} 
[2026-09-08 16:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":175876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:45] local.INFO: GPS data processed {"connection_id":175876,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:45] local.INFO: Acknowledgment sent {"connection_id":175876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:47] local.INFO: TCP Data received {"connection_id":177346,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:47] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:22:47] local.INFO: IMEI packet received {"connection_id":177346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":177346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:22:49] local.INFO: TCP Data received {"connection_id":177346,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a4ff20012d4cda800685d310007b00db2a..."} 
[2026-09-08 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a4ff20012d4cda800685d310007b00db2a..."} 
[2026-09-08 16:22:49] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a4ff20012d4cda800685d310007b00db2a..."} 
[2026-09-08 16:22:49] local.INFO: Packet analysis {"connection_id":177346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:49] local.INFO: Extracted packet for processing {"connection_id":177346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:22:49] local.INFO: GPS Element Parsed {"raw_longitude":760011392,"raw_latitude":109433616,"longitude_deg":76.0011392,"latitude_deg":10.9433616,"altitude":123,"angle":219,"satellites":42,"speed":51,"hex_longitude":"2d4cda80","hex_latitude":"0685d310","is_valid_coordinates":true} 
[2026-09-08 16:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949359104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402831352128339968,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545127437961082880,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788864692000,"timestamp_ms":1788864692000,"timestamp_seconds":1788864692,"priority":1,"record_length":96,"hex_timestamp":"000001a080a4ff20"} 
[2026-09-08 16:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949359104001,"66":27995,"229":206,"19":47872,"24":51,"16":402831352128339968,"45":5545127437961082880},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 16:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949359104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 16:22:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402831352128339968,"km_value":402831352128339.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545127437961082880,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949359104001,"power":27995,"unknown_229":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5545127437961082880}} 
[2026-09-08 16:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":177346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:49] local.INFO: GPS data processed {"connection_id":177346,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:49] local.INFO: Acknowledgment sent {"connection_id":177346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:52] local.INFO: TCP Data received {"connection_id":177346,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a51a78012d4cc5800685b5f8007800cf2a..."} 
[2026-09-08 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a51a78012d4cc5800685b5f8007800cf2a..."} 
[2026-09-08 16:22:52] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a51a78012d4cc5800685b5f8007800cf2a..."} 
[2026-09-08 16:22:52] local.INFO: Packet analysis {"connection_id":177346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:22:52] local.INFO: Extracted packet for processing {"connection_id":177346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":760006016,"raw_latitude":109426168,"longitude_deg":76.0006016,"latitude_deg":10.9426168,"altitude":120,"angle":207,"satellites":42,"speed":52,"hex_longitude":"2d4cc580","hex_latitude":"0685b5f8","is_valid_coordinates":true} 
[2026-09-08 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949361152001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402831794509971456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5537879457308807168,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788864699000,"timestamp_ms":1788864699000,"timestamp_seconds":1788864699,"priority":1,"record_length":96,"hex_timestamp":"000001a080a51a78"} 
[2026-09-08 16:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949361152001,"66":27745,"229":206,"19":47872,"24":52,"16":402831794509971456,"45":5537879457308807168},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 16:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949361152001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:52] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 16:22:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402831794509971456,"km_value":402831794509971.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5537879457308807168,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949361152001,"power":27745,"unknown_229":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5537879457308807168}} 
[2026-09-08 16:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":177346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:52] local.INFO: GPS data processed {"connection_id":177346,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:52] local.INFO: Acknowledgment sent {"connection_id":177346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:22:56] local.INFO: TCP Data received {"connection_id":177346,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a51a78012d4cc5800685b5f8007800cf2a..."} 
[2026-09-08 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a51a78012d4cc5800685b5f8007800cf2a..."} 
[2026-09-08 16:22:56] local.INFO: Processing buffer {"connection_id":177346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a51a78012d4cc5800685b5f8007800cf2a..."} 
[2026-09-08 16:22:56] local.INFO: Packet analysis {"connection_id":177346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:22:56] local.INFO: Extracted packet for processing {"connection_id":177346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":760006016,"raw_latitude":109426168,"longitude_deg":76.0006016,"latitude_deg":10.9426168,"altitude":120,"angle":207,"satellites":42,"speed":52,"hex_longitude":"2d4cc580","hex_latitude":"0685b5f8","is_valid_coordinates":true} 
[2026-09-08 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949362944001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402831794509971456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531968482795976704,"note":"Value kept but may cause issues"} 
[2026-09-08 16:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788864699000,"timestamp_ms":1788864699000,"timestamp_seconds":1788864699,"priority":1,"record_length":96,"hex_timestamp":"000001a080a51a78"} 
[2026-09-08 16:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:22: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949362944001,"66":27745,"229":206,"19":47872,"24":52,"16":402831794509971456,"45":5531968482795976704},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 16:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949362944001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:22:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 16:22:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402831794509971456,"km_value":402831794509971.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531968482795976704,"description":"Unknown IO ID 45"} 
[2026-09-08 16:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949362944001,"power":27745,"unknown_229":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5531968482795976704}} 
[2026-09-08 16:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":177346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:22:56] local.INFO: GPS data processed {"connection_id":177346,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:22:56] local.INFO: Acknowledgment sent {"connection_id":177346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:23:00] local.INFO: TCP Data received {"connection_id":175878,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:00] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:00] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:23:01] local.INFO: TCP Data received {"connection_id":175878,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:01] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:01] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:23:06] local.INFO: TCP Data received {"connection_id":175878,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:06] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:23:06] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:23:07] local.INFO: TCP Data received {"connection_id":175878,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a2e410012d196780071fed78003a011f27..."} 
[2026-09-08 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a2e410012d196780071fed78003a011f27..."} 
[2026-09-08 16:23:07] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a2e410012d196780071fed78003a011f27..."} 
[2026-09-08 16:23:07] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:23:07] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a2"} 
[2026-09-08 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949320448001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23: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-09-08 16:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864554000,"timestamp_ms":1788864554000,"timestamp_seconds":1788864554,"priority":1,"record_length":96,"hex_timestamp":"000001a080a2e410"} 
[2026-09-08 16:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949320448001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949320448001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949320448001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:23:08] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:23:08] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:23:08] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:08] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:08] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:23:13] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:13] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:13] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:23:13] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:13] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:23:13] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:23:17] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a61090012d7c0a4005e5c340000b00961a..."} 
[2026-09-08 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a61090012d7c0a4005e5c340000b00961a..."} 
[2026-09-08 16:23:17] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a61090012d7c0a4005e5c340000b00961a..."} 
[2026-09-08 16:23:17] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:17] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":98943808,"longitude_deg":76.3103808,"latitude_deg":9.8943808,"altitude":11,"angle":150,"satellites":26,"speed":37,"hex_longitude":"2d7c0a40","hex_latitude":"05e5c340","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949378048001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129943964957540352,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935775004731095040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788864762000,"timestamp_ms":1788864762000,"timestamp_seconds":1788864762,"priority":1,"record_length":96,"hex_timestamp":"000001a080a61090"} 
[2026-09-08 16:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 16:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:23:17] 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-09-08 16:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949378048001,"66":13580,"40":206,"87":13824,"24":37,"16":129943964957540352,"45":8935775004731095040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-08 16:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949378048001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:23:17] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-08 16:23:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129943964957540352,"km_value":129943964957540.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935775004731095040,"description":"Unknown IO ID 45"} 
[2026-09-08 16:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949378048001,"power":13580,"unknown_40":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8935775004731095040}} 
[2026-09-08 16:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:23:17] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:23:17] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:23:19] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a652f8012d7c19c005e5a2a80008009d1b..."} 
[2026-09-08 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a652f8012d7c19c005e5a2a80008009d1b..."} 
[2026-09-08 16:23:19] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a652f8012d7c19c005e5a2a80008009d1b..."} 
[2026-09-08 16:23:19] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:19] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":98935464,"longitude_deg":76.3107776,"latitude_deg":9.8935464,"altitude":8,"angle":157,"satellites":27,"speed":33,"hex_longitude":"2d7c19c0","hex_latitude":"05e5a2a8","is_valid_coordinates":true} 
[2026-09-08 16:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949379072001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129944411634139136,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804543963136,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788864779000,"timestamp_ms":1788864779000,"timestamp_seconds":1788864779,"priority":1,"record_length":96,"hex_timestamp":"000001a080a652f8"} 
[2026-09-08 16:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631781,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2158306864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3628331197056155648,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2779959297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275769695,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2784034816,"corrected_to":0} 
[2026-09-08 16:23:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1074128426,"corrected_to":0} 
[2026-09-08 16:23:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393379,"corrected_to":0} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303295451017641,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3863429120,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-6232975397140561913,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,40,87,24,241,157,16,167,160,45,64,207,12,10,66,95,217,232,11,27,166,210,192,1,240,220,227,128,230,4,113,205,116,203,200,239,52,2,5,7,39,123,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2784034816,"validated":0},{"io_id":203,"original":1074128426,"validated":0},{"io_id":200,"original":393379,"validated":0}]} 
[2026-09-08 16:23:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792798572832948224,"timestamp_seconds":792798572832948.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:23:19] 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-09-08 16:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949379072001,"66":13319,"40":206,"87":13824,"24":33,"16":129944411634139136,"45":8938026804543963136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-08 16:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949379072001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:23:19] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-08 16:23:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129944411634139136,"km_value":129944411634139.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804543963136,"description":"Unknown IO ID 45"} 
[2026-09-08 16:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949379072001,"power":13319,"unknown_40":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8938026804543963136}} 
[2026-09-08 16:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:23:19] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:23:19] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:23:39] local.INFO: TCP Data received {"connection_id":175878,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a33618012d196780071fed78003a011f26..."} 
[2026-09-08 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a33618012d196780071fed78003a011f26..."} 
[2026-09-08 16:23:39] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a33618012d196780071fed78003a011f26..."} 
[2026-09-08 16:23:39] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:23:39] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949325824001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23: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-09-08 16:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788864575000,"timestamp_ms":1788864575000,"timestamp_seconds":1788864575,"priority":1,"record_length":96,"hex_timestamp":"000001a080a33618"} 
[2026-09-08 16:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949325824001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949325824001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949325824001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:23:39] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:23:39] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:23:40] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:40] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:40] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:23:41] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:41] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:41] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:23:47] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:47] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:23:47] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:23:48] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a63b88012d4d5bc0068491780078007a1f..."} 
[2026-09-08 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a63b88012d4d5bc0068491780078007a1f..."} 
[2026-09-08 16:23:48] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a63b88012d4d5bc0068491780078007a1f..."} 
[2026-09-08 16:23:48] local.INFO: Packet analysis {"connection_id":174829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:48] local.INFO: Extracted packet for processing {"connection_id":174829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":760044480,"raw_latitude":109351288,"longitude_deg":76.004448,"latitude_deg":10.9351288,"altitude":120,"angle":122,"satellites":31,"speed":44,"hex_longitude":"2d4d5bc0","hex_latitude":"06849178","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949379840001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402836106657136640,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566730642401927168,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864773000,"timestamp_ms":1788864773000,"timestamp_seconds":1788864773,"priority":1,"record_length":96,"hex_timestamp":"000001a080a63b88"} 
[2026-09-08 16:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949379840001,"66":27767,"227":206,"19":47872,"24":44,"16":402836106657136640,"45":5566730642401927168},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-09-08 16:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949379840001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:23:48] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-08 16:23:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402836106657136640,"km_value":402836106657136.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566730642401927168,"description":"Unknown IO ID 45"} 
[2026-09-08 16:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949379840001,"power":27767,"unknown_227":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":5566730642401927168}} 
[2026-09-08 16:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":174829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:23:48] local.INFO: GPS data processed {"connection_id":174829,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:23:48] local.INFO: Acknowledgment sent {"connection_id":174829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:23:50] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a681d8012d7c27c005e58120000a00a31b..."} 
[2026-09-08 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a681d8012d7c27c005e58120000a00a31b..."} 
[2026-09-08 16:23:50] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a681d8012d7c27c005e58120000a00a31b..."} 
[2026-09-08 16:23:50] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:50] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:23:50] local.INFO: GPS Element Parsed {"raw_longitude":763111360,"raw_latitude":98926880,"longitude_deg":76.311136,"latitude_deg":9.892688,"altitude":10,"angle":163,"satellites":27,"speed":26,"hex_longitude":"2d7c27c0","hex_latitude":"05e58120","is_valid_coordinates":true} 
[2026-09-08 16:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949383424001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129944862605705216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666680842240,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788864791000,"timestamp_ms":1788864791000,"timestamp_seconds":1788864791,"priority":1,"record_length":96,"hex_timestamp":"000001a080a681d8"} 
[2026-09-08 16:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2158326864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454687,"corrected_to":0} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2782007297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3973054475,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2790653952,"corrected_to":0} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3221612041,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024909,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3861563392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2751700667184496645,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.WARNING: Large IO value detected {"io_id":230,"raw_value":5134103605277170432,"note":"Value kept but may cause issues"} 
[2026-09-08 16:23:50] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,40,87,24,241,157,16,167,160,45,64,195,11,26,10,66,207,12,95,217,1,240,247,227,166,128,229,4,113,205,33,178,213,168,27,239,52,2,5,6,17,51,165,230],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":247,"original":13454687,"validated":0},{"io_id":205,"original":2790653952,"validated":0}]} 
[2026-09-08 16:23:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576633491595264000,"timestamp_seconds":576633491595264,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:23:50] 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-09-08 16:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949383424001,"66":13374,"40":206,"87":13824,"24":26,"16":129944862605705216,"45":8942389666680842240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-08 16:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949383424001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:23:50] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-08 16:23:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129944862605705216,"km_value":129944862605705.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666680842240,"description":"Unknown IO ID 45"} 
[2026-09-08 16:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949383424001,"power":13374,"unknown_40":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8942389666680842240}} 
[2026-09-08 16:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:23:50] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:23:50] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:00] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:24:00] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:24:00] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:24:04] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:24:04] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:24:04] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:24:06] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a38820012d196780071fed78003a011f28..."} 
[2026-09-08 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a38820012d196780071fed78003a011f28..."} 
[2026-09-08 16:24:06] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a38820012d196780071fed78003a011f28..."} 
[2026-09-08 16:24:06] local.INFO: Packet analysis {"connection_id":174830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:24:06] local.INFO: Extracted packet for processing {"connection_id":174830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949331200001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:06] 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-09-08 16:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788864596000,"timestamp_ms":1788864596000,"timestamp_seconds":1788864596,"priority":1,"record_length":96,"hex_timestamp":"000001a080a38820"} 
[2026-09-08 16:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949331200001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949331200001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949331200001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":174830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:06] local.INFO: GPS data processed {"connection_id":174830,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:06] local.INFO: Acknowledgment sent {"connection_id":174830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:14] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:24:14] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:24:14] local.INFO: IMEI packet received {"connection_id":177349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":177349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:24:19] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:24:19] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:24:19] local.INFO: IMEI packet received {"connection_id":177349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":177349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:24:20] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a64f10012d4d6f80068488b8007a006d1a..."} 
[2026-09-08 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a64f10012d4d6f80068488b8007a006d1a..."} 
[2026-09-08 16:24:20] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a64f10012d4d6f80068488b8007a006d1a..."} 
[2026-09-08 16:24:20] local.INFO: Packet analysis {"connection_id":174829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:20] local.INFO: Extracted packet for processing {"connection_id":174829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":760049536,"raw_latitude":109349048,"longitude_deg":76.0049536,"latitude_deg":10.9349048,"altitude":122,"angle":109,"satellites":26,"speed":41,"hex_longitude":"2d4d6f80","hex_latitude":"068488b8","is_valid_coordinates":true} 
[2026-09-08 16:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949381888001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402836368650141696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5574260098027583488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788864778000,"timestamp_ms":1788864778000,"timestamp_seconds":1788864778,"priority":1,"record_length":96,"hex_timestamp":"000001a080a64f10"} 
[2026-09-08 16:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949381888001,"66":27767,"227":206,"19":47872,"24":41,"16":402836368650141696,"45":5574260098027583488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-09-08 16:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949381888001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:20] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-08 16:24:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402836368650141696,"km_value":402836368650141.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5574260098027583488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949381888001,"power":27767,"unknown_227":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":5574260098027583488}} 
[2026-09-08 16:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:20] local.INFO: GPS data processed {"connection_id":174829,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:20] local.INFO: Acknowledgment sent {"connection_id":174829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:22] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a6b4a0012d7c2f4005e55e00000a00a91b..."} 
[2026-09-08 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a6b4a0012d7c2f4005e55e00000a00a91b..."} 
[2026-09-08 16:24:22] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a6b4a0012d7c2f4005e55e00000a00a91b..."} 
[2026-09-08 16:24:22] local.INFO: Packet analysis {"connection_id":177349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:22] local.INFO: Extracted packet for processing {"connection_id":177349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763113280,"raw_latitude":98917888,"longitude_deg":76.311328,"latitude_deg":9.8917888,"altitude":10,"angle":169,"satellites":27,"speed":23,"hex_longitude":"2d7c2f40","hex_latitude":"05e55e00","is_valid_coordinates":true} 
[2026-09-08 16:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949386496001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129945309282304000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316352593920,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788864804000,"timestamp_ms":1788864804000,"timestamp_seconds":1788864804,"priority":1,"record_length":96,"hex_timestamp":"000001a080a6b4a0"} 
[2026-09-08 16:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:24:22] 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-09-08 16:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949386496001,"66":13200,"39":206,"87":13824,"24":23,"16":129945309282304000,"45":8946330316352593920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949386496001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:24:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129945309282304000,"km_value":129945309282304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316352593920,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949386496001,"power":13200,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8946330316352593920}} 
[2026-09-08 16:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":177349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:22] local.INFO: GPS data processed {"connection_id":177349,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:22] local.INFO: Acknowledgment sent {"connection_id":177349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:23] local.INFO: TCP Data received {"connection_id":177349,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a6bc70012d7c30c005e55948000a009a1b..."} 
[2026-09-08 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a6bc70012d7c30c005e55948000a009a1b..."} 
[2026-09-08 16:24:23] local.INFO: Processing buffer {"connection_id":177349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a6bc70012d7c30c005e55948000a009a1b..."} 
[2026-09-08 16:24:23] local.INFO: Packet analysis {"connection_id":177349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:23] local.INFO: Extracted packet for processing {"connection_id":177349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98916680,"longitude_deg":76.3113664,"latitude_deg":9.891668,"altitude":10,"angle":154,"satellites":27,"speed":25,"hex_longitude":"2d7c30c0","hex_latitude":"05e55948","is_valid_coordinates":true} 
[2026-09-08 16:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949389824001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129945369411846144,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948441378675621888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788864806000,"timestamp_ms":1788864806000,"timestamp_seconds":1788864806,"priority":1,"record_length":96,"hex_timestamp":"000001a080a6bc70"} 
[2026-09-08 16:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:24:23] 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-09-08 16:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949389824001,"66":13406,"39":206,"87":13824,"24":25,"16":129945369411846144,"45":8948441378675621888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949389824001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:24:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129945369411846144,"km_value":129945369411846.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948441378675621888,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949389824001,"power":13406,"unknown_39":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8948441378675621888}} 
[2026-09-08 16:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":177349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:23] local.INFO: GPS data processed {"connection_id":177349,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:23] local.INFO: Acknowledgment sent {"connection_id":177349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:33] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:24:33] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:24:33] local.INFO: IMEI packet received {"connection_id":175879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":175879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:24:34] local.INFO: TCP Data received {"connection_id":175879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a69d30012d0c654007051a98001c01611f..."} 
[2026-09-08 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a69d30012d0c654007051a98001c01611f..."} 
[2026-09-08 16:24:34] local.INFO: Processing buffer {"connection_id":175879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a69d30012d0c654007051a98001c01611f..."} 
[2026-09-08 16:24:34] local.INFO: Packet analysis {"connection_id":175879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:34] local.INFO: Extracted packet for processing {"connection_id":175879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117775000,"longitude_deg":75.5787072,"latitude_deg":11.7775,"altitude":28,"angle":353,"satellites":31,"speed":13,"hex_longitude":"2d0c6540","hex_latitude":"07051a98","is_valid_coordinates":true} 
[2026-09-08 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949387264001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30788640565100544,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499997097984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788864798000,"timestamp_ms":1788864798000,"timestamp_seconds":1788864798,"priority":1,"record_length":96,"hex_timestamp":"000001a080a69d30"} 
[2026-09-08 16:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949387264001,"66":14439,"95":206,"94":10240,"24":13,"16":30788640565100544,"45":893190499997097984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949387264001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:24:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30788640565100544,"km_value":30788640565100.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499997097984,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949387264001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":893190499997097984}} 
[2026-09-08 16:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":175879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:34] local.INFO: GPS data processed {"connection_id":175879,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:34] local.INFO: Acknowledgment sent {"connection_id":175879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:38] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a3da28012d196780071fed78003a011f26..."} 
[2026-09-08 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a3da28012d196780071fed78003a011f26..."} 
[2026-09-08 16:24:38] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a3da28012d196780071fed78003a011f26..."} 
[2026-09-08 16:24:38] local.INFO: Packet analysis {"connection_id":174830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:24:38] local.INFO: Extracted packet for processing {"connection_id":174830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a3"} 
[2026-09-08 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949336576001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24: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-09-08 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788864617000,"timestamp_ms":1788864617000,"timestamp_seconds":1788864617,"priority":1,"record_length":96,"hex_timestamp":"000001a080a3da28"} 
[2026-09-08 16:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949336576001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949336576001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949336576001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":174830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:38] local.INFO: GPS data processed {"connection_id":174830,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:38] local.INFO: Acknowledgment sent {"connection_id":174830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:24:41] local.INFO: TCP Data received {"connection_id":174550,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:41] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:41] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:24:42] local.INFO: TCP Data received {"connection_id":174550,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:42] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:42] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:24:46] local.INFO: TCP Data received {"connection_id":174550,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:46] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:24:46] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:24:48] local.INFO: TCP Data received {"connection_id":174550,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a65eb0012d4d7f4006848550007b00621f..."} 
[2026-09-08 16:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a65eb0012d4d7f4006848550007b00621f..."} 
[2026-09-08 16:24:48] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a65eb0012d4d7f4006848550007b00621f..."} 
[2026-09-08 16:24:48] local.INFO: Packet analysis {"connection_id":174550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:48] local.INFO: Extracted packet for processing {"connection_id":174550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:24:48] local.INFO: GPS Element Parsed {"raw_longitude":760053568,"raw_latitude":109348176,"longitude_deg":76.0053568,"latitude_deg":10.9348176,"altitude":123,"angle":98,"satellites":31,"speed":42,"hex_longitude":"2d4d7f40","hex_latitude":"06848550","is_valid_coordinates":true} 
[2026-09-08 16:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949383168001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402836566218637312,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5579819228817045504,"note":"Value kept but may cause issues"} 
[2026-09-08 16:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864782000,"timestamp_ms":1788864782000,"timestamp_seconds":1788864782,"priority":1,"record_length":96,"hex_timestamp":"000001a080a65eb0"} 
[2026-09-08 16:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949383168001,"66":27800,"227":206,"19":47872,"24":42,"16":402836566218637312,"45":5579819228817045504},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-09-08 16:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949383168001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:24:48] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-08 16:24:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402836566218637312,"km_value":402836566218637.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5579819228817045504,"description":"Unknown IO ID 45"} 
[2026-09-08 16:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949383168001,"power":27800,"unknown_227":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5579819228817045504}} 
[2026-09-08 16:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":174550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:24:48] local.INFO: GPS data processed {"connection_id":174550,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:24:48] local.INFO: Acknowledgment sent {"connection_id":174550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:00] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:25:00] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:25:00] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:25:06] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:25:06] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:25:06] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:25:07] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a42c30012d196780071fed78003a011f27..."} 
[2026-09-08 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a42c30012d196780071fed78003a011f27..."} 
[2026-09-08 16:25:07] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a42c30012d196780071fed78003a011f27..."} 
[2026-09-08 16:25:07] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:25:07] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949341952001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25: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-09-08 16:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864638000,"timestamp_ms":1788864638000,"timestamp_seconds":1788864638,"priority":1,"record_length":96,"hex_timestamp":"000001a080a42c30"} 
[2026-09-08 16:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949341952001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949341952001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949341952001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:07] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:07] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:14] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:25:14] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:25:14] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:25:19] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:25:19] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:25:19] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:25:20] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a6b0b8012d0c64c007051d78001c01551c..."} 
[2026-09-08 16:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a6b0b8012d0c64c007051d78001c01551c..."} 
[2026-09-08 16:25:20] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a6b0b8012d0c64c007051d78001c01551c..."} 
[2026-09-08 16:25:20] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:25:20] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":755786944,"raw_latitude":117775736,"longitude_deg":75.5786944,"latitude_deg":11.7775736,"altitude":28,"angle":341,"satellites":28,"speed":1,"hex_longitude":"2d0c64c0","hex_latitude":"07051d78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949388288001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30788679219806208,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499997489152,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788864803000,"timestamp_ms":1788864803000,"timestamp_seconds":1788864803,"priority":1,"record_length":96,"hex_timestamp":"000001a080a6b0b8"} 
[2026-09-08 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-09-08 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949388288001,"66":14265,"95":206,"94":10240,"24":1,"16":30788679219806208,"45":893190499997489152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949388288001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30788679219806208,"km_value":30788679219806.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499997489152,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949388288001,"power":14265,"unknown_95":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":893190499997489152}} 
[2026-09-08 16:25:20] local.INFO: TCP Data received {"connection_id":174550,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a79348012d4ece000683d070007300622d..."} 
[2026-09-08 16:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a79348012d4ece000683d070007300622d..."} 
[2026-09-08 16:25:20] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a79348012d4ece000683d070007300622d..."} 
[2026-09-08 16:25:20] local.INFO: Packet analysis {"connection_id":174550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:25:20] local.INFO: Extracted packet for processing {"connection_id":174550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":760139264,"raw_latitude":109301872,"longitude_deg":76.0139264,"latitude_deg":10.9301872,"altitude":115,"angle":98,"satellites":45,"speed":51,"hex_longitude":"2d4ece00","hex_latitude":"0683d070","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949402624001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402841458186387456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5668202371492499456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788864861000,"timestamp_ms":1788864861000,"timestamp_seconds":1788864861,"priority":1,"record_length":96,"hex_timestamp":"000001a080a79348"} 
[2026-09-08 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-09-08 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949402624001,"66":27800,"251":206,"19":47872,"24":51,"16":402841458186387456,"45":5668202371492499456},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949402624001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402841458186387456,"km_value":402841458186387.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5668202371492499456,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949402624001,"power":27800,"unknown_251":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5668202371492499456}} 
[2026-09-08 16:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":174550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:20] local.INFO: GPS data processed {"connection_id":174550,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:20] local.INFO: Acknowledgment sent {"connection_id":174550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784451,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:20] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:20] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:21] local.INFO: TCP Data received {"connection_id":174831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:21] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:21] local.INFO: IMEI packet received {"connection_id":174831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":174831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:25:23] local.INFO: TCP Data received {"connection_id":174831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:23] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:23] local.INFO: IMEI packet received {"connection_id":174831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":174831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:25:33] local.INFO: TCP Data received {"connection_id":174831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:33] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:25:33] local.INFO: IMEI packet received {"connection_id":174831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":174831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:25:36] local.INFO: TCP Data received {"connection_id":174831,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a7f108012d7bf30005e4a1b8001000d51d..."} 
[2026-09-08 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a7f108012d7bf30005e4a1b8001000d51d..."} 
[2026-09-08 16:25:36] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a7f108012d7bf30005e4a1b8001000d51d..."} 
[2026-09-08 16:25:36] local.INFO: Packet analysis {"connection_id":174831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:25:36] local.INFO: Extracted packet for processing {"connection_id":174831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763097856,"raw_latitude":98869688,"longitude_deg":76.3097856,"latitude_deg":9.8869688,"altitude":16,"angle":213,"satellites":29,"speed":49,"hex_longitude":"2d7bf300","hex_latitude":"05e4a1b8","is_valid_coordinates":true} 
[2026-09-08 16:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949408256001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129947980751962112,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485829556224,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788864885000,"timestamp_ms":1788864885000,"timestamp_seconds":1788864885,"priority":1,"record_length":96,"hex_timestamp":"000001a080a7f108"} 
[2026-09-08 16:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:25:36] 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-09-08 16:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949408256001,"66":13450,"39":206,"87":13824,"24":49,"16":129947980751962112,"45":8937393485829556224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949408256001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:25:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129947980751962112,"km_value":129947980751962.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485829556224,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949408256001,"power":13450,"unknown_39":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8937393485829556224}} 
[2026-09-08 16:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":174831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:36] local.INFO: GPS data processed {"connection_id":174831,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:36] local.INFO: Acknowledgment sent {"connection_id":174831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:38] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a47e38012d196780071fed78003a011f23..."} 
[2026-09-08 16:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a47e38012d196780071fed78003a011f23..."} 
[2026-09-08 16:25:38] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a47e38012d196780071fed78003a011f23..."} 
[2026-09-08 16:25:38] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:25:38] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949347328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25: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-09-08 16:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788864659000,"timestamp_ms":1788864659000,"timestamp_seconds":1788864659,"priority":1,"record_length":96,"hex_timestamp":"000001a080a47e38"} 
[2026-09-08 16:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949347328001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949347328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949347328001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:39] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:39] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:41] local.INFO: TCP Data received {"connection_id":174552,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:25:41] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:25:41] local.INFO: IMEI packet received {"connection_id":174552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":174552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:25:47] local.INFO: TCP Data received {"connection_id":174552,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:25:47] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:25:47] local.INFO: IMEI packet received {"connection_id":174552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:25:48] local.INFO: TCP Data received {"connection_id":174552,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a7aea0012d4ef1000683cb30007600622d..."} 
[2026-09-08 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a7aea0012d4ef1000683cb30007600622d..."} 
[2026-09-08 16:25:48] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a7aea0012d4ef1000683cb30007600622d..."} 
[2026-09-08 16:25:48] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:25:48] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":760148224,"raw_latitude":109300528,"longitude_deg":76.0148224,"latitude_deg":10.9300528,"altitude":118,"angle":98,"satellites":45,"speed":50,"hex_longitude":"2d4ef100","hex_latitude":"0683cb30","is_valid_coordinates":true} 
[2026-09-08 16:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949404416001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402841891978084352,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5678476208142053376,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864868000,"timestamp_ms":1788864868000,"timestamp_seconds":1788864868,"priority":1,"record_length":96,"hex_timestamp":"000001a080a7aea0"} 
[2026-09-08 16:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949404416001,"66":27800,"251":206,"19":47872,"24":50,"16":402841891978084352,"45":5678476208142053376},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949404416001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:48] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:25:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402841891978084352,"km_value":402841891978084.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5678476208142053376,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949404416001,"power":27800,"unknown_251":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":5678476208142053376}} 
[2026-09-08 16:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:48] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:48] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:25:51] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080a6d3e0012d0c648007051e90001c000c1f..."} 
[2026-09-08 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a6d3e0012d0c648007051e90001c000c1f..."} 
[2026-09-08 16:25:51] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a6d3e0012d0c648007051e90001c000c1f..."} 
[2026-09-08 16:25:51] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:25:51] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a6"} 
[2026-09-08 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755786880,"raw_latitude":117776016,"longitude_deg":75.578688,"latitude_deg":11.7776016,"altitude":28,"angle":12,"satellites":31,"speed":2,"hex_longitude":"2d0c6480","hex_latitude":"07051e90","is_valid_coordinates":true} 
[2026-09-08 16:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949389568001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30788696399675392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893049762509322240,"note":"Value kept but may cause issues"} 
[2026-09-08 16:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788864812000,"timestamp_ms":1788864812000,"timestamp_seconds":1788864812,"priority":1,"record_length":96,"hex_timestamp":"000001a080a6d3e0"} 
[2026-09-08 16:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 16:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949389568001,"66":14428,"167":206,"94":11008,"24":2,"16":30788696399675392,"45":893049762509322240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949389568001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:25:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30788696399675392,"km_value":30788696399675.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":893049762509322240,"description":"Unknown IO ID 45"} 
[2026-09-08 16:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949389568001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":893049762509322240}} 
[2026-09-08 16:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:25:51] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:25:51] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:00] local.INFO: TCP Data received {"connection_id":177351,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:26:00] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:26:00] local.INFO: IMEI packet received {"connection_id":177351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":177351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:26:06] local.INFO: TCP Data received {"connection_id":177351,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:26:06] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:26:06] local.INFO: IMEI packet received {"connection_id":177351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":177351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:26:07] local.INFO: TCP Data received {"connection_id":177351,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a4d428012d196780071fed78003a011f26..."} 
[2026-09-08 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a4d428012d196780071fed78003a011f26..."} 
[2026-09-08 16:26:07] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a4d428012d196780071fed78003a011f26..."} 
[2026-09-08 16:26:07] local.INFO: Packet analysis {"connection_id":177351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:26:07] local.INFO: Extracted packet for processing {"connection_id":177351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a4"} 
[2026-09-08 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949352704001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26: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-09-08 16:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864681000,"timestamp_ms":1788864681000,"timestamp_seconds":1788864681,"priority":1,"record_length":96,"hex_timestamp":"000001a080a4d428"} 
[2026-09-08 16:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949352704001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949352704001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949352704001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":177351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:07] local.INFO: GPS data processed {"connection_id":177351,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:07] local.INFO: Acknowledgment sent {"connection_id":177351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:08] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:08] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:08] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:26:08] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:08] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:08] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:26:09] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:26:09] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:26:09] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:26:12] local.INFO: TCP Data received {"connection_id":177351,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a52630012d196780071fed78003a011f28..."} 
[2026-09-08 16:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a52630012d196780071fed78003a011f28..."} 
[2026-09-08 16:26:12] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a52630012d196780071fed78003a011f28..."} 
[2026-09-08 16:26:12] local.INFO: Packet analysis {"connection_id":177351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:26:12] local.INFO: Extracted packet for processing {"connection_id":177351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949358336001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26: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-09-08 16:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788864702000,"timestamp_ms":1788864702000,"timestamp_seconds":1788864702,"priority":1,"record_length":96,"hex_timestamp":"000001a080a52630"} 
[2026-09-08 16:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949358336001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949358336001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949358336001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":177351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:12] local.INFO: GPS data processed {"connection_id":177351,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:12] local.INFO: Acknowledgment sent {"connection_id":177351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:14] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:14] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:26:14] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:26:15] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a80c60012d7bdf0005e483a0001200d51b..."} 
[2026-09-08 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a80c60012d7bdf0005e483a0001200d51b..."} 
[2026-09-08 16:26:15] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a80c60012d7bdf0005e483a0001200d51b..."} 
[2026-09-08 16:26:15] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:26:15] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763092736,"raw_latitude":98861984,"longitude_deg":76.3092736,"latitude_deg":9.8861984,"altitude":18,"angle":213,"satellites":27,"speed":53,"hex_longitude":"2d7bdf00","hex_latitude":"05e483a0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949410560001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129948427428560896,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511316465664,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788864892000,"timestamp_ms":1788864892000,"timestamp_seconds":1788864892,"priority":1,"record_length":96,"hex_timestamp":"000001a080a80c60"} 
[2026-09-08 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-09-08 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949410560001,"66":13526,"39":206,"87":13824,"24":53,"16":129948427428560896,"45":8931482511316465664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949410560001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129948427428560896,"km_value":129948427428560.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511316465664,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949410560001,"power":13526,"unknown_39":206,"unknown_87":13824,"ignition":53,"odometer":null,"unknown_45":8931482511316465664}} 
[2026-09-08 16:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:15] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:15] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:19] local.INFO: TCP Data received {"connection_id":174552,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a7cde0012d4f18800683c540007900632c..."} 
[2026-09-08 16:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a7cde0012d4f18800683c540007900632c..."} 
[2026-09-08 16:26:19] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a7cde0012d4f18800683c540007900632c..."} 
[2026-09-08 16:26:19] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:26:19] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:26:19] local.INFO: GPS Element Parsed {"raw_longitude":760158336,"raw_latitude":109299008,"longitude_deg":76.0158336,"latitude_deg":10.9299008,"altitude":121,"angle":99,"satellites":44,"speed":48,"hex_longitude":"2d4f1880","hex_latitude":"0683c540","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949406208001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402842377309388800,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5688327832326582272,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788864876000,"timestamp_ms":1788864876000,"timestamp_seconds":1788864876,"priority":1,"record_length":96,"hex_timestamp":"000001a080a7cde0"} 
[2026-09-08 16:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949406208001,"66":27821,"251":206,"19":47872,"24":48,"16":402842377309388800,"45":5688327832326582272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949406208001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:19] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:26:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402842377309388800,"km_value":402842377309388.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5688327832326582272,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949406208001,"power":27821,"unknown_251":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5688327832326582272}} 
[2026-09-08 16:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:19] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:19] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:46] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a827b8012d7bca8005e46360001200d51e..."} 
[2026-09-08 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a827b8012d7bca8005e46360001200d51e..."} 
[2026-09-08 16:26:46] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a827b8012d7bca8005e46360001200d51e..."} 
[2026-09-08 16:26:46] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:26:46] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763087488,"raw_latitude":98853728,"longitude_deg":76.3087488,"latitude_deg":9.8853728,"altitude":18,"angle":213,"satellites":30,"speed":55,"hex_longitude":"2d7bca80","hex_latitude":"05e46360","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949412352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129948899874963456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925853011780280320,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788864899000,"timestamp_ms":1788864899000,"timestamp_seconds":1788864899,"priority":1,"record_length":96,"hex_timestamp":"000001a080a827b8"} 
[2026-09-08 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-09-08 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:26:46] 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-09-08 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949412352001,"66":13472,"39":206,"87":13824,"24":55,"16":129948899874963456,"45":8925853011780280320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949412352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:26:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129948899874963456,"km_value":129948899874963.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925853011780280320,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949412352001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":8925853011780280320}} 
[2026-09-08 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:46] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:46] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:47] local.INFO: TCP Data received {"connection_id":177351,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a57450012d196780071fed78003a011f28..."} 
[2026-09-08 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a57450012d196780071fed78003a011f28..."} 
[2026-09-08 16:26:47] local.INFO: Processing buffer {"connection_id":177351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a57450012d196780071fed78003a011f28..."} 
[2026-09-08 16:26:47] local.INFO: Packet analysis {"connection_id":177351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:26:47] local.INFO: Extracted packet for processing {"connection_id":177351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949363712001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:47] 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-09-08 16:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788864722000,"timestamp_ms":1788864722000,"timestamp_seconds":1788864722,"priority":1,"record_length":96,"hex_timestamp":"000001a080a57450"} 
[2026-09-08 16:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949363712001,"66":12287,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949363712001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949363712001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":177351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:47] local.INFO: GPS data processed {"connection_id":177351,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:47] local.INFO: Acknowledgment sent {"connection_id":177351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:47] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:26:47] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:26:47] local.INFO: IMEI packet received {"connection_id":174832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:26:49] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:26:49] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:26:49] local.INFO: IMEI packet received {"connection_id":174832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":174832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:26:50] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a7ed20012d4f3dc00683bfa0007c00622c..."} 
[2026-09-08 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a7ed20012d4f3dc00683bfa0007c00622c..."} 
[2026-09-08 16:26:50] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a7ed20012d4f3dc00683bfa0007c00622c..."} 
[2026-09-08 16:26:50] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:26:50] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a7"} 
[2026-09-08 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":760167872,"raw_latitude":109297568,"longitude_deg":76.0167872,"latitude_deg":10.9297568,"altitude":124,"angle":98,"satellites":44,"speed":47,"hex_longitude":"2d4f3dc0","hex_latitude":"0683bfa0","is_valid_coordinates":true} 
[2026-09-08 16:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949408256001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402842836870889472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5699446093906264064,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788864884000,"timestamp_ms":1788864884000,"timestamp_seconds":1788864884,"priority":1,"record_length":96,"hex_timestamp":"000001a080a7ed20"} 
[2026-09-08 16:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949408256001,"66":27745,"251":206,"19":47872,"24":47,"16":402842836870889472,"45":5699446093906264064},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949408256001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:26:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402842836870889472,"km_value":402842836870889.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5699446093906264064,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949408256001,"power":27745,"unknown_251":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5699446093906264064}} 
[2026-09-08 16:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:50] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:50] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:26:51] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a80c60012d4f62000683ba50008000622d..."} 
[2026-09-08 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a80c60012d4f62000683ba50008000622d..."} 
[2026-09-08 16:26:51] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a80c60012d4f62000683ba50008000622d..."} 
[2026-09-08 16:26:51] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:26:51] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":760177152,"raw_latitude":109296208,"longitude_deg":76.0177152,"latitude_deg":10.9296208,"altitude":128,"angle":98,"satellites":45,"speed":45,"hex_longitude":"2d4f6200","hex_latitude":"0683ba50","is_valid_coordinates":true} 
[2026-09-08 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949410304001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402843283547488256,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5709931036788367360,"note":"Value kept but may cause issues"} 
[2026-09-08 16:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788864892000,"timestamp_ms":1788864892000,"timestamp_seconds":1788864892,"priority":1,"record_length":96,"hex_timestamp":"000001a080a80c60"} 
[2026-09-08 16:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949410304001,"66":27876,"251":206,"19":47872,"24":45,"16":402843283547488256,"45":5709931036788367360},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949410304001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:26:51] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:26:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402843283547488256,"km_value":402843283547488.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5709931036788367360,"description":"Unknown IO ID 45"} 
[2026-09-08 16:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949410304001,"power":27876,"unknown_251":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5709931036788367360}} 
[2026-09-08 16:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:26:51] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:26:51] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:00] local.INFO: TCP Data received {"connection_id":177352,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:27:00] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:27:00] local.INFO: IMEI packet received {"connection_id":177352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":177352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:27:06] local.INFO: TCP Data received {"connection_id":177352,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:27:06] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:27:06] local.INFO: IMEI packet received {"connection_id":177352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":177352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:27:07] local.INFO: TCP Data received {"connection_id":177352,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a5c658012d196780071fed78003a011f28..."} 
[2026-09-08 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a5c658012d196780071fed78003a011f28..."} 
[2026-09-08 16:27:07] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a5c658012d196780071fed78003a011f28..."} 
[2026-09-08 16:27:07] local.INFO: Packet analysis {"connection_id":177352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:27:07] local.INFO: Extracted packet for processing {"connection_id":177352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a5"} 
[2026-09-08 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949368832001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27: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-09-08 16:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788864743000,"timestamp_ms":1788864743000,"timestamp_seconds":1788864743,"priority":1,"record_length":96,"hex_timestamp":"000001a080a5c658"} 
[2026-09-08 16:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949368832001,"66":11754,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949368832001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949368832001,"power":11754,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":177352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:07] local.INFO: GPS data processed {"connection_id":177352,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:07] local.INFO: Acknowledgment sent {"connection_id":177352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:09] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:27:09] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:27:09] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:27:14] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:27:14] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:27:14] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:27:16] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080a84310012d7bb5c005e44440001300d61d..."} 
[2026-09-08 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a84310012d7bb5c005e44440001300d61d..."} 
[2026-09-08 16:27:16] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a84310012d7bb5c005e44440001300d61d..."} 
[2026-09-08 16:27:16] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:16] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763082176,"raw_latitude":98845760,"longitude_deg":76.3082176,"latitude_deg":9.884576,"altitude":19,"angle":214,"satellites":29,"speed":52,"hex_longitude":"2d7bb5c0","hex_latitude":"05e44440","is_valid_coordinates":true} 
[2026-09-08 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949414144001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129949359436464128,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920082774755598336,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788864906000,"timestamp_ms":1788864906000,"timestamp_seconds":1788864906,"priority":1,"record_length":96,"hex_timestamp":"000001a080a84310"} 
[2026-09-08 16:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949414144001,"66":13243,"39":206,"87":13824,"24":52,"16":129949359436464128,"45":8920082774755598336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949414144001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:16] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:27:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129949359436464128,"km_value":129949359436464.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920082774755598336,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949414144001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":8920082774755598336}} 
[2026-09-08 16:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:16] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:16] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:23] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a82ba0012d4f85400683b508008200622d..."} 
[2026-09-08 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a82ba0012d4f85400683b508008200622d..."} 
[2026-09-08 16:27:23] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a82ba0012d4f85400683b508008200622d..."} 
[2026-09-08 16:27:23] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:23] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":760186176,"raw_latitude":109294856,"longitude_deg":76.0186176,"latitude_deg":10.9294856,"altitude":130,"angle":98,"satellites":45,"speed":43,"hex_longitude":"2d4f8540","hex_latitude":"0683b508","is_valid_coordinates":true} 
[2026-09-08 16:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949412352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402843717339185152,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5720134504693780480,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788864900000,"timestamp_ms":1788864900000,"timestamp_seconds":1788864900,"priority":1,"record_length":96,"hex_timestamp":"000001a080a82ba0"} 
[2026-09-08 16:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949412352001,"66":27745,"251":206,"19":47872,"24":43,"16":402843717339185152,"45":5720134504693780480},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949412352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:27:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402843717339185152,"km_value":402843717339185.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5720134504693780480,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949412352001,"power":27745,"unknown_251":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5720134504693780480}} 
[2026-09-08 16:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:23] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:23] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:24] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:27:24] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:27:24] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:27:30] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:27:30] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:27:30] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:27:38] local.INFO: TCP Data received {"connection_id":177352,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a95098012d196780071fed78003a011f27..."} 
[2026-09-08 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a95098012d196780071fed78003a011f27..."} 
[2026-09-08 16:27:38] local.INFO: Processing buffer {"connection_id":177352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a95098012d196780071fed78003a011f27..."} 
[2026-09-08 16:27:38] local.INFO: Packet analysis {"connection_id":177352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a9"} 
[2026-09-08 16:27:38] local.INFO: Extracted packet for processing {"connection_id":177352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a9"} 
[2026-09-08 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949427968001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27: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-09-08 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788864975000,"timestamp_ms":1788864975000,"timestamp_seconds":1788864975,"priority":1,"record_length":96,"hex_timestamp":"000001a080a95098"} 
[2026-09-08 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949427968001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949427968001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949427968001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":177352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:38] local.INFO: GPS data processed {"connection_id":177352,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:38] local.INFO: Acknowledgment sent {"connection_id":177352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:42] local.INFO: TCP Data received {"connection_id":177353,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:27:42] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:27:42] local.INFO: IMEI packet received {"connection_id":177353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":177353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:27:47] local.INFO: TCP Data received {"connection_id":177353,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:27:47] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:27:47] local.INFO: IMEI packet received {"connection_id":177353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":177353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:27:48] local.INFO: TCP Data received {"connection_id":177353,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a84ec8012d4fab400683af68008500622d..."} 
[2026-09-08 16:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a84ec8012d4fab400683af68008500622d..."} 
[2026-09-08 16:27:48] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a84ec8012d4fab400683af68008500622d..."} 
[2026-09-08 16:27:48] local.INFO: Packet analysis {"connection_id":177353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:48] local.INFO: Extracted packet for processing {"connection_id":177353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:48] local.INFO: GPS Element Parsed {"raw_longitude":760195904,"raw_latitude":109293416,"longitude_deg":76.0195904,"latitude_deg":10.9293416,"altitude":133,"angle":98,"satellites":45,"speed":42,"hex_longitude":"2d4fab40","hex_latitude":"0683af68","is_valid_coordinates":true} 
[2026-09-08 16:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949414400001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402844189785587712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5730056497622484992,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788864909000,"timestamp_ms":1788864909000,"timestamp_seconds":1788864909,"priority":1,"record_length":96,"hex_timestamp":"000001a080a84ec8"} 
[2026-09-08 16:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949414400001,"66":27832,"251":206,"19":47872,"24":42,"16":402844189785587712,"45":5730056497622484992},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949414400001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:48] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:27:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402844189785587712,"km_value":402844189785587.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5730056497622484992,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949414400001,"power":27832,"unknown_251":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5730056497622484992}} 
[2026-09-08 16:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":177353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:48] local.INFO: GPS data processed {"connection_id":177353,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:48] local.INFO: Acknowledgment sent {"connection_id":177353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:49] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080aa90e8012d7b0c8005e33128000f00b51b..."} 
[2026-09-08 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aa90e8012d7b0c8005e33128000f00b51b..."} 
[2026-09-08 16:27:49] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aa90e8012d7b0c8005e33128000f00b51b..."} 
[2026-09-08 16:27:49] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:27:49] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98775336,"longitude_deg":76.3038848,"latitude_deg":9.8775336,"altitude":15,"angle":181,"satellites":27,"speed":3,"hex_longitude":"2d7b0c80","hex_latitude":"05e33128","is_valid_coordinates":true} 
[2026-09-08 16:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949454336001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129953401000689664,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529160525824,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788865057000,"timestamp_ms":1788865057000,"timestamp_seconds":1788865057,"priority":1,"record_length":96,"hex_timestamp":"000001a080aa90e8"} 
[2026-09-08 16:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:27:49] 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-09-08 16:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949454336001,"66":12906,"208":206,"85":15104,"24":3,"16":129953401000689664,"45":8866602529160525824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949454336001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129953401000689664,"km_value":129953401000689.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529160525824,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949454336001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866602529160525824}} 
[2026-09-08 16:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:49] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:49] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:27:51] local.INFO: TCP Data received {"connection_id":177353,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a871f0012d4fd0000683a9b8008800622d..."} 
[2026-09-08 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a871f0012d4fd0000683a9b8008800622d..."} 
[2026-09-08 16:27:51] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a871f0012d4fd0000683a9b8008800622d..."} 
[2026-09-08 16:27:51] local.INFO: Packet analysis {"connection_id":177353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:51] local.INFO: Extracted packet for processing {"connection_id":177353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:27:51] local.INFO: GPS Element Parsed {"raw_longitude":760205312,"raw_latitude":109291960,"longitude_deg":76.0205312,"latitude_deg":10.929196,"altitude":136,"angle":98,"satellites":45,"speed":41,"hex_longitude":"2d4fd000","hex_latitude":"0683a9b8","is_valid_coordinates":true} 
[2026-09-08 16:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949416704001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402844640757153792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5740752546737121280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788864918000,"timestamp_ms":1788864918000,"timestamp_seconds":1788864918,"priority":1,"record_length":96,"hex_timestamp":"000001a080a871f0"} 
[2026-09-08 16:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 16:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949416704001,"66":27767,"251":206,"19":47872,"24":41,"16":402844640757153792,"45":5740752546737121280},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949416704001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:27:51] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:27:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402844640757153792,"km_value":402844640757153.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5740752546737121280,"description":"Unknown IO ID 45"} 
[2026-09-08 16:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949416704001,"power":27767,"unknown_251":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":5740752546737121280}} 
[2026-09-08 16:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":177353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:27:51] local.INFO: GPS data processed {"connection_id":177353,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:27:51] local.INFO: Acknowledgment sent {"connection_id":177353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:06] local.INFO: TCP Data received {"connection_id":175883,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:06] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:06] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:28:09] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:28:09] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:28:09] local.INFO: IMEI packet received {"connection_id":177354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":177354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:28:10] local.INFO: TCP Data received {"connection_id":175883,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:10] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:10] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:28:12] local.INFO: TCP Data received {"connection_id":175883,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a9a2a0012d196780071fed78003a011f27..."} 
[2026-09-08 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a9a2a0012d196780071fed78003a011f27..."} 
[2026-09-08 16:28:12] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a9a2a0012d196780071fed78003a011f27..."} 
[2026-09-08 16:28:12] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a9"} 
[2026-09-08 16:28:12] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a9"} 
[2026-09-08 16:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949433600001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28: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-09-08 16:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788864996000,"timestamp_ms":1788864996000,"timestamp_seconds":1788864996,"priority":1,"record_length":96,"hex_timestamp":"000001a080a9a2a0"} 
[2026-09-08 16:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949433600001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949433600001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949433600001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:12] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:12] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:14] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:28:14] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:28:14] local.INFO: IMEI packet received {"connection_id":177354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":177354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:28:16] local.INFO: TCP Data received {"connection_id":175883,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080a9f4a8012d196780071fed78003a011f28..."} 
[2026-09-08 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a9f4a8012d196780071fed78003a011f28..."} 
[2026-09-08 16:28:16] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a9f4a8012d196780071fed78003a011f28..."} 
[2026-09-08 16:28:16] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a9"} 
[2026-09-08 16:28:16] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a9"} 
[2026-09-08 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949438976001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:16] 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-09-08 16:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865017000,"timestamp_ms":1788865017000,"timestamp_seconds":1788865017,"priority":1,"record_length":96,"hex_timestamp":"000001a080a9f4a8"} 
[2026-09-08 16:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949438976001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949438976001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949438976001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:28:16] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080aa94d0012d7b0cc005e330b8000f00a31b..."} 
[2026-09-08 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aa94d0012d7b0cc005e330b8000f00a31b..."} 
[2026-09-08 16:28:16] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aa94d0012d7b0cc005e330b8000f00a31b..."} 
[2026-09-08 16:28:16] local.INFO: Packet analysis {"connection_id":177354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:16] local.INFO: Extracted packet for processing {"connection_id":177354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98775224,"longitude_deg":76.3038912,"latitude_deg":9.8775224,"altitude":15,"angle":163,"satellites":27,"speed":5,"hex_longitude":"2d7b0cc0","hex_latitude":"05e330b8","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949454592001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129953409590624256,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529160505344,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865058000,"timestamp_ms":1788865058000,"timestamp_seconds":1788865058,"priority":1,"record_length":96,"hex_timestamp":"000001a080aa94d0"} 
[2026-09-08 16:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949454592001,"66":12906,"208":206,"85":15104,"24":5,"16":129953409590624256,"45":8866602529160505344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949454592001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129953409590624256,"km_value":129953409590624.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529160505344,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949454592001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866602529160505344}} 
[2026-09-08 16:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:16] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:16] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":177354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:17] local.INFO: GPS data processed {"connection_id":177354,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:17] local.INFO: Acknowledgment sent {"connection_id":177354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:23] local.INFO: TCP Data received {"connection_id":177353,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080a89518012d4ff3800683a470008a00612d..."} 
[2026-09-08 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080a89518012d4ff3800683a470008a00612d..."} 
[2026-09-08 16:28:23] local.INFO: Processing buffer {"connection_id":177353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080a89518012d4ff3800683a470008a00612d..."} 
[2026-09-08 16:28:23] local.INFO: Packet analysis {"connection_id":177353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:28:23] local.INFO: Extracted packet for processing {"connection_id":177353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080a8"} 
[2026-09-08 16:28:23] local.INFO: GPS Element Parsed {"raw_longitude":760214400,"raw_latitude":109290608,"longitude_deg":76.02144,"latitude_deg":10.9290608,"altitude":138,"angle":97,"satellites":45,"speed":39,"hex_longitude":"2d4ff380","hex_latitude":"0683a470","is_valid_coordinates":true} 
[2026-09-08 16:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949419008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402845078843817984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5751096752130865152,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788864927000,"timestamp_ms":1788864927000,"timestamp_seconds":1788864927,"priority":1,"record_length":96,"hex_timestamp":"000001a080a89518"} 
[2026-09-08 16:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949419008001,"66":27843,"251":206,"19":47872,"24":39,"16":402845078843817984,"45":5751096752130865152},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 16:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949419008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 16:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402845078843817984,"km_value":402845078843818.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5751096752130865152,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949419008001,"power":27843,"unknown_251":206,"unknown_19":47872,"ignition":39,"odometer":null,"unknown_45":5751096752130865152}} 
[2026-09-08 16:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":177353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:23] local.INFO: GPS data processed {"connection_id":177353,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:23] local.INFO: Acknowledgment sent {"connection_id":177353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:42] local.INFO: TCP Data received {"connection_id":175884,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:28:42] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:28:42] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:28:45] local.INFO: TCP Data received {"connection_id":175884,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:28:45] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:28:45] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:28:46] local.INFO: TCP Data received {"connection_id":175884,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080aa5a38012d510d80068369880092007d2c..."} 
[2026-09-08 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aa5a38012d510d80068369880092007d2c..."} 
[2026-09-08 16:28:46] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aa5a38012d510d80068369880092007d2c..."} 
[2026-09-08 16:28:46] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:46] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":760286592,"raw_latitude":109275528,"longitude_deg":76.0286592,"latitude_deg":10.9275528,"altitude":146,"angle":125,"satellites":44,"speed":5,"hex_longitude":"2d510d80","hex_latitude":"06836988","is_valid_coordinates":true} 
[2026-09-08 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949449728001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402848609306935296,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5839761369790601216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788865043000,"timestamp_ms":1788865043000,"timestamp_seconds":1788865043,"priority":1,"record_length":96,"hex_timestamp":"000001a080aa5a38"} 
[2026-09-08 16:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949449728001,"66":27800,"250":206,"19":47872,"24":5,"16":402848609306935296,"45":5839761369790601216},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949449728001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 16:28:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402848609306935296,"km_value":402848609306935.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5839761369790601216,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949449728001,"power":27800,"unknown_250":206,"unknown_19":47872,"ignition":5,"odometer":null,"unknown_45":5839761369790601216}} 
[2026-09-08 16:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:47] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:47] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:47] local.INFO: TCP Data received {"connection_id":175884,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080aaac40012d511c0006835e68009200842b..."} 
[2026-09-08 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aaac40012d511c0006835e68009200842b..."} 
[2026-09-08 16:28:47] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aaac40012d511c0006835e68009200842b..."} 
[2026-09-08 16:28:47] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:47] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":760290304,"raw_latitude":109272680,"longitude_deg":76.0290304,"latitude_deg":10.927268,"altitude":146,"angle":132,"satellites":43,"speed":22,"hex_longitude":"2d511c00","hex_latitude":"06835e68","is_valid_coordinates":true} 
[2026-09-08 16:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949451008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402848836940201984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840465057232291840,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788865064000,"timestamp_ms":1788865064000,"timestamp_seconds":1788865064,"priority":1,"record_length":96,"hex_timestamp":"000001a080aaac40"} 
[2026-09-08 16:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949451008001,"66":27800,"250":206,"19":47872,"24":22,"16":402848836940201984,"45":5840465057232291840},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 16:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949451008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 16:28:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402848836940201984,"km_value":402848836940202.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840465057232291840,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949451008001,"power":27800,"unknown_250":206,"unknown_19":47872,"ignition":22,"odometer":null,"unknown_45":5840465057232291840}} 
[2026-09-08 16:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:47] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:47] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:48] local.INFO: TCP Data received {"connection_id":177354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080aa98b8012d7b0cc005e32fe8000f00af1a..."} 
[2026-09-08 16:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aa98b8012d7b0cc005e32fe8000f00af1a..."} 
[2026-09-08 16:28:48] local.INFO: Processing buffer {"connection_id":177354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aa98b8012d7b0cc005e32fe8000f00af1a..."} 
[2026-09-08 16:28:48] local.INFO: Packet analysis {"connection_id":177354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:48] local.INFO: Extracted packet for processing {"connection_id":177354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:28:48] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98775016,"longitude_deg":76.3038912,"latitude_deg":9.8775016,"altitude":15,"angle":175,"satellites":26,"speed":6,"hex_longitude":"2d7b0cc0","hex_latitude":"05e32fe8","is_valid_coordinates":true} 
[2026-09-08 16:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949454848001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129953418180558848,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904654336,"note":"Value kept but may cause issues"} 
[2026-09-08 16:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865059000,"timestamp_ms":1788865059000,"timestamp_seconds":1788865059,"priority":1,"record_length":96,"hex_timestamp":"000001a080aa98b8"} 
[2026-09-08 16:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-08 16:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:28:48] 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-09-08 16:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949454848001,"66":13243,"208":206,"85":15104,"24":6,"16":129953418180558848,"45":8866672897904654336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949454848001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:28:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:28:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129953418180558848,"km_value":129953418180558.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904654336,"description":"Unknown IO ID 45"} 
[2026-09-08 16:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949454848001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8866672897904654336}} 
[2026-09-08 16:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":177354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:28:48] local.INFO: GPS data processed {"connection_id":177354,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:28:48] local.INFO: Acknowledgment sent {"connection_id":177354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:28:59] local.INFO: TCP Data received {"connection_id":175885,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:59] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:28:59] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:29:00] local.INFO: TCP Data received {"connection_id":175885,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:29:00] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:29:00] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:29:06] local.INFO: TCP Data received {"connection_id":175885,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:29:06] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:29:06] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:29:07] local.INFO: TCP Data received {"connection_id":175885,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080aa42c8012d196780071fed78003a011f29..."} 
[2026-09-08 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aa42c8012d196780071fed78003a011f29..."} 
[2026-09-08 16:29:07] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aa42c8012d196780071fed78003a011f29..."} 
[2026-09-08 16:29:07] local.INFO: Packet analysis {"connection_id":175885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:07] local.INFO: Extracted packet for processing {"connection_id":175885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949444352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29: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-09-08 16:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865037000,"timestamp_ms":1788865037000,"timestamp_seconds":1788865037,"priority":1,"record_length":96,"hex_timestamp":"000001a080aa42c8"} 
[2026-09-08 16:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949444352001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949444352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949444352001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":175885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:07] local.INFO: GPS data processed {"connection_id":175885,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:07] local.INFO: Acknowledgment sent {"connection_id":175885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:08] local.INFO: TCP Data received {"connection_id":177355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:29:08] local.INFO: Processing buffer {"connection_id":177355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:29:08] local.INFO: IMEI packet received {"connection_id":177355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":177355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:29:14] local.INFO: TCP Data received {"connection_id":177355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:29:14] local.INFO: Processing buffer {"connection_id":177355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:29:14] local.INFO: IMEI packet received {"connection_id":177355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":177355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:29:15] local.INFO: TCP Data received {"connection_id":177355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080aacf68012d7b0f0005e32610000f00a41b..."} 
[2026-09-08 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aacf68012d7b0f0005e32610000f00a41b..."} 
[2026-09-08 16:29:15] local.INFO: Processing buffer {"connection_id":177355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aacf68012d7b0f0005e32610000f00a41b..."} 
[2026-09-08 16:29:15] local.INFO: Packet analysis {"connection_id":177355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:15] local.INFO: Extracted packet for processing {"connection_id":177355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98772496,"longitude_deg":76.3039488,"latitude_deg":9.8772496,"altitude":15,"angle":164,"satellites":27,"speed":6,"hex_longitude":"2d7b0f00","hex_latitude":"05e32610","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949455104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129953547029577728,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904601088,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788865073000,"timestamp_ms":1788865073000,"timestamp_seconds":1788865073,"priority":1,"record_length":96,"hex_timestamp":"000001a080aacf68"} 
[2026-09-08 16:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949455104001,"66":13656,"208":206,"85":15104,"24":6,"16":129953547029577728,"45":8866672897904601088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949455104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129953547029577728,"km_value":129953547029577.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904601088,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949455104001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8866672897904601088}} 
[2026-09-08 16:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":177355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:15] local.INFO: GPS data processed {"connection_id":177355,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:15] local.INFO: Acknowledgment sent {"connection_id":177355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:20] local.INFO: TCP Data received {"connection_id":175884,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080aadf08012d51390006834698009100852c..."} 
[2026-09-08 16:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aadf08012d51390006834698009100852c..."} 
[2026-09-08 16:29:20] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aadf08012d51390006834698009100852c..."} 
[2026-09-08 16:29:20] local.INFO: Packet analysis {"connection_id":175884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:20] local.INFO: Extracted packet for processing {"connection_id":175884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:20] local.INFO: GPS Element Parsed {"raw_longitude":760297728,"raw_latitude":109266584,"longitude_deg":76.0297728,"latitude_deg":10.9266584,"altitude":145,"angle":133,"satellites":44,"speed":35,"hex_longitude":"2d513900","hex_latitude":"06834698","is_valid_coordinates":true} 
[2026-09-08 16:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949456384001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402849296501702656,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5844546444393867264,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865077000,"timestamp_ms":1788865077000,"timestamp_seconds":1788865077,"priority":1,"record_length":96,"hex_timestamp":"000001a080aadf08"} 
[2026-09-08 16:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949456384001,"66":27800,"250":206,"19":47872,"24":35,"16":402849296501702656,"45":5844546444393867264},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 16:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949456384001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 16:29:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402849296501702656,"km_value":402849296501702.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5844546444393867264,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949456384001,"power":27800,"unknown_250":206,"unknown_19":47872,"ignition":35,"odometer":null,"unknown_45":5844546444393867264}} 
[2026-09-08 16:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":175884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:20] local.INFO: GPS data processed {"connection_id":175884,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:20] local.INFO: Acknowledgment sent {"connection_id":175884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:38] local.INFO: TCP Data received {"connection_id":175885,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080aa94d0012d196780071fed78003a011f27..."} 
[2026-09-08 16:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aa94d0012d196780071fed78003a011f27..."} 
[2026-09-08 16:29:38] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aa94d0012d196780071fed78003a011f27..."} 
[2026-09-08 16:29:38] local.INFO: Packet analysis {"connection_id":175885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:38] local.INFO: Extracted packet for processing {"connection_id":175885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949449472001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29: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-09-08 16:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865058000,"timestamp_ms":1788865058000,"timestamp_seconds":1788865058,"priority":1,"record_length":96,"hex_timestamp":"000001a080aa94d0"} 
[2026-09-08 16:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949449472001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949449472001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949449472001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":175885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:39] local.INFO: GPS data processed {"connection_id":175885,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:39] local.INFO: Acknowledgment sent {"connection_id":175885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:41] local.INFO: TCP Data received {"connection_id":174556,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:41] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:41] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:29:43] local.INFO: TCP Data received {"connection_id":174556,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:43] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:43] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:29:45] local.INFO: TCP Data received {"connection_id":177355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab2170012d7b104005e31f00001100a518..."} 
[2026-09-08 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab2170012d7b104005e31f00001100a518..."} 
[2026-09-08 16:29:45] local.INFO: Processing buffer {"connection_id":177355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab2170012d7b104005e31f00001100a518..."} 
[2026-09-08 16:29:45] local.INFO: Packet analysis {"connection_id":177355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:29:45] local.INFO: Extracted packet for processing {"connection_id":177355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":98770688,"longitude_deg":76.3039808,"latitude_deg":9.8770688,"altitude":17,"angle":165,"satellites":24,"speed":4,"hex_longitude":"2d7b1040","hex_latitude":"05e31f00","is_valid_coordinates":true} 
[2026-09-08 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949458688001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129953645813825536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601554944,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788865094000,"timestamp_ms":1788865094000,"timestamp_seconds":1788865094,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab2170"} 
[2026-09-08 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:29:45] 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-09-08 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949458688001,"66":13352,"208":206,"85":15104,"24":4,"16":129953645813825536,"45":8867306216601554944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949458688001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129953645813825536,"km_value":129953645813825.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601554944,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949458688001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8867306216601554944}} 
[2026-09-08 16:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":177355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:45] local.INFO: GPS data processed {"connection_id":177355,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:45] local.INFO: Acknowledgment sent {"connection_id":177355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:47] local.INFO: TCP Data received {"connection_id":174556,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:47] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:29:47] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:29:49] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:29:49] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:29:49] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:29:50] local.INFO: TCP Data received {"connection_id":174556,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab0618012d51550006832c28009000862b..."} 
[2026-09-08 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab0618012d51550006832c28009000862b..."} 
[2026-09-08 16:29:50] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab0618012d51550006832c28009000862b..."} 
[2026-09-08 16:29:50] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:29:50] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:29:50] local.INFO: GPS Element Parsed {"raw_longitude":760304896,"raw_latitude":109259816,"longitude_deg":76.0304896,"latitude_deg":10.9259816,"altitude":144,"angle":134,"satellites":43,"speed":41,"hex_longitude":"2d515500","hex_latitude":"06832c28","is_valid_coordinates":true} 
[2026-09-08 16:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949459712001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402849768948105216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852709218716915712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865087000,"timestamp_ms":1788865087000,"timestamp_seconds":1788865087,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab0618"} 
[2026-09-08 16:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949459712001,"66":27539,"203":206,"19":47872,"24":41,"16":402849768948105216,"45":5852709218716915712},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-09-08 16:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949459712001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402849768948105216,"km_value":402849768948105.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852709218716915712,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949459712001,"power":27539,"mnc":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":5852709218716915712}} 
[2026-09-08 16:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:50] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:50] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:53] local.INFO: TCP Data received {"connection_id":174556,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab2558012d516cc006831138008e008c2b..."} 
[2026-09-08 16:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab2558012d516cc006831138008e008c2b..."} 
[2026-09-08 16:29:53] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab2558012d516cc006831138008e008c2b..."} 
[2026-09-08 16:29:53] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:29:53] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:29:53] local.INFO: GPS Element Parsed {"raw_longitude":760310976,"raw_latitude":109252920,"longitude_deg":76.0310976,"latitude_deg":10.925292,"altitude":142,"angle":140,"satellites":43,"speed":48,"hex_longitude":"2d516cc0","hex_latitude":"06831138","is_valid_coordinates":true} 
[2026-09-08 16:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949462272001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402850215624704000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5860590518063081472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788865095000,"timestamp_ms":1788865095000,"timestamp_seconds":1788865095,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab2558"} 
[2026-09-08 16:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949462272001,"66":27800,"203":206,"19":47872,"24":48,"16":402850215624704000,"45":5860590518063081472},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-09-08 16:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949462272001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402850215624704000,"km_value":402850215624704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5860590518063081472,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949462272001,"power":27800,"mnc":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5860590518063081472}} 
[2026-09-08 16:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:53] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:53] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:29:56] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:29:56] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:29:56] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:29:57] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080aaa088012d0c3b8007057fe00018002a1d..."} 
[2026-09-08 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aaa088012d0c3b8007057fe00018002a1d..."} 
[2026-09-08 16:29:57] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aaa088012d0c3b8007057fe00018002a1d..."} 
[2026-09-08 16:29:57] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:57] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117800928,"longitude_deg":75.5776384,"latitude_deg":11.7800928,"altitude":24,"angle":42,"satellites":29,"speed":7,"hex_longitude":"2d0c3b80","hex_latitude":"07057fe0","is_valid_coordinates":true} 
[2026-09-08 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949454336001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30790049314373632,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881227813493827584,"note":"Value kept but may cause issues"} 
[2026-09-08 16:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788865061000,"timestamp_ms":1788865061000,"timestamp_seconds":1788865061,"priority":1,"record_length":96,"hex_timestamp":"000001a080aaa088"} 
[2026-09-08 16:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 16:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949454336001,"66":14450,"164":206,"94":10240,"24":7,"16":30790049314373632,"45":881227813493827584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949454336001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:29:57] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:29:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30790049314373632,"km_value":30790049314373.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":881227813493827584,"description":"Unknown IO ID 45"} 
[2026-09-08 16:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949454336001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":881227813493827584}} 
[2026-09-08 16:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:29:57] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:29:57] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:30:00] local.INFO: TCP Data received {"connection_id":174835,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:00] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:00] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:30:02] local.INFO: TCP Data received {"connection_id":174835,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:02] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:02] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:30:05] local.INFO: TCP Data received {"connection_id":174835,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:05] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:30:05] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:30:06] local.INFO: TCP Data received {"connection_id":174835,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080aae6d8012d196780071fed78003a011f25..."} 
[2026-09-08 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aae6d8012d196780071fed78003a011f25..."} 
[2026-09-08 16:30:06] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aae6d8012d196780071fed78003a011f25..."} 
[2026-09-08 16:30:06] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:30:06] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080aa"} 
[2026-09-08 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949454848001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:06] 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-09-08 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788865079000,"timestamp_ms":1788865079000,"timestamp_seconds":1788865079,"priority":1,"record_length":96,"hex_timestamp":"000001a080aae6d8"} 
[2026-09-08 16:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949454848001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949454848001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949454848001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:30:06] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:30:06] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:30:08] local.INFO: TCP Data received {"connection_id":174557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:30:08] local.INFO: Processing buffer {"connection_id":174557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:30:08] local.INFO: IMEI packet received {"connection_id":174557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":174557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:30:11] local.INFO: TCP Data received {"connection_id":174835,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab38e0012d196780071fed78003a011f27..."} 
[2026-09-08 16:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab38e0012d196780071fed78003a011f27..."} 
[2026-09-08 16:30:11] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab38e0012d196780071fed78003a011f27..."} 
[2026-09-08 16:30:11] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:11] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949460224001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30: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-09-08 16:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788865100000,"timestamp_ms":1788865100000,"timestamp_seconds":1788865100,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab38e0"} 
[2026-09-08 16:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949460224001,"66":12135,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949460224001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949460224001,"power":12135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:30:11] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:30:11] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:30:14] local.INFO: TCP Data received {"connection_id":174557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:30:14] local.INFO: Processing buffer {"connection_id":174557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:30:14] local.INFO: IMEI packet received {"connection_id":174557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":174557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:30:15] local.INFO: TCP Data received {"connection_id":174557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab40b0012d7b114005e31a88001200b41b..."} 
[2026-09-08 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab40b0012d7b114005e31a88001200b41b..."} 
[2026-09-08 16:30:15] local.INFO: Processing buffer {"connection_id":174557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab40b0012d7b114005e31a88001200b41b..."} 
[2026-09-08 16:30:15] local.INFO: Packet analysis {"connection_id":174557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:15] local.INFO: Extracted packet for processing {"connection_id":174557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98769544,"longitude_deg":76.3040064,"latitude_deg":9.8769544,"altitude":18,"angle":180,"satellites":27,"speed":5,"hex_longitude":"2d7b1140","hex_latitude":"05e31a88","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949464064001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129953705943367680,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060321980416,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788865102000,"timestamp_ms":1788865102000,"timestamp_seconds":1788865102,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab40b0"} 
[2026-09-08 16:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 16:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949464064001,"66":13352,"208":206,"85":15104,"24":5,"16":129953705943367680,"45":8867658060321980416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949464064001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:30:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129953705943367680,"km_value":129953705943367.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060321980416,"description":"Unknown IO ID 45"} 
[2026-09-08 16:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949464064001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867658060321980416}} 
[2026-09-08 16:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":174557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:30:15] local.INFO: GPS data processed {"connection_id":174557,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:30:15] local.INFO: Acknowledgment sent {"connection_id":174557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:30:43] local.INFO: TCP Data received {"connection_id":174835,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab8ae8012d196780071fed78003a011f29..."} 
[2026-09-08 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab8ae8012d196780071fed78003a011f29..."} 
[2026-09-08 16:30:43] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab8ae8012d196780071fed78003a011f29..."} 
[2026-09-08 16:30:43] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:43] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949465600001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:43] 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-09-08 16:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788865121000,"timestamp_ms":1788865121000,"timestamp_seconds":1788865121,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab8ae8"} 
[2026-09-08 16:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:30:43] 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-09-08 16:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949465600001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949465600001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:30:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949465600001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:30:43] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:30:43] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:30:44] local.INFO: TCP Data received {"connection_id":174556,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ab40b0012d5183c00682f548008d008d27..."} 
[2026-09-08 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ab40b0012d5183c00682f548008d008d27..."} 
[2026-09-08 16:30:44] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ab40b0012d5183c00682f548008d008d27..."} 
[2026-09-08 16:30:44] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:44] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:30:44] local.INFO: GPS Element Parsed {"raw_longitude":760316864,"raw_latitude":109245768,"longitude_deg":76.0316864,"latitude_deg":10.9245768,"altitude":141,"angle":141,"satellites":39,"speed":53,"hex_longitude":"2d5183c0","hex_latitude":"0682f548","is_valid_coordinates":true} 
[2026-09-08 16:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949464320001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402850658006335488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867275548758194176,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788865102000,"timestamp_ms":1788865102000,"timestamp_seconds":1788865102,"priority":1,"record_length":96,"hex_timestamp":"000001a080ab40b0"} 
[2026-09-08 16:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949464320001,"66":27821,"203":206,"19":47872,"24":53,"16":402850658006335488,"45":5867275548758194176},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-09-08 16:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949464320001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:30:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402850658006335488,"km_value":402850658006335.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867275548758194176,"description":"Unknown IO ID 45"} 
[2026-09-08 16:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949464320001,"power":27821,"mnc":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":5867275548758194176}} 
[2026-09-08 16:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:30:44] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:30:44] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:30:46] local.INFO: TCP Data received {"connection_id":174557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080acfa18012d7b1b8005e2b4000015015f10..."} 
[2026-09-08 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080acfa18012d7b1b8005e2b4000015015f10..."} 
[2026-09-08 16:30:46] local.INFO: Processing buffer {"connection_id":174557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080acfa18012d7b1b8005e2b4000015015f10..."} 
[2026-09-08 16:30:46] local.INFO: Packet analysis {"connection_id":174557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:30:46] local.INFO: Extracted packet for processing {"connection_id":174557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763042688,"raw_latitude":98743296,"longitude_deg":76.3042688,"latitude_deg":9.8743296,"altitude":21,"angle":351,"satellites":16,"speed":43,"hex_longitude":"2d7b1b80","hex_latitude":"05e2b400","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949492224001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129956020930740224,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978637633536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788865215000,"timestamp_ms":1788865215000,"timestamp_seconds":1788865215,"priority":1,"record_length":96,"hex_timestamp":"000001a080acfa18"} 
[2026-09-08 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2158766864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2893623297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-4046484183576799744,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2978938880,"corrected_to":0} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147869350,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3802662912,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.WARNING: Large IO value detected {"io_id":171,"raw_value":-1400618189261275131,"note":"Value kept but may cause issues"} 
[2026-09-08 16:30:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,207,85,24,241,157,16,177,160,195,45,141,20,10,66,179,64,143,19,22,175,128,1,240,133,227,226,4,113,205,2,36,72,239,52,5,6,242,171],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2978938880,"validated":0}]} 
[2026-09-08 16:30:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441546687037898752,"timestamp_seconds":1441546687037898.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:30:46] 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-09-08 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949492224001,"66":13461,"207":206,"85":15104,"24":43,"16":129956020930740224,"45":8872794978637633536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949492224001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:30:46] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 16:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129956020930740224,"km_value":129956020930740.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978637633536,"description":"Unknown IO ID 45"} 
[2026-09-08 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949492224001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8872794978637633536}} 
[2026-09-08 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":174557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:30:46] local.INFO: GPS data processed {"connection_id":174557,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:30:46] local.INFO: Acknowledgment sent {"connection_id":174557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:00] local.INFO: TCP Data received {"connection_id":177356,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:31:00] local.INFO: Processing buffer {"connection_id":177356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:31:00] local.INFO: IMEI packet received {"connection_id":177356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":177356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:31:05] local.INFO: TCP Data received {"connection_id":177356,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:31:05] local.INFO: Processing buffer {"connection_id":177356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:31:05] local.INFO: IMEI packet received {"connection_id":177356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":177356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:31:06] local.INFO: TCP Data received {"connection_id":177356,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080abdcf0012d196780071fed78003a011f28..."} 
[2026-09-08 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080abdcf0012d196780071fed78003a011f28..."} 
[2026-09-08 16:31:06] local.INFO: Processing buffer {"connection_id":177356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080abdcf0012d196780071fed78003a011f28..."} 
[2026-09-08 16:31:06] local.INFO: Packet analysis {"connection_id":177356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:31:06] local.INFO: Extracted packet for processing {"connection_id":177356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ab"} 
[2026-09-08 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949470976001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:06] 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-09-08 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788865142000,"timestamp_ms":1788865142000,"timestamp_seconds":1788865142,"priority":1,"record_length":96,"hex_timestamp":"000001a080abdcf0"} 
[2026-09-08 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949470976001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949470976001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949470976001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":177356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:31:06] local.INFO: GPS data processed {"connection_id":177356,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:31:06] local.INFO: Acknowledgment sent {"connection_id":177356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:12] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:12] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:12] local.INFO: IMEI packet received {"connection_id":177357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":177357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:31:14] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:14] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:14] local.INFO: IMEI packet received {"connection_id":177357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":177357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:31:19] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:19] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:31:19] local.INFO: IMEI packet received {"connection_id":177357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":177357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:31:20] local.INFO: TCP Data received {"connection_id":177358,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:20] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:20] local.INFO: IMEI packet received {"connection_id":177358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":177358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:31:21] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad1958012d7b150005e2d8100015015e0c..."} 
[2026-09-08 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad1958012d7b150005e2d8100015015e0c..."} 
[2026-09-08 16:31:21] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad1958012d7b150005e2d8100015015e0c..."} 
[2026-09-08 16:31:21] local.INFO: Packet analysis {"connection_id":177357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:31:21] local.INFO: Extracted packet for processing {"connection_id":177357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98752528,"longitude_deg":76.3041024,"latitude_deg":9.8752528,"altitude":21,"angle":350,"satellites":12,"speed":47,"hex_longitude":"2d7b1500","hex_latitude":"05e2d810","is_valid_coordinates":true} 
[2026-09-08 16:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949495040001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129956476197273600,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870824653802962944,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788865223000,"timestamp_ms":1788865223000,"timestamp_seconds":1788865223,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad1958"} 
[2026-09-08 16:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-08 16:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:31:21] 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-09-08 16:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949495040001,"66":13352,"207":206,"85":15104,"24":47,"16":129956476197273600,"45":8870824653802962944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 16:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949495040001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129956476197273600,"km_value":129956476197273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870824653802962944,"description":"Unknown IO ID 45"} 
[2026-09-08 16:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949495040001,"power":13352,"unknown_207":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8870824653802962944}} 
[2026-09-08 16:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":177357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:31:21] local.INFO: GPS data processed {"connection_id":177357,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:31:21] local.INFO: Acknowledgment sent {"connection_id":177357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:22] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad3c80012d7b0f8005e2fac00015015c0c..."} 
[2026-09-08 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad3c80012d7b0f8005e2fac00015015c0c..."} 
[2026-09-08 16:31:22] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad3c80012d7b0f8005e2fac00015015c0c..."} 
[2026-09-08 16:31:22] local.INFO: Packet analysis {"connection_id":177357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:31:22] local.INFO: Extracted packet for processing {"connection_id":177357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98761408,"longitude_deg":76.3039616,"latitude_deg":9.8761408,"altitude":21,"angle":348,"satellites":12,"speed":27,"hex_longitude":"2d7b0f80","hex_latitude":"05e2fac0","is_valid_coordinates":true} 
[2026-09-08 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949497088001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129956914283937792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868995066456707072,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788865232000,"timestamp_ms":1788865232000,"timestamp_seconds":1788865232,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad3c80"} 
[2026-09-08 16:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 16:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:31:22] 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-09-08 16:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949497088001,"66":13417,"207":206,"85":15104,"24":27,"16":129956914283937792,"45":8868995066456707072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 16:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949497088001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:31:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 16:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129956914283937792,"km_value":129956914283937.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868995066456707072,"description":"Unknown IO ID 45"} 
[2026-09-08 16:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949497088001,"power":13417,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8868995066456707072}} 
[2026-09-08 16:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":177357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:31:22] local.INFO: GPS data processed {"connection_id":177357,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:31:22] local.INFO: Acknowledgment sent {"connection_id":177357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:24] local.INFO: TCP Data received {"connection_id":177358,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:24] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:24] local.INFO: IMEI packet received {"connection_id":177358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":177358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:31:26] local.INFO: TCP Data received {"connection_id":177358,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:26] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:26] local.INFO: IMEI packet received {"connection_id":177358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":177358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:31:27] local.INFO: TCP Data received {"connection_id":177358,"ip":"117.225.171.207","data_length":1360,"data_hex":"000000000000030f8e0a000001a080ac7548012d52ca000681f800008b00832c..."} 
[2026-09-08 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177358,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a080ac7548012d52ca000681f800008b00832c..."} 
[2026-09-08 16:31:27] local.INFO: Processing buffer {"connection_id":177358,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a080ac7548012d52ca000681f800008b00832c..."} 
[2026-09-08 16:31:27] local.INFO: Packet analysis {"connection_id":177358,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:31:27] local.INFO: Extracted packet for processing {"connection_id":177358,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":760400384,"raw_latitude":109180928,"longitude_deg":76.0400384,"latitude_deg":10.9180928,"altitude":139,"angle":131,"satellites":44,"speed":47,"hex_longitude":"2d52ca00","hex_latitude":"0681f800","is_valid_coordinates":true} 
[2026-09-08 16:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949484288001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402855751837548544,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5957769753753890816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788865181000,"timestamp_ms":1788865181000,"timestamp_seconds":1788865181,"priority":1,"record_length":96,"hex_timestamp":"000001a080ac7548"} 
[2026-09-08 16:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949484288001,"66":27821,"201":206,"19":47872,"24":47,"16":402855751837548544,"45":5957769753753890816},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-09-08 16:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949484288001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:31:27] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:31:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402855751837548544,"km_value":402855751837548.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5957769753753890816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949484288001,"power":27821,"unknown_201":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5957769753753890816}} 
[2026-09-08 16:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":177358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:31:27] local.INFO: GPS data processed {"connection_id":177358,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:31:27] local.ERROR: TCP Connection error {"connection_id":177358,"code":2,"message":"client closed"} 
[2026-09-08 16:31:27] local.INFO: Acknowledgment sent {"connection_id":177358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:27] local.INFO: Packet analysis {"connection_id":177358,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:31:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":177358,"needed":795,"available":565} 
[2026-09-08 16:31:38] local.INFO: TCP Data received {"connection_id":177356,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ac2ef8012d196780071fed78003a011f26..."} 
[2026-09-08 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ac2ef8012d196780071fed78003a011f26..."} 
[2026-09-08 16:31:38] local.INFO: Processing buffer {"connection_id":177356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ac2ef8012d196780071fed78003a011f26..."} 
[2026-09-08 16:31:38] local.INFO: Packet analysis {"connection_id":177356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:31:38] local.INFO: Extracted packet for processing {"connection_id":177356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949476352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31: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-09-08 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865163000,"timestamp_ms":1788865163000,"timestamp_seconds":1788865163,"priority":1,"record_length":96,"hex_timestamp":"000001a080ac2ef8"} 
[2026-09-08 16:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949476352001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949476352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949476352001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":177356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:31:38] local.INFO: GPS data processed {"connection_id":177356,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:31:38] local.INFO: Acknowledgment sent {"connection_id":177356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:44] local.INFO: TCP Data received {"connection_id":177359,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:31:44] local.INFO: Processing buffer {"connection_id":177359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:31:44] local.INFO: IMEI packet received {"connection_id":177359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":177359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:31:52] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:52] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:52] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:31:54] local.INFO: TCP Data received {"connection_id":177357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad7b00012d7b0cc005e2fef0001500060e..."} 
[2026-09-08 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad7b00012d7b0cc005e2fef0001500060e..."} 
[2026-09-08 16:31:54] local.INFO: Processing buffer {"connection_id":177357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad7b00012d7b0cc005e2fef0001500060e..."} 
[2026-09-08 16:31:54] local.INFO: Packet analysis {"connection_id":177357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:31:54] local.INFO: Extracted packet for processing {"connection_id":177357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98762480,"longitude_deg":76.3038912,"latitude_deg":9.876248,"altitude":21,"angle":6,"satellites":14,"speed":2,"hex_longitude":"2d7b0cc0","hex_latitude":"05e2fef0","is_valid_coordinates":true} 
[2026-09-08 16:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949499392001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129956983003414528,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954087071744,"note":"Value kept but may cause issues"} 
[2026-09-08 16:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788865248000,"timestamp_ms":1788865248000,"timestamp_seconds":1788865248,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad7b00"} 
[2026-09-08 16:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 16:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:31:54] 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-09-08 16:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949499392001,"66":12200,"207":206,"85":15104,"24":2,"16":129956983003414528,"45":8867446954087071744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 16:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949499392001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:31:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 16:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129956983003414528,"km_value":129956983003414.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954087071744,"description":"Unknown IO ID 45"} 
[2026-09-08 16:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949499392001,"power":12200,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867446954087071744}} 
[2026-09-08 16:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":177357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:31:54] local.INFO: GPS data processed {"connection_id":177357,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:31:54] local.INFO: Acknowledgment sent {"connection_id":177357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:31:54] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:54] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:54] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:31:57] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:57] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:31:57] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:00] local.INFO: TCP Data received {"connection_id":175889,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:32:00] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:32:00] local.INFO: IMEI packet received {"connection_id":175889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":175889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:32:01] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080acafe0012d5301400681c720008c00832c..."} 
[2026-09-08 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080acafe0012d5301400681c720008c00832c..."} 
[2026-09-08 16:32:01] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080acafe0012d5301400681c720008c00832c..."} 
[2026-09-08 16:32:01] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:01] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":760414528,"raw_latitude":109168416,"longitude_deg":76.0414528,"latitude_deg":10.9168416,"altitude":140,"angle":131,"satellites":44,"speed":50,"hex_longitude":"2d530140","hex_latitude":"0681c720","is_valid_coordinates":true} 
[2026-09-08 16:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949488384001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402856658075648000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5973743458678888448,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788865196000,"timestamp_ms":1788865196000,"timestamp_seconds":1788865196,"priority":1,"record_length":96,"hex_timestamp":"000001a080acafe0"} 
[2026-09-08 16:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949488384001,"66":27745,"201":206,"19":47872,"24":50,"16":402856658075648000,"45":5973743458678888448},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-09-08 16:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949488384001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:32:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402856658075648000,"km_value":402856658075648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5973743458678888448,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949488384001,"power":27745,"unknown_201":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":5973743458678888448}} 
[2026-09-08 16:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:02] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:02] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:04] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:32:04] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:32:04] local.INFO: IMEI packet received {"connection_id":174558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":174558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:32:06] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:06] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:06] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:32:06] local.INFO: TCP Data received {"connection_id":175889,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:32:06] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:32:06] local.INFO: IMEI packet received {"connection_id":175889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":175889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:06] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:06] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:06] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:07] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:32:07] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:32:07] local.INFO: IMEI packet received {"connection_id":174558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":174558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:07] local.INFO: TCP Data received {"connection_id":175889,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ac8100012d196780071fed78003a011f27..."} 
[2026-09-08 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ac8100012d196780071fed78003a011f27..."} 
[2026-09-08 16:32:07] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ac8100012d196780071fed78003a011f27..."} 
[2026-09-08 16:32:07] local.INFO: Packet analysis {"connection_id":175889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:07] local.INFO: Extracted packet for processing {"connection_id":175889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949481728001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32: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-09-08 16:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865184000,"timestamp_ms":1788865184000,"timestamp_seconds":1788865184,"priority":1,"record_length":96,"hex_timestamp":"000001a080ac8100"} 
[2026-09-08 16:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:32: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-09-08 16:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949481728001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949481728001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949481728001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":175889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:07] local.INFO: GPS data processed {"connection_id":175889,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:07] local.INFO: Acknowledgment sent {"connection_id":175889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:08] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad7718012d0c3400070585080018013120..."} 
[2026-09-08 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad7718012d0c3400070585080018013120..."} 
[2026-09-08 16:32:08] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad7718012d0c3400070585080018013120..."} 
[2026-09-08 16:32:08] local.INFO: Packet analysis {"connection_id":174558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:32:08] local.INFO: Extracted packet for processing {"connection_id":174558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":755774464,"raw_latitude":117802248,"longitude_deg":75.5774464,"latitude_deg":11.7802248,"altitude":24,"angle":305,"satellites":32,"speed":0,"hex_longitude":"2d0c3400","hex_latitude":"07058508","is_valid_coordinates":true} 
[2026-09-08 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949502976001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30790762278944768,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879327857401456640,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788865247000,"timestamp_ms":1788865247000,"timestamp_seconds":1788865247,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad7718"} 
[2026-09-08 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2158830864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2906935297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504069454692352,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091637156,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738801358,"corrected_to":0} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221685630,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84737432712840575,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":7037867092083200,"corrected_to":0} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4827866520781062169,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,164,94,24,241,157,16,100,160,95,45,192,131,33,10,66,83,129,99,72,128,1,240,229,227,5,4,113,205,60,248,239,56,2,109,7,25,206,112,200,12],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1738801358,"validated":0},{"io_id":200,"original":7037867092083200,"validated":0}]} 
[2026-09-08 16:32:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657641459660095488,"timestamp_seconds":1657641459660095.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949502976001,"66":14352,"164":206,"94":10240,"24":0,"16":30790762278944768,"45":879327857401456640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949502976001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30790762278944768,"km_value":30790762278944.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":879327857401456640,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949502976001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":879327857401456640}} 
[2026-09-08 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":174558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:08] local.INFO: GPS data processed {"connection_id":174558,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:08] local.INFO: Acknowledgment sent {"connection_id":174558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:08] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.225.171.207","data_length":1360,"data_hex":"000000000000030f8e0a000001a080accb38012d531bc00681af08008b00852e..."} 
[2026-09-08 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a080accb38012d531bc00681af08008b00852e..."} 
[2026-09-08 16:32:08] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a080accb38012d531bc00681af08008b00852e..."} 
[2026-09-08 16:32:08] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:08] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":760421312,"raw_latitude":109162248,"longitude_deg":76.0421312,"latitude_deg":10.9162248,"altitude":139,"angle":133,"satellites":46,"speed":52,"hex_longitude":"2d531bc0","hex_latitude":"0681af08","is_valid_coordinates":true} 
[2026-09-08 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949490176001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402857096162312192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5981132176816021504,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788865203000,"timestamp_ms":1788865203000,"timestamp_seconds":1788865203,"priority":1,"record_length":96,"hex_timestamp":"000001a080accb38"} 
[2026-09-08 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949490176001,"66":27767,"201":206,"19":47872,"24":52,"16":402857096162312192,"45":5981132176816021504},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-09-08 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949490176001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402857096162312192,"km_value":402857096162312.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5981132176816021504,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949490176001,"power":27767,"unknown_201":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5981132176816021504}} 
[2026-09-08 16:32:08] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:08] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:08] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:08] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:08] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:08] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":174836,"needed":795,"available":565} 
[2026-09-08 16:32:11] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:11] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:32:11] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:12] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad82d0012d7b0c8005e2ffc80015016010..."} 
[2026-09-08 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad82d0012d7b0c8005e2ffc80015016010..."} 
[2026-09-08 16:32:12] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad82d0012d7b0c8005e2ffc80015016010..."} 
[2026-09-08 16:32:12] local.INFO: Packet analysis {"connection_id":175890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:32:12] local.INFO: Extracted packet for processing {"connection_id":175890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98762696,"longitude_deg":76.3038848,"latitude_deg":9.8762696,"altitude":21,"angle":352,"satellites":16,"speed":5,"hex_longitude":"2d7b0c80","hex_latitude":"05e2ffc8","is_valid_coordinates":true} 
[2026-09-08 16:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949503488001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129956991593349120,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901391872,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788865250000,"timestamp_ms":1788865250000,"timestamp_seconds":1788865250,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad82d0"} 
[2026-09-08 16:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:32:12] 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-09-08 16:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949503488001,"66":12743,"207":206,"85":15104,"24":5,"16":129956991593349120,"45":8866672897901391872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-08 16:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949503488001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 16:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129956991593349120,"km_value":129956991593349.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901391872,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949503488001,"power":12743,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866672897901391872}} 
[2026-09-08 16:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":175890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:12] local.INFO: GPS data processed {"connection_id":175890,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:12] local.INFO: Acknowledgment sent {"connection_id":175890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:25] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.225.171.207","data_length":230,"data_hex":"2d527780068241c0008400812e00340000000a000400ef0100715f00f0010045..."} 
[2026-09-08 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":230,"packet_hex":"2d527780068241c0008400812e00340000000a000400ef0100715f00f0010045..."} 
[2026-09-08 16:32:25] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ace690012d533640068195a8008900852d..."} 
[2026-09-08 16:32:25] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:25] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":760428096,"raw_latitude":109155752,"longitude_deg":76.0428096,"latitude_deg":10.9155752,"altitude":137,"angle":133,"satellites":45,"speed":53,"hex_longitude":"2d533640","hex_latitude":"068195a8","is_valid_coordinates":true} 
[2026-09-08 16:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949491968001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402857551428845568,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5988591263697274880,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788865210000,"timestamp_ms":1788865210000,"timestamp_seconds":1788865210,"priority":1,"record_length":96,"hex_timestamp":"000001a080ace690"} 
[2026-09-08 16:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949491968001,"66":27615,"4":206,"19":47872,"24":53,"16":402857551428845568,"45":5988591263697274880},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-09-08 16:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949491968001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:25] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-08 16:32:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402857551428845568,"km_value":402857551428845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5988591263697274880,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949491968001,"power":27615,"unknown_4":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":5988591263697274880}} 
[2026-09-08 16:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:25] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:25] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:39] local.INFO: TCP Data received {"connection_id":175889,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080acd308012d196780071fed78003a011f26..."} 
[2026-09-08 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080acd308012d196780071fed78003a011f26..."} 
[2026-09-08 16:32:39] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080acd308012d196780071fed78003a011f26..."} 
[2026-09-08 16:32:39] local.INFO: Packet analysis {"connection_id":175889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:39] local.INFO: Extracted packet for processing {"connection_id":175889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ac"} 
[2026-09-08 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949487104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32: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-09-08 16:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788865205000,"timestamp_ms":1788865205000,"timestamp_seconds":1788865205,"priority":1,"record_length":96,"hex_timestamp":"000001a080acd308"} 
[2026-09-08 16:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949487104001,"66":11667,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949487104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949487104001,"power":11667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":175889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:39] local.INFO: GPS data processed {"connection_id":175889,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:39] local.INFO: Acknowledgment sent {"connection_id":175889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:39] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:39] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:39] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:32:41] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:41] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:41] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:43] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080add0f0012d7b07c005e31e180015015810..."} 
[2026-09-08 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080add0f0012d7b07c005e31e180015015810..."} 
[2026-09-08 16:32:43] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080add0f0012d7b07c005e31e180015015810..."} 
[2026-09-08 16:32:43] local.INFO: Packet analysis {"connection_id":175890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:32:43] local.INFO: Extracted packet for processing {"connection_id":175890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98770456,"longitude_deg":76.3037632,"latitude_deg":9.8770456,"altitude":21,"angle":344,"satellites":16,"speed":12,"hex_longitude":"2d7b07c0","hex_latitude":"05e31e18","is_valid_coordinates":true} 
[2026-09-08 16:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949504000001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129957378140405760,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529157269504,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788865270000,"timestamp_ms":1788865270000,"timestamp_seconds":1788865270,"priority":1,"record_length":96,"hex_timestamp":"000001a080add0f0"} 
[2026-09-08 16:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:32:43] 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-09-08 16:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949504000001,"66":12809,"208":206,"85":15104,"24":12,"16":129957378140405760,"45":8866602529157269504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949504000001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129957378140405760,"km_value":129957378140405.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529157269504,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949504000001,"power":12809,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866602529157269504}} 
[2026-09-08 16:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":175890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:44] local.INFO: GPS data processed {"connection_id":175890,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:44] local.INFO: Acknowledgment sent {"connection_id":175890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:32:47] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:47] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:32:47] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:32:48] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ae2ac8012d54844006806c200056008d2e..."} 
[2026-09-08 16:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ae2ac8012d54844006806c200056008d2e..."} 
[2026-09-08 16:32:48] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ae2ac8012d54844006806c200056008d2e..."} 
[2026-09-08 16:32:48] local.INFO: Packet analysis {"connection_id":174837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:32:48] local.INFO: Extracted packet for processing {"connection_id":174837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:32:48] local.INFO: GPS Element Parsed {"raw_longitude":760513600,"raw_latitude":109079584,"longitude_deg":76.05136,"latitude_deg":10.9079584,"altitude":86,"angle":141,"satellites":46,"speed":51,"hex_longitude":"2d548440","hex_latitude":"06806c20","is_valid_coordinates":true} 
[2026-09-08 16:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949513472001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402863053281951744,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6083940912038250496,"note":"Value kept but may cause issues"} 
[2026-09-08 16:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865293000,"timestamp_ms":1788865293000,"timestamp_seconds":1788865293,"priority":1,"record_length":96,"hex_timestamp":"000001a080ae2ac8"} 
[2026-09-08 16:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949513472001,"66":27767,"4":206,"19":47872,"24":51,"16":402863053281951744,"45":6083940912038250496},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-09-08 16:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949513472001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:32:48] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-08 16:32:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402863053281951744,"km_value":402863053281951.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6083940912038250496,"description":"Unknown IO ID 45"} 
[2026-09-08 16:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949513472001,"power":27767,"unknown_4":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":6083940912038250496}} 
[2026-09-08 16:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":174837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:32:48] local.INFO: GPS data processed {"connection_id":174837,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:32:48] local.INFO: Acknowledgment sent {"connection_id":174837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:00] local.INFO: TCP Data received {"connection_id":177360,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:33:00] local.INFO: Processing buffer {"connection_id":177360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:33:00] local.INFO: IMEI packet received {"connection_id":177360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":177360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:33:06] local.INFO: TCP Data received {"connection_id":177360,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:33:06] local.INFO: Processing buffer {"connection_id":177360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:33:06] local.INFO: IMEI packet received {"connection_id":177360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":177360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:33:07] local.INFO: TCP Data received {"connection_id":177360,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad2510012d196780071fed78003a011f25..."} 
[2026-09-08 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad2510012d196780071fed78003a011f25..."} 
[2026-09-08 16:33:07] local.INFO: Processing buffer {"connection_id":177360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad2510012d196780071fed78003a011f25..."} 
[2026-09-08 16:33:07] local.INFO: Packet analysis {"connection_id":177360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:33:07] local.INFO: Extracted packet for processing {"connection_id":177360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949492480001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33: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-09-08 16:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865226000,"timestamp_ms":1788865226000,"timestamp_seconds":1788865226,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad2510"} 
[2026-09-08 16:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1746,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949492480001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949492480001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949492480001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":177360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:07] local.INFO: GPS data processed {"connection_id":177360,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:07] local.INFO: Acknowledgment sent {"connection_id":177360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:09] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:33:09] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:33:09] local.INFO: IMEI packet received {"connection_id":177361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":177361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:33:11] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:33:11] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:33:11] local.INFO: IMEI packet received {"connection_id":177361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":177361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:33:12] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080adec48012d7b068005e32720001501640d..."} 
[2026-09-08 16:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080adec48012d7b068005e32720001501640d..."} 
[2026-09-08 16:33:12] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080adec48012d7b068005e32720001501640d..."} 
[2026-09-08 16:33:12] local.INFO: Packet analysis {"connection_id":177361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:33:12] local.INFO: Extracted packet for processing {"connection_id":177361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":98772768,"longitude_deg":76.3037312,"latitude_deg":9.8772768,"altitude":21,"angle":356,"satellites":13,"speed":14,"hex_longitude":"2d7b0680","hex_latitude":"05e32720","is_valid_coordinates":true} 
[2026-09-08 16:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949509120001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129957489809555456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523019880448,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788865277000,"timestamp_ms":1788865277000,"timestamp_seconds":1788865277,"priority":1,"record_length":96,"hex_timestamp":"000001a080adec48"} 
[2026-09-08 16:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2158808864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-5997835924460067840,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3624927253,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2991587328,"corrected_to":0} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147869364,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628969644019285,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2121916703783724012,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,179,160,130,45,128,255,21,10,66,207,123,192,254,14,60,1,240,105,227,226,4,113,205,47,250,27,239,52,2,5,20,9,59,232],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2991587328,"validated":0}]} 
[2026-09-08 16:33:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513587775516704768,"timestamp_seconds":1513587775516704.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:33:12] 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-09-08 16:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949509120001,"66":13341,"208":206,"85":15104,"24":14,"16":129957489809555456,"45":8865265523019880448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949509120001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129957489809555456,"km_value":129957489809555.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523019880448,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949509120001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8865265523019880448}} 
[2026-09-08 16:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":177361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:13] local.INFO: GPS data processed {"connection_id":177361,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:13] local.INFO: Acknowledgment sent {"connection_id":177361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:19] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ae4620012d54980006804ea8005100962d..."} 
[2026-09-08 16:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ae4620012d54980006804ea8005100962d..."} 
[2026-09-08 16:33:19] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ae4620012d54980006804ea8005100962d..."} 
[2026-09-08 16:33:19] local.INFO: Packet analysis {"connection_id":174837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:33:19] local.INFO: Extracted packet for processing {"connection_id":174837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:33:19] local.INFO: GPS Element Parsed {"raw_longitude":760518656,"raw_latitude":109072040,"longitude_deg":76.0518656,"latitude_deg":10.907204,"altitude":81,"angle":150,"satellites":45,"speed":51,"hex_longitude":"2d549800","hex_latitude":"06804ea8","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949515008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402863491368615936,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6090062992780304384,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865300000,"timestamp_ms":1788865300000,"timestamp_seconds":1788865300,"priority":1,"record_length":96,"hex_timestamp":"000001a080ae4620"} 
[2026-09-08 16:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949515008001,"66":27767,"4":206,"19":47872,"24":51,"16":402863491368615936,"45":6090062992780304384},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-09-08 16:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949515008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402863491368615936,"km_value":402863491368615.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6090062992780304384,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949515008001,"power":27767,"unknown_4":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":6090062992780304384}} 
[2026-09-08 16:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":174837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:19] local.INFO: GPS data processed {"connection_id":174837,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:19] local.INFO: Acknowledgment sent {"connection_id":174837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:38] local.INFO: TCP Data received {"connection_id":177360,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ad7718012d196780071fed78003a011f27..."} 
[2026-09-08 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ad7718012d196780071fed78003a011f27..."} 
[2026-09-08 16:33:38] local.INFO: Processing buffer {"connection_id":177360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ad7718012d196780071fed78003a011f27..."} 
[2026-09-08 16:33:38] local.INFO: Packet analysis {"connection_id":177360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:33:38] local.INFO: Extracted packet for processing {"connection_id":177360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949497856001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33: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-09-08 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865247000,"timestamp_ms":1788865247000,"timestamp_seconds":1788865247,"priority":1,"record_length":96,"hex_timestamp":"000001a080ad7718"} 
[2026-09-08 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949497856001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949497856001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949497856001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":177360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:38] local.INFO: GPS data processed {"connection_id":177360,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:38] local.INFO: Acknowledgment sent {"connection_id":177360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:42] local.INFO: TCP Data received {"connection_id":174560,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:42] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:42] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:33:42] local.INFO: TCP Data received {"connection_id":174560,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:42] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:42] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:33:44] local.INFO: TCP Data received {"connection_id":177361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080afa1c8012d7aecc005e39850000c000020..."} 
[2026-09-08 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080afa1c8012d7aecc005e39850000c000020..."} 
[2026-09-08 16:33:44] local.INFO: Processing buffer {"connection_id":177361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080afa1c8012d7aecc005e39850000c000020..."} 
[2026-09-08 16:33:44] local.INFO: Packet analysis {"connection_id":177361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:33:44] local.INFO: Extracted packet for processing {"connection_id":177361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":98801744,"longitude_deg":76.303072,"latitude_deg":9.8801744,"altitude":12,"angle":0,"satellites":32,"speed":4,"hex_longitude":"2d7aecc0","hex_latitude":"05e39850","is_valid_coordinates":true} 
[2026-09-08 16:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949537280001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129958962983337984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912467456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788865389000,"timestamp_ms":1788865389000,"timestamp_seconds":1788865389,"priority":1,"record_length":96,"hex_timestamp":"000001a080afa1c8"} 
[2026-09-08 16:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:33:44] 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-09-08 16:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949537280001,"66":13472,"208":206,"85":15104,"24":4,"16":129958962983337984,"45":8857595329912467456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949537280001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129958962983337984,"km_value":129958962983337.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912467456,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949537280001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8857595329912467456}} 
[2026-09-08 16:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":177361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:44] local.INFO: GPS data processed {"connection_id":177361,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:44] local.INFO: Acknowledgment sent {"connection_id":177361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:47] local.INFO: TCP Data received {"connection_id":174560,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:47] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:33:47] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:33:48] local.INFO: TCP Data received {"connection_id":174560,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080af5b78012d554c40067ee720002600912d..."} 
[2026-09-08 16:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080af5b78012d554c40067ee720002600912d..."} 
[2026-09-08 16:33:48] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080af5b78012d554c40067ee720002600912d..."} 
[2026-09-08 16:33:48] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:33:48] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:33:48] local.INFO: GPS Element Parsed {"raw_longitude":760564800,"raw_latitude":108980000,"longitude_deg":76.05648,"latitude_deg":10.898,"altitude":38,"angle":145,"satellites":45,"speed":57,"hex_longitude":"2d554c40","hex_latitude":"067ee720","is_valid_coordinates":true} 
[2026-09-08 16:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949533184001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402868482120613888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6139884063634778112,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865371000,"timestamp_ms":1788865371000,"timestamp_seconds":1788865371,"priority":1,"record_length":96,"hex_timestamp":"000001a080af5b78"} 
[2026-09-08 16:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949533184001,"66":27745,"3":206,"19":47872,"24":57,"16":402868482120613888,"45":6139884063634778112},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 16:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949533184001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:48] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 16:33:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402868482120613888,"km_value":402868482120613.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6139884063634778112,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949533184001,"power":27745,"unknown_3":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":6139884063634778112}} 
[2026-09-08 16:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:49] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:49] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:33:49] local.INFO: TCP Data received {"connection_id":174560,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080af76d0012d5560c0067ec5980024009b2d..."} 
[2026-09-08 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080af76d0012d5560c0067ec5980024009b2d..."} 
[2026-09-08 16:33:49] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080af76d0012d5560c0067ec5980024009b2d..."} 
[2026-09-08 16:33:49] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:33:49] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":760570048,"raw_latitude":108971416,"longitude_deg":76.0570048,"latitude_deg":10.8971416,"altitude":36,"angle":155,"satellites":45,"speed":55,"hex_longitude":"2d5560c0","hex_latitude":"067ec598","is_valid_coordinates":true} 
[2026-09-08 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949534976001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402868967451918336,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146357988096942080,"note":"Value kept but may cause issues"} 
[2026-09-08 16:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788865378000,"timestamp_ms":1788865378000,"timestamp_seconds":1788865378,"priority":1,"record_length":96,"hex_timestamp":"000001a080af76d0"} 
[2026-09-08 16:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949534976001,"66":27821,"3":206,"19":47872,"24":55,"16":402868967451918336,"45":6146357988096942080},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 16:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949534976001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:33:49] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 16:33:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402868967451918336,"km_value":402868967451918.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146357988096942080,"description":"Unknown IO ID 45"} 
[2026-09-08 16:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949534976001,"power":27821,"unknown_3":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":6146357988096942080}} 
[2026-09-08 16:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:33:49] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:33:49] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:00] local.INFO: TCP Data received {"connection_id":177363,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:34:00] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:34:00] local.INFO: IMEI packet received {"connection_id":177363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":177363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:34:06] local.INFO: TCP Data received {"connection_id":177363,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:34:06] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:34:06] local.INFO: IMEI packet received {"connection_id":177363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":177363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:34:07] local.INFO: TCP Data received {"connection_id":177363,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080adc920012d196780071fed78003a011f27..."} 
[2026-09-08 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080adc920012d196780071fed78003a011f27..."} 
[2026-09-08 16:34:07] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080adc920012d196780071fed78003a011f27..."} 
[2026-09-08 16:34:07] local.INFO: Packet analysis {"connection_id":177363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:34:07] local.INFO: Extracted packet for processing {"connection_id":177363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ad"} 
[2026-09-08 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949503232001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34: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-09-08 16:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865268000,"timestamp_ms":1788865268000,"timestamp_seconds":1788865268,"priority":1,"record_length":96,"hex_timestamp":"000001a080adc920"} 
[2026-09-08 16:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949503232001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949503232001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:34:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949503232001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":177363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:34:07] local.INFO: GPS data processed {"connection_id":177363,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:34:07] local.INFO: Acknowledgment sent {"connection_id":177363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:08] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:34:08] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:34:08] local.INFO: IMEI packet received {"connection_id":175891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":175891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:34:14] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:34:14] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:34:14] local.INFO: IMEI packet received {"connection_id":175891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":175891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:34:16] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080afa998012d7aec8005e39a40000c01591f..."} 
[2026-09-08 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080afa998012d7aec8005e39a40000c01591f..."} 
[2026-09-08 16:34:16] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080afa998012d7aec8005e39a40000c01591f..."} 
[2026-09-08 16:34:16] local.INFO: Packet analysis {"connection_id":175891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:16] local.INFO: Extracted packet for processing {"connection_id":175891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98802240,"longitude_deg":76.3030656,"latitude_deg":9.880224,"altitude":12,"angle":345,"satellites":31,"speed":12,"hex_longitude":"2d7aec80","hex_latitude":"05e39a40","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949539584001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129958988753141760,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698656702464,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865391000,"timestamp_ms":1788865391000,"timestamp_seconds":1788865391,"priority":1,"record_length":96,"hex_timestamp":"000001a080afa998"} 
[2026-09-08 16:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 16:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949539584001,"66":13515,"208":206,"85":15104,"24":12,"16":129958988753141760,"45":8857665698656702464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949539584001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:34:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129958988753141760,"km_value":129958988753141.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698656702464,"description":"Unknown IO ID 45"} 
[2026-09-08 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949539584001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8857665698656702464}} 
[2026-09-08 16:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":175891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:34:16] local.INFO: GPS data processed {"connection_id":175891,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:34:16] local.INFO: Acknowledgment sent {"connection_id":175891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:23] local.INFO: TCP Data received {"connection_id":174560,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080af8e40012d556b80067ea6a8002100a72e..."} 
[2026-09-08 16:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080af8e40012d556b80067ea6a8002100a72e..."} 
[2026-09-08 16:34:23] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080af8e40012d556b80067ea6a8002100a72e..."} 
[2026-09-08 16:34:23] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:23] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:23] local.INFO: GPS Element Parsed {"raw_longitude":760572800,"raw_latitude":108963496,"longitude_deg":76.05728,"latitude_deg":10.8963496,"altitude":33,"angle":167,"satellites":46,"speed":55,"hex_longitude":"2d556b80","hex_latitude":"067ea6a8","is_valid_coordinates":true} 
[2026-09-08 16:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949536768001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402869375473811456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152128225117313024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788865384000,"timestamp_ms":1788865384000,"timestamp_seconds":1788865384,"priority":1,"record_length":96,"hex_timestamp":"000001a080af8e40"} 
[2026-09-08 16:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949536768001,"66":27800,"3":206,"19":47872,"24":55,"16":402869375473811456,"45":6152128225117313024},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 16:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949536768001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:34:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 16:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402869375473811456,"km_value":402869375473811.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152128225117313024,"description":"Unknown IO ID 45"} 
[2026-09-08 16:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949536768001,"power":27800,"unknown_3":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":6152128225117313024}} 
[2026-09-08 16:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:34:23] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:34:23] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:24] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:24] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:24] local.INFO: IMEI packet received {"connection_id":175892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":175892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:34:26] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:26] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:26] local.INFO: IMEI packet received {"connection_id":175892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":175892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:34:38] local.INFO: TCP Data received {"connection_id":177363,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ae1b28012d196780071fed78003a011f24..."} 
[2026-09-08 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ae1b28012d196780071fed78003a011f24..."} 
[2026-09-08 16:34:38] local.INFO: Processing buffer {"connection_id":177363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ae1b28012d196780071fed78003a011f24..."} 
[2026-09-08 16:34:38] local.INFO: Packet analysis {"connection_id":177363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:34:38] local.INFO: Extracted packet for processing {"connection_id":177363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949508608001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34: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-09-08 16:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865289000,"timestamp_ms":1788865289000,"timestamp_seconds":1788865289,"priority":1,"record_length":96,"hex_timestamp":"000001a080ae1b28"} 
[2026-09-08 16:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949508608001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949508608001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:34:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949508608001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":177363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:34:38] local.INFO: GPS data processed {"connection_id":177363,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:34:38] local.INFO: Acknowledgment sent {"connection_id":177363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:39] local.INFO: TCP Data received {"connection_id":174561,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:39] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:39] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:34:41] local.INFO: TCP Data received {"connection_id":174561,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:41] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:41] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:34:47] local.INFO: TCP Data received {"connection_id":174561,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:47] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:34:47] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:34:49] local.INFO: TCP Data received {"connection_id":174561,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080afa998012d557300067e81f0001f00a92d..."} 
[2026-09-08 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080afa998012d557300067e81f0001f00a92d..."} 
[2026-09-08 16:34:49] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080afa998012d557300067e81f0001f00a92d..."} 
[2026-09-08 16:34:49] local.INFO: Packet analysis {"connection_id":174561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:49] local.INFO: Extracted packet for processing {"connection_id":174561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":760574720,"raw_latitude":108954096,"longitude_deg":76.057472,"latitude_deg":10.8954096,"altitude":31,"angle":169,"satellites":45,"speed":53,"hex_longitude":"2d557300","hex_latitude":"067e81f0","is_valid_coordinates":true} 
[2026-09-08 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949538304001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402869839330279424,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6155154081114925056,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788865391000,"timestamp_ms":1788865391000,"timestamp_seconds":1788865391,"priority":1,"record_length":96,"hex_timestamp":"000001a080afa998"} 
[2026-09-08 16:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949538304001,"66":27713,"3":206,"19":47872,"24":53,"16":402869839330279424,"45":6155154081114925056},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 16:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949538304001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:34:49] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 16:34:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402869839330279424,"km_value":402869839330279.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6155154081114925056,"description":"Unknown IO ID 45"} 
[2026-09-08 16:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949538304001,"power":27713,"unknown_3":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":6155154081114925056}} 
[2026-09-08 16:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:34:49] local.INFO: GPS data processed {"connection_id":174561,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:34:49] local.INFO: Acknowledgment sent {"connection_id":174561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:50] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080aff7b8012d7ae9c005e3a4e0000b015620..."} 
[2026-09-08 16:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aff7b8012d7ae9c005e3a4e0000b015620..."} 
[2026-09-08 16:34:50] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aff7b8012d7ae9c005e3a4e0000b015620..."} 
[2026-09-08 16:34:50] local.INFO: Packet analysis {"connection_id":175891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:50] local.INFO: Extracted packet for processing {"connection_id":175891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763029952,"raw_latitude":98804960,"longitude_deg":76.3029952,"latitude_deg":9.880496,"altitude":11,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7ae9c0","hex_latitude":"05e3a4e0","is_valid_coordinates":true} 
[2026-09-08 16:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949540096001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129959121897127936,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912651776,"note":"Value kept but may cause issues"} 
[2026-09-08 16:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865411000,"timestamp_ms":1788865411000,"timestamp_seconds":1788865411,"priority":1,"record_length":96,"hex_timestamp":"000001a080aff7b8"} 
[2026-09-08 16:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 16:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:34:50] 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-09-08 16:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949540096001,"66":13015,"208":206,"85":15104,"24":0,"16":129959121897127936,"45":8857595329912651776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949540096001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:34:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129959121897127936,"km_value":129959121897127.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912651776,"description":"Unknown IO ID 45"} 
[2026-09-08 16:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949540096001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857595329912651776}} 
[2026-09-08 16:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":175891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:34:50] local.INFO: GPS data processed {"connection_id":175891,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:34:50] local.INFO: Acknowledgment sent {"connection_id":175891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:34:51] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:51] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:34:51] local.INFO: IMEI packet received {"connection_id":175892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":175892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:00] local.INFO: TCP Data received {"connection_id":177364,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:35:00] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:35:00] local.INFO: IMEI packet received {"connection_id":177364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":177364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:35:05] local.INFO: TCP Data received {"connection_id":177364,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:35:05] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:35:05] local.INFO: IMEI packet received {"connection_id":177364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":177364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:06] local.INFO: TCP Data received {"connection_id":177364,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ae6d30012d196780071fed78003a011f26..."} 
[2026-09-08 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ae6d30012d196780071fed78003a011f26..."} 
[2026-09-08 16:35:06] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ae6d30012d196780071fed78003a011f26..."} 
[2026-09-08 16:35:06] local.INFO: Packet analysis {"connection_id":177364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:35:06] local.INFO: Extracted packet for processing {"connection_id":177364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949513984001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:06] 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-09-08 16:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788865310000,"timestamp_ms":1788865310000,"timestamp_seconds":1788865310,"priority":1,"record_length":96,"hex_timestamp":"000001a080ae6d30"} 
[2026-09-08 16:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949513984001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949513984001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949513984001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":177364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:07] local.INFO: GPS data processed {"connection_id":177364,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:07] local.INFO: Acknowledgment sent {"connection_id":177364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:08] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:35:08] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:35:08] local.INFO: IMEI packet received {"connection_id":174838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":174838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:35:14] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:35:14] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:35:14] local.INFO: IMEI packet received {"connection_id":174838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":174838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:16] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b049c0012d7ae9c005e3a4e0000b015621..."} 
[2026-09-08 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b049c0012d7ae9c005e3a4e0000b015621..."} 
[2026-09-08 16:35:16] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b049c0012d7ae9c005e3a4e0000b015621..."} 
[2026-09-08 16:35:16] local.INFO: Packet analysis {"connection_id":174838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:35:16] local.INFO: Extracted packet for processing {"connection_id":174838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763029952,"raw_latitude":98804960,"longitude_deg":76.3029952,"latitude_deg":9.880496,"altitude":11,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7ae9c0","hex_latitude":"05e3a4e0","is_valid_coordinates":true} 
[2026-09-08 16:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949545216001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129959121897127936,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856821273727393792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865432000,"timestamp_ms":1788865432000,"timestamp_seconds":1788865432,"priority":1,"record_length":96,"hex_timestamp":"000001a080b049c0"} 
[2026-09-08 16:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949545216001,"66":13602,"208":206,"85":15104,"24":0,"16":129959121897127936,"45":8856821273727393792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949545216001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129959121897127936,"km_value":129959121897127.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856821273727393792,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949545216001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8856821273727393792}} 
[2026-09-08 16:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":174838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:16] local.INFO: GPS data processed {"connection_id":174838,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:16] local.INFO: Acknowledgment sent {"connection_id":174838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:17] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b06ce8012d0c2c0007062728001f00121d..."} 
[2026-09-08 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b06ce8012d0c2c0007062728001f00121d..."} 
[2026-09-08 16:35:17] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b06ce8012d0c2c0007062728001f00121d..."} 
[2026-09-08 16:35:17] local.INFO: Packet analysis {"connection_id":175892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:35:17] local.INFO: Extracted packet for processing {"connection_id":175892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":755772416,"raw_latitude":117843752,"longitude_deg":75.5772416,"latitude_deg":11.7843752,"altitude":31,"angle":18,"satellites":29,"speed":2,"hex_longitude":"2d0c2c00","hex_latitude":"07062728","is_valid_coordinates":true} 
[2026-09-08 16:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949552640001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30793064381415424,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877076057598349312,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788865441000,"timestamp_ms":1788865441000,"timestamp_seconds":1788865441,"priority":1,"record_length":96,"hex_timestamp":"000001a080b06ce8"} 
[2026-09-08 16:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949552640001,"66":14450,"164":206,"94":10240,"24":2,"16":30793064381415424,"45":877076057598349312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949552640001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:17] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:35:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30793064381415424,"km_value":30793064381415.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":877076057598349312,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949552640001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":877076057598349312}} 
[2026-09-08 16:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":175892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:17] local.INFO: GPS data processed {"connection_id":175892,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:17] local.INFO: Acknowledgment sent {"connection_id":175892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:19] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:19] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:19] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:35:20] local.INFO: TCP Data received {"connection_id":174561,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080afc4f0012d557980067e5f18001d00a92d..."} 
[2026-09-08 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080afc4f0012d557980067e5f18001d00a92d..."} 
[2026-09-08 16:35:20] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080afc4f0012d557980067e5f18001d00a92d..."} 
[2026-09-08 16:35:20] local.INFO: Packet analysis {"connection_id":174561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:35:20] local.INFO: Extracted packet for processing {"connection_id":174561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":760576384,"raw_latitude":108945176,"longitude_deg":76.0576384,"latitude_deg":10.8945176,"altitude":29,"angle":169,"satellites":45,"speed":49,"hex_longitude":"2d557980","hex_latitude":"067e5f18","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949540096001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402870277416943616,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6157265143437848576,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865398000,"timestamp_ms":1788865398000,"timestamp_seconds":1788865398,"priority":1,"record_length":96,"hex_timestamp":"000001a080afc4f0"} 
[2026-09-08 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-09-08 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949540096001,"66":27800,"1":206,"19":47872,"24":49,"16":402870277416943616,"45":6157265143437848576},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-09-08 16:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949540096001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402870277416943616,"km_value":402870277416943.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6157265143437848576,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949540096001,"power":27800,"imei":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":6157265143437848576}} 
[2026-09-08 16:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":174561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:20] local.INFO: GPS data processed {"connection_id":174561,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:20] local.INFO: Acknowledgment sent {"connection_id":174561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:20] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:20] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:20] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:38] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:38] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:35:38] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:38] local.INFO: TCP Data received {"connection_id":177364,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080aebf38012d196780071fed78003a011f27..."} 
[2026-09-08 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080aebf38012d196780071fed78003a011f27..."} 
[2026-09-08 16:35:38] local.INFO: Processing buffer {"connection_id":177364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080aebf38012d196780071fed78003a011f27..."} 
[2026-09-08 16:35:38] local.INFO: Packet analysis {"connection_id":177364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:35:38] local.INFO: Extracted packet for processing {"connection_id":177364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ae"} 
[2026-09-08 16:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949519360001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35: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-09-08 16:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865331000,"timestamp_ms":1788865331000,"timestamp_seconds":1788865331,"priority":1,"record_length":96,"hex_timestamp":"000001a080aebf38"} 
[2026-09-08 16:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949519360001,"66":12439,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949519360001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949519360001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":177364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:38] local.INFO: GPS data processed {"connection_id":177364,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:38] local.INFO: Acknowledgment sent {"connection_id":177364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:39] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b13bf0012d0c3e00070644200015006620..."} 
[2026-09-08 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b13bf0012d0c3e00070644200015006620..."} 
[2026-09-08 16:35:39] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b13bf0012d0c3e00070644200015006620..."} 
[2026-09-08 16:35:39] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:35:39] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:35:39] local.INFO: GPS Element Parsed {"raw_longitude":755777024,"raw_latitude":117851168,"longitude_deg":75.5777024,"latitude_deg":11.7851168,"altitude":21,"angle":102,"satellites":32,"speed":3,"hex_longitude":"2d0c3e00","hex_latitude":"07064420","is_valid_coordinates":true} 
[2026-09-08 16:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949565952001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30793592662392832,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882072238436925440,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788865494000,"timestamp_ms":1788865494000,"timestamp_seconds":1788865494,"priority":1,"record_length":96,"hex_timestamp":"000001a080b13bf0"} 
[2026-09-08 16:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949565952001,"66":14439,"164":206,"94":10240,"24":3,"16":30793592662392832,"45":882072238436925440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949565952001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:35:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30793592662392832,"km_value":30793592662392.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":882072238436925440,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949565952001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":882072238436925440}} 
[2026-09-08 16:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:39] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:39] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:40] local.INFO: TCP Data received {"connection_id":174562,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:40] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:40] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:35:41] local.INFO: TCP Data received {"connection_id":174562,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:41] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:41] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:46] local.INFO: TCP Data received {"connection_id":174562,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:46] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:35:46] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:35:48] local.INFO: TCP Data received {"connection_id":174562,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b0fd70012d565a40067d0300001900852a..."} 
[2026-09-08 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b0fd70012d565a40067d0300001900852a..."} 
[2026-09-08 16:35:48] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b0fd70012d565a40067d0300001900852a..."} 
[2026-09-08 16:35:48] local.INFO: Packet analysis {"connection_id":174562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:35:48] local.INFO: Extracted packet for processing {"connection_id":174562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":760633920,"raw_latitude":108856064,"longitude_deg":76.063392,"latitude_deg":10.8856064,"altitude":25,"angle":133,"satellites":42,"speed":49,"hex_longitude":"2d565a40","hex_latitude":"067d0300","is_valid_coordinates":true} 
[2026-09-08 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949560320001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402875491507240960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6214474932430977024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865478000,"timestamp_ms":1788865478000,"timestamp_seconds":1788865478,"priority":1,"record_length":96,"hex_timestamp":"000001a080b0fd70"} 
[2026-09-08 16:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949560320001,"66":27691,"53":206,"19":47872,"24":49,"16":402875491507240960,"45":6214474932430977024},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949560320001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402875491507240960,"km_value":402875491507240.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6214474932430977024,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949560320001,"power":27691,"unknown_53":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":6214474932430977024}} 
[2026-09-08 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":174562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:48] local.INFO: GPS data processed {"connection_id":174562,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:48] local.INFO: Acknowledgment sent {"connection_id":174562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:35:48] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1e000012d7acb0005e411d00009012922..."} 
[2026-09-08 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1e000012d7acb0005e411d00009012922..."} 
[2026-09-08 16:35:48] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1e000012d7acb0005e411d00009012922..."} 
[2026-09-08 16:35:48] local.INFO: Packet analysis {"connection_id":174838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:35:48] local.INFO: Extracted packet for processing {"connection_id":174838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832848,"longitude_deg":76.302208,"latitude_deg":9.8832848,"altitude":9,"angle":297,"satellites":34,"speed":10,"hex_longitude":"2d7acb00","hex_latitude":"05e411d0","is_valid_coordinates":true} 
[2026-09-08 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949576704001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129960543531302912,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409821696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865536000,"timestamp_ms":1788865536000,"timestamp_seconds":1788865536,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1e000"} 
[2026-09-08 16:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 16:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:35:48] 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-09-08 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949576704001,"66":13396,"208":206,"85":15104,"24":10,"16":129960543531302912,"45":8848658499409821696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949576704001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129960543531302912,"km_value":129960543531302.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409821696,"description":"Unknown IO ID 45"} 
[2026-09-08 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949576704001,"power":13396,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848658499409821696}} 
[2026-09-08 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":174838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:35:48] local.INFO: GPS data processed {"connection_id":174838,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:35:48] local.INFO: Acknowledgment sent {"connection_id":174838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:05] local.INFO: TCP Data received {"connection_id":177366,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:36:05] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:36:05] local.INFO: IMEI packet received {"connection_id":177366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":177366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:36:11] local.INFO: TCP Data received {"connection_id":177366,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:36:11] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:36:11] local.INFO: IMEI packet received {"connection_id":177366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":177366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:12] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:12] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:12] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:36:12] local.INFO: TCP Data received {"connection_id":177366,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080af1140012d196780071fed78003a011f25..."} 
[2026-09-08 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080af1140012d196780071fed78003a011f25..."} 
[2026-09-08 16:36:12] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080af1140012d196780071fed78003a011f25..."} 
[2026-09-08 16:36:12] local.INFO: Packet analysis {"connection_id":177366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:36:12] local.INFO: Extracted packet for processing {"connection_id":177366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949524736001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36: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-09-08 16:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788865352000,"timestamp_ms":1788865352000,"timestamp_seconds":1788865352,"priority":1,"record_length":96,"hex_timestamp":"000001a080af1140"} 
[2026-09-08 16:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949524736001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949524736001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949524736001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":177366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:12] local.INFO: GPS data processed {"connection_id":177366,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:12] local.INFO: Acknowledgment sent {"connection_id":177366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:13] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:13] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:13] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:14] local.INFO: TCP Data received {"connection_id":177367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:14] local.INFO: Processing buffer {"connection_id":177367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:14] local.INFO: IMEI packet received {"connection_id":177367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":177367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:36:15] local.INFO: TCP Data received {"connection_id":177367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:15] local.INFO: Processing buffer {"connection_id":177367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:15] local.INFO: IMEI packet received {"connection_id":177367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":177367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:16] local.INFO: TCP Data received {"connection_id":177366,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080af6348012d196780071fed78003a011f25..."} 
[2026-09-08 16:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080af6348012d196780071fed78003a011f25..."} 
[2026-09-08 16:36:16] local.INFO: Processing buffer {"connection_id":177366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080af6348012d196780071fed78003a011f25..."} 
[2026-09-08 16:36:16] local.INFO: Packet analysis {"connection_id":177366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:36:16] local.INFO: Extracted packet for processing {"connection_id":177366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949530112001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:16] 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-09-08 16:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865373000,"timestamp_ms":1788865373000,"timestamp_seconds":1788865373,"priority":1,"record_length":96,"hex_timestamp":"000001a080af6348"} 
[2026-09-08 16:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949530112001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949530112001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:36:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949530112001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":177366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:16] local.INFO: GPS data processed {"connection_id":177366,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:16] local.INFO: Acknowledgment sent {"connection_id":177366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:19] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:19] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:36:19] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:19] local.INFO: TCP Data received {"connection_id":177367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:19] local.INFO: Processing buffer {"connection_id":177367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:36:19] local.INFO: IMEI packet received {"connection_id":177367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":177367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:20] local.INFO: TCP Data received {"connection_id":177367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b18628012d0c4f8007063f48001500721f..."} 
[2026-09-08 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b18628012d0c4f8007063f48001500721f..."} 
[2026-09-08 16:36:20] local.INFO: Processing buffer {"connection_id":177367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b18628012d0c4f8007063f48001500721f..."} 
[2026-09-08 16:36:20] local.INFO: Packet analysis {"connection_id":177367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:20] local.INFO: Extracted packet for processing {"connection_id":177367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":755781504,"raw_latitude":117849928,"longitude_deg":75.5781504,"latitude_deg":11.7849928,"altitude":21,"angle":114,"satellites":31,"speed":15,"hex_longitude":"2d0c4f80","hex_latitude":"07063f48","is_valid_coordinates":true} 
[2026-09-08 16:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949566464001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30793811705724928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882142607181094912,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865513000,"timestamp_ms":1788865513000,"timestamp_seconds":1788865513,"priority":1,"record_length":96,"hex_timestamp":"000001a080b18628"} 
[2026-09-08 16:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949566464001,"66":14352,"164":206,"94":10240,"24":15,"16":30793811705724928,"45":882142607181094912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949566464001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30793811705724928,"km_value":30793811705724.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":882142607181094912,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949566464001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":882142607181094912}} 
[2026-09-08 16:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":177367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:20] local.INFO: GPS data processed {"connection_id":177367,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:20] local.INFO: Acknowledgment sent {"connection_id":177367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:20] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1e3e8012d7aca0005e411e80009010f21..."} 
[2026-09-08 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1e3e8012d7aca0005e411e80009010f21..."} 
[2026-09-08 16:36:20] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1e3e8012d7aca0005e411e80009010f21..."} 
[2026-09-08 16:36:20] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:20] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832872,"longitude_deg":76.3021824,"latitude_deg":9.8832872,"altitude":9,"angle":271,"satellites":33,"speed":9,"hex_longitude":"2d7aca00","hex_latitude":"05e411e8","is_valid_coordinates":true} 
[2026-09-08 16:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949577216001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129960552121237504,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200680448,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865537000,"timestamp_ms":1788865537000,"timestamp_seconds":1788865537,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1e3e8"} 
[2026-09-08 16:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949577216001,"66":13613,"208":206,"85":15104,"24":9,"16":129960552121237504,"45":8848165918200680448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949577216001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129960552121237504,"km_value":129960552121237.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200680448,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949577216001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848165918200680448}} 
[2026-09-08 16:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:20] local.INFO: GPS data processed {"connection_id":174839,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:20] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:25] local.INFO: TCP Data received {"connection_id":174562,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b11cb0012d567700067ce848001800872d..."} 
[2026-09-08 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b11cb0012d567700067ce848001800872d..."} 
[2026-09-08 16:36:25] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b11cb0012d567700067ce848001800872d..."} 
[2026-09-08 16:36:25] local.INFO: Packet analysis {"connection_id":174562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:25] local.INFO: Extracted packet for processing {"connection_id":174562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":760641280,"raw_latitude":108849224,"longitude_deg":76.064128,"latitude_deg":10.8849224,"altitude":24,"angle":135,"satellites":45,"speed":50,"hex_longitude":"2d567700","hex_latitude":"067ce848","is_valid_coordinates":true} 
[2026-09-08 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949562368001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402875976838545408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222356231777091584,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788865486000,"timestamp_ms":1788865486000,"timestamp_seconds":1788865486,"priority":1,"record_length":96,"hex_timestamp":"000001a080b11cb0"} 
[2026-09-08 16:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949562368001,"66":27745,"53":206,"19":47872,"24":50,"16":402875976838545408,"45":6222356231777091584},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949562368001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402875976838545408,"km_value":402875976838545.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222356231777091584,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949562368001,"power":27745,"unknown_53":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":6222356231777091584}} 
[2026-09-08 16:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:25] local.INFO: GPS data processed {"connection_id":174562,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:25] local.INFO: Acknowledgment sent {"connection_id":174562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:25] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1e7d0012d7ac94005e411b8000900fe20..."} 
[2026-09-08 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1e7d0012d7ac94005e411b8000900fe20..."} 
[2026-09-08 16:36:25] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1e7d0012d7ac94005e411b8000900fe20..."} 
[2026-09-08 16:36:25] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:25] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98832824,"longitude_deg":76.3021632,"latitude_deg":9.8832824,"altitude":9,"angle":254,"satellites":32,"speed":10,"hex_longitude":"2d7ac940","hex_latitude":"05e411b8","is_valid_coordinates":true} 
[2026-09-08 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949577472001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129960565006139392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223975936,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788865538000,"timestamp_ms":1788865538000,"timestamp_seconds":1788865538,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1e7d0"} 
[2026-09-08 16:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:36:25] 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-09-08 16:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949577472001,"66":13613,"208":206,"85":15104,"24":10,"16":129960565006139392,"45":8847884443223975936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949577472001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129960565006139392,"km_value":129960565006139.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223975936,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949577472001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8847884443223975936}} 
[2026-09-08 16:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:25] local.INFO: GPS data processed {"connection_id":174839,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:25] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:46] local.INFO: TCP Data received {"connection_id":175895,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:46] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:46] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:36:46] local.INFO: TCP Data received {"connection_id":175895,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:46] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:46] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:51] local.INFO: TCP Data received {"connection_id":177367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b195c8012d0c554007063bd80015007f1f..."} 
[2026-09-08 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b195c8012d0c554007063bd80015007f1f..."} 
[2026-09-08 16:36:51] local.INFO: Processing buffer {"connection_id":177367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b195c8012d0c554007063bd80015007f1f..."} 
[2026-09-08 16:36:51] local.INFO: Packet analysis {"connection_id":177367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:51] local.INFO: Extracted packet for processing {"connection_id":177367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":755782976,"raw_latitude":117849048,"longitude_deg":75.5782976,"latitude_deg":11.7849048,"altitude":21,"angle":127,"satellites":31,"speed":17,"hex_longitude":"2d0c5540","hex_latitude":"07063bd8","is_valid_coordinates":true} 
[2026-09-08 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949571328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30793893310103552,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887068419273213952,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788865517000,"timestamp_ms":1788865517000,"timestamp_seconds":1788865517,"priority":1,"record_length":96,"hex_timestamp":"000001a080b195c8"} 
[2026-09-08 16:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2159063864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221685818,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504069496307712,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":8162817777601536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511396,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738801358,"corrected_to":0} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3221302540,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84737425196647983,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4395520959441272861,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,164,94,24,241,157,16,102,160,59,45,68,21,32,10,66,52,192,226,1,240,103,227,128,6,4,113,205,7,198,232,30,239,56,2,109,28,206,80,12],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1738801358,"validated":0}]} 
[2026-09-08 16:36:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513334952267022336,"timestamp_seconds":1513334952267022.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949571328001,"66":14428,"164":206,"94":10240,"24":17,"16":30793893310103552,"45":887068419273213952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949571328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:51] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:36:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30793893310103552,"km_value":30793893310103.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":887068419273213952,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949571328001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":887068419273213952}} 
[2026-09-08 16:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":177367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:51] local.INFO: GPS data processed {"connection_id":177367,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:51] local.INFO: Acknowledgment sent {"connection_id":177367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:52] local.INFO: TCP Data received {"connection_id":175895,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:52] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:36:52] local.INFO: IMEI packet received {"connection_id":175895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":175895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:36:53] local.INFO: TCP Data received {"connection_id":175895,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b13bf0012d569300067ccca8001700862e..."} 
[2026-09-08 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b13bf0012d569300067ccca8001700862e..."} 
[2026-09-08 16:36:53] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b13bf0012d569300067ccca8001700862e..."} 
[2026-09-08 16:36:53] local.INFO: Packet analysis {"connection_id":175895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:53] local.INFO: Extracted packet for processing {"connection_id":175895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:53] local.INFO: GPS Element Parsed {"raw_longitude":760648448,"raw_latitude":108842152,"longitude_deg":76.0648448,"latitude_deg":10.8842152,"altitude":23,"angle":134,"satellites":46,"speed":49,"hex_longitude":"2d569300","hex_latitude":"067ccca8","is_valid_coordinates":true} 
[2026-09-08 16:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949564416001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402876457874882560,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230448637355771904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788865494000,"timestamp_ms":1788865494000,"timestamp_seconds":1788865494,"priority":1,"record_length":96,"hex_timestamp":"000001a080b13bf0"} 
[2026-09-08 16:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949564416001,"66":27713,"53":206,"19":47872,"24":49,"16":402876457874882560,"45":6230448637355771904},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 16:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949564416001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 16:36:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402876457874882560,"km_value":402876457874882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230448637355771904,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949564416001,"power":27713,"unknown_53":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":6230448637355771904}} 
[2026-09-08 16:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":175895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:53] local.INFO: GPS data processed {"connection_id":175895,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:53] local.INFO: Acknowledgment sent {"connection_id":175895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:36:56] local.INFO: TCP Data received {"connection_id":175895,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b15b30012d56af40067cb118001700862c..."} 
[2026-09-08 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b15b30012d56af40067cb118001700862c..."} 
[2026-09-08 16:36:56] local.INFO: Processing buffer {"connection_id":175895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b15b30012d56af40067cb118001700862c..."} 
[2026-09-08 16:36:56] local.INFO: Packet analysis {"connection_id":175895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:56] local.INFO: Extracted packet for processing {"connection_id":175895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:36:56] local.INFO: GPS Element Parsed {"raw_longitude":760655680,"raw_latitude":108835096,"longitude_deg":76.065568,"latitude_deg":10.8835096,"altitude":23,"angle":134,"satellites":44,"speed":49,"hex_longitude":"2d56af40","hex_latitude":"067cb118","is_valid_coordinates":true} 
[2026-09-08 16:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949566464001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402876943206187008,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238329936701859840,"note":"Value kept but may cause issues"} 
[2026-09-08 16:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788865502000,"timestamp_ms":1788865502000,"timestamp_seconds":1788865502,"priority":1,"record_length":96,"hex_timestamp":"000001a080b15b30"} 
[2026-09-08 16:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:36: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 16:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949566464001,"66":27843,"53":206,"19":47872,"24":49,"16":402876943206187008,"45":6238329936701859840},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 16:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949566464001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:36:56] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 16:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402876943206187008,"km_value":402876943206187.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238329936701859840,"description":"Unknown IO ID 45"} 
[2026-09-08 16:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949566464001,"power":27843,"unknown_53":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":6238329936701859840}} 
[2026-09-08 16:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":175895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:36:56] local.INFO: GPS data processed {"connection_id":175895,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:36:56] local.INFO: Acknowledgment sent {"connection_id":175895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:01] local.INFO: TCP Data received {"connection_id":174840,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:01] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:01] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:37:01] local.INFO: TCP Data received {"connection_id":174840,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:01] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:01] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:05] local.INFO: TCP Data received {"connection_id":174840,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:05] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:37:05] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:06] local.INFO: TCP Data received {"connection_id":174840,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080afb550012d196780071fed78003a011f26..."} 
[2026-09-08 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080afb550012d196780071fed78003a011f26..."} 
[2026-09-08 16:37:06] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080afb550012d196780071fed78003a011f26..."} 
[2026-09-08 16:37:06] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:37:06] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080af"} 
[2026-09-08 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949535488001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:06] 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-09-08 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788865394000,"timestamp_ms":1788865394000,"timestamp_seconds":1788865394,"priority":1,"record_length":96,"hex_timestamp":"000001a080afb550"} 
[2026-09-08 16:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949535488001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949535488001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949535488001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:06] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:06] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:07] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:07] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:07] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:37:09] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:09] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:09] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:09] local.INFO: TCP Data received {"connection_id":174563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:37:09] local.INFO: Processing buffer {"connection_id":174563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:37:09] local.INFO: IMEI packet received {"connection_id":174563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":174563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:37:09] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:09] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:09] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:11] local.INFO: TCP Data received {"connection_id":174840,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b00758012d196780071fed78003a011f21..."} 
[2026-09-08 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b00758012d196780071fed78003a011f21..."} 
[2026-09-08 16:37:11] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b00758012d196780071fed78003a011f21..."} 
[2026-09-08 16:37:11] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:37:11] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949540864001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37: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-09-08 16:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788865415000,"timestamp_ms":1788865415000,"timestamp_seconds":1788865415,"priority":1,"record_length":96,"hex_timestamp":"000001a080b00758"} 
[2026-09-08 16:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949540864001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949540864001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949540864001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:11] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:11] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:14] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:14] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:37:14] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:15] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:15] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:15] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:37:15] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b22268012d7aa4c005e40b00000a010520..."} 
[2026-09-08 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b22268012d7aa4c005e40b00000a010520..."} 
[2026-09-08 16:37:15] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b22268012d7aa4c005e40b00000a010520..."} 
[2026-09-08 16:37:15] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:15] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":98831104,"longitude_deg":76.3012288,"latitude_deg":9.8831104,"altitude":10,"angle":261,"satellites":32,"speed":25,"hex_longitude":"2d7aa4c0","hex_latitude":"05e40b00","is_valid_coordinates":true} 
[2026-09-08 16:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949577728001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129961020272672768,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991430656,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788865553000,"timestamp_ms":1788865553000,"timestamp_seconds":1788865553,"priority":1,"record_length":96,"hex_timestamp":"000001a080b22268"} 
[2026-09-08 16:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949577728001,"66":13374,"208":206,"85":15104,"24":25,"16":129961020272672768,"45":8847673336991430656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949577728001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129961020272672768,"km_value":129961020272672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991430656,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949577728001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8847673336991430656}} 
[2026-09-08 16:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:15] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:15] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:19] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:19] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:19] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:19] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b264d0012d7a9e0005e409e0000c00971f..."} 
[2026-09-08 16:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b264d0012d7a9e0005e409e0000c00971f..."} 
[2026-09-08 16:37:19] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b264d0012d7a9e0005e409e0000c00971f..."} 
[2026-09-08 16:37:19] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:19] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:19] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":98830816,"longitude_deg":76.301056,"latitude_deg":9.8830816,"altitude":12,"angle":151,"satellites":31,"speed":1,"hex_longitude":"2d7a9e00","hex_latitude":"05e409e0","is_valid_coordinates":true} 
[2026-09-08 16:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949581568001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129961131941822464,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399500341051392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865570000,"timestamp_ms":1788865570000,"timestamp_seconds":1788865570,"priority":1,"record_length":96,"hex_timestamp":"000001a080b264d0"} 
[2026-09-08 16:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:37:19] 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-09-08 16:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949581568001,"66":13406,"208":206,"85":15104,"24":1,"16":129961131941822464,"45":8837399500341051392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949581568001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:37:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129961131941822464,"km_value":129961131941822.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399500341051392,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949581568001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8837399500341051392}} 
[2026-09-08 16:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:19] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:19] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:21] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:21] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:37:21] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:22] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1ad38012d0c5cc0070633880014008c1e..."} 
[2026-09-08 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1ad38012d0c5cc0070633880014008c1e..."} 
[2026-09-08 16:37:22] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1ad38012d0c5cc0070633880014008c1e..."} 
[2026-09-08 16:37:22] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:37:22] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":755784896,"raw_latitude":117846920,"longitude_deg":75.5784896,"latitude_deg":11.784692,"altitude":20,"angle":140,"satellites":30,"speed":19,"hex_longitude":"2d0c5cc0","hex_latitude":"07063388","is_valid_coordinates":true} 
[2026-09-08 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949572352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30794030749057024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900389074944,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788865523000,"timestamp_ms":1788865523000,"timestamp_seconds":1788865523,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1ad38"} 
[2026-09-08 16:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949572352001,"66":14439,"164":206,"94":10240,"24":19,"16":30794030749057024,"45":888686900389074944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 16:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949572352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 16:37:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30794030749057024,"km_value":30794030749057.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900389074944,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949572352001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":888686900389074944}} 
[2026-09-08 16:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:22] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:22] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:25] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1f770012d0c738007061798001200881c..."} 
[2026-09-08 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1f770012d0c738007061798001200881c..."} 
[2026-09-08 16:37:25] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1f770012d0c738007061798001200881c..."} 
[2026-09-08 16:37:25] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:37:25] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":755790720,"raw_latitude":117839768,"longitude_deg":75.579072,"latitude_deg":11.7839768,"altitude":18,"angle":136,"satellites":28,"speed":11,"hex_longitude":"2d0c7380","hex_latitude":"07061798","is_valid_coordinates":true} 
[2026-09-08 16:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949573888001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30794477425655808,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890797962713860096,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788865542000,"timestamp_ms":1788865542000,"timestamp_seconds":1788865542,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1f770"} 
[2026-09-08 16:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949573888001,"66":14407,"220":206,"94":10240,"24":11,"16":30794477425655808,"45":890797962713860096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 16:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949573888001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:25] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 16:37:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30794477425655808,"km_value":30794477425655.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":890797962713860096,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949573888001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":890797962713860096}} 
[2026-09-08 16:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:25] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:25] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:42] local.INFO: TCP Data received {"connection_id":177368,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:37:42] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:37:42] local.INFO: IMEI packet received {"connection_id":177368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":177368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:37:43] local.INFO: TCP Data received {"connection_id":174840,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b05960012d196780071fed78003a011f21..."} 
[2026-09-08 16:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b05960012d196780071fed78003a011f21..."} 
[2026-09-08 16:37:43] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b05960012d196780071fed78003a011f21..."} 
[2026-09-08 16:37:43] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:37:43] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949546240001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:43] 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-09-08 16:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788865436000,"timestamp_ms":1788865436000,"timestamp_seconds":1788865436,"priority":1,"record_length":96,"hex_timestamp":"000001a080b05960"} 
[2026-09-08 16:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949546240001,"66":12439,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949546240001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949546240001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:43] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:43] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:46] local.INFO: TCP Data received {"connection_id":177368,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:37:46] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:37:46] local.INFO: IMEI packet received {"connection_id":177368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":177368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:37:47] local.INFO: TCP Data received {"connection_id":177368,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b28410012d571f00067bd990001c00ba23..."} 
[2026-09-08 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b28410012d571f00067bd990001c00ba23..."} 
[2026-09-08 16:37:47] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b28410012d571f00067bd990001c00ba23..."} 
[2026-09-08 16:37:47] local.INFO: Packet analysis {"connection_id":177368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:47] local.INFO: Extracted packet for processing {"connection_id":177368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":760684288,"raw_latitude":108779920,"longitude_deg":76.0684288,"latitude_deg":10.877992,"altitude":28,"angle":186,"satellites":35,"speed":30,"hex_longitude":"2d571f00","hex_latitude":"067bd990","is_valid_coordinates":true} 
[2026-09-08 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949587968001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402880091417214976,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277736433425420288,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788865578000,"timestamp_ms":1788865578000,"timestamp_seconds":1788865578,"priority":1,"record_length":96,"hex_timestamp":"000001a080b28410"} 
[2026-09-08 16:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949587968001,"66":27800,"13":206,"19":47872,"24":30,"16":402880091417214976,"45":6277736433425420288},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 16:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949587968001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 16:37:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402880091417214976,"km_value":402880091417215.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277736433425420288,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949587968001,"power":27800,"unknown_13":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6277736433425420288}} 
[2026-09-08 16:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":177368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:47] local.INFO: GPS data processed {"connection_id":177368,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:47] local.INFO: Acknowledgment sent {"connection_id":177368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:48] local.INFO: TCP Data received {"connection_id":177368,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b2a350012d571a80067bbf18001d00c528..."} 
[2026-09-08 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b2a350012d571a80067bbf18001d00c528..."} 
[2026-09-08 16:37:48] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b2a350012d571a80067bbf18001d00c528..."} 
[2026-09-08 16:37:48] local.INFO: Packet analysis {"connection_id":177368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:48] local.INFO: Extracted packet for processing {"connection_id":177368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:37:48] local.INFO: GPS Element Parsed {"raw_longitude":760683136,"raw_latitude":108773144,"longitude_deg":76.0683136,"latitude_deg":10.8773144,"altitude":29,"angle":197,"satellites":40,"speed":34,"hex_longitude":"2d571a80","hex_latitude":"067bbf18","is_valid_coordinates":true} 
[2026-09-08 16:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949587968001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402880426424664064,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277736433425420288,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865586000,"timestamp_ms":1788865586000,"timestamp_seconds":1788865586,"priority":1,"record_length":96,"hex_timestamp":"000001a080b2a350"} 
[2026-09-08 16:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949587968001,"66":27745,"13":206,"19":47872,"24":34,"16":402880426424664064,"45":6277736433425420288},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 16:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949587968001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 16:37:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402880426424664064,"km_value":402880426424664.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277736433425420288,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949587968001,"power":27745,"unknown_13":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":6277736433425420288}} 
[2026-09-08 16:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":177368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:48] local.INFO: GPS data processed {"connection_id":177368,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:48] local.INFO: Acknowledgment sent {"connection_id":177368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:50] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b36e70012d7ad70005e3e668000a00a722..."} 
[2026-09-08 16:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b36e70012d7ad70005e3e668000a00a722..."} 
[2026-09-08 16:37:50] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b36e70012d7ad70005e3e668000a00a722..."} 
[2026-09-08 16:37:50] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:37:50] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:37:50] local.INFO: GPS Element Parsed {"raw_longitude":763025152,"raw_latitude":98821736,"longitude_deg":76.3025152,"latitude_deg":9.8821736,"altitude":10,"angle":167,"satellites":34,"speed":22,"hex_longitude":"2d7ad700","hex_latitude":"05e3e668","is_valid_coordinates":true} 
[2026-09-08 16:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949600512001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129962270108155904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849221449362731008,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865638000,"timestamp_ms":1788865638000,"timestamp_seconds":1788865638,"priority":1,"record_length":96,"hex_timestamp":"000001a080b36e70"} 
[2026-09-08 16:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:37:50] 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-09-08 16:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949600512001,"66":13222,"208":206,"85":15104,"24":22,"16":129962270108155904,"45":8849221449362731008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949600512001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:37:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129962270108155904,"km_value":129962270108155.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849221449362731008,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949600512001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8849221449362731008}} 
[2026-09-08 16:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:50] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:50] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:37:57] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b3c848012d0cf3800705d5e80015004320..."} 
[2026-09-08 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b3c848012d0cf3800705d5e80015004320..."} 
[2026-09-08 16:37:57] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b3c848012d0cf3800705d5e80015004320..."} 
[2026-09-08 16:37:57] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:37:57] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755823488,"raw_latitude":117822952,"longitude_deg":75.5823488,"latitude_deg":11.7822952,"altitude":21,"angle":67,"satellites":32,"speed":25,"hex_longitude":"2d0cf380","hex_latitude":"0705d5e8","is_valid_coordinates":true} 
[2026-09-08 16:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949608960001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30796916967079936,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932456259260850176,"note":"Value kept but may cause issues"} 
[2026-09-08 16:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788865661000,"timestamp_ms":1788865661000,"timestamp_seconds":1788865661,"priority":1,"record_length":96,"hex_timestamp":"000001a080b3c848"} 
[2026-09-08 16:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949608960001,"66":14428,"220":206,"94":10240,"24":25,"16":30796916967079936,"45":932456259260850176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 16:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949608960001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:37:57] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 16:37:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30796916967079936,"km_value":30796916967079.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":932456259260850176,"description":"Unknown IO ID 45"} 
[2026-09-08 16:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949608960001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":932456259260850176}} 
[2026-09-08 16:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:37:57] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:37:57] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:00] local.INFO: TCP Data received {"connection_id":175896,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:38:00] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:38:00] local.INFO: IMEI packet received {"connection_id":175896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":175896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:38:05] local.INFO: TCP Data received {"connection_id":175896,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:38:05] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:38:05] local.INFO: IMEI packet received {"connection_id":175896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":175896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:38:06] local.INFO: TCP Data received {"connection_id":175896,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b0ab68012d196780071fed78003a011f26..."} 
[2026-09-08 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b0ab68012d196780071fed78003a011f26..."} 
[2026-09-08 16:38:06] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b0ab68012d196780071fed78003a011f26..."} 
[2026-09-08 16:38:06] local.INFO: Packet analysis {"connection_id":175896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:38:06] local.INFO: Extracted packet for processing {"connection_id":175896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949551616001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:06] 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-09-08 16:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788865457000,"timestamp_ms":1788865457000,"timestamp_seconds":1788865457,"priority":1,"record_length":96,"hex_timestamp":"000001a080b0ab68"} 
[2026-09-08 16:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949551616001,"66":12461,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949551616001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949551616001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":175896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:06] local.INFO: GPS data processed {"connection_id":175896,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:06] local.INFO: Acknowledgment sent {"connection_id":175896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:07] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:07] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:07] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:38:08] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:08] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:08] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:38:14] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:14] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:14] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:38:14] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:14] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:38:14] local.INFO: IMEI packet received {"connection_id":177369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":177369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:38:16] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:16] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:16] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:38:16] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b3a908012d7ae08005e3c420000800a322..."} 
[2026-09-08 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b3a908012d7ae08005e3c420000800a322..."} 
[2026-09-08 16:38:16] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b3a908012d7ae08005e3c420000800a322..."} 
[2026-09-08 16:38:16] local.INFO: Packet analysis {"connection_id":177369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:16] local.INFO: Extracted packet for processing {"connection_id":177369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763027584,"raw_latitude":98812960,"longitude_deg":76.3027584,"latitude_deg":9.881296,"altitude":8,"angle":163,"satellites":34,"speed":24,"hex_longitude":"2d7ae080","hex_latitude":"05e3c420","is_valid_coordinates":true} 
[2026-09-08 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949603328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129962712489787392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851543617918363648,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865653000,"timestamp_ms":1788865653000,"timestamp_seconds":1788865653,"priority":1,"record_length":96,"hex_timestamp":"000001a080b3a908"} 
[2026-09-08 16:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949603328001,"66":13613,"208":206,"85":15104,"24":24,"16":129962712489787392,"45":8851543617918363648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949603328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129962712489787392,"km_value":129962712489787.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851543617918363648,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949603328001,"power":13613,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8851543617918363648}} 
[2026-09-08 16:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":177369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:16] local.INFO: GPS data processed {"connection_id":177369,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:16] local.INFO: Acknowledgment sent {"connection_id":177369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:19] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:19] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:38:19] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:38:20] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b3cc30012d0cf6400705d6380016004e20..."} 
[2026-09-08 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b3cc30012d0cf6400705d6380016004e20..."} 
[2026-09-08 16:38:20] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b3cc30012d0cf6400705d6380016004e20..."} 
[2026-09-08 16:38:20] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:20] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:20] local.INFO: GPS Element Parsed {"raw_longitude":755824192,"raw_latitude":117823032,"longitude_deg":75.5824192,"latitude_deg":11.7823032,"altitude":22,"angle":78,"satellites":32,"speed":27,"hex_longitude":"2d0cf640","hex_latitude":"0705d638","is_valid_coordinates":true} 
[2026-09-08 16:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949609216001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30796951326818304,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933230315446855680,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865662000,"timestamp_ms":1788865662000,"timestamp_seconds":1788865662,"priority":1,"record_length":96,"hex_timestamp":"000001a080b3cc30"} 
[2026-09-08 16:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949609216001,"66":14374,"220":206,"94":10240,"24":27,"16":30796951326818304,"45":933230315446855680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 16:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949609216001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:20] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 16:38:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30796951326818304,"km_value":30796951326818.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":933230315446855680,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949609216001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":933230315446855680}} 
[2026-09-08 16:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:20] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:20] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:27] local.INFO: TCP Data received {"connection_id":177368,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b2bea8012d5712c0067bae08002300d12b..."} 
[2026-09-08 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b2bea8012d5712c0067bae08002300d12b..."} 
[2026-09-08 16:38:27] local.INFO: Processing buffer {"connection_id":177368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b2bea8012d5712c0067bae08002300d12b..."} 
[2026-09-08 16:38:27] local.INFO: Packet analysis {"connection_id":177368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:38:27] local.INFO: Extracted packet for processing {"connection_id":177368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":760681152,"raw_latitude":108768776,"longitude_deg":76.0681152,"latitude_deg":10.8768776,"altitude":35,"angle":209,"satellites":43,"speed":21,"hex_longitude":"2d5712c0","hex_latitude":"067bae08","is_valid_coordinates":true} 
[2026-09-08 16:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949590016001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402880658352898048,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276469796028487680,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788865593000,"timestamp_ms":1788865593000,"timestamp_seconds":1788865593,"priority":1,"record_length":96,"hex_timestamp":"000001a080b2bea8"} 
[2026-09-08 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949590016001,"66":27800,"13":206,"19":47872,"24":21,"16":402880658352898048,"45":6276469796028487680},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949590016001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:27] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 16:38:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402880658352898048,"km_value":402880658352898.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276469796028487680,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949590016001,"power":27800,"unknown_13":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":6276469796028487680}} 
[2026-09-08 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":177368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:27] local.INFO: GPS data processed {"connection_id":177368,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:27] local.INFO: Acknowledgment sent {"connection_id":177368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:38] local.INFO: TCP Data received {"connection_id":175896,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b0fd70012d196780071fed78003a011f25..."} 
[2026-09-08 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b0fd70012d196780071fed78003a011f25..."} 
[2026-09-08 16:38:38] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b0fd70012d196780071fed78003a011f25..."} 
[2026-09-08 16:38:38] local.INFO: Packet analysis {"connection_id":175896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:38:38] local.INFO: Extracted packet for processing {"connection_id":175896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b0"} 
[2026-09-08 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949556992001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16: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-09-08 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865478000,"timestamp_ms":1788865478000,"timestamp_seconds":1788865478,"priority":1,"record_length":96,"hex_timestamp":"000001a080b0fd70"} 
[2026-09-08 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949556992001,"66":12439,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949556992001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949556992001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":175896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:38] local.INFO: GPS data processed {"connection_id":175896,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:38] local.INFO: Acknowledgment sent {"connection_id":175896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:47] local.INFO: TCP Data received {"connection_id":177370,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:38:47] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:38:47] local.INFO: IMEI packet received {"connection_id":177370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":177370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:38:48] local.INFO: TCP Data received {"connection_id":177369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b3dfb8012d7aeb8005e3a190000600a221..."} 
[2026-09-08 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b3dfb8012d7aeb8005e3a190000600a221..."} 
[2026-09-08 16:38:48] local.INFO: Processing buffer {"connection_id":177369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b3dfb8012d7aeb8005e3a190000600a221..."} 
[2026-09-08 16:38:48] local.INFO: Packet analysis {"connection_id":177369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:48] local.INFO: Extracted packet for processing {"connection_id":177369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98804112,"longitude_deg":76.30304,"latitude_deg":9.8804112,"altitude":6,"angle":162,"satellites":33,"speed":26,"hex_longitude":"2d7aeb80","hex_latitude":"05e3a190","is_valid_coordinates":true} 
[2026-09-08 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949607168001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129963163461353472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854217630194868224,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865667000,"timestamp_ms":1788865667000,"timestamp_seconds":1788865667,"priority":1,"record_length":96,"hex_timestamp":"000001a080b3dfb8"} 
[2026-09-08 16:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:38:48] 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-09-08 16:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949607168001,"66":13678,"208":206,"85":15104,"24":26,"16":129963163461353472,"45":8854217630194868224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949607168001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:38:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129963163461353472,"km_value":129963163461353.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854217630194868224,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949607168001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8854217630194868224}} 
[2026-09-08 16:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":177369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:48] local.INFO: GPS data processed {"connection_id":177369,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:48] local.INFO: Acknowledgment sent {"connection_id":177369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:51] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b3eb70012d0d0c000705d6380015005a20..."} 
[2026-09-08 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b3eb70012d0d0c000705d6380015005a20..."} 
[2026-09-08 16:38:51] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b3eb70012d0d0c000705d6380015005a20..."} 
[2026-09-08 16:38:51] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:51] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b3"} 
[2026-09-08 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755829760,"raw_latitude":117823032,"longitude_deg":75.582976,"latitude_deg":11.7823032,"altitude":21,"angle":90,"satellites":32,"speed":32,"hex_longitude":"2d0d0c00","hex_latitude":"0705d638","is_valid_coordinates":true} 
[2026-09-08 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949609472001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30797213319823360,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934004371632830464,"note":"Value kept but may cause issues"} 
[2026-09-08 16:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788865670000,"timestamp_ms":1788865670000,"timestamp_seconds":1788865670,"priority":1,"record_length":96,"hex_timestamp":"000001a080b3eb70"} 
[2026-09-08 16:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 16:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949609472001,"66":14428,"220":206,"94":10240,"24":32,"16":30797213319823360,"45":934004371632830464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 16:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949609472001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:38:51] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 16:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30797213319823360,"km_value":30797213319823.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":934004371632830464,"description":"Unknown IO ID 45"} 
[2026-09-08 16:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949609472001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":934004371632830464}} 
[2026-09-08 16:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:38:51] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:38:51] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:38:53] local.INFO: TCP Data received {"connection_id":177370,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:38:53] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:38:53] local.INFO: IMEI packet received {"connection_id":177370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":177370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:38:54] local.INFO: TCP Data received {"connection_id":177370,"ip":"117.225.171.207","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177370,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:38:54] local.INFO: Processing buffer {"connection_id":177370,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 16:38:54] local.INFO: IMEI packet received {"connection_id":177370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":177370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:00] local.INFO: TCP Data received {"connection_id":174844,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:39:00] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:39:00] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:39:05] local.INFO: TCP Data received {"connection_id":174844,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:39:05] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:39:05] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:06] local.INFO: TCP Data received {"connection_id":174844,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b14f78012d196780071fed78003a011f26..."} 
[2026-09-08 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b14f78012d196780071fed78003a011f26..."} 
[2026-09-08 16:39:06] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b14f78012d196780071fed78003a011f26..."} 
[2026-09-08 16:39:06] local.INFO: Packet analysis {"connection_id":174844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:39:06] local.INFO: Extracted packet for processing {"connection_id":174844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949562368001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:06] 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-09-08 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788865499000,"timestamp_ms":1788865499000,"timestamp_seconds":1788865499,"priority":1,"record_length":96,"hex_timestamp":"000001a080b14f78"} 
[2026-09-08 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949562368001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949562368001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949562368001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":174844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:07] local.INFO: GPS data processed {"connection_id":174844,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:07] local.INFO: Acknowledgment sent {"connection_id":174844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:39:09] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:09] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:09] local.INFO: IMEI packet received {"connection_id":175897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":175897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:39:11] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:11] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:11] local.INFO: IMEI packet received {"connection_id":175897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":175897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:12] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:12] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:12] local.INFO: IMEI packet received {"connection_id":175897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":175897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:14] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:14] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:39:14] local.INFO: IMEI packet received {"connection_id":175897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":175897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:14] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:14] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:14] local.INFO: IMEI packet received {"connection_id":177371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":177371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:39:15] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:15] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:15] local.INFO: IMEI packet received {"connection_id":177371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":177371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:16] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b4d1e8012d7b01c005e354f0000a015d22..."} 
[2026-09-08 16:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b4d1e8012d7b01c005e354f0000a015d22..."} 
[2026-09-08 16:39:16] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b4d1e8012d7b01c005e354f0000a015d22..."} 
[2026-09-08 16:39:16] local.INFO: Packet analysis {"connection_id":175897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b4"} 
[2026-09-08 16:39:16] local.INFO: Extracted packet for processing {"connection_id":175897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b4"} 
[2026-09-08 16:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763036096,"raw_latitude":98784496,"longitude_deg":76.3036096,"latitude_deg":9.8784496,"altitude":10,"angle":349,"satellites":34,"speed":9,"hex_longitude":"2d7b01c0","hex_latitude":"05e354f0","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949623040001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129964331692457984,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863858148139649024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865729000,"timestamp_ms":1788865729000,"timestamp_seconds":1788865729,"priority":1,"record_length":96,"hex_timestamp":"000001a080b4d1e8"} 
[2026-09-08 16:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631801,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2159313864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3622648920963809280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3029047297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132242384,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3116826624,"corrected_to":0} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813763072,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":123,"raw_value":468380835145318407,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957652018213291,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,185,160,151,45,64,80,8,34,10,66,147,79,143,1,240,46,227,128,4,113,205,6,135,144,239,53,2,5,7,123,51,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3116826624,"validated":0}]} 
[2026-09-08 16:39:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576830334239834112,"timestamp_seconds":576830334239834.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949623040001,"66":13928,"208":206,"85":15104,"24":9,"16":129964331692457984,"45":8863858148139649024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949623040001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129964331692457984,"km_value":129964331692457.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863858148139649024,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949623040001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8863858148139649024}} 
[2026-09-08 16:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":175897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:16] local.INFO: GPS data processed {"connection_id":175897,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:16] local.INFO: Acknowledgment sent {"connection_id":175897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:39:19] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b52008012d7af80005e377b8000b015c21..."} 
[2026-09-08 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b52008012d7af80005e377b8000b015c21..."} 
[2026-09-08 16:39:19] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b52008012d7af80005e377b8000b015c21..."} 
[2026-09-08 16:39:19] local.INFO: Packet analysis {"connection_id":175897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:39:19] local.INFO: Extracted packet for processing {"connection_id":175897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763033600,"raw_latitude":98793400,"longitude_deg":76.30336,"latitude_deg":9.87934,"altitude":11,"angle":348,"satellites":33,"speed":20,"hex_longitude":"2d7af800","hex_latitude":"05e377b8","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949626624001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129964782664024064,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863576673163210752,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865749000,"timestamp_ms":1788865749000,"timestamp_seconds":1788865749,"priority":1,"record_length":96,"hex_timestamp":"000001a080b52008"} 
[2026-09-08 16:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:39:19] 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-09-08 16:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949626624001,"66":13559,"208":206,"85":15104,"24":20,"16":129964782664024064,"45":8863576673163210752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949626624001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129964782664024064,"km_value":129964782664024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863576673163210752,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949626624001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8863576673163210752}} 
[2026-09-08 16:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":175897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:19] local.INFO: GPS data processed {"connection_id":175897,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:19] local.INFO: Acknowledgment sent {"connection_id":175897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:39:19] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:19] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:39:19] local.INFO: IMEI packet received {"connection_id":177371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":177371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:39:20] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b41280012d0d31400705d6b0001600571e..."} 
[2026-09-08 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b41280012d0d31400705d6b0001600571e..."} 
[2026-09-08 16:39:20] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b41280012d0d31400705d6b0001600571e..."} 
[2026-09-08 16:39:20] local.INFO: Packet analysis {"connection_id":177371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b4"} 
[2026-09-08 16:39:20] local.INFO: Extracted packet for processing {"connection_id":177371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b4"} 
[2026-09-08 16:39:20] local.INFO: GPS Element Parsed {"raw_longitude":755839296,"raw_latitude":117823152,"longitude_deg":75.5839296,"latitude_deg":11.7823152,"altitude":22,"angle":87,"satellites":30,"speed":29,"hex_longitude":"2d0d3140","hex_latitude":"0705d6b0","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949611520001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30797668586356736,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":940126452376287232,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865680000,"timestamp_ms":1788865680000,"timestamp_seconds":1788865680,"priority":1,"record_length":96,"hex_timestamp":"000001a080b41280"} 
[2026-09-08 16:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949611520001,"66":14396,"220":206,"94":10240,"24":29,"16":30797668586356736,"45":940126452376287232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 16:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949611520001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:20] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 16:39:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30797668586356736,"km_value":30797668586356.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":940126452376287232,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949611520001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":940126452376287232}} 
[2026-09-08 16:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":177371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:20] local.INFO: GPS data processed {"connection_id":177371,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:20] local.INFO: Acknowledgment sent {"connection_id":177371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:39:38] local.INFO: TCP Data received {"connection_id":174844,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1a180012d196780071fed78003a011f26..."} 
[2026-09-08 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1a180012d196780071fed78003a011f26..."} 
[2026-09-08 16:39:38] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1a180012d196780071fed78003a011f26..."} 
[2026-09-08 16:39:38] local.INFO: Packet analysis {"connection_id":174844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:39:38] local.INFO: Extracted packet for processing {"connection_id":174844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949567744001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39: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-09-08 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865520000,"timestamp_ms":1788865520000,"timestamp_seconds":1788865520,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1a180"} 
[2026-09-08 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949567744001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949567744001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949567744001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":174844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:38] local.INFO: GPS data processed {"connection_id":174844,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:38] local.INFO: Acknowledgment sent {"connection_id":174844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:39:50] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b52008012d7af80005e377b8000b015c21..."} 
[2026-09-08 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b52008012d7af80005e377b8000b015c21..."} 
[2026-09-08 16:39:50] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b52008012d7af80005e377b8000b015c21..."} 
[2026-09-08 16:39:50] local.INFO: Packet analysis {"connection_id":175897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:39:50] local.INFO: Extracted packet for processing {"connection_id":175897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763033600,"raw_latitude":98793400,"longitude_deg":76.30336,"latitude_deg":9.87934,"altitude":11,"angle":348,"satellites":33,"speed":20,"hex_longitude":"2d7af800","hex_latitude":"05e377b8","is_valid_coordinates":true} 
[2026-09-08 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949631744001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129964782664024064,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860832292142561280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865749000,"timestamp_ms":1788865749000,"timestamp_seconds":1788865749,"priority":1,"record_length":96,"hex_timestamp":"000001a080b52008"} 
[2026-09-08 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:39:50] 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-09-08 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949631744001,"66":13559,"208":206,"85":15104,"24":20,"16":129964782664024064,"45":8860832292142561280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949631744001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129964782664024064,"km_value":129964782664024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860832292142561280,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949631744001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8860832292142561280}} 
[2026-09-08 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":175897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:50] local.INFO: GPS data processed {"connection_id":175897,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:50] local.INFO: Acknowledgment sent {"connection_id":175897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:39:51] local.INFO: TCP Data received {"connection_id":177371,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b41e38012d0d38400705d6780015006621..."} 
[2026-09-08 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b41e38012d0d38400705d6780015006621..."} 
[2026-09-08 16:39:51] local.INFO: Processing buffer {"connection_id":177371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b41e38012d0d38400705d6780015006621..."} 
[2026-09-08 16:39:51] local.INFO: Packet analysis {"connection_id":177371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b4"} 
[2026-09-08 16:39:51] local.INFO: Extracted packet for processing {"connection_id":177371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b4"} 
[2026-09-08 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755841088,"raw_latitude":117823096,"longitude_deg":75.5841088,"latitude_deg":11.7823096,"altitude":21,"angle":102,"satellites":33,"speed":17,"hex_longitude":"2d0d3840","hex_latitude":"0705d678","is_valid_coordinates":true} 
[2026-09-08 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949614080001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30797750190735360,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950611395258789888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788865683000,"timestamp_ms":1788865683000,"timestamp_seconds":1788865683,"priority":1,"record_length":96,"hex_timestamp":"000001a080b41e38"} 
[2026-09-08 16:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 16:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949614080001,"66":14428,"220":206,"94":10240,"24":17,"16":30797750190735360,"45":950611395258789888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 16:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949614080001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:39:51] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 16:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30797750190735360,"km_value":30797750190735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":950611395258789888,"description":"Unknown IO ID 45"} 
[2026-09-08 16:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949614080001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":950611395258789888}} 
[2026-09-08 16:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":177371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:39:51] local.INFO: GPS data processed {"connection_id":177371,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:39:51] local.INFO: Acknowledgment sent {"connection_id":177371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:40:00] local.INFO: TCP Data received {"connection_id":174566,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:40:00] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:40:00] local.INFO: IMEI packet received {"connection_id":174566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":174566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:40:06] local.INFO: TCP Data received {"connection_id":174566,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:40:06] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:40:06] local.INFO: IMEI packet received {"connection_id":174566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":174566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:40:07] local.INFO: TCP Data received {"connection_id":174566,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b1f388012d196780071fed78003a011f27..."} 
[2026-09-08 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b1f388012d196780071fed78003a011f27..."} 
[2026-09-08 16:40:07] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b1f388012d196780071fed78003a011f27..."} 
[2026-09-08 16:40:07] local.INFO: Packet analysis {"connection_id":174566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:40:07] local.INFO: Extracted packet for processing {"connection_id":174566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b1"} 
[2026-09-08 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949573120001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40: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-09-08 16:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865541000,"timestamp_ms":1788865541000,"timestamp_seconds":1788865541,"priority":1,"record_length":96,"hex_timestamp":"000001a080b1f388"} 
[2026-09-08 16:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949573120001,"66":12385,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949573120001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949573120001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":174566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:40:07] local.INFO: GPS data processed {"connection_id":174566,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:40:07] local.INFO: Acknowledgment sent {"connection_id":174566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:40:09] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:09] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:09] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:40:09] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:09] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:09] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:40:14] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:14] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:40:14] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:40:16] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b57210012d7aee8005e397900009015822..."} 
[2026-09-08 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b57210012d7aee8005e397900009015822..."} 
[2026-09-08 16:40:16] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b57210012d7aee8005e397900009015822..."} 
[2026-09-08 16:40:16] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:16] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":98801552,"longitude_deg":76.3031168,"latitude_deg":9.8801552,"altitude":9,"angle":344,"satellites":34,"speed":17,"hex_longitude":"2d7aee80","hex_latitude":"05e39790","is_valid_coordinates":true} 
[2026-09-08 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949631744001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129965199275851776,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860832292142561280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865770000,"timestamp_ms":1788865770000,"timestamp_seconds":1788865770,"priority":1,"record_length":96,"hex_timestamp":"000001a080b57210"} 
[2026-09-08 16:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 16:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949631744001,"66":13656,"208":206,"85":15104,"24":17,"16":129965199275851776,"45":8860832292142561280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949631744001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:40:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129965199275851776,"km_value":129965199275851.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860832292142561280,"description":"Unknown IO ID 45"} 
[2026-09-08 16:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949631744001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8860832292142561280}} 
[2026-09-08 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:40:16] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:40:16] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:40:18] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:18] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:18] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:40:19] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:19] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:19] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:40:24] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:24] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:40:24] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:40:25] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b581b0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b581b0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:40:25] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b581b0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:40:25] local.INFO: Packet analysis {"connection_id":174845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:25] local.INFO: Extracted packet for processing {"connection_id":174845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":32,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949632768001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788865774000,"timestamp_ms":1788865774000,"timestamp_seconds":1788865774,"priority":1,"record_length":96,"hex_timestamp":"000001a080b581b0"} 
[2026-09-08 16:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 16:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949632768001,"66":14548,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949632768001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:40:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:40:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949632768001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":174845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:40:25] local.INFO: GPS data processed {"connection_id":174845,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:40:25] local.INFO: Acknowledgment sent {"connection_id":174845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:40:29] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b5d3b8012d0d3d800705bd08001400a122..."} 
[2026-09-08 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b5d3b8012d0d3d800705bd08001400a122..."} 
[2026-09-08 16:40:29] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b5d3b8012d0d3d800705bd08001400a122..."} 
[2026-09-08 16:40:29] local.INFO: Packet analysis {"connection_id":174845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:29] local.INFO: Extracted packet for processing {"connection_id":174845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:29] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949638144001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788865795000,"timestamp_ms":1788865795000,"timestamp_seconds":1788865795,"priority":1,"record_length":96,"hex_timestamp":"000001a080b5d3b8"} 
[2026-09-08 16:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949638144001,"66":14461,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949638144001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:40:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:40:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949638144001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":174845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:40:30] local.INFO: GPS data processed {"connection_id":174845,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:40:30] local.INFO: Acknowledgment sent {"connection_id":174845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:40:38] local.INFO: TCP Data received {"connection_id":174566,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b24590012d196780071fed78003a011f29..."} 
[2026-09-08 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b24590012d196780071fed78003a011f29..."} 
[2026-09-08 16:40:38] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b24590012d196780071fed78003a011f29..."} 
[2026-09-08 16:40:38] local.INFO: Packet analysis {"connection_id":174566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:40:38] local.INFO: Extracted packet for processing {"connection_id":174566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949578496001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40: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-09-08 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788865562000,"timestamp_ms":1788865562000,"timestamp_seconds":1788865562,"priority":1,"record_length":96,"hex_timestamp":"000001a080b24590"} 
[2026-09-08 16:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 16:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949578496001,"66":12406,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949578496001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949578496001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":174566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:40:38] local.INFO: GPS data processed {"connection_id":174566,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:40:38] local.INFO: Acknowledgment sent {"connection_id":174566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:40:51] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b5a8c0012d7ae3c005e3ba58000b015622..."} 
[2026-09-08 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b5a8c0012d7ae3c005e3ba58000b015622..."} 
[2026-09-08 16:40:51] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b5a8c0012d7ae3c005e3ba58000b015622..."} 
[2026-09-08 16:40:51] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:51] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763028416,"raw_latitude":98810456,"longitude_deg":76.3028416,"latitude_deg":9.8810456,"altitude":11,"angle":342,"satellites":34,"speed":28,"hex_longitude":"2d7ae3c0","hex_latitude":"05e3ba58","is_valid_coordinates":true} 
[2026-09-08 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949637120001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129965650247417856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279865896960,"note":"Value kept but may cause issues"} 
[2026-09-08 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788865784000,"timestamp_ms":1788865784000,"timestamp_seconds":1788865784,"priority":1,"record_length":96,"hex_timestamp":"000001a080b5a8c0"} 
[2026-09-08 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 16:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949637120001,"66":13602,"208":206,"85":15104,"24":28,"16":129965650247417856,"45":8858158279865896960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949637120001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:40:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129965650247417856,"km_value":129965650247417.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279865896960,"description":"Unknown IO ID 45"} 
[2026-09-08 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949637120001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8858158279865896960}} 
[2026-09-08 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:40:51] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:40:51] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:41:00] local.INFO: TCP Data received {"connection_id":177373,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:41:00] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:41:00] local.INFO: IMEI packet received {"connection_id":177373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":177373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:41:06] local.INFO: TCP Data received {"connection_id":177373,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:41:06] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:41:06] local.INFO: IMEI packet received {"connection_id":177373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":177373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:41:07] local.INFO: TCP Data received {"connection_id":177373,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b29798012d196780071fed78003a011f28..."} 
[2026-09-08 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b29798012d196780071fed78003a011f28..."} 
[2026-09-08 16:41:07] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b29798012d196780071fed78003a011f28..."} 
[2026-09-08 16:41:07] local.INFO: Packet analysis {"connection_id":177373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:41:07] local.INFO: Extracted packet for processing {"connection_id":177373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b2"} 
[2026-09-08 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949583872001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41: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-09-08 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865583000,"timestamp_ms":1788865583000,"timestamp_seconds":1788865583,"priority":1,"record_length":96,"hex_timestamp":"000001a080b29798"} 
[2026-09-08 16:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 16:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949583872001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949583872001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949583872001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":177373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:41:07] local.INFO: GPS data processed {"connection_id":177373,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:41:07] local.INFO: Acknowledgment sent {"connection_id":177373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:41:08] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:41:08] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:41:08] local.INFO: IMEI packet received {"connection_id":177374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":177374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:41:14] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:41:14] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:41:14] local.INFO: IMEI packet received {"connection_id":177374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":177374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:41:14] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:41:14] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:41:14] local.INFO: IMEI packet received {"connection_id":174846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":174846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:41:16] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b5d7a0012d7ad98005e3dd40000a015922..."} 
[2026-09-08 16:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b5d7a0012d7ad98005e3dd40000a015922..."} 
[2026-09-08 16:41:16] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b5d7a0012d7ad98005e3dd40000a015922..."} 
[2026-09-08 16:41:16] local.INFO: Packet analysis {"connection_id":177374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:41:16] local.INFO: Extracted packet for processing {"connection_id":177374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b5"} 
[2026-09-08 16:41:16] local.INFO: GPS Element Parsed {"raw_longitude":763025792,"raw_latitude":98819392,"longitude_deg":76.3025792,"latitude_deg":9.8819392,"altitude":10,"angle":345,"satellites":34,"speed":32,"hex_longitude":"2d7ad980","hex_latitude":"05e3dd40","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949640704001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129966101218983936,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855132423868536832,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788865796000,"timestamp_ms":1788865796000,"timestamp_seconds":1788865796,"priority":1,"record_length":96,"hex_timestamp":"000001a080b5d7a0"} 
[2026-09-08 16:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-08 16:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949640704001,"66":13820,"208":206,"85":15104,"24":32,"16":129966101218983936,"45":8855132423868536832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 16:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949640704001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:41:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 16:41:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 16:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129966101218983936,"km_value":129966101218983.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855132423868536832,"description":"Unknown IO ID 45"} 
[2026-09-08 16:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949640704001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8855132423868536832}} 
[2026-09-08 16:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":177374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:41:16] local.INFO: GPS data processed {"connection_id":177374,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:41:16] local.INFO: Acknowledgment sent {"connection_id":177374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:41:19] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:41:19] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:41:19] local.INFO: IMEI packet received {"connection_id":174846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":174846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:41:19] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b625c0012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b625c0012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:41:19] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b625c0012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:41:19] local.INFO: Packet analysis {"connection_id":174846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:41:19] local.INFO: Extracted packet for processing {"connection_id":174846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":33,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949643520001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865816000,"timestamp_ms":1788865816000,"timestamp_seconds":1788865816,"priority":1,"record_length":96,"hex_timestamp":"000001a080b625c0"} 
[2026-09-08 16:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 16:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949643520001,"66":14439,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949643520001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:41:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:41:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949643520001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":174846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:41:20] local.INFO: GPS data processed {"connection_id":174846,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:41:20] local.INFO: Acknowledgment sent {"connection_id":174846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:41:39] local.INFO: TCP Data received {"connection_id":177373,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b61df0012d196780071fed78003a011f28..."} 
[2026-09-08 16:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b61df0012d196780071fed78003a011f28..."} 
[2026-09-08 16:41:39] local.INFO: Processing buffer {"connection_id":177373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b61df0012d196780071fed78003a011f28..."} 
[2026-09-08 16:41:39] local.INFO: Packet analysis {"connection_id":177373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:41:39] local.INFO: Extracted packet for processing {"connection_id":177373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949643008001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41: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-09-08 16:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788865814000,"timestamp_ms":1788865814000,"timestamp_seconds":1788865814,"priority":1,"record_length":96,"hex_timestamp":"000001a080b61df0"} 
[2026-09-08 16:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949643008001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949643008001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:41:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949643008001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":177373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:41:40] local.INFO: GPS data processed {"connection_id":177373,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:41:40] local.INFO: Acknowledgment sent {"connection_id":177373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:41:49] local.INFO: TCP Data received {"connection_id":177374,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a080b73348012d7a2e8005e45b480010012621..."} 
[2026-09-08 16:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b73348012d7a2e8005e45b480010012621..."} 
[2026-09-08 16:41:49] local.INFO: Processing buffer {"connection_id":177374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b73348012d7a2e8005e45b480010012621..."} 
[2026-09-08 16:41:49] local.INFO: Packet analysis {"connection_id":177374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:41:49] local.INFO: Extracted packet for processing {"connection_id":177374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:41:49] local.INFO: GPS Element Parsed {"raw_longitude":762982016,"raw_latitude":98851656,"longitude_deg":76.2982016,"latitude_deg":9.8851656,"altitude":16,"angle":294,"satellites":33,"speed":16,"hex_longitude":"2d7a2e80","hex_latitude":"05e45b48","is_valid_coordinates":true} 
[2026-09-08 16:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949666304001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129969146350796800,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804537296815308800,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788865885000,"timestamp_ms":1788865885000,"timestamp_seconds":1788865885,"priority":1,"record_length":96,"hex_timestamp":"000001a080b73348"} 
[2026-09-08 16:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 16:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:41:49] 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-09-08 16:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949666304001,"66":13243,"39":206,"87":13824,"24":16,"16":129969146350796800,"45":8804537296815308800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949666304001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:41:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:41:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129969146350796800,"km_value":129969146350796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804537296815308800,"description":"Unknown IO ID 45"} 
[2026-09-08 16:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949666304001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8804537296815308800}} 
[2026-09-08 16:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":177374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:41:49] local.INFO: GPS data processed {"connection_id":177374,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:41:49] local.INFO: Acknowledgment sent {"connection_id":177374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:41:51] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b677c8012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b677c8012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:41:51] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b677c8012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:41:51] local.INFO: Packet analysis {"connection_id":174846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:41:51] local.INFO: Extracted packet for processing {"connection_id":174846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":32,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949648896001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788865837000,"timestamp_ms":1788865837000,"timestamp_seconds":1788865837,"priority":1,"record_length":96,"hex_timestamp":"000001a080b677c8"} 
[2026-09-08 16:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949648896001,"66":14548,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949648896001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:41:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949648896001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":174846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:41:51] local.INFO: GPS data processed {"connection_id":174846,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:41:51] local.INFO: Acknowledgment sent {"connection_id":174846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:42:00] local.INFO: TCP Data received {"connection_id":177376,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:42:00] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:42:00] local.INFO: IMEI packet received {"connection_id":177376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":177376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:42:06] local.INFO: TCP Data received {"connection_id":177376,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:42:06] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:42:06] local.INFO: IMEI packet received {"connection_id":177376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":177376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:42:07] local.INFO: TCP Data received {"connection_id":177376,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b66ff8012d196780071fed78003a011f29..."} 
[2026-09-08 16:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b66ff8012d196780071fed78003a011f29..."} 
[2026-09-08 16:42:07] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b66ff8012d196780071fed78003a011f29..."} 
[2026-09-08 16:42:07] local.INFO: Packet analysis {"connection_id":177376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:42:07] local.INFO: Extracted packet for processing {"connection_id":177376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949648384001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42: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-09-08 16:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865835000,"timestamp_ms":1788865835000,"timestamp_seconds":1788865835,"priority":1,"record_length":96,"hex_timestamp":"000001a080b66ff8"} 
[2026-09-08 16:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949648384001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949648384001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949648384001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":177376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:42:07] local.INFO: GPS data processed {"connection_id":177376,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:42:07] local.INFO: Acknowledgment sent {"connection_id":177376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:42:14] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:42:14] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:42:14] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:42:19] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:42:19] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:42:19] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:42:19] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b6c9d0012d0d3d800705bd08001400a11f..."} 
[2026-09-08 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b6c9d0012d0d3d800705bd08001400a11f..."} 
[2026-09-08 16:42:19] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b6c9d0012d0d3d800705bd08001400a11f..."} 
[2026-09-08 16:42:19] local.INFO: Packet analysis {"connection_id":174570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:42:19] local.INFO: Extracted packet for processing {"connection_id":174570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:42:19] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":31,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949654272001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865858000,"timestamp_ms":1788865858000,"timestamp_seconds":1788865858,"priority":1,"record_length":96,"hex_timestamp":"000001a080b6c9d0"} 
[2026-09-08 16:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 16:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949654272001,"66":13722,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949654272001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:42:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:42:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949654272001,"power":13722,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":174570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:42:20] local.INFO: GPS data processed {"connection_id":174570,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:42:20] local.INFO: Acknowledgment sent {"connection_id":174570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:42:24] local.INFO: TCP Data received {"connection_id":177377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:42:24] local.INFO: Processing buffer {"connection_id":177377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:42:24] local.INFO: IMEI packet received {"connection_id":177377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":177377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:42:25] local.INFO: TCP Data received {"connection_id":177377,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177377,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 16:42:25] local.INFO: Processing buffer {"connection_id":177377,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-08 16:42:25] local.INFO: IMEI packet received {"connection_id":177377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":177377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:42:39] local.INFO: TCP Data received {"connection_id":177376,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b6c200012d196780071fed78003a011f29..."} 
[2026-09-08 16:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b6c200012d196780071fed78003a011f29..."} 
[2026-09-08 16:42:39] local.INFO: Processing buffer {"connection_id":177376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b6c200012d196780071fed78003a011f29..."} 
[2026-09-08 16:42:39] local.INFO: Packet analysis {"connection_id":177376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:42:39] local.INFO: Extracted packet for processing {"connection_id":177376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949653760001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42: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-09-08 16:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788865856000,"timestamp_ms":1788865856000,"timestamp_seconds":1788865856,"priority":1,"record_length":96,"hex_timestamp":"000001a080b6c200"} 
[2026-09-08 16:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949653760001,"66":12439,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949653760001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:42:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:42:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949653760001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":177376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:42:40] local.INFO: GPS data processed {"connection_id":177376,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:42:40] local.INFO: Acknowledgment sent {"connection_id":177376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:42:44] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:42:44] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:42:44] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:42:51] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b71bd8012d0d3d800705bd08001400a11f..."} 
[2026-09-08 16:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b71bd8012d0d3d800705bd08001400a11f..."} 
[2026-09-08 16:42:51] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b71bd8012d0d3d800705bd08001400a11f..."} 
[2026-09-08 16:42:51] local.INFO: Packet analysis {"connection_id":174570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:42:51] local.INFO: Extracted packet for processing {"connection_id":174570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":31,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949659648001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788865879000,"timestamp_ms":1788865879000,"timestamp_seconds":1788865879,"priority":1,"record_length":96,"hex_timestamp":"000001a080b71bd8"} 
[2026-09-08 16:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 16:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949659648001,"66":14407,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949659648001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:42:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949659648001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":174570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:42:51] local.INFO: GPS data processed {"connection_id":174570,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:42:51] local.INFO: Acknowledgment sent {"connection_id":174570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:43:00] local.INFO: TCP Data received {"connection_id":174848,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:43:00] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:43:00] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:43:06] local.INFO: TCP Data received {"connection_id":174848,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:43:06] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:43:06] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:43:07] local.INFO: TCP Data received {"connection_id":174848,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b71408012d196780071fed78003a011f29..."} 
[2026-09-08 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b71408012d196780071fed78003a011f29..."} 
[2026-09-08 16:43:07] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b71408012d196780071fed78003a011f29..."} 
[2026-09-08 16:43:07] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:07] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949659136001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43: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-09-08 16:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788865877000,"timestamp_ms":1788865877000,"timestamp_seconds":1788865877,"priority":1,"record_length":96,"hex_timestamp":"000001a080b71408"} 
[2026-09-08 16:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 16:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949659136001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949659136001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:43:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949659136001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:43:07] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:43:07] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:43:14] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:43:14] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:43:14] local.INFO: IMEI packet received {"connection_id":175900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":175900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:43:19] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:43:19] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:43:19] local.INFO: IMEI packet received {"connection_id":175900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":175900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:43:20] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b76de0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b76de0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:43:20] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b76de0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:43:20] local.INFO: Packet analysis {"connection_id":175900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:20] local.INFO: Extracted packet for processing {"connection_id":175900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:20] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":32,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949665024001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865900000,"timestamp_ms":1788865900000,"timestamp_seconds":1788865900,"priority":1,"record_length":96,"hex_timestamp":"000001a080b76de0"} 
[2026-09-08 16:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 16:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949665024001,"66":14352,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949665024001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:43:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:43:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949665024001,"power":14352,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":175900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784579,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:43:20] local.INFO: GPS data processed {"connection_id":175900,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:43:20] local.INFO: Acknowledgment sent {"connection_id":175900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:43:39] local.INFO: TCP Data received {"connection_id":174848,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b76610012d196780071fed78003a011f28..."} 
[2026-09-08 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b76610012d196780071fed78003a011f28..."} 
[2026-09-08 16:43:39] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b76610012d196780071fed78003a011f28..."} 
[2026-09-08 16:43:39] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:39] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949664512001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43: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-09-08 16:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788865898000,"timestamp_ms":1788865898000,"timestamp_seconds":1788865898,"priority":1,"record_length":96,"hex_timestamp":"000001a080b76610"} 
[2026-09-08 16:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949664512001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949664512001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949664512001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:43:39] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:43:39] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:43:50] local.INFO: TCP Data received {"connection_id":175900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b7bfe8012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b7bfe8012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:43:50] local.INFO: Processing buffer {"connection_id":175900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b7bfe8012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:43:50] local.INFO: Packet analysis {"connection_id":175900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:50] local.INFO: Extracted packet for processing {"connection_id":175900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":33,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949670400001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865921000,"timestamp_ms":1788865921000,"timestamp_seconds":1788865921,"priority":1,"record_length":96,"hex_timestamp":"000001a080b7bfe8"} 
[2026-09-08 16:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2159378864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3055927297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504069569183744,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3171418132,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091636647,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3087084813,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147943869,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":8,"raw_value":5630191577595904,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84738525782017469,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4431549754560217108,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,167,94,24,241,157,16,106,160,27,45,128,189,20,31,10,66,201,119,1,240,212,227,5,4,113,205,211,61,8,34,239,56,2,109,7,206,168,13],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0}]} 
[2026-09-08 16:43:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441329039569584128,"timestamp_seconds":1441329039569584.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949670400001,"66":14309,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949670400001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:43:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:43:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949670400001,"power":14309,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":175900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:43:51] local.INFO: GPS data processed {"connection_id":175900,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:43:51] local.INFO: Acknowledgment sent {"connection_id":175900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:43:57] local.INFO: TCP Data received {"connection_id":175901,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:43:57] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:43:57] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:43:59] local.INFO: TCP Data received {"connection_id":175901,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b68768012d55f080067b28d8002000492c..."} 
[2026-09-08 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b68768012d55f080067b28d8002000492c..."} 
[2026-09-08 16:43:59] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b68768012d55f080067b28d8002000492c..."} 
[2026-09-08 16:43:59] local.INFO: Packet analysis {"connection_id":175901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:43:59] local.INFO: Extracted packet for processing {"connection_id":175901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:43:59] local.INFO: GPS Element Parsed {"raw_longitude":760606848,"raw_latitude":108734680,"longitude_deg":76.0606848,"latitude_deg":10.873468,"altitude":32,"angle":73,"satellites":44,"speed":46,"hex_longitude":"2d55f080","hex_latitude":"067b28d8","is_valid_coordinates":true} 
[2026-09-08 16:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949653248001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402889377136508928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182527522540783616,"note":"Value kept but may cause issues"} 
[2026-09-08 16:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788865841000,"timestamp_ms":1788865841000,"timestamp_seconds":1788865841,"priority":1,"record_length":96,"hex_timestamp":"000001a080b68768"} 
[2026-09-08 16:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-08 16:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949653248001,"66":27865,"15":206,"19":47872,"24":46,"16":402889377136508928,"45":6182527522540783616},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 16:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949653248001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:43:59] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 16:43:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402889377136508928,"km_value":402889377136508.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182527522540783616,"description":"Unknown IO ID 45"} 
[2026-09-08 16:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949653248001,"power":27865,"unknown_15":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6182527522540783616}} 
[2026-09-08 16:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":175901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:43:59] local.INFO: GPS data processed {"connection_id":175901,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:43:59] local.INFO: Acknowledgment sent {"connection_id":175901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:44:06] local.INFO: TCP Data received {"connection_id":174572,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:44:06] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:44:06] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:44:11] local.INFO: TCP Data received {"connection_id":174572,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:44:11] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:44:11] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:44:12] local.INFO: TCP Data received {"connection_id":174572,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b7b818012d196780071fed78003a011f29..."} 
[2026-09-08 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b7b818012d196780071fed78003a011f29..."} 
[2026-09-08 16:44:12] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b7b818012d196780071fed78003a011f29..."} 
[2026-09-08 16:44:12] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:44:12] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949669888001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44: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-09-08 16:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788865919000,"timestamp_ms":1788865919000,"timestamp_seconds":1788865919,"priority":1,"record_length":96,"hex_timestamp":"000001a080b7b818"} 
[2026-09-08 16:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949669888001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949669888001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:44:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949669888001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:44:12] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:44:12] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:44:13] local.INFO: TCP Data received {"connection_id":174572,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b80a20012d196780071fed78003a011f28..."} 
[2026-09-08 16:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b80a20012d196780071fed78003a011f28..."} 
[2026-09-08 16:44:13] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b80a20012d196780071fed78003a011f28..."} 
[2026-09-08 16:44:13] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:13] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949675264001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44: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-09-08 16:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788865940000,"timestamp_ms":1788865940000,"timestamp_seconds":1788865940,"priority":1,"record_length":96,"hex_timestamp":"000001a080b80a20"} 
[2026-09-08 16:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949675264001,"66":12428,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949675264001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:44:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:44:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949675264001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:44:13] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:44:13] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:44:14] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:44:14] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:44:14] local.INFO: IMEI packet received {"connection_id":174849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":174849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:44:19] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:44:19] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:44:19] local.INFO: IMEI packet received {"connection_id":174849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":174849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:44:19] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b811f0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b811f0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:44:19] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b811f0012d0d3d800705bd08001400a120..."} 
[2026-09-08 16:44:19] local.INFO: Packet analysis {"connection_id":174849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:19] local.INFO: Extracted packet for processing {"connection_id":174849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:19] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":32,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949675776001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865942000,"timestamp_ms":1788865942000,"timestamp_seconds":1788865942,"priority":1,"record_length":96,"hex_timestamp":"000001a080b811f0"} 
[2026-09-08 16:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-08 16:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949675776001,"66":14439,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949675776001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:44:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:44:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949675776001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":174849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:44:20] local.INFO: GPS data processed {"connection_id":174849,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:44:20] local.INFO: Acknowledgment sent {"connection_id":174849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:44:41] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:44:41] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:44:41] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:44:45] local.INFO: TCP Data received {"connection_id":174572,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b85c28012d196780071fed78003a011f26..."} 
[2026-09-08 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b85c28012d196780071fed78003a011f26..."} 
[2026-09-08 16:44:45] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b85c28012d196780071fed78003a011f26..."} 
[2026-09-08 16:44:45] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:45] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532920,"longitude_deg":75.6639616,"latitude_deg":11.953292,"altitude":58,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-09-08 16:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949680640001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18713666429911040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638178816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44: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-09-08 16:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788865961000,"timestamp_ms":1788865961000,"timestamp_seconds":1788865961,"priority":1,"record_length":96,"hex_timestamp":"000001a080b85c28"} 
[2026-09-08 16:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-08 16:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949680640001,"66":14048,"121":206,"28":31744,"24":0,"16":18713666429911040,"45":1830572541638178816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949680640001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:44:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18713666429911040,"km_value":18713666429911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638178816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949680640001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638178816}} 
[2026-09-08 16:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:44:45] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:44:45] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:44:47] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:44:47] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:44:47] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:44:49] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b6aa90012d561540067b3340001f00492d..."} 
[2026-09-08 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b6aa90012d561540067b3340001f00492d..."} 
[2026-09-08 16:44:49] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b6aa90012d561540067b3340001f00492d..."} 
[2026-09-08 16:44:49] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:44:49] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":760616256,"raw_latitude":108737344,"longitude_deg":76.0616256,"latitude_deg":10.8737344,"altitude":31,"angle":73,"satellites":45,"speed":37,"hex_longitude":"2d561540","hex_latitude":"067b3340","is_valid_coordinates":true} 
[2026-09-08 16:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949655296001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402889840992976896,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6192590252958865408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788865850000,"timestamp_ms":1788865850000,"timestamp_seconds":1788865850,"priority":1,"record_length":96,"hex_timestamp":"000001a080b6aa90"} 
[2026-09-08 16:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 16:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949655296001,"66":27767,"15":206,"19":47872,"24":37,"16":402889840992976896,"45":6192590252958865408},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 16:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949655296001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:44:49] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 16:44:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402889840992976896,"km_value":402889840992976.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6192590252958865408,"description":"Unknown IO ID 45"} 
[2026-09-08 16:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949655296001,"power":27767,"unknown_15":206,"unknown_19":47872,"ignition":37,"odometer":null,"unknown_45":6192590252958865408}} 
[2026-09-08 16:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:44:49] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:44:49] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:44:50] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b863f8012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b863f8012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:44:50] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b863f8012d0d3d800705bd08001400a121..."} 
[2026-09-08 16:44:50] local.INFO: Packet analysis {"connection_id":174849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:50] local.INFO: Extracted packet for processing {"connection_id":174849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":33,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949681152001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865963000,"timestamp_ms":1788865963000,"timestamp_seconds":1788865963,"priority":1,"record_length":96,"hex_timestamp":"000001a080b863f8"} 
[2026-09-08 16:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174849,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949681152001,"66":14439,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949681152001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:44:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:44:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949681152001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":174849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:44:50] local.INFO: GPS data processed {"connection_id":174849,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:44:50] local.INFO: Acknowledgment sent {"connection_id":174849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:45:08] local.INFO: TCP Data received {"connection_id":177379,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:08] local.INFO: Processing buffer {"connection_id":177379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:08] local.INFO: IMEI packet received {"connection_id":177379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":177379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:45:09] local.INFO: TCP Data received {"connection_id":177379,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:09] local.INFO: Processing buffer {"connection_id":177379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:09] local.INFO: IMEI packet received {"connection_id":177379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":177379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:45:10] local.INFO: TCP Data received {"connection_id":177379,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:10] local.INFO: Processing buffer {"connection_id":177379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:45:10] local.INFO: IMEI packet received {"connection_id":177379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":177379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:45:11] local.INFO: TCP Data received {"connection_id":177379,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b9c388012d198280071ff040003e004828..."} 
[2026-09-08 16:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b9c388012d198280071ff040003e004828..."} 
[2026-09-08 16:45:11] local.INFO: Processing buffer {"connection_id":177379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b9c388012d198280071ff040003e004828..."} 
[2026-09-08 16:45:11] local.INFO: Packet analysis {"connection_id":177379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:45:11] local.INFO: Extracted packet for processing {"connection_id":177379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119533632,"longitude_deg":75.6646528,"latitude_deg":11.9533632,"altitude":62,"angle":72,"satellites":40,"speed":15,"hex_longitude":"2d198280","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-08 16:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949709312001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18714040092065792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837750153544450048,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45: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-09-08 16:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788866053000,"timestamp_ms":1788866053000,"timestamp_seconds":1788866053,"priority":1,"record_length":96,"hex_timestamp":"000001a080b9c388"} 
[2026-09-08 16:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 16:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949709312001,"66":14157,"121":206,"28":31744,"24":15,"16":18714040092065792,"45":1837750153544450048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949709312001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:45:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18714040092065792,"km_value":18714040092065.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837750153544450048,"description":"Unknown IO ID 45"} 
[2026-09-08 16:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949709312001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1837750153544450048}} 
[2026-09-08 16:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":177379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:45:11] local.INFO: GPS data processed {"connection_id":177379,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:45:11] local.INFO: Acknowledgment sent {"connection_id":177379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:45:14] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:45:14] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:45:14] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:45:16] local.INFO: TCP Data received {"connection_id":177379,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080b9cb58012d198540071ff0b8003e005728..."} 
[2026-09-08 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b9cb58012d198540071ff0b8003e005728..."} 
[2026-09-08 16:45:16] local.INFO: Processing buffer {"connection_id":177379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b9cb58012d198540071ff0b8003e005728..."} 
[2026-09-08 16:45:16] local.INFO: Packet analysis {"connection_id":177379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:45:16] local.INFO: Extracted packet for processing {"connection_id":177379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533752,"longitude_deg":75.6647232,"latitude_deg":11.9533752,"altitude":62,"angle":87,"satellites":40,"speed":16,"hex_longitude":"2d198540","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-09-08 16:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949709568001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18714074451804160,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366009548800,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:16] 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-09-08 16:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788866055000,"timestamp_ms":1788866055000,"timestamp_seconds":1788866055,"priority":1,"record_length":96,"hex_timestamp":"000001a080b9cb58"} 
[2026-09-08 16:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-08 16:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949709568001,"66":12928,"121":206,"28":31744,"24":16,"16":18714074451804160,"45":1838172366009548800},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949709568001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:45:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18714074451804160,"km_value":18714074451804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366009548800,"description":"Unknown IO ID 45"} 
[2026-09-08 16:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949709568001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1838172366009548800}} 
[2026-09-08 16:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":177379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:45:16] local.INFO: GPS data processed {"connection_id":177379,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:45:16] local.INFO: Acknowledgment sent {"connection_id":177379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:45:19] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:45:19] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:45:19] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:45:20] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080b8b600012d0d3d800705bd08001400a122..."} 
[2026-09-08 16:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b8b600012d0d3d800705bd08001400a122..."} 
[2026-09-08 16:45:20] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b8b600012d0d3d800705bd08001400a122..."} 
[2026-09-08 16:45:20] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:45:20] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:45:20] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816584,"longitude_deg":75.5842432,"latitude_deg":11.7816584,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d0d3d80","hex_latitude":"0705bd08","is_valid_coordinates":true} 
[2026-09-08 16:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949686528001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798106673020928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721814016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865984000,"timestamp_ms":1788865984000,"timestamp_seconds":1788865984,"priority":1,"record_length":96,"hex_timestamp":"000001a080b8b600"} 
[2026-09-08 16:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949686528001,"66":14428,"167":206,"94":11008,"24":0,"16":30798106673020928,"45":954059463721814016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949686528001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:45:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:45:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798106673020928,"km_value":30798106673020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721814016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949686528001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721814016}} 
[2026-09-08 16:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:45:20] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:45:20] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:45:22] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b6fc98012d563480067b3c600021004a2f..."} 
[2026-09-08 16:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b6fc98012d563480067b3c600021004a2f..."} 
[2026-09-08 16:45:22] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b6fc98012d563480067b3c600021004a2f..."} 
[2026-09-08 16:45:22] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:45:22] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b6"} 
[2026-09-08 16:45:22] local.INFO: GPS Element Parsed {"raw_longitude":760624256,"raw_latitude":108739680,"longitude_deg":76.0624256,"latitude_deg":10.873968,"altitude":33,"angle":74,"satellites":47,"speed":18,"hex_longitude":"2d563480","hex_latitude":"067b3c60","is_valid_coordinates":true} 
[2026-09-08 16:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949657600001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402890240424935424,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6202934458353664000,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788865871000,"timestamp_ms":1788865871000,"timestamp_seconds":1788865871,"priority":1,"record_length":96,"hex_timestamp":"000001a080b6fc98"} 
[2026-09-08 16:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949657600001,"66":27691,"15":206,"19":47872,"24":18,"16":402890240424935424,"45":6202934458353664000},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 16:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949657600001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:45:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 16:45:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402890240424935424,"km_value":402890240424935.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6202934458353664000,"description":"Unknown IO ID 45"} 
[2026-09-08 16:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949657600001,"power":27691,"unknown_15":206,"unknown_19":47872,"ignition":18,"odometer":null,"unknown_45":6202934458353664000}} 
[2026-09-08 16:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:45:22] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:45:22] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:45:41] local.INFO: TCP Data received {"connection_id":175903,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:45:41] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:45:41] local.INFO: IMEI packet received {"connection_id":175903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":175903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:45:47] local.INFO: TCP Data received {"connection_id":175903,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:45:47] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:45:47] local.INFO: IMEI packet received {"connection_id":175903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":175903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:45:48] local.INFO: TCP Data received {"connection_id":175903,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b73348012d565880067b46e0002300482e..."} 
[2026-09-08 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b73348012d565880067b46e0002300482e..."} 
[2026-09-08 16:45:48] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b73348012d565880067b46e0002300482e..."} 
[2026-09-08 16:45:48] local.INFO: Packet analysis {"connection_id":175903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:45:48] local.INFO: Extracted packet for processing {"connection_id":175903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:45:48] local.INFO: GPS Element Parsed {"raw_longitude":760633472,"raw_latitude":108742368,"longitude_deg":76.0633472,"latitude_deg":10.8742368,"altitude":35,"angle":72,"satellites":46,"speed":31,"hex_longitude":"2d565880","hex_latitude":"067b46e0","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949662976001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402890695691468800,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6211730551376470016,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865885000,"timestamp_ms":1788865885000,"timestamp_seconds":1788865885,"priority":1,"record_length":96,"hex_timestamp":"000001a080b73348"} 
[2026-09-08 16:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 16:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949662976001,"66":27832,"15":206,"19":47872,"24":31,"16":402890695691468800,"45":6211730551376470016},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-09-08 16:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949662976001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:45:48] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-08 16:45:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402890695691468800,"km_value":402890695691468.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6211730551376470016,"description":"Unknown IO ID 45"} 
[2026-09-08 16:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949662976001,"power":27832,"unknown_15":206,"unknown_19":47872,"ignition":31,"odometer":null,"unknown_45":6211730551376470016}} 
[2026-09-08 16:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":175903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:45:48] local.INFO: GPS data processed {"connection_id":175903,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:45:48] local.INFO: Acknowledgment sent {"connection_id":175903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:45:51] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bb2318012d0d3d000705be500014012120..."} 
[2026-09-08 16:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bb2318012d0d3d000705be500014012120..."} 
[2026-09-08 16:45:51] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bb2318012d0d3d000705be500014012120..."} 
[2026-09-08 16:45:51] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:45:51] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117816912,"longitude_deg":75.5842304,"latitude_deg":11.7816912,"altitude":20,"angle":289,"satellites":32,"speed":5,"hex_longitude":"2d0d3d00","hex_latitude":"0705be50","is_valid_coordinates":true} 
[2026-09-08 16:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949732352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798261291843584,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721891840,"note":"Value kept but may cause issues"} 
[2026-09-08 16:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788866143000,"timestamp_ms":1788866143000,"timestamp_seconds":1788866143,"priority":1,"record_length":96,"hex_timestamp":"000001a080bb2318"} 
[2026-09-08 16:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 16:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949732352001,"66":14352,"167":206,"94":11008,"24":5,"16":30798261291843584,"45":954059463721891840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949732352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:45:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:45:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798261291843584,"km_value":30798261291843.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721891840,"description":"Unknown IO ID 45"} 
[2026-09-08 16:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949732352001,"power":14352,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":954059463721891840}} 
[2026-09-08 16:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:45:51] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:45:51] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:46:00] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:00] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:00] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:46:00] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:00] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:00] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:46:01] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:01] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:01] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:46:04] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:04] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:46:04] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:46:14] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:14] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:14] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:46:18] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:18] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:18] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:46:19] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:19] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:46:19] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:46:19] local.INFO: TCP Data received {"connection_id":175903,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b76228012d567ac0067b5208002500432e..."} 
[2026-09-08 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b76228012d567ac0067b5208002500432e..."} 
[2026-09-08 16:46:19] local.INFO: Processing buffer {"connection_id":175903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b76228012d567ac0067b5208002500432e..."} 
[2026-09-08 16:46:19] local.INFO: Packet analysis {"connection_id":175903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:46:19] local.INFO: Extracted packet for processing {"connection_id":175903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":760642240,"raw_latitude":108745224,"longitude_deg":76.064224,"latitude_deg":10.8745224,"altitude":37,"angle":67,"satellites":46,"speed":34,"hex_longitude":"2d567ac0","hex_latitude":"067b5208","is_valid_coordinates":true} 
[2026-09-08 16:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949666560001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891138073100288,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6221863650538741760,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788865897000,"timestamp_ms":1788865897000,"timestamp_seconds":1788865897,"priority":1,"record_length":96,"hex_timestamp":"000001a080b76228"} 
[2026-09-08 16:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 16:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949666560001,"66":27615,"14":206,"19":47872,"24":34,"16":402891138073100288,"45":6221863650538741760},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949666560001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891138073100288,"km_value":402891138073100.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6221863650538741760,"description":"Unknown IO ID 45"} 
[2026-09-08 16:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949666560001,"power":27615,"unknown_14":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":6221863650538741760}} 
[2026-09-08 16:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":175903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:46:19] local.INFO: GPS data processed {"connection_id":175903,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:46:19] local.INFO: Acknowledgment sent {"connection_id":175903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:46:19] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bb2ae8012d0d3c400705bea00014012d22..."} 
[2026-09-08 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bb2ae8012d0d3c400705bea00014012d22..."} 
[2026-09-08 16:46:19] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bb2ae8012d0d3c400705bea00014012d22..."} 
[2026-09-08 16:46:19] local.INFO: Packet analysis {"connection_id":174853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:46:19] local.INFO: Extracted packet for processing {"connection_id":174853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":117816992,"longitude_deg":75.5842112,"latitude_deg":11.7816992,"altitude":20,"angle":301,"satellites":34,"speed":3,"hex_longitude":"2d0d3c40","hex_latitude":"0705bea0","is_valid_coordinates":true} 
[2026-09-08 16:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949732608001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798269881778176,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953918726233542656,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788866145000,"timestamp_ms":1788866145000,"timestamp_seconds":1788866145,"priority":1,"record_length":96,"hex_timestamp":"000001a080bb2ae8"} 
[2026-09-08 16:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2159698864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3134519297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504069570297856,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3156738068,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151143,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705443534,"corrected_to":0} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3623955725,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3741371749,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84738537593177532,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":5911718144247040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4629708138169761813,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,167,94,24,241,157,16,106,160,31,45,128,190,20,35,10,66,3,189,255,1,240,201,227,5,4,113,205,134,64,56,239,2,109,7,21,206,224,192,13],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1705443534,"validated":0}]} 
[2026-09-08 16:46:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441469777058267136,"timestamp_seconds":1441469777058267.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949732608001,"66":14450,"167":206,"94":11008,"24":3,"16":30798269881778176,"45":953918726233542656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949732608001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798269881778176,"km_value":30798269881778.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":953918726233542656,"description":"Unknown IO ID 45"} 
[2026-09-08 16:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949732608001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":953918726233542656}} 
[2026-09-08 16:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:46:20] local.INFO: GPS data processed {"connection_id":174853,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:46:20] local.INFO: Acknowledgment sent {"connection_id":174853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:46:20] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bb32b8012d0d3b800705bf280013013924..."} 
[2026-09-08 16:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bb32b8012d0d3b800705bf280013013924..."} 
[2026-09-08 16:46:20] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bb32b8012d0d3b800705bf280013013924..."} 
[2026-09-08 16:46:20] local.INFO: Packet analysis {"connection_id":174853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:46:20] local.INFO: Extracted packet for processing {"connection_id":174853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755841920,"raw_latitude":117817128,"longitude_deg":75.584192,"latitude_deg":11.7817128,"altitude":19,"angle":313,"satellites":36,"speed":5,"hex_longitude":"2d0d3b80","hex_latitude":"0705bf28","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949733120001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798282766680064,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953707620001030144,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788866147000,"timestamp_ms":1788866147000,"timestamp_seconds":1788866147,"priority":1,"record_length":96,"hex_timestamp":"000001a080bb32b8"} 
[2026-09-08 16:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949733120001,"66":14450,"167":206,"94":11008,"24":5,"16":30798282766680064,"45":953707620001030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949733120001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:46:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:46:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798282766680064,"km_value":30798282766680.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":953707620001030144,"description":"Unknown IO ID 45"} 
[2026-09-08 16:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949733120001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":953707620001030144}} 
[2026-09-08 16:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:46:20] local.INFO: GPS data processed {"connection_id":174853,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:46:20] local.INFO: Acknowledgment sent {"connection_id":174853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:46:41] local.INFO: TCP Data received {"connection_id":175904,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:46:41] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:46:41] local.INFO: IMEI packet received {"connection_id":175904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":175904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:46:47] local.INFO: TCP Data received {"connection_id":175904,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:46:47] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:46:47] local.INFO: IMEI packet received {"connection_id":175904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:46:48] local.INFO: TCP Data received {"connection_id":175904,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b76de0012d568400067b5610002400402e..."} 
[2026-09-08 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b76de0012d568400067b5610002400402e..."} 
[2026-09-08 16:46:48] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b76de0012d568400067b5610002400402e..."} 
[2026-09-08 16:46:48] local.INFO: Packet analysis {"connection_id":175904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:46:48] local.INFO: Extracted packet for processing {"connection_id":175904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:46:48] local.INFO: GPS Element Parsed {"raw_longitude":760644608,"raw_latitude":108746256,"longitude_deg":76.0644608,"latitude_deg":10.8746256,"altitude":36,"angle":64,"satellites":46,"speed":34,"hex_longitude":"2d568400","hex_latitude":"067b5610","is_valid_coordinates":true} 
[2026-09-08 16:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949669632001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891262627151872,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6231504168491812864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788865900000,"timestamp_ms":1788865900000,"timestamp_seconds":1788865900,"priority":1,"record_length":96,"hex_timestamp":"000001a080b76de0"} 
[2026-09-08 16:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 16:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949669632001,"66":27767,"14":206,"19":47872,"24":34,"16":402891262627151872,"45":6231504168491812864},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949669632001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:46:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:46:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891262627151872,"km_value":402891262627151.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6231504168491812864,"description":"Unknown IO ID 45"} 
[2026-09-08 16:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949669632001,"power":27767,"unknown_14":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":6231504168491812864}} 
[2026-09-08 16:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":175904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:46:48] local.INFO: GPS data processed {"connection_id":175904,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:46:48] local.INFO: Acknowledgment sent {"connection_id":175904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:46:51] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bb4258012d0d39400705c1980013015324..."} 
[2026-09-08 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bb4258012d0d39400705c1980013015324..."} 
[2026-09-08 16:46:51] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bb4258012d0d39400705c1980013015324..."} 
[2026-09-08 16:46:51] local.INFO: Packet analysis {"connection_id":174853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:46:51] local.INFO: Extracted packet for processing {"connection_id":174853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bb"} 
[2026-09-08 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117817752,"longitude_deg":75.5841344,"latitude_deg":11.7817752,"altitude":19,"angle":339,"satellites":36,"speed":10,"hex_longitude":"2d0d3940","hex_latitude":"0705c198","is_valid_coordinates":true} 
[2026-09-08 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949733632001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30798325716353024,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513768531968,"note":"Value kept but may cause issues"} 
[2026-09-08 16:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788866151000,"timestamp_ms":1788866151000,"timestamp_seconds":1788866151,"priority":1,"record_length":96,"hex_timestamp":"000001a080bb4258"} 
[2026-09-08 16:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949733632001,"66":14428,"167":206,"94":11008,"24":10,"16":30798325716353024,"45":953496513768531968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949733632001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:46:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30798325716353024,"km_value":30798325716353.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513768531968,"description":"Unknown IO ID 45"} 
[2026-09-08 16:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949733632001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953496513768531968}} 
[2026-09-08 16:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":174853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:46:51] local.INFO: GPS data processed {"connection_id":174853,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:46:51] local.INFO: Acknowledgment sent {"connection_id":174853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:47:08] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:47:08] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:47:08] local.INFO: IMEI packet received {"connection_id":175905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":175905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:47:13] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:47:13] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:47:13] local.INFO: IMEI packet received {"connection_id":175905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":175905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:47:14] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:47:14] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:47:14] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:47:15] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a080b78550012d7a224005e46aa0000800ba22..."} 
[2026-09-08 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b78550012d7a224005e46aa0000800ba22..."} 
[2026-09-08 16:47:15] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b78550012d7a224005e46aa0000800ba22..."} 
[2026-09-08 16:47:15] local.INFO: Packet analysis {"connection_id":175905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:47:15] local.INFO: Extracted packet for processing {"connection_id":175905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855584,"longitude_deg":76.297888,"latitude_deg":9.8855584,"altitude":8,"angle":186,"satellites":34,"speed":6,"hex_longitude":"2d7a2240","hex_latitude":"05e46aa0","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949667072001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129969451293474816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803481765652826112,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788865906000,"timestamp_ms":1788865906000,"timestamp_seconds":1788865906,"priority":1,"record_length":96,"hex_timestamp":"000001a080b78550"} 
[2026-09-08 16:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 16:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949667072001,"66":13722,"39":206,"87":13824,"24":6,"16":129969451293474816,"45":8803481765652826112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949667072001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:47:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:47:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129969451293474816,"km_value":129969451293474.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803481765652826112,"description":"Unknown IO ID 45"} 
[2026-09-08 16:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949667072001,"power":13722,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8803481765652826112}} 
[2026-09-08 16:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":175905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:47:15] local.INFO: GPS data processed {"connection_id":175905,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:47:15] local.INFO: Acknowledgment sent {"connection_id":175905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:47:19] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:47:19] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:47:19] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:47:20] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bc1548012d0d62000705eaa80018016624..."} 
[2026-09-08 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bc1548012d0d62000705eaa80018016624..."} 
[2026-09-08 16:47:20] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bc1548012d0d62000705eaa80018016624..."} 
[2026-09-08 16:47:20] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bc"} 
[2026-09-08 16:47:20] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bc"} 
[2026-09-08 16:47:20] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":117828264,"longitude_deg":75.5851776,"latitude_deg":11.7828264,"altitude":24,"angle":358,"satellites":36,"speed":9,"hex_longitude":"2d0d6200","hex_latitude":"0705eaa8","is_valid_coordinates":true} 
[2026-09-08 16:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949748224001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30799184709812224,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333300374675456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788866205000,"timestamp_ms":1788866205000,"timestamp_seconds":1788866205,"priority":1,"record_length":96,"hex_timestamp":"000001a080bc1548"} 
[2026-09-08 16:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 16:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949748224001,"66":14298,"167":206,"94":11008,"24":9,"16":30799184709812224,"45":964333300374675456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949748224001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:47:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:47:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30799184709812224,"km_value":30799184709812.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333300374675456,"description":"Unknown IO ID 45"} 
[2026-09-08 16:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949748224001,"power":14298,"unknown_167":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":964333300374675456}} 
[2026-09-08 16:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:47:20] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:47:20] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:47:20] local.INFO: TCP Data received {"connection_id":175904,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b8aa480100000000000000000000000000..."} 
[2026-09-08 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b8aa480100000000000000000000000000..."} 
[2026-09-08 16:47:20] local.INFO: Processing buffer {"connection_id":175904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b8aa480100000000000000000000000000..."} 
[2026-09-08 16:47:20] local.INFO: Packet analysis {"connection_id":175904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:47:20] local.INFO: Extracted packet for processing {"connection_id":175904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:47:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-08 16:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949670400001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891262627151872,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6234107812026650624,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788865981000,"timestamp_ms":1788865981000,"timestamp_seconds":1788865981,"priority":1,"record_length":96,"hex_timestamp":"000001a080b8aa48"} 
[2026-09-08 16:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 16:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":175904,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-08 16:47:20] local.INFO: GPS data processed {"connection_id":175904,"processed":0,"errors":0,"total":1} 
[2026-09-08 16:47:20] local.INFO: Acknowledgment sent {"connection_id":175904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:47:47] local.INFO: TCP Data received {"connection_id":175907,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:47:47] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:47:47] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:47:51] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bc3870012d0d5fc00705f3380018015824..."} 
[2026-09-08 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bc3870012d0d5fc00705f3380018015824..."} 
[2026-09-08 16:47:51] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bc3870012d0d5fc00705f3380018015824..."} 
[2026-09-08 16:47:51] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bc"} 
[2026-09-08 16:47:51] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bc"} 
[2026-09-08 16:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755851200,"raw_latitude":117830456,"longitude_deg":75.58512,"latitude_deg":11.7830456,"altitude":24,"angle":344,"satellites":36,"speed":12,"hex_longitude":"2d0d5fc0","hex_latitude":"0705f338","is_valid_coordinates":true} 
[2026-09-08 16:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949748480001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30799296378961920,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333300374743040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788866214000,"timestamp_ms":1788866214000,"timestamp_seconds":1788866214,"priority":1,"record_length":96,"hex_timestamp":"000001a080bc3870"} 
[2026-09-08 16:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 16:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949748480001,"66":14428,"167":206,"94":11008,"24":12,"16":30799296378961920,"45":964333300374743040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949748480001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:47:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30799296378961920,"km_value":30799296378961.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333300374743040,"description":"Unknown IO ID 45"} 
[2026-09-08 16:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949748480001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":964333300374743040}} 
[2026-09-08 16:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:47:51] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:47:51] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:47:52] local.INFO: TCP Data received {"connection_id":175907,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:47:52] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:47:52] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:47:57] local.INFO: TCP Data received {"connection_id":175907,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b819c0012d569f00067b6620002500362b..."} 
[2026-09-08 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b819c0012d569f00067b6620002500362b..."} 
[2026-09-08 16:47:57] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b819c0012d569f00067b6620002500362b..."} 
[2026-09-08 16:47:57] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:47:57] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":760651520,"raw_latitude":108750368,"longitude_deg":76.065152,"latitude_deg":10.8750368,"altitude":37,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569f00","hex_latitude":"067b6620","is_valid_coordinates":true} 
[2026-09-08 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891262627151872,"note":"Value kept but may cause issues"} 
[2026-09-08 16:47:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,14,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 16:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788865944000,"timestamp_ms":1788865944000,"timestamp_seconds":1788865944,"priority":1,"record_length":96,"hex_timestamp":"000001a080b819c0"} 
[2026-09-08 16:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-08 16:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":21962,"14":206,"19":47872,"24":0,"16":402891262627151872},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16]} 
[2026-09-08 16:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 16:47:57] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:47:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891262627151872,"km_value":402891262627151.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:47:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":21962,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null}} 
[2026-09-08 16:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:47:57] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:47:57] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:00] local.INFO: TCP Data received {"connection_id":175907,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b86bc8012d569f00067b6620002500362a..."} 
[2026-09-08 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b86bc8012d569f00067b6620002500362a..."} 
[2026-09-08 16:48:00] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b86bc8012d569f00067b6620002500362a..."} 
[2026-09-08 16:48:00] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:48:00] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":760651520,"raw_latitude":108750368,"longitude_deg":76.065152,"latitude_deg":10.8750368,"altitude":37,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d569f00","hex_latitude":"067b6620","is_valid_coordinates":true} 
[2026-09-08 16:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949681664001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891262627151872,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241707636398891008,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788865965000,"timestamp_ms":1788865965000,"timestamp_seconds":1788865965,"priority":1,"record_length":96,"hex_timestamp":"000001a080b86bc8"} 
[2026-09-08 16:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":85,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949681664001,"66":27821,"14":206,"19":47872,"24":0,"16":402891262627151872,"45":6241707636398891008},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949681664001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891262627151872,"km_value":402891262627151.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241707636398891008,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949681664001,"power":27821,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241707636398891008}} 
[2026-09-08 16:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:00] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:00] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:19] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:48:19] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:48:19] local.INFO: IMEI packet received {"connection_id":174573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":174573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:48:19] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:48:19] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:48:19] local.INFO: IMEI packet received {"connection_id":177383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":177383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:48:21] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a080b7d370012d7a1d8005e468c0000700c121..."} 
[2026-09-08 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b7d370012d7a1d8005e468c0000700c121..."} 
[2026-09-08 16:48:21] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b7d370012d7a1d8005e468c0000700c121..."} 
[2026-09-08 16:48:21] local.INFO: Packet analysis {"connection_id":175905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:48:21] local.INFO: Extracted packet for processing {"connection_id":175905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b7"} 
[2026-09-08 16:48:21] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855104,"longitude_deg":76.2977664,"latitude_deg":9.8855104,"altitude":7,"angle":193,"satellites":33,"speed":1,"hex_longitude":"2d7a1d80","hex_latitude":"05e468c0","is_valid_coordinates":true} 
[2026-09-08 16:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949671936001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129969524307918848,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886577664,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788865926000,"timestamp_ms":1788865926000,"timestamp_seconds":1788865926,"priority":1,"record_length":96,"hex_timestamp":"000001a080b7d370"} 
[2026-09-08 16:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949671936001,"66":13830,"39":206,"87":13824,"24":1,"16":129969524307918848,"45":8800667015886577664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-08 16:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949671936001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-08 16:48:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-08 16:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129969524307918848,"km_value":129969524307918.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886577664,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949671936001,"power":13830,"unknown_39":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8800667015886577664}} 
[2026-09-08 16:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":175905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:21] local.INFO: GPS data processed {"connection_id":175905,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:21] local.INFO: Acknowledgment sent {"connection_id":175905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:23] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:48:23] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:48:23] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:48:24] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:48:24] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:48:24] local.INFO: IMEI packet received {"connection_id":177383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":177383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:48:25] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bd1718012d0d9a8007062f58001b003622..."} 
[2026-09-08 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bd1718012d0d9a8007062f58001b003622..."} 
[2026-09-08 16:48:25] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bd1718012d0d9a8007062f58001b003622..."} 
[2026-09-08 16:48:25] local.INFO: Packet analysis {"connection_id":177383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:48:25] local.INFO: Extracted packet for processing {"connection_id":177383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:48:25] local.INFO: GPS Element Parsed {"raw_longitude":755866240,"raw_latitude":117845848,"longitude_deg":75.586624,"latitude_deg":11.7845848,"altitude":27,"angle":54,"satellites":34,"speed":14,"hex_longitude":"2d0d9a80","hex_latitude":"07062f58","is_valid_coordinates":true} 
[2026-09-08 16:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949764352001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30800597754052608,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978407049214601216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788866271000,"timestamp_ms":1788866271000,"timestamp_seconds":1788866271,"priority":1,"record_length":96,"hex_timestamp":"000001a080bd1718"} 
[2026-09-08 16:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":177383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":177383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":177383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949764352001,"66":14450,"167":206,"94":11008,"24":14,"16":30800597754052608,"45":978407049214601216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949764352001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:48:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30800597754052608,"km_value":30800597754052.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":978407049214601216,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949764352001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":978407049214601216}} 
[2026-09-08 16:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":177383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:25] local.INFO: GPS data processed {"connection_id":177383,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:25] local.INFO: Acknowledgment sent {"connection_id":177383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:28] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:48:28] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:48:28] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:48:30] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a080b811f0012d7a1cc005e468f8000700c122..."} 
[2026-09-08 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b811f0012d7a1cc005e468f8000700c122..."} 
[2026-09-08 16:48:30] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b811f0012d7a1cc005e468f8000700c122..."} 
[2026-09-08 16:48:30] local.INFO: Packet analysis {"connection_id":174855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:48:30] local.INFO: Extracted packet for processing {"connection_id":174855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":98855160,"longitude_deg":76.2977472,"latitude_deg":9.885516,"altitude":7,"angle":193,"satellites":34,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05e468f8","is_valid_coordinates":true} 
[2026-09-08 16:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949677056001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129969537192820736,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747079168,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788865942000,"timestamp_ms":1788865942000,"timestamp_seconds":1788865942,"priority":1,"record_length":96,"hex_timestamp":"000001a080b811f0"} 
[2026-09-08 16:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5066558186520576,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627167111680,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2159481864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":93,"raw_value":8070465929540141071,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3073591297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3191603200,"corrected_to":0} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831257088,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4035556744192067044,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,39,87,24,241,157,16,190,160,133,45,64,106,8,34,10,66,59,93,33,55,1,240,187,227,128,228,4,113,205,47,48,192,239,52,2,5,13,18,12],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3191603200,"validated":0}]} 
[2026-09-08 16:48:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504615505743642624,"timestamp_seconds":504615505743642.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 16:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 16:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 16:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949677056001,"66":13450,"145":206,"87":12288,"24":0,"16":129969537192820736,"45":8799330009747079168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-08 16:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 16:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 16:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949677056001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:30] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 16:48:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-08 16:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129969537192820736,"km_value":129969537192820.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747079168,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949677056001,"power":13450,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747079168}} 
[2026-09-08 16:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":174855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:30] local.INFO: GPS data processed {"connection_id":174855,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:30] local.INFO: Acknowledgment sent {"connection_id":174855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:31] local.INFO: TCP Data received {"connection_id":177383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080bd2aa0012d0da280070634d0001a002522..."} 
[2026-09-08 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bd2aa0012d0da280070634d0001a002522..."} 
[2026-09-08 16:48:31] local.INFO: Processing buffer {"connection_id":177383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bd2aa0012d0da280070634d0001a002522..."} 
[2026-09-08 16:48:31] local.INFO: Packet analysis {"connection_id":177383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:48:31] local.INFO: Extracted packet for processing {"connection_id":177383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117847248,"longitude_deg":75.5868288,"latitude_deg":11.7847248,"altitude":26,"angle":37,"satellites":34,"speed":18,"hex_longitude":"2d0da280","hex_latitude":"070634d0","is_valid_coordinates":true} 
[2026-09-08 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949765376001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30800718013136896,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":980236636563396608,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788866276000,"timestamp_ms":1788866276000,"timestamp_seconds":1788866276,"priority":1,"record_length":96,"hex_timestamp":"000001a080bd2aa0"} 
[2026-09-08 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":177383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":177383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":177383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949765376001,"66":14461,"167":206,"94":11008,"24":18,"16":30800718013136896,"45":980236636563396608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949765376001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30800718013136896,"km_value":30800718013136.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":980236636563396608,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949765376001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":980236636563396608}} 
[2026-09-08 16:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":177383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:32] local.INFO: GPS data processed {"connection_id":177383,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:32] local.INFO: Acknowledgment sent {"connection_id":177383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:43] local.INFO: TCP Data received {"connection_id":174574,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:48:43] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:48:43] local.INFO: IMEI packet received {"connection_id":174574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":174574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:48:47] local.INFO: TCP Data received {"connection_id":174574,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:48:47] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:48:47] local.INFO: IMEI packet received {"connection_id":174574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:48:49] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:48:49] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:48:49] local.INFO: IMEI packet received {"connection_id":174856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":174856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:48:50] local.INFO: TCP Data received {"connection_id":174574,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b8bdd0012d569f00067b6620002500362b..."} 
[2026-09-08 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b8bdd0012d569f00067b6620002500362b..."} 
[2026-09-08 16:48:50] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b8bdd0012d569f00067b6620002500362b..."} 
[2026-09-08 16:48:50] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:48:50] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b8"} 
[2026-09-08 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":760651520,"raw_latitude":108750368,"longitude_deg":76.065152,"latitude_deg":10.8750368,"altitude":37,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569f00","hex_latitude":"067b6620","is_valid_coordinates":true} 
[2026-09-08 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949687040001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891262627151872,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241707636398891008,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788865986000,"timestamp_ms":1788865986000,"timestamp_seconds":1788865986,"priority":1,"record_length":96,"hex_timestamp":"000001a080b8bdd0"} 
[2026-09-08 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949687040001,"66":27908,"14":206,"19":47872,"24":0,"16":402891262627151872,"45":6241707636398891008},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949687040001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891262627151872,"km_value":402891262627151.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241707636398891008,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949687040001,"power":27908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241707636398891008}} 
[2026-09-08 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:50] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:50] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:48:54] local.INFO: TCP Data received {"connection_id":174574,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b90fd8012d569ec0067b6608002600362e..."} 
[2026-09-08 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b90fd8012d569ec0067b6608002600362e..."} 
[2026-09-08 16:48:54] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b90fd8012d569ec0067b6608002600362e..."} 
[2026-09-08 16:48:54] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:48:54] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750344,"longitude_deg":76.0651456,"latitude_deg":10.8750344,"altitude":38,"angle":54,"satellites":46,"speed":2,"hex_longitude":"2d569ec0","hex_latitude":"067b6608","is_valid_coordinates":true} 
[2026-09-08 16:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949692416001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241707636398891008,"note":"Value kept but may cause issues"} 
[2026-09-08 16:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788866007000,"timestamp_ms":1788866007000,"timestamp_seconds":1788866007,"priority":1,"record_length":96,"hex_timestamp":"000001a080b90fd8"} 
[2026-09-08 16:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 16:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949692416001,"66":27800,"14":206,"19":47872,"24":2,"16":402891301281857536,"45":6241707636398891008},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949692416001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:48:54] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:48:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241707636398891008,"description":"Unknown IO ID 45"} 
[2026-09-08 16:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949692416001,"power":27800,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241707636398891008}} 
[2026-09-08 16:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:48:54] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:48:54] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:49:14] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:49:14] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:49:14] local.INFO: IMEI packet received {"connection_id":174857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":174857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:49:16] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:49:16] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:49:16] local.INFO: IMEI packet received {"connection_id":174857,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":174857,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:49:17] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080be18e8012d0dbdc007067dd0001b002122..."} 
[2026-09-08 16:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080be18e8012d0dbdc007067dd0001b002122..."} 
[2026-09-08 16:49:17] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080be18e8012d0dbdc007067dd0001b002122..."} 
[2026-09-08 16:49:17] local.INFO: Packet analysis {"connection_id":174857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:49:17] local.INFO: Extracted packet for processing {"connection_id":174857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:49:17] local.INFO: GPS Element Parsed {"raw_longitude":755875264,"raw_latitude":117865936,"longitude_deg":75.5875264,"latitude_deg":11.7865936,"altitude":27,"angle":33,"satellites":34,"speed":9,"hex_longitude":"2d0dbdc0","hex_latitude":"07067dd0","is_valid_coordinates":true} 
[2026-09-08 16:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949781504001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30801744510320640,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989877154520647680,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788866337000,"timestamp_ms":1788866337000,"timestamp_seconds":1788866337,"priority":1,"record_length":96,"hex_timestamp":"000001a080be18e8"} 
[2026-09-08 16:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 16:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949781504001,"66":14309,"167":206,"94":11008,"24":9,"16":30801744510320640,"45":989877154520647680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949781504001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:49:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:49:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30801744510320640,"km_value":30801744510320.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":989877154520647680,"description":"Unknown IO ID 45"} 
[2026-09-08 16:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949781504001,"power":14309,"unknown_167":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":989877154520647680}} 
[2026-09-08 16:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":174857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:49:17] local.INFO: GPS data processed {"connection_id":174857,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:49:17] local.INFO: Acknowledgment sent {"connection_id":174857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:49:28] local.INFO: TCP Data received {"connection_id":174574,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080b90fd8012d569ec0067b6608002600362e..."} 
[2026-09-08 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080b90fd8012d569ec0067b6608002600362e..."} 
[2026-09-08 16:49:28] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080b90fd8012d569ec0067b6608002600362e..."} 
[2026-09-08 16:49:28] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:49:28] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080b9"} 
[2026-09-08 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750344,"longitude_deg":76.0651456,"latitude_deg":10.8750344,"altitude":38,"angle":54,"satellites":46,"speed":2,"hex_longitude":"2d569ec0","hex_latitude":"067b6608","is_valid_coordinates":true} 
[2026-09-08 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788866007000,"timestamp_ms":1788866007000,"timestamp_seconds":1788866007,"priority":1,"record_length":96,"hex_timestamp":"000001a080b90fd8"} 
[2026-09-08 16:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":27800,"14":206,"19":47872,"24":2,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:49:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:49:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":27800,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:49:28] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:49:28] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:49:47] local.INFO: TCP Data received {"connection_id":177384,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:49:47] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:49:47] local.INFO: IMEI packet received {"connection_id":177384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":177384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:49:52] local.INFO: TCP Data received {"connection_id":177384,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:49:52] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:49:52] local.INFO: IMEI packet received {"connection_id":177384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":177384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:49:55] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080becc98012d0ded400706a3b8001a003123..."} 
[2026-09-08 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080becc98012d0ded400706a3b8001a003123..."} 
[2026-09-08 16:49:55] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080becc98012d0ded400706a3b8001a003123..."} 
[2026-09-08 16:49:55] local.INFO: Packet analysis {"connection_id":174857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:49:55] local.INFO: Extracted packet for processing {"connection_id":174857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755887424,"raw_latitude":117875640,"longitude_deg":75.5887424,"latitude_deg":11.787564,"altitude":26,"angle":49,"satellites":35,"speed":15,"hex_longitude":"2d0ded40","hex_latitude":"0706a3b8","is_valid_coordinates":true} 
[2026-09-08 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949793792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30802655043387392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003247215917064192,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788866383000,"timestamp_ms":1788866383000,"timestamp_seconds":1788866383,"priority":1,"record_length":96,"hex_timestamp":"000001a080becc98"} 
[2026-09-08 16:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174857,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949793792001,"66":14428,"167":206,"94":11008,"24":15,"16":30802655043387392,"45":1003247215917064192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949793792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 16:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30802655043387392,"km_value":30802655043387.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003247215917064192,"description":"Unknown IO ID 45"} 
[2026-09-08 16:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949793792001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":1003247215917064192}} 
[2026-09-08 16:49:55] local.INFO: TCP Data received {"connection_id":177384,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:49:55] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:49:55] local.INFO: Packet analysis {"connection_id":177384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:49:55] local.INFO: Extracted packet for processing {"connection_id":177384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:49: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":177384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:49:55] local.INFO: GPS data processed {"connection_id":177384,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:49:55] local.INFO: Acknowledgment sent {"connection_id":177384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":174857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:49:55] local.INFO: GPS data processed {"connection_id":174857,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:49:55] local.INFO: Acknowledgment sent {"connection_id":174857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:49:58] local.INFO: TCP Data received {"connection_id":177384,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:49:58] local.INFO: Processing buffer {"connection_id":177384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:49:58] local.INFO: Packet analysis {"connection_id":177384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:49:58] local.INFO: Extracted packet for processing {"connection_id":177384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":177384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:49:58] local.INFO: GPS data processed {"connection_id":177384,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:49:58] local.INFO: Acknowledgment sent {"connection_id":177384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:50:11] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:11] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:11] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:50:12] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:12] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:12] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:50:13] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:13] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:13] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:50:14] local.INFO: TCP Data received {"connection_id":175909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:14] local.INFO: Processing buffer {"connection_id":175909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:50:14] local.INFO: IMEI packet received {"connection_id":175909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":175909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:50:42] local.INFO: TCP Data received {"connection_id":174859,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:50:42] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:50:42] local.INFO: IMEI packet received {"connection_id":174859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":174859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:50:47] local.INFO: TCP Data received {"connection_id":174859,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:50:47] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:50:47] local.INFO: IMEI packet received {"connection_id":174859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:50:49] local.INFO: TCP Data received {"connection_id":174859,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:50:49] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:50:49] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:50:49] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:50:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:50:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:50:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:50:49] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:50:49] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:50:51] local.INFO: TCP Data received {"connection_id":174859,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:50:51] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:50:51] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:50:51] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:50:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:50:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:50:51] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:50:51] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:51:06] local.INFO: TCP Data received {"connection_id":175910,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:06] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:06] local.INFO: IMEI packet received {"connection_id":175910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":175910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:51:10] local.INFO: TCP Data received {"connection_id":175910,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:10] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:10] local.INFO: IMEI packet received {"connection_id":175910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":175910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:51:11] local.INFO: TCP Data received {"connection_id":175910,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080bec4c8012d187980072181d8004c010d23..."} 
[2026-09-08 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bec4c8012d187980072181d8004c010d23..."} 
[2026-09-08 16:51:11] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bec4c8012d187980072181d8004c010d23..."} 
[2026-09-08 16:51:11] local.INFO: Packet analysis {"connection_id":175910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:51:11] local.INFO: Extracted packet for processing {"connection_id":175910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119636440,"longitude_deg":75.6578688,"latitude_deg":11.963644,"altitude":76,"angle":269,"satellites":35,"speed":40,"hex_longitude":"2d187980","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-09-08 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949793024001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18722904904564736,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765359616,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:11] 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-09-08 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788866381000,"timestamp_ms":1788866381000,"timestamp_seconds":1788866381,"priority":1,"record_length":96,"hex_timestamp":"000001a080bec4c8"} 
[2026-09-08 16:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 16:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16: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-09-08 16:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949793024001,"66":14080,"120":206,"28":31744,"24":40,"16":18722904904564736,"45":1765903665765359616},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949793024001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:51:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18722904904564736,"km_value":18722904904564.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765359616,"description":"Unknown IO ID 45"} 
[2026-09-08 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949793024001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1765903665765359616}} 
[2026-09-08 16:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":175910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:51:12] local.INFO: GPS data processed {"connection_id":175910,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:51:12] local.INFO: Acknowledgment sent {"connection_id":175910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:51:15] local.INFO: TCP Data received {"connection_id":175910,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080bee020012d18610007218228004b011c24..."} 
[2026-09-08 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bee020012d18610007218228004b011c24..."} 
[2026-09-08 16:51:15] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bee020012d18610007218228004b011c24..."} 
[2026-09-08 16:51:15] local.INFO: Packet analysis {"connection_id":175910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:51:15] local.INFO: Extracted packet for processing {"connection_id":175910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756572416,"raw_latitude":119636520,"longitude_deg":75.6572416,"latitude_deg":11.963652,"altitude":75,"angle":284,"satellites":36,"speed":36,"hex_longitude":"2d186100","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949793536001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18723205552275456,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207543808,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] 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-09-08 16:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788866388000,"timestamp_ms":1788866388000,"timestamp_seconds":1788866388,"priority":1,"record_length":96,"hex_timestamp":"000001a080bee020"} 
[2026-09-08 16:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2159954864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2204434432,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3196727297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 16:51:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,120,28,24,241,158,16,132,160,188,45,192,129,75,34,10,66,153,128,117,74,37,121,131,146,64,1,240,71,33,4,113,205,31,99,193,224,36,239,55,2,7,67,32],"length":479,"final_offset":609,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 16:51:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476673065836871680,"timestamp_seconds":5476673065836872.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949793536001,"66":14113,"120":206,"28":31744,"24":36,"16":18723205552275456,"45":1763581497207543808},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949793536001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:51:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18723205552275456,"km_value":18723205552275.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207543808,"description":"Unknown IO ID 45"} 
[2026-09-08 16:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949793536001,"power":14113,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1763581497207543808}} 
[2026-09-08 16:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":175910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:51:15] local.INFO: GPS data processed {"connection_id":175910,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:51:15] local.INFO: Acknowledgment sent {"connection_id":175910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:51:24] local.INFO: TCP Data received {"connection_id":174859,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:51:24] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:51:24] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:51:24] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:51:24] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:51:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:51:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:51:24] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:51:24] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:51:41] local.INFO: TCP Data received {"connection_id":177387,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:51:41] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:51:41] local.INFO: IMEI packet received {"connection_id":177387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":177387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:51:47] local.INFO: TCP Data received {"connection_id":177387,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:51:47] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:51:47] local.INFO: IMEI packet received {"connection_id":177387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":177387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:51:48] local.INFO: TCP Data received {"connection_id":177387,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:51:48] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:51:48] local.INFO: Packet analysis {"connection_id":177387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:51:48] local.INFO: Extracted packet for processing {"connection_id":177387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:51:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:51:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:51:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":177387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:51:48] local.INFO: GPS data processed {"connection_id":177387,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:51:48] local.INFO: Acknowledgment sent {"connection_id":177387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:51:56] local.INFO: TCP Data received {"connection_id":177388,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:56] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:51:56] local.INFO: IMEI packet received {"connection_id":177388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":177388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:52:01] local.INFO: TCP Data received {"connection_id":177388,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:52:01] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:52:01] local.INFO: IMEI packet received {"connection_id":177388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":177388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:52:06] local.INFO: TCP Data received {"connection_id":177388,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:52:06] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:52:06] local.INFO: IMEI packet received {"connection_id":177388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":177388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:52:07] local.INFO: TCP Data received {"connection_id":177388,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080beebd8012d18568007218628004d012923..."} 
[2026-09-08 16:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080beebd8012d18568007218628004d012923..."} 
[2026-09-08 16:52:07] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080beebd8012d18568007218628004d012923..."} 
[2026-09-08 16:52:07] local.INFO: Packet analysis {"connection_id":177388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:52:07] local.INFO: Extracted packet for processing {"connection_id":177388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080be"} 
[2026-09-08 16:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756569728,"raw_latitude":119637544,"longitude_deg":75.6569728,"latitude_deg":11.9637544,"altitude":77,"angle":297,"satellites":35,"speed":37,"hex_longitude":"2d185680","hex_latitude":"07218628","is_valid_coordinates":true} 
[2026-09-08 16:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949795328001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18723342991228928,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756685360278153216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:07] 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-09-08 16:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788866391000,"timestamp_ms":1788866391000,"timestamp_seconds":1788866391,"priority":1,"record_length":96,"hex_timestamp":"000001a080beebd8"} 
[2026-09-08 16:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-08 16:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949795328001,"66":13993,"120":206,"28":31744,"24":37,"16":18723342991228928,"45":1756685360278153216},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949795328001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:52:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18723342991228928,"km_value":18723342991228.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756685360278153216,"description":"Unknown IO ID 45"} 
[2026-09-08 16:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949795328001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1756685360278153216}} 
[2026-09-08 16:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":177388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:52:07] local.INFO: GPS data processed {"connection_id":177388,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:52:07] local.INFO: Acknowledgment sent {"connection_id":177388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:52:11] local.INFO: TCP Data received {"connection_id":177388,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080bf12e8012d183600072194b00050012124..."} 
[2026-09-08 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bf12e8012d183600072194b00050012124..."} 
[2026-09-08 16:52:11] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bf12e8012d183600072194b00050012124..."} 
[2026-09-08 16:52:11] local.INFO: Packet analysis {"connection_id":177388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bf"} 
[2026-09-08 16:52:11] local.INFO: Extracted packet for processing {"connection_id":177388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bf"} 
[2026-09-08 16:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756561408,"raw_latitude":119641264,"longitude_deg":75.6561408,"latitude_deg":11.9641264,"altitude":80,"angle":289,"satellites":36,"speed":25,"hex_longitude":"2d183600","hex_latitude":"072194b0","is_valid_coordinates":true} 
[2026-09-08 16:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949796096001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18723776782925824,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753729873022953472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:11] 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-09-08 16:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788866401000,"timestamp_ms":1788866401000,"timestamp_seconds":1788866401,"priority":1,"record_length":96,"hex_timestamp":"000001a080bf12e8"} 
[2026-09-08 16:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 16:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949796096001,"66":14048,"120":206,"28":31744,"24":25,"16":18723776782925824,"45":1753729873022953472},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949796096001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:52:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18723776782925824,"km_value":18723776782925.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753729873022953472,"description":"Unknown IO ID 45"} 
[2026-09-08 16:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949796096001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1753729873022953472}} 
[2026-09-08 16:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":177388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:52:11] local.INFO: GPS data processed {"connection_id":177388,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:52:11] local.INFO: Acknowledgment sent {"connection_id":177388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:52:27] local.INFO: TCP Data received {"connection_id":177387,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:52:27] local.INFO: Processing buffer {"connection_id":177387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:52:27] local.INFO: Packet analysis {"connection_id":177387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:52:27] local.INFO: Extracted packet for processing {"connection_id":177387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":177387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":177387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:52:27] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:52:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":177387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:52:27] local.INFO: GPS data processed {"connection_id":177387,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:52:27] local.INFO: Acknowledgment sent {"connection_id":177387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:52:41] local.INFO: TCP Data received {"connection_id":174860,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:52:41] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:52:41] local.INFO: IMEI packet received {"connection_id":174860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":174860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:52:44] local.INFO: TCP Data received {"connection_id":177388,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080bf2288012d182d4007219988004f012f25..."} 
[2026-09-08 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bf2288012d182d4007219988004f012f25..."} 
[2026-09-08 16:52:44] local.INFO: Processing buffer {"connection_id":177388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bf2288012d182d4007219988004f012f25..."} 
[2026-09-08 16:52:44] local.INFO: Packet analysis {"connection_id":177388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bf"} 
[2026-09-08 16:52:44] local.INFO: Extracted packet for processing {"connection_id":177388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bf"} 
[2026-09-08 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642504,"longitude_deg":75.6559168,"latitude_deg":11.9642504,"altitude":79,"angle":303,"satellites":37,"speed":26,"hex_longitude":"2d182d40","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-09-08 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949798656001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18723901336977408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744581936280809472,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:44] 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-09-08 16:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788866405000,"timestamp_ms":1788866405000,"timestamp_seconds":1788866405,"priority":1,"record_length":96,"hex_timestamp":"000001a080bf2288"} 
[2026-09-08 16:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 16:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949798656001,"66":14102,"120":206,"28":31744,"24":26,"16":18723901336977408,"45":1744581936280809472},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949798656001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:52:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18723901336977408,"km_value":18723901336977.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744581936280809472,"description":"Unknown IO ID 45"} 
[2026-09-08 16:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949798656001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1744581936280809472}} 
[2026-09-08 16:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":177388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:52:44] local.INFO: GPS data processed {"connection_id":177388,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:52:44] local.INFO: Acknowledgment sent {"connection_id":177388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:52:47] local.INFO: TCP Data received {"connection_id":174860,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:52:47] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:52:47] local.INFO: IMEI packet received {"connection_id":174860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:52:48] local.INFO: TCP Data received {"connection_id":174860,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:52:48] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:52:48] local.INFO: Packet analysis {"connection_id":174860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:52:48] local.INFO: Extracted packet for processing {"connection_id":174860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:52:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16: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-09-08 16:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:52:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:52:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":174860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:52:48] local.INFO: GPS data processed {"connection_id":174860,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:52:48] local.INFO: Acknowledgment sent {"connection_id":174860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:53:00] local.INFO: TCP Data received {"connection_id":174578,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:00] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:00] local.INFO: IMEI packet received {"connection_id":174578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":174578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:53:01] local.INFO: TCP Data received {"connection_id":174578,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:01] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:01] local.INFO: IMEI packet received {"connection_id":174578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":174578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:53:02] local.INFO: TCP Data received {"connection_id":174578,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080bf4998012d181d400721a5c0004c011e24..."} 
[2026-09-08 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bf4998012d181d400721a5c0004c011e24..."} 
[2026-09-08 16:53:02] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bf4998012d181d400721a5c0004c011e24..."} 
[2026-09-08 16:53:02] local.INFO: Packet analysis {"connection_id":174578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bf"} 
[2026-09-08 16:53:02] local.INFO: Extracted packet for processing {"connection_id":174578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bf"} 
[2026-09-08 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119645632,"longitude_deg":75.6555072,"latitude_deg":11.9645632,"altitude":76,"angle":286,"satellites":36,"speed":7,"hex_longitude":"2d181d40","hex_latitude":"0721a5c0","is_valid_coordinates":true} 
[2026-09-08 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949799680001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18724146150113280,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030234908672,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53: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-09-08 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788866415000,"timestamp_ms":1788866415000,"timestamp_seconds":1788866415,"priority":1,"record_length":96,"hex_timestamp":"000001a080bf4998"} 
[2026-09-08 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949799680001,"66":14080,"120":206,"28":31744,"24":7,"16":18724146150113280,"45":1742119030234908672},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949799680001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18724146150113280,"km_value":18724146150113.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030234908672,"description":"Unknown IO ID 45"} 
[2026-09-08 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949799680001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1742119030234908672}} 
[2026-09-08 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":174578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:53:02] local.INFO: GPS data processed {"connection_id":174578,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:53:02] local.INFO: Acknowledgment sent {"connection_id":174578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:53:21] local.INFO: TCP Data received {"connection_id":174860,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:21] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:21] local.INFO: Packet analysis {"connection_id":174860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:53:21] local.INFO: Extracted packet for processing {"connection_id":174860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:53:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:53:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":174860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:53:21] local.INFO: GPS data processed {"connection_id":174860,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:53:21] local.INFO: Acknowledgment sent {"connection_id":174860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:53:34] local.INFO: TCP Data received {"connection_id":174578,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c164a8012d187080072206480059000c26..."} 
[2026-09-08 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c164a8012d187080072206480059000c26..."} 
[2026-09-08 16:53:34] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c164a8012d187080072206480059000c26..."} 
[2026-09-08 16:53:34] local.INFO: Packet analysis {"connection_id":174578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c1"} 
[2026-09-08 16:53:34] local.INFO: Extracted packet for processing {"connection_id":174578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c1"} 
[2026-09-08 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119670344,"longitude_deg":75.6576384,"latitude_deg":11.9670344,"altitude":89,"angle":12,"satellites":38,"speed":12,"hex_longitude":"2d187080","hex_latitude":"07220648","is_valid_coordinates":true} 
[2026-09-08 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949836800001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18725816892391424,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222425622528,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53: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-09-08 16:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788866553000,"timestamp_ms":1788866553000,"timestamp_seconds":1788866553,"priority":1,"record_length":96,"hex_timestamp":"000001a080c164a8"} 
[2026-09-08 16:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949836800001,"66":14428,"120":206,"28":31744,"24":12,"16":18725816892391424,"45":1761048222425622528},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 16:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949836800001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:53:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 16:53:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18725816892391424,"km_value":18725816892391.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222425622528,"description":"Unknown IO ID 45"} 
[2026-09-08 16:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949836800001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1761048222425622528}} 
[2026-09-08 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":174578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:53:34] local.INFO: GPS data processed {"connection_id":174578,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:53:34] local.INFO: Acknowledgment sent {"connection_id":174578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:53:47] local.INFO: TCP Data received {"connection_id":177389,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:53:47] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:53:47] local.INFO: IMEI packet received {"connection_id":177389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":177389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:53:52] local.INFO: TCP Data received {"connection_id":177389,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:53:52] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:53:52] local.INFO: IMEI packet received {"connection_id":177389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":177389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:53:54] local.INFO: TCP Data received {"connection_id":177389,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:54] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:54] local.INFO: Packet analysis {"connection_id":177389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:53:54] local.INFO: Extracted packet for processing {"connection_id":177389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:53:54] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:53:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":177389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:53:54] local.INFO: GPS data processed {"connection_id":177389,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:53:54] local.INFO: Acknowledgment sent {"connection_id":177389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:53:57] local.INFO: TCP Data received {"connection_id":174861,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:57] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:57] local.INFO: IMEI packet received {"connection_id":174861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":174861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:53:59] local.INFO: TCP Data received {"connection_id":177389,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:59] local.INFO: Processing buffer {"connection_id":177389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080bdab88012d569ec0067b6638002800362b..."} 
[2026-09-08 16:53:59] local.INFO: Packet analysis {"connection_id":177389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:53:59] local.INFO: Extracted packet for processing {"connection_id":177389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080bd"} 
[2026-09-08 16:53:59] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949697792001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654707200,"note":"Value kept but may cause issues"} 
[2026-09-08 16:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788866309000,"timestamp_ms":1788866309000,"timestamp_seconds":1788866309,"priority":1,"record_length":96,"hex_timestamp":"000001a080bdab88"} 
[2026-09-08 16:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 16:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949697792001,"66":26006,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654707200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949697792001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:53:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:53:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654707200,"description":"Unknown IO ID 45"} 
[2026-09-08 16:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949697792001,"power":26006,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654707200}} 
[2026-09-08 16:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":177389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:53:59] local.INFO: GPS data processed {"connection_id":177389,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:53:59] local.INFO: Acknowledgment sent {"connection_id":177389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:53:59] local.INFO: TCP Data received {"connection_id":174861,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:59] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:53:59] local.INFO: IMEI packet received {"connection_id":174861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":174861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:54:00] local.INFO: TCP Data received {"connection_id":174861,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:54:00] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:54:00] local.INFO: IMEI packet received {"connection_id":174861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":174861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:54:01] local.INFO: TCP Data received {"connection_id":174861,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:54:01] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:54:01] local.INFO: IMEI packet received {"connection_id":174861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":174861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:54:04] local.INFO: TCP Data received {"connection_id":177390,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:54:04] local.INFO: Processing buffer {"connection_id":177390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:54:04] local.INFO: IMEI packet received {"connection_id":177390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":177390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:54:18] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:54:18] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:54:18] local.INFO: IMEI packet received {"connection_id":174862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 16:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":174862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:54:28] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:54:28] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 16:54:28] local.INFO: IMEI packet received {"connection_id":174862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 16:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":174862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:54:41] local.INFO: TCP Data received {"connection_id":174863,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:54:41] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:54:41] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:54:47] local.INFO: TCP Data received {"connection_id":174863,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:54:47] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:54:47] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:54:50] local.INFO: TCP Data received {"connection_id":174863,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:54:50] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:54:50] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:54:50] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:54:50] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:54:50] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:54:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:54:50] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:54:50] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:55:19] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:55:19] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:55:19] local.INFO: IMEI packet received {"connection_id":177392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":177392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:55:22] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:55:22] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:55:22] local.INFO: IMEI packet received {"connection_id":177392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":177392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:55:22] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c3b280012d0e084007068e980018009520..."} 
[2026-09-08 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c3b280012d0e084007068e980018009520..."} 
[2026-09-08 16:55:22] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c3b280012d0e084007068e980018009520..."} 
[2026-09-08 16:55:22] local.INFO: Packet analysis {"connection_id":177392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:55:22] local.INFO: Extracted packet for processing {"connection_id":177392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":755894336,"raw_latitude":117870232,"longitude_deg":75.5894336,"latitude_deg":11.7870232,"altitude":24,"angle":149,"satellites":32,"speed":4,"hex_longitude":"2d0e0840","hex_latitude":"07068e98","is_valid_coordinates":true} 
[2026-09-08 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949874944001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30807796119240704,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010706302798647296,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788866704000,"timestamp_ms":1788866704000,"timestamp_seconds":1788866704,"priority":1,"record_length":96,"hex_timestamp":"000001a080c3b280"} 
[2026-09-08 16:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 16:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949874944001,"66":14515,"219":206,"94":10240,"24":4,"16":30807796119240704,"45":1010706302798647296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949874944001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:55:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:55:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30807796119240704,"km_value":30807796119240.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010706302798647296,"description":"Unknown IO ID 45"} 
[2026-09-08 16:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949874944001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1010706302798647296}} 
[2026-09-08 16:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":177392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:55:22] local.INFO: GPS data processed {"connection_id":177392,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:55:22] local.INFO: Acknowledgment sent {"connection_id":177392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:55:23] local.INFO: TCP Data received {"connection_id":174863,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:23] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:23] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:55:23] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:55:23] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:55:23] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:55:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:55:23] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:55:23] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:55:24] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c3ba50012d0e088007068d88001800a923..."} 
[2026-09-08 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c3ba50012d0e088007068d88001800a923..."} 
[2026-09-08 16:55:24] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c3ba50012d0e088007068d88001800a923..."} 
[2026-09-08 16:55:24] local.INFO: Packet analysis {"connection_id":177392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:55:24] local.INFO: Extracted packet for processing {"connection_id":177392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755894400,"raw_latitude":117869960,"longitude_deg":75.58944,"latitude_deg":11.786996,"altitude":24,"angle":169,"satellites":35,"speed":6,"hex_longitude":"2d0e0880","hex_latitude":"07068d88","is_valid_coordinates":true} 
[2026-09-08 16:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949876224001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30807813299109888,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515263633408,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788866706000,"timestamp_ms":1788866706000,"timestamp_seconds":1788866706,"priority":1,"record_length":96,"hex_timestamp":"000001a080c3ba50"} 
[2026-09-08 16:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 16:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949876224001,"66":14407,"219":206,"94":10240,"24":6,"16":30807813299109888,"45":1011128515263633408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949876224001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:55:24] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:55:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30807813299109888,"km_value":30807813299109.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515263633408,"description":"Unknown IO ID 45"} 
[2026-09-08 16:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949876224001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011128515263633408}} 
[2026-09-08 16:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":177392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:55:24] local.INFO: GPS data processed {"connection_id":177392,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:55:24] local.INFO: Acknowledgment sent {"connection_id":177392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:55:47] local.INFO: TCP Data received {"connection_id":175916,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:55:47] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:55:47] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:55:52] local.INFO: TCP Data received {"connection_id":175916,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:55:52] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:55:52] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:55:55] local.INFO: TCP Data received {"connection_id":177392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c3d1c0012d0e09c0070689a80018009b24..."} 
[2026-09-08 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c3d1c0012d0e09c0070689a80018009b24..."} 
[2026-09-08 16:55:55] local.INFO: Processing buffer {"connection_id":177392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c3d1c0012d0e09c0070689a80018009b24..."} 
[2026-09-08 16:55:55] local.INFO: Packet analysis {"connection_id":177392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:55:55] local.INFO: Extracted packet for processing {"connection_id":177392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755894720,"raw_latitude":117868968,"longitude_deg":75.589472,"latitude_deg":11.7868968,"altitude":24,"angle":155,"satellites":36,"speed":5,"hex_longitude":"2d0e09c0","hex_latitude":"070689a8","is_valid_coordinates":true} 
[2026-09-08 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949876736001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30807864838717440,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011198884007741440,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788866712000,"timestamp_ms":1788866712000,"timestamp_seconds":1788866712,"priority":1,"record_length":96,"hex_timestamp":"000001a080c3d1c0"} 
[2026-09-08 16:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 16:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949876736001,"66":14450,"219":206,"94":10240,"24":5,"16":30807864838717440,"45":1011198884007741440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949876736001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:55:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:55:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30807864838717440,"km_value":30807864838717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011198884007741440,"description":"Unknown IO ID 45"} 
[2026-09-08 16:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949876736001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1011198884007741440}} 
[2026-09-08 16:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":177392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:55:55] local.INFO: GPS data processed {"connection_id":177392,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:55:55] local.INFO: Acknowledgment sent {"connection_id":177392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:55:57] local.INFO: TCP Data received {"connection_id":175916,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:57] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:57] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:55:57] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:55:57] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:55:57] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:55:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:55:57] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:55:57] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:55:59] local.INFO: TCP Data received {"connection_id":175916,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:59] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:55:59] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:55:59] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:55:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:55:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:55:59] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:55:59] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:56:12] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:12] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:12] local.INFO: IMEI packet received {"connection_id":177393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":177393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:56:14] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:14] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:14] local.INFO: IMEI packet received {"connection_id":177393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":177393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:56:19] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:19] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:56:19] local.INFO: IMEI packet received {"connection_id":177393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":177393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:56:20] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c3ed18012d0e0a80070688280018008224..."} 
[2026-09-08 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c3ed18012d0e0a80070688280018008224..."} 
[2026-09-08 16:56:20] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c3ed18012d0e0a80070688280018008224..."} 
[2026-09-08 16:56:20] local.INFO: Packet analysis {"connection_id":177393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:56:20] local.INFO: Extracted packet for processing {"connection_id":177393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c3"} 
[2026-09-08 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":755894912,"raw_latitude":117868584,"longitude_deg":75.5894912,"latitude_deg":11.7868584,"altitude":24,"angle":130,"satellites":36,"speed":2,"hex_longitude":"2d0e0a80","hex_latitude":"07068828","is_valid_coordinates":true} 
[2026-09-08 16:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949878272001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30807886313553920,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011550727728375808,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788866719000,"timestamp_ms":1788866719000,"timestamp_seconds":1788866719,"priority":1,"record_length":96,"hex_timestamp":"000001a080c3ed18"} 
[2026-09-08 16:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949878272001,"66":14450,"219":206,"94":10240,"24":2,"16":30807886313553920,"45":1011550727728375808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949878272001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:56:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:56:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30807886313553920,"km_value":30807886313553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011550727728375808,"description":"Unknown IO ID 45"} 
[2026-09-08 16:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949878272001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011550727728375808}} 
[2026-09-08 16:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":177393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:56:20] local.INFO: GPS data processed {"connection_id":177393,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:56:20] local.INFO: Acknowledgment sent {"connection_id":177393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:56:41] local.INFO: TCP Data received {"connection_id":174865,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:56:41] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:56:41] local.INFO: IMEI packet received {"connection_id":174865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":174865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:56:47] local.INFO: TCP Data received {"connection_id":174865,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:56:47] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:56:47] local.INFO: IMEI packet received {"connection_id":174865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:56:49] local.INFO: TCP Data received {"connection_id":174865,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:56:49] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:56:49] local.INFO: Packet analysis {"connection_id":174865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:56:49] local.INFO: Extracted packet for processing {"connection_id":174865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:56:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:56:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:56:49] local.INFO: GPS data processed {"connection_id":174865,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:56:49] local.INFO: Acknowledgment sent {"connection_id":174865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:56:52] local.INFO: TCP Data received {"connection_id":177393,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c50270012d0e3f000706d8280023014f23..."} 
[2026-09-08 16:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c50270012d0e3f000706d8280023014f23..."} 
[2026-09-08 16:56:52] local.INFO: Processing buffer {"connection_id":177393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c50270012d0e3f000706d8280023014f23..."} 
[2026-09-08 16:56:52] local.INFO: Packet analysis {"connection_id":177393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c5"} 
[2026-09-08 16:56:52] local.INFO: Extracted packet for processing {"connection_id":177393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c5"} 
[2026-09-08 16:56:52] local.INFO: GPS Element Parsed {"raw_longitude":755908352,"raw_latitude":117889064,"longitude_deg":75.5908352,"latitude_deg":11.7889064,"altitude":35,"angle":335,"satellites":35,"speed":14,"hex_longitude":"2d0e3f00","hex_latitude":"0706d828","is_valid_coordinates":true} 
[2026-09-08 16:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949897984001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30809436796747776,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026680007731630080,"note":"Value kept but may cause issues"} 
[2026-09-08 16:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788866790000,"timestamp_ms":1788866790000,"timestamp_seconds":1788866790,"priority":1,"record_length":96,"hex_timestamp":"000001a080c50270"} 
[2026-09-08 16:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-08 16:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949897984001,"66":14494,"219":206,"94":10240,"24":14,"16":30809436796747776,"45":1026680007731630080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949897984001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:56:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:56:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30809436796747776,"km_value":30809436796747.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026680007731630080,"description":"Unknown IO ID 45"} 
[2026-09-08 16:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949897984001,"power":14494,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1026680007731630080}} 
[2026-09-08 16:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":177393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:56:52] local.INFO: GPS data processed {"connection_id":177393,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:56:52] local.INFO: Acknowledgment sent {"connection_id":177393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:57:14] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:57:14] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:57:14] local.INFO: IMEI packet received {"connection_id":174582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":174582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:57:17] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:57:17] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:57:17] local.INFO: IMEI packet received {"connection_id":174582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":174582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:57:18] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c50e28012d0e3d400706dd000022015f23..."} 
[2026-09-08 16:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c50e28012d0e3d400706dd000022015f23..."} 
[2026-09-08 16:57:18] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c50e28012d0e3d400706dd000022015f23..."} 
[2026-09-08 16:57:18] local.INFO: Packet analysis {"connection_id":174582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c5"} 
[2026-09-08 16:57:18] local.INFO: Extracted packet for processing {"connection_id":174582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c5"} 
[2026-09-08 16:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117890304,"longitude_deg":75.5907904,"latitude_deg":11.7890304,"altitude":34,"angle":351,"satellites":35,"speed":20,"hex_longitude":"2d0e3d40","hex_latitude":"0706dd00","is_valid_coordinates":true} 
[2026-09-08 16:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949898240001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30809501221257216,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270243362816,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788866793000,"timestamp_ms":1788866793000,"timestamp_seconds":1788866793,"priority":1,"record_length":96,"hex_timestamp":"000001a080c50e28"} 
[2026-09-08 16:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-08 16:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949898240001,"66":14439,"219":206,"94":10240,"24":20,"16":30809501221257216,"45":1026539270243362816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949898240001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:57:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30809501221257216,"km_value":30809501221257.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270243362816,"description":"Unknown IO ID 45"} 
[2026-09-08 16:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949898240001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1026539270243362816}} 
[2026-09-08 16:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":174582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:57:18] local.INFO: GPS data processed {"connection_id":174582,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:57:18] local.INFO: Acknowledgment sent {"connection_id":174582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:57:21] local.INFO: TCP Data received {"connection_id":174865,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:57:21] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:57:21] local.INFO: Packet analysis {"connection_id":174865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:57:21] local.INFO: Extracted packet for processing {"connection_id":174865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:57:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":174865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:57:21] local.INFO: GPS data processed {"connection_id":174865,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:57:21] local.INFO: Acknowledgment sent {"connection_id":174865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:57:41] local.INFO: TCP Data received {"connection_id":177394,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:57:41] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:57:41] local.INFO: IMEI packet received {"connection_id":177394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":177394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:57:47] local.INFO: TCP Data received {"connection_id":177394,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:57:47] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:57:47] local.INFO: IMEI packet received {"connection_id":177394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":177394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:57:49] local.INFO: TCP Data received {"connection_id":177394,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:57:49] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:57:49] local.INFO: Packet analysis {"connection_id":177394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:57:49] local.INFO: Extracted packet for processing {"connection_id":177394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":177394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:57:49] local.INFO: GPS data processed {"connection_id":177394,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:57:49] local.INFO: Acknowledgment sent {"connection_id":177394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:57:49] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c5f4a0012d0e058007070490001e012023..."} 
[2026-09-08 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c5f4a0012d0e058007070490001e012023..."} 
[2026-09-08 16:57:49] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c5f4a0012d0e058007070490001e012023..."} 
[2026-09-08 16:57:49] local.INFO: Packet analysis {"connection_id":174582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c5"} 
[2026-09-08 16:57:49] local.INFO: Extracted packet for processing {"connection_id":174582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c5"} 
[2026-09-08 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":755893632,"raw_latitude":117900432,"longitude_deg":75.5893632,"latitude_deg":11.7900432,"altitude":30,"angle":288,"satellites":35,"speed":22,"hex_longitude":"2d0e0580","hex_latitude":"07070490","is_valid_coordinates":true} 
[2026-09-08 16:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949912320001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30810643682557952,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014998796200972288,"note":"Value kept but may cause issues"} 
[2026-09-08 16:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788866852000,"timestamp_ms":1788866852000,"timestamp_seconds":1788866852,"priority":1,"record_length":96,"hex_timestamp":"000001a080c5f4a0"} 
[2026-09-08 16:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 16:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949912320001,"66":14515,"219":206,"94":10240,"24":22,"16":30810643682557952,"45":1014998796200972288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949912320001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30810643682557952,"km_value":30810643682557.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014998796200972288,"description":"Unknown IO ID 45"} 
[2026-09-08 16:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949912320001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1014998796200972288}} 
[2026-09-08 16:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":174582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:57:50] local.INFO: GPS data processed {"connection_id":174582,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:57:50] local.INFO: Acknowledgment sent {"connection_id":174582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:58:14] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:14] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:14] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:58:15] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:15] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:15] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:58:19] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:19] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:58:19] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:58:20] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c60058012d0e004007070610001e011324..."} 
[2026-09-08 16:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c60058012d0e004007070610001e011324..."} 
[2026-09-08 16:58:20] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c60058012d0e004007070610001e011324..."} 
[2026-09-08 16:58:20] local.INFO: Packet analysis {"connection_id":175917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:58:20] local.INFO: Extracted packet for processing {"connection_id":175917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":755892288,"raw_latitude":117900816,"longitude_deg":75.5892288,"latitude_deg":11.7900816,"altitude":30,"angle":275,"satellites":36,"speed":18,"hex_longitude":"2d0e0040","hex_latitude":"07070610","is_valid_coordinates":true} 
[2026-09-08 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-09-08 16:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949914112001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30810712402034688,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010354459085410304,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788866855000,"timestamp_ms":1788866855000,"timestamp_seconds":1788866855,"priority":1,"record_length":96,"hex_timestamp":"000001a080c60058"} 
[2026-09-08 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-09-08 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 16:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 16:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949914112001,"66":14450,"219":206,"94":10240,"24":18,"16":30810712402034688,"45":1010354459085410304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949914112001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:58:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:58:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30810712402034688,"km_value":30810712402034.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010354459085410304,"description":"Unknown IO ID 45"} 
[2026-09-08 16:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949914112001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1010354459085410304}} 
[2026-09-08 16:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":175917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:58:20] local.INFO: GPS data processed {"connection_id":175917,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:58:20] local.INFO: Acknowledgment sent {"connection_id":175917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:58:21] local.INFO: TCP Data received {"connection_id":177394,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:58:21] local.INFO: Processing buffer {"connection_id":177394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:58:21] local.INFO: Packet analysis {"connection_id":177394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:58:21] local.INFO: Extracted packet for processing {"connection_id":177394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:58:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:58:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:58:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":177394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:58:21] local.INFO: GPS data processed {"connection_id":177394,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:58:21] local.INFO: Acknowledgment sent {"connection_id":177394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:58:41] local.INFO: TCP Data received {"connection_id":174867,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:58:41] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:58:41] local.INFO: IMEI packet received {"connection_id":174867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":174867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:58:47] local.INFO: TCP Data received {"connection_id":174867,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:58:47] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:58:47] local.INFO: IMEI packet received {"connection_id":174867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:58:48] local.INFO: TCP Data received {"connection_id":174867,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:58:48] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c24350012d569ec0067b6638002800362b..."} 
[2026-09-08 16:58:48] local.INFO: Packet analysis {"connection_id":174867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:58:48] local.INFO: Extracted packet for processing {"connection_id":174867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c2"} 
[2026-09-08 16:58:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949775104001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788866610000,"timestamp_ms":1788866610000,"timestamp_seconds":1788866610,"priority":1,"record_length":96,"hex_timestamp":"000001a080c24350"} 
[2026-09-08 16:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 16:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949775104001,"66":25625,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949775104001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:58:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:58:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949775104001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":174867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:58:48] local.INFO: GPS data processed {"connection_id":174867,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:58:48] local.INFO: Acknowledgment sent {"connection_id":174867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:58:51] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d0d8500070702800026012e21..."} 
[2026-09-08 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d0d8500070702800026012e21..."} 
[2026-09-08 16:58:51] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d0d8500070702800026012e21..."} 
[2026-09-08 16:58:51] local.INFO: Packet analysis {"connection_id":175917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:58:51] local.INFO: Extracted packet for processing {"connection_id":175917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755860736,"raw_latitude":117899904,"longitude_deg":75.5860736,"latitude_deg":11.7899904,"altitude":38,"angle":302,"satellites":33,"speed":34,"hex_longitude":"2d0d8500","hex_latitude":"07070280","is_valid_coordinates":true} 
[2026-09-08 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949926144001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30812344489607168,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983543967552362496,"note":"Value kept but may cause issues"} 
[2026-09-08 16:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 16:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 16:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949926144001,"66":14450,"219":206,"94":10240,"24":34,"16":30812344489607168,"45":983543967552362496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949926144001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:58:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:58:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30812344489607168,"km_value":30812344489607.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":983543967552362496,"description":"Unknown IO ID 45"} 
[2026-09-08 16:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949926144001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":983543967552362496}} 
[2026-09-08 16:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":175917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:58:51] local.INFO: GPS data processed {"connection_id":175917,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:58:51] local.INFO: Acknowledgment sent {"connection_id":175917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:03] local.INFO: TCP Data received {"connection_id":175918,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:03] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:03] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:59:05] local.INFO: TCP Data received {"connection_id":175918,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:05] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:05] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:59:12] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:12] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:12] local.INFO: IMEI packet received {"connection_id":174868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 16:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":174868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:59:13] local.INFO: TCP Data received {"connection_id":175918,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:13] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:13] local.INFO: IMEI packet received {"connection_id":175918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 16:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":175918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:59:14] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:14] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:14] local.INFO: IMEI packet received {"connection_id":174868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":174868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:59:15] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:15] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:15] local.INFO: IMEI packet received {"connection_id":174868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":174868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:59:17] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:17] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 16:59:17] local.INFO: IMEI packet received {"connection_id":174868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 16:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":174868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:59:18] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c70de0012d0d67c0070711c00023012221..."} 
[2026-09-08 16:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c70de0012d0d67c0070711c00023012221..."} 
[2026-09-08 16:59:18] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c70de0012d0d67c0070711c00023012221..."} 
[2026-09-08 16:59:18] local.INFO: Packet analysis {"connection_id":174868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 16:59:18] local.INFO: Extracted packet for processing {"connection_id":174868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":755853248,"raw_latitude":117903808,"longitude_deg":75.5853248,"latitude_deg":11.7903808,"altitude":35,"angle":290,"satellites":33,"speed":31,"hex_longitude":"2d0d67c0","hex_latitude":"070711c0","is_valid_coordinates":true} 
[2026-09-08 16:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30812748216532992,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974184924577955840,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788866924000,"timestamp_ms":1788866924000,"timestamp_seconds":1788866924,"priority":1,"record_length":96,"hex_timestamp":"000001a080c70de0"} 
[2026-09-08 16:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 16:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":14450,"219":206,"94":10240,"24":31,"16":30812748216532992,"45":974184924577955840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-08 16:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:59:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-08 16:59:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30812748216532992,"km_value":30812748216532.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":974184924577955840,"description":"Unknown IO ID 45"} 
[2026-09-08 16:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":974184924577955840}} 
[2026-09-08 16:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":174868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784650,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:59:18] local.INFO: GPS data processed {"connection_id":174868,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:59:18] local.INFO: Acknowledgment sent {"connection_id":174868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:21] local.INFO: TCP Data received {"connection_id":174867,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 16:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 16:59:21] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 16:59:21] local.INFO: Packet analysis {"connection_id":174867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:59:21] local.INFO: Extracted packet for processing {"connection_id":174867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 16:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 16:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:59:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":174867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:59:21] local.INFO: GPS data processed {"connection_id":174867,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:59:21] local.INFO: Acknowledgment sent {"connection_id":174867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:42] local.INFO: TCP Data received {"connection_id":174585,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:59:42] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:59:42] local.INFO: IMEI packet received {"connection_id":174585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 16:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":174585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:59:46] local.INFO: TCP Data received {"connection_id":175918,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c68910012d19afc0072092e0003400c925..."} 
[2026-09-08 16:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c68910012d19afc0072092e0003400c925..."} 
[2026-09-08 16:59:46] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c68910012d19afc0072092e0003400c925..."} 
[2026-09-08 16:59:46] local.INFO: Packet analysis {"connection_id":175918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:59:46] local.INFO: Extracted packet for processing {"connection_id":175918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119575264,"longitude_deg":75.6658112,"latitude_deg":11.9575264,"altitude":52,"angle":201,"satellites":37,"speed":31,"hex_longitude":"2d19afc0","hex_latitude":"072092e0","is_valid_coordinates":true} 
[2026-09-08 16:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949922560001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18734608690446336,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740134400,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:46] 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-09-08 16:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788866890000,"timestamp_ms":1788866890000,"timestamp_seconds":1788866890,"priority":1,"record_length":96,"hex_timestamp":"000001a080c68910"} 
[2026-09-08 16:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 16:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949922560001,"66":13972,"121":206,"28":31744,"24":31,"16":18734608690446336,"45":1853653489740134400},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949922560001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:59:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18734608690446336,"km_value":18734608690446.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740134400,"description":"Unknown IO ID 45"} 
[2026-09-08 16:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949922560001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1853653489740134400}} 
[2026-09-08 16:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":175918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:59:46] local.INFO: GPS data processed {"connection_id":175918,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:59:46] local.INFO: Acknowledgment sent {"connection_id":175918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:47] local.INFO: TCP Data received {"connection_id":174585,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:59:47] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 16:59:47] local.INFO: IMEI packet received {"connection_id":174585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 16:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 16:59:49] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c7e4b8012d0d2980070740f0002601371f..."} 
[2026-09-08 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c7e4b8012d0d2980070740f0002601371f..."} 
[2026-09-08 16:59:49] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c7e4b8012d0d2980070740f0002601371f..."} 
[2026-09-08 16:59:49] local.INFO: Packet analysis {"connection_id":174868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 16:59:49] local.INFO: Extracted packet for processing {"connection_id":174868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":755837312,"raw_latitude":117915888,"longitude_deg":75.5837312,"latitude_deg":11.7915888,"altitude":38,"angle":311,"satellites":31,"speed":18,"hex_longitude":"2d0d2980","hex_latitude":"070740f0","is_valid_coordinates":true} 
[2026-09-08 16:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949946368001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30814006641950720,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176678010880,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788866979000,"timestamp_ms":1788866979000,"timestamp_seconds":1788866979,"priority":1,"record_length":96,"hex_timestamp":"000001a080c7e4b8"} 
[2026-09-08 16:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 16:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 16:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949946368001,"66":14428,"221":206,"94":10240,"24":18,"16":30814006641950720,"45":948852176678010880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 16:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949946368001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 16:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30814006641950720,"km_value":30814006641950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176678010880,"description":"Unknown IO ID 45"} 
[2026-09-08 16:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949946368001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":948852176678010880}} 
[2026-09-08 16:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":174868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:59:49] local.INFO: GPS data processed {"connection_id":174868,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:59:49] local.INFO: Acknowledgment sent {"connection_id":174868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:49] local.INFO: TCP Data received {"connection_id":175918,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c73cc0012d19dec0072005f0002d00d527..."} 
[2026-09-08 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c73cc0012d19dec0072005f0002d00d527..."} 
[2026-09-08 16:59:49] local.INFO: Processing buffer {"connection_id":175918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c73cc0012d19dec0072005f0002d00d527..."} 
[2026-09-08 16:59:49] local.INFO: Packet analysis {"connection_id":175918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 16:59:49] local.INFO: Extracted packet for processing {"connection_id":175918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539184,"longitude_deg":75.6670144,"latitude_deg":11.9539184,"altitude":45,"angle":213,"satellites":39,"speed":17,"hex_longitude":"2d19dec0","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-09-08 16:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949935360001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18736528540827648,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589335040,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59: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-09-08 16:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788866936000,"timestamp_ms":1788866936000,"timestamp_seconds":1788866936,"priority":1,"record_length":96,"hex_timestamp":"000001a080c73cc0"} 
[2026-09-08 16:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987761347,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503885512507392,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2160518864,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2424373248,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3339831297,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752263234920536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":13230063226989056,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,144,160,52,45,8,39,10,66,49,25,192,1,240,125,128,32,4,113,205,17,208,232,38,239,56,2,7,47,31,206,168,48],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 16:59:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242804104955625472,"timestamp_seconds":3242804104955625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 16:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 16:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949935360001,"66":14341,"121":206,"28":31744,"24":17,"16":18736528540827648,"45":1864419907589335040},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 16:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 16:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949935360001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 16:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18736528540827648,"km_value":18736528540827.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589335040,"description":"Unknown IO ID 45"} 
[2026-09-08 16:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949935360001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1864419907589335040}} 
[2026-09-08 16:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":175918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:59:49] local.INFO: GPS data processed {"connection_id":175918,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:59:49] local.ERROR: TCP Connection error {"connection_id":175918,"code":2,"message":"client closed"} 
[2026-09-08 16:59:49] local.INFO: Acknowledgment sent {"connection_id":175918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:50] local.INFO: TCP Data received {"connection_id":174585,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 16:59:50] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 16:59:50] local.INFO: Packet analysis {"connection_id":174585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:59:50] local.INFO: Extracted packet for processing {"connection_id":174585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 16:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 16:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 16:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 16:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 16:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 16:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 16:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 16:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 16:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 16:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 16:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 16:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 16:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 16:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 16:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 16:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 16:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 16:59:50] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 16:59:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 16:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 16:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 16:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 16:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":174585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 16:59:50] local.INFO: GPS data processed {"connection_id":174585,"processed":1,"errors":0,"total":1} 
[2026-09-08 16:59:50] local.INFO: Acknowledgment sent {"connection_id":174585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 16:59:58] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:58] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 16:59:58] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 16:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 16:59:59] local.INFO: TCP Data received {"connection_id":175919,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:59:59] local.INFO: Processing buffer {"connection_id":175919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 16:59:59] local.INFO: IMEI packet received {"connection_id":175919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":175919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:00:00] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:00] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:00] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:00:01] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:01] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:01] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:00:06] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:06] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:00:06] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:00:11] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c74c60012d19d880071fff78002d00e127..."} 
[2026-09-08 17:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c74c60012d19d880071fff78002d00e127..."} 
[2026-09-08 17:00:11] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c74c60012d19d880071fff78002d00e127..."} 
[2026-09-08 17:00:11] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 17:00:11] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 17:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756668544,"raw_latitude":119537528,"longitude_deg":75.6668544,"latitude_deg":11.9537528,"altitude":45,"angle":225,"satellites":39,"speed":25,"hex_longitude":"2d19d880","hex_latitude":"071fff78","is_valid_coordinates":true} 
[2026-09-08 17:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949935616001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18736640209977344,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612528128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00: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-09-08 17:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788866940000,"timestamp_ms":1788866940000,"timestamp_seconds":1788866940,"priority":1,"record_length":96,"hex_timestamp":"000001a080c74c60"} 
[2026-09-08 17:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987761382,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503885519585280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2160529864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2424373248,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":13230007375634176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84752280414789687,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,144,160,56,45,192,7,39,10,66,52,8,49,1,240,38,128,32,4,113,205,30,17,208,232,239,2,46,206],"length":529,"final_offset":659,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 17:00:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242826095188312064,"timestamp_seconds":3242826095188312.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949935616001,"66":14374,"121":206,"28":31744,"24":25,"16":18736640209977344,"45":1864138432612528128},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949935616001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18736640209977344,"km_value":18736640209977.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612528128,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949935616001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1864138432612528128}} 
[2026-09-08 17:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:11] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:11] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:00:12] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c75430012d19d440071ffc60002e00ed28..."} 
[2026-09-08 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c75430012d19d440071ffc60002e00ed28..."} 
[2026-09-08 17:00:12] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c75430012d19d440071ffc60002e00ed28..."} 
[2026-09-08 17:00:12] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 17:00:12] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c7"} 
[2026-09-08 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119536736,"longitude_deg":75.6667456,"latitude_deg":11.9536736,"altitude":46,"angle":237,"satellites":40,"speed":23,"hex_longitude":"2d19d440","hex_latitude":"071ffc60","is_valid_coordinates":true} 
[2026-09-08 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949936640001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18736704634486784,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214007662592,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00: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-09-08 17:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788866942000,"timestamp_ms":1788866942000,"timestamp_seconds":1788866942,"priority":1,"record_length":96,"hex_timestamp":"000001a080c75430"} 
[2026-09-08 17:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949936640001,"66":14396,"121":206,"28":31744,"24":23,"16":18736704634486784,"45":1862379214007662592},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949936640001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18736704634486784,"km_value":18736704634486.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214007662592,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949936640001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1862379214007662592}} 
[2026-09-08 17:00:12] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:12] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:12] local.INFO: IMEI packet received {"connection_id":177395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":177395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:12] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:12] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:00:14] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:14] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:14] local.INFO: IMEI packet received {"connection_id":177395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":177395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:00:19] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:19] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:00:19] local.INFO: IMEI packet received {"connection_id":177395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":177395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:00:20] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c85600012d0cde4007074d28002100fa25..."} 
[2026-09-08 17:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c85600012d0cde4007074d28002100fa25..."} 
[2026-09-08 17:00:20] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c85600012d0cde4007074d28002100fa25..."} 
[2026-09-08 17:00:20] local.INFO: Packet analysis {"connection_id":177395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:00:20] local.INFO: Extracted packet for processing {"connection_id":177395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":755818048,"raw_latitude":117919016,"longitude_deg":75.5818048,"latitude_deg":11.7919016,"altitude":33,"angle":250,"satellites":37,"speed":19,"hex_longitude":"2d0cde40","hex_latitude":"07074d28","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949953792001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30815024549199872,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927741553425629184,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867008000,"timestamp_ms":1788867008000,"timestamp_seconds":1788867008,"priority":1,"record_length":96,"hex_timestamp":"000001a080c85600"} 
[2026-09-08 17:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949953792001,"66":14135,"221":206,"94":10240,"24":19,"16":30815024549199872,"45":927741553425629184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949953792001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:00:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30815024549199872,"km_value":30815024549199.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":927741553425629184,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949953792001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":927741553425629184}} 
[2026-09-08 17:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":177395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:20] local.INFO: GPS data processed {"connection_id":177395,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:20] local.INFO: Acknowledgment sent {"connection_id":177395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:00:22] local.INFO: TCP Data received {"connection_id":174585,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:00:22] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:00:22] local.INFO: Packet analysis {"connection_id":174585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:00:22] local.INFO: Extracted packet for processing {"connection_id":174585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:22] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":174585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:22] local.INFO: GPS data processed {"connection_id":174585,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:22] local.INFO: Acknowledgment sent {"connection_id":174585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:00:41] local.INFO: TCP Data received {"connection_id":175920,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:00:41] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:00:41] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:00:43] local.INFO: TCP Data received {"connection_id":174586,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c81780012d197cc0071febb0003e010525..."} 
[2026-09-08 17:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c81780012d197cc0071febb0003e010525..."} 
[2026-09-08 17:00:43] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c81780012d197cc0071febb0003e010525..."} 
[2026-09-08 17:00:43] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:00:43] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532464,"longitude_deg":75.6645056,"latitude_deg":11.9532464,"altitude":62,"angle":261,"satellites":37,"speed":17,"hex_longitude":"2d197cc0","hex_latitude":"071febb0","is_valid_coordinates":true} 
[2026-09-08 17:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949949696001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18737855685722112,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102431744,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:43] 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-09-08 17:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788866992000,"timestamp_ms":1788866992000,"timestamp_seconds":1788866992,"priority":1,"record_length":96,"hex_timestamp":"000001a080c81780"} 
[2026-09-08 17:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949949696001,"66":14363,"121":206,"28":31744,"24":17,"16":18737855685722112,"45":1837046466102431744},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949949696001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18737855685722112,"km_value":18737855685722.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102431744,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949949696001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1837046466102431744}} 
[2026-09-08 17:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:44] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:44] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:00:47] local.INFO: TCP Data received {"connection_id":175920,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:00:47] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:00:47] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:00:50] local.INFO: TCP Data received {"connection_id":175920,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:00:50] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:00:50] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:00:50] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:50] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:00:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:50] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:50] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:00:51] local.INFO: TCP Data received {"connection_id":177395,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c859e8012d0cdc0007074d000021010625..."} 
[2026-09-08 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c859e8012d0cdc0007074d000021010625..."} 
[2026-09-08 17:00:51] local.INFO: Processing buffer {"connection_id":177395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c859e8012d0cdc0007074d000021010625..."} 
[2026-09-08 17:00:51] local.INFO: Packet analysis {"connection_id":177395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:00:51] local.INFO: Extracted packet for processing {"connection_id":177395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":755817472,"raw_latitude":117918976,"longitude_deg":75.5817472,"latitude_deg":11.7918976,"altitude":33,"angle":262,"satellites":37,"speed":19,"hex_longitude":"2d0cdc00","hex_latitude":"07074d00","is_valid_coordinates":true} 
[2026-09-08 17:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949954048001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30815050319003648,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927248972216346624,"note":"Value kept but may cause issues"} 
[2026-09-08 17:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867009000,"timestamp_ms":1788867009000,"timestamp_seconds":1788867009,"priority":1,"record_length":96,"hex_timestamp":"000001a080c859e8"} 
[2026-09-08 17:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 17:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949954048001,"66":14135,"221":206,"94":10240,"24":19,"16":30815050319003648,"45":927248972216346624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949954048001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:00:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:00:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30815050319003648,"km_value":30815050319003.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":927248972216346624,"description":"Unknown IO ID 45"} 
[2026-09-08 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949954048001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":927248972216346624}} 
[2026-09-08 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":177395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:00:51] local.INFO: GPS data processed {"connection_id":177395,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:00:51] local.INFO: Acknowledgment sent {"connection_id":177395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:04] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:04] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:04] local.INFO: IMEI packet received {"connection_id":175922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":175922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:01:05] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:05] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:05] local.INFO: IMEI packet received {"connection_id":175922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":175922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:01:06] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c82338012d197700071feb58003f011226..."} 
[2026-09-08 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c82338012d197700071feb58003f011226..."} 
[2026-09-08 17:01:06] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c82338012d197700071feb58003f011226..."} 
[2026-09-08 17:01:06] local.INFO: Packet analysis {"connection_id":175922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:06] local.INFO: Extracted packet for processing {"connection_id":175922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756643584,"raw_latitude":119532376,"longitude_deg":75.6643584,"latitude_deg":11.9532376,"altitude":63,"angle":274,"satellites":38,"speed":18,"hex_longitude":"2d197700","hex_latitude":"071feb58","is_valid_coordinates":true} 
[2026-09-08 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949949952001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18737924405198848,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893163520,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:06] 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-09-08 17:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788866995000,"timestamp_ms":1788866995000,"timestamp_seconds":1788866995,"priority":1,"record_length":96,"hex_timestamp":"000001a080c82338"} 
[2026-09-08 17:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949949952001,"66":14233,"121":206,"28":31744,"24":18,"16":18737924405198848,"45":1836553884893163520},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949949952001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18737924405198848,"km_value":18737924405198.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893163520,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949949952001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1836553884893163520}} 
[2026-09-08 17:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":175922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:06] local.INFO: GPS data processed {"connection_id":175922,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:06] local.INFO: Acknowledgment sent {"connection_id":175922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:12] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c84278012d196b40071feda0003f011f26..."} 
[2026-09-08 17:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c84278012d196b40071feda0003f011f26..."} 
[2026-09-08 17:01:12] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c84278012d196b40071feda0003f011f26..."} 
[2026-09-08 17:01:12] local.INFO: Packet analysis {"connection_id":175922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:12] local.INFO: Extracted packet for processing {"connection_id":175922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532960,"longitude_deg":75.6640576,"latitude_deg":11.953296,"altitude":63,"angle":287,"satellites":38,"speed":9,"hex_longitude":"2d196b40","hex_latitude":"071feda0","is_valid_coordinates":true} 
[2026-09-08 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949950720001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18738074729054208,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834935403777054720,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01: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-09-08 17:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788867003000,"timestamp_ms":1788867003000,"timestamp_seconds":1788867003,"priority":1,"record_length":96,"hex_timestamp":"000001a080c84278"} 
[2026-09-08 17:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949950720001,"66":14428,"121":206,"28":31744,"24":9,"16":18738074729054208,"45":1834935403777054720},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949950720001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18738074729054208,"km_value":18738074729054.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834935403777054720,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949950720001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1834935403777054720}} 
[2026-09-08 17:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":175922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:12] local.INFO: GPS data processed {"connection_id":175922,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:12] local.INFO: Acknowledgment sent {"connection_id":175922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:14] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:01:14] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:01:14] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:01:19] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:01:19] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:01:19] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:01:20] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c85dd0012d0cda0007074e000021011a25..."} 
[2026-09-08 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c85dd0012d0cda0007074e000021011a25..."} 
[2026-09-08 17:01:20] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c85dd0012d0cda0007074e000021011a25..."} 
[2026-09-08 17:01:20] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:20] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:20] local.INFO: GPS Element Parsed {"raw_longitude":755816960,"raw_latitude":117919232,"longitude_deg":75.581696,"latitude_deg":11.7919232,"altitude":33,"angle":282,"satellites":37,"speed":20,"hex_longitude":"2d0cda00","hex_latitude":"07074e00","is_valid_coordinates":true} 
[2026-09-08 17:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949954304001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30815076088807424,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926615653518737408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867010000,"timestamp_ms":1788867010000,"timestamp_seconds":1788867010,"priority":1,"record_length":96,"hex_timestamp":"000001a080c85dd0"} 
[2026-09-08 17:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949954304001,"66":14352,"221":206,"94":10240,"24":20,"16":30815076088807424,"45":926615653518737408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949954304001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:01:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30815076088807424,"km_value":30815076088807.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":926615653518737408,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949954304001,"power":14352,"unknown_221":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":926615653518737408}} 
[2026-09-08 17:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:20] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:20] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:21] local.INFO: TCP Data received {"connection_id":175920,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:01:21] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:01:21] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:01:21] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:01:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:01:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:21] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:21] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:41] local.INFO: TCP Data received {"connection_id":177396,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:01:41] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:01:41] local.INFO: IMEI packet received {"connection_id":177396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":177396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:01:44] local.INFO: TCP Data received {"connection_id":175922,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c909b0012d197ec0071fee180041003727..."} 
[2026-09-08 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c909b0012d197ec0071fee180041003727..."} 
[2026-09-08 17:01:44] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c909b0012d197ec0071fee180041003727..."} 
[2026-09-08 17:01:44] local.INFO: Packet analysis {"connection_id":175922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:01:44] local.INFO: Extracted packet for processing {"connection_id":175922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119533080,"longitude_deg":75.6645568,"latitude_deg":11.953308,"altitude":65,"angle":55,"satellites":39,"speed":19,"hex_longitude":"2d197ec0","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-09-08 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949965312001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18738435506307072,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836131672428150784,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01: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-09-08 17:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788867054000,"timestamp_ms":1788867054000,"timestamp_seconds":1788867054,"priority":1,"record_length":96,"hex_timestamp":"000001a080c909b0"} 
[2026-09-08 17:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987761824,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503885548617728,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2160635864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2453667840,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3368759297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3977248831,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84751900310183917,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.WARNING: Large IO value detected {"io_id":184,"raw_value":17733731657712128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,146,160,226,45,192,237,63,39,10,66,211,64,236,40,207,1,240,220,128,31,4,113,205,199,103,72,239,56,2,7,206,184],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 17:01:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611774146862645248,"timestamp_seconds":4611774146862645.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949965312001,"66":14428,"121":206,"28":31744,"24":19,"16":18738435506307072,"45":1836131672428150784},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949965312001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18738435506307072,"km_value":18738435506307.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836131672428150784,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949965312001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1836131672428150784}} 
[2026-09-08 17:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":175922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:44] local.INFO: GPS data processed {"connection_id":175922,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:44] local.INFO: Acknowledgment sent {"connection_id":175922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:47] local.INFO: TCP Data received {"connection_id":177396,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:01:47] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:01:47] local.INFO: IMEI packet received {"connection_id":177396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":177396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:01:48] local.INFO: TCP Data received {"connection_id":177396,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:01:48] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:01:48] local.INFO: Packet analysis {"connection_id":177396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:01:48] local.INFO: Extracted packet for processing {"connection_id":177396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:01:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:01:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":177396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:48] local.INFO: GPS data processed {"connection_id":177396,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:48] local.INFO: Acknowledgment sent {"connection_id":177396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:51] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c89480012d0cb98007075ac80020012b24..."} 
[2026-09-08 17:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c89480012d0cb98007075ac80020012b24..."} 
[2026-09-08 17:01:51] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c89480012d0cb98007075ac80020012b24..."} 
[2026-09-08 17:01:51] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:51] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c8"} 
[2026-09-08 17:01:51] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117922504,"longitude_deg":75.580864,"latitude_deg":11.7922504,"altitude":32,"angle":299,"satellites":36,"speed":14,"hex_longitude":"2d0cb980","hex_latitude":"07075ac8","is_valid_coordinates":true} 
[2026-09-08 17:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949954560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30815501290569728,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926052703565381632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867024000,"timestamp_ms":1788867024000,"timestamp_seconds":1788867024,"priority":1,"record_length":96,"hex_timestamp":"000001a080c89480"} 
[2026-09-08 17:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2160607864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":82472228305764362,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504069825429504,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3360567297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636563190460381,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910959,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84738147824895829,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":9852651302817280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1819446521369722845,"note":"Value kept but may cause issues"} 
[2026-09-08 17:01:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,221,94,24,241,157,16,122,160,89,45,77,33,37,10,66,86,64,82,1,240,201,227,128,7,4,113,205,20,74,226,176,239,53,2,109,34,206,144,112,12],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-09-08 17:01:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378210824445755392,"timestamp_seconds":2378210824445755.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949954560001,"66":14374,"221":206,"94":10240,"24":14,"16":30815501290569728,"45":926052703565381632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949954560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:01:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:01:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30815501290569728,"km_value":30815501290569.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":926052703565381632,"description":"Unknown IO ID 45"} 
[2026-09-08 17:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949954560001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":926052703565381632}} 
[2026-09-08 17:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:01:51] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:01:51] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:01:58] local.INFO: TCP Data received {"connection_id":174869,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:58] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:01:58] local.INFO: IMEI packet received {"connection_id":174869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":174869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:02:00] local.INFO: TCP Data received {"connection_id":174869,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:02:00] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:02:00] local.INFO: IMEI packet received {"connection_id":174869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":174869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:02:06] local.INFO: TCP Data received {"connection_id":174869,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:02:06] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:02:06] local.INFO: IMEI packet received {"connection_id":174869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":174869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:02:07] local.INFO: TCP Data received {"connection_id":174869,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c91568012d198440071ff1080041004b27..."} 
[2026-09-08 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c91568012d198440071ff1080041004b27..."} 
[2026-09-08 17:02:07] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c91568012d198440071ff1080041004b27..."} 
[2026-09-08 17:02:07] local.INFO: Packet analysis {"connection_id":174869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:02:07] local.INFO: Extracted packet for processing {"connection_id":174869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533832,"longitude_deg":75.6646976,"latitude_deg":11.9533832,"altitude":65,"angle":75,"satellites":39,"speed":20,"hex_longitude":"2d198440","hex_latitude":"071ff108","is_valid_coordinates":true} 
[2026-09-08 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949965824001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18738512815718400,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834846742528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02: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-09-08 17:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788867057000,"timestamp_ms":1788867057000,"timestamp_seconds":1788867057,"priority":1,"record_length":96,"hex_timestamp":"000001a080c91568"} 
[2026-09-08 17:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949965824001,"66":14374,"121":206,"28":31744,"24":20,"16":18738512815718400,"45":1837116834846742528},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949965824001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18738512815718400,"km_value":18738512815718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834846742528,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949965824001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1837116834846742528}} 
[2026-09-08 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":174869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:08] local.INFO: GPS data processed {"connection_id":174869,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:08] local.INFO: Acknowledgment sent {"connection_id":174869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:02:15] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:02:15] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:02:15] local.INFO: IMEI packet received {"connection_id":177397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":177397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:02:19] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:02:19] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:02:19] local.INFO: IMEI packet received {"connection_id":177397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":177397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:02:20] local.INFO: TCP Data received {"connection_id":177396,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:20] local.INFO: Processing buffer {"connection_id":177396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:20] local.INFO: Packet analysis {"connection_id":177396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:02:20] local.INFO: Extracted packet for processing {"connection_id":177396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":177396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:20] local.INFO: GPS data processed {"connection_id":177396,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:20] local.INFO: Acknowledgment sent {"connection_id":177396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:02:20] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080c9f028012d0c80c0070774100016013223..."} 
[2026-09-08 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c9f028012d0c80c0070774100016013223..."} 
[2026-09-08 17:02:20] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c9f028012d0c80c0070774100016013223..."} 
[2026-09-08 17:02:20] local.INFO: Packet analysis {"connection_id":177397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:02:20] local.INFO: Extracted packet for processing {"connection_id":177397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":755794112,"raw_latitude":117928976,"longitude_deg":75.5794112,"latitude_deg":11.7928976,"altitude":22,"angle":306,"satellites":35,"speed":7,"hex_longitude":"2d0c80c0","hex_latitude":"07077410","is_valid_coordinates":true} 
[2026-09-08 17:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949980672001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30816510607884288,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901142168128954368,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867113000,"timestamp_ms":1788867113000,"timestamp_seconds":1788867113,"priority":1,"record_length":96,"hex_timestamp":"000001a080c9f028"} 
[2026-09-08 17:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949980672001,"66":14537,"221":206,"94":10240,"24":7,"16":30816510607884288,"45":901142168128954368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949980672001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30816510607884288,"km_value":30816510607884.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":901142168128954368,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949980672001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":901142168128954368}} 
[2026-09-08 17:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":177397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784672,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:20] local.INFO: GPS data processed {"connection_id":177397,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:20] local.INFO: Acknowledgment sent {"connection_id":177397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:02:43] local.INFO: TCP Data received {"connection_id":174869,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080c9e858012d19cd00072018d0002f014826..."} 
[2026-09-08 17:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c9e858012d19cd00072018d0002f014826..."} 
[2026-09-08 17:02:43] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c9e858012d19cd00072018d0002f014826..."} 
[2026-09-08 17:02:43] local.INFO: Packet analysis {"connection_id":174869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:02:43] local.INFO: Extracted packet for processing {"connection_id":174869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c9"} 
[2026-09-08 17:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544016,"longitude_deg":75.66656,"latitude_deg":11.9544016,"altitude":47,"angle":328,"satellites":38,"speed":35,"hex_longitude":"2d19cd00","hex_latitude":"072018d0","is_valid_coordinates":true} 
[2026-09-08 17:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949979904001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18740050414010368,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860268151683643392,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:43] 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-09-08 17:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788867111000,"timestamp_ms":1788867111000,"timestamp_seconds":1788867111,"priority":1,"record_length":96,"hex_timestamp":"000001a080c9e858"} 
[2026-09-08 17:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949979904001,"66":14211,"121":206,"28":31744,"24":35,"16":18740050414010368,"45":1860268151683643392},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949979904001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18740050414010368,"km_value":18740050414010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860268151683643392,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949979904001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1860268151683643392}} 
[2026-09-08 17:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":174869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:43] local.INFO: GPS data processed {"connection_id":174869,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:43] local.INFO: Acknowledgment sent {"connection_id":174869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:02:47] local.INFO: TCP Data received {"connection_id":175924,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:02:47] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:02:47] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:02:51] local.INFO: TCP Data received {"connection_id":177397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ca9c08012d0c314007075460001400ed24..."} 
[2026-09-08 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ca9c08012d0c314007075460001400ed24..."} 
[2026-09-08 17:02:51] local.INFO: Processing buffer {"connection_id":177397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ca9c08012d0c314007075460001400ed24..."} 
[2026-09-08 17:02:51] local.INFO: Packet analysis {"connection_id":177397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ca"} 
[2026-09-08 17:02:51] local.INFO: Extracted packet for processing {"connection_id":177397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ca"} 
[2026-09-08 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":755773760,"raw_latitude":117920864,"longitude_deg":75.577376,"latitude_deg":11.7920864,"altitude":20,"angle":237,"satellites":36,"speed":22,"hex_longitude":"2d0c3140","hex_latitude":"07075460","is_valid_coordinates":true} 
[2026-09-08 17:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949991936001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30817829162844160,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879187119943536640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867157000,"timestamp_ms":1788867157000,"timestamp_seconds":1788867157,"priority":1,"record_length":96,"hex_timestamp":"000001a080ca9c08"} 
[2026-09-08 17:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949991936001,"66":13863,"221":206,"94":10240,"24":22,"16":30817829162844160,"45":879187119943536640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949991936001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:02:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30817829162844160,"km_value":30817829162844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":879187119943536640,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949991936001,"power":13863,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":879187119943536640}} 
[2026-09-08 17:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":177397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:51] local.INFO: GPS data processed {"connection_id":177397,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:51] local.INFO: Acknowledgment sent {"connection_id":177397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:02:52] local.INFO: TCP Data received {"connection_id":175924,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:02:52] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:02:52] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:02:53] local.INFO: TCP Data received {"connection_id":175924,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:53] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:53] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:02:53] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:53] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:02:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:53] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:53] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:02:59] local.INFO: TCP Data received {"connection_id":175924,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:59] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:02:59] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:02:59] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:02:59] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:02:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:02:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:02:59] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:02:59] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:03:01] local.INFO: TCP Data received {"connection_id":174870,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:03:01] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:03:01] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:03:02] local.INFO: TCP Data received {"connection_id":174870,"ip":"117.224.142.89","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:03:02] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:03:02] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:03:03] local.INFO: TCP Data received {"connection_id":174870,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:03:03] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:03:03] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:03:14] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:03:14] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:03:14] local.INFO: IMEI packet received {"connection_id":177398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":177398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:03:19] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:03:19] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:03:19] local.INFO: IMEI packet received {"connection_id":177398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":177398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:03:20] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080caa3d8012d0c2b40070753300014010124..."} 
[2026-09-08 17:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080caa3d8012d0c2b40070753300014010124..."} 
[2026-09-08 17:03:20] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080caa3d8012d0c2b40070753300014010124..."} 
[2026-09-08 17:03:20] local.INFO: Packet analysis {"connection_id":177398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ca"} 
[2026-09-08 17:03:20] local.INFO: Extracted packet for processing {"connection_id":177398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ca"} 
[2026-09-08 17:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755772224,"raw_latitude":117920560,"longitude_deg":75.5772224,"latitude_deg":11.792056,"altitude":20,"angle":257,"satellites":36,"speed":31,"hex_longitude":"2d0c2b40","hex_latitude":"07075330","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949992192001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30817906472255488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878553801245876224,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867159000,"timestamp_ms":1788867159000,"timestamp_seconds":1788867159,"priority":1,"record_length":96,"hex_timestamp":"000001a080caa3d8"} 
[2026-09-08 17:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-08 17:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949992192001,"66":13798,"221":206,"94":10240,"24":31,"16":30817906472255488,"45":878553801245876224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 17:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949992192001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 17:03:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30817906472255488,"km_value":30817906472255.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":878553801245876224,"description":"Unknown IO ID 45"} 
[2026-09-08 17:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949992192001,"power":13798,"unknown_221":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":878553801245876224}} 
[2026-09-08 17:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":177398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:03:20] local.INFO: GPS data processed {"connection_id":177398,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:03:20] local.INFO: Acknowledgment sent {"connection_id":177398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:03:42] local.INFO: TCP Data received {"connection_id":177399,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:03:42] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:03:42] local.INFO: IMEI packet received {"connection_id":177399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":177399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:03:47] local.INFO: TCP Data received {"connection_id":177399,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:03:47] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:03:47] local.INFO: IMEI packet received {"connection_id":177399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":177399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:03:48] local.INFO: TCP Data received {"connection_id":177399,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:03:48] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080c6db18012d569ec0067b6638002800362e..."} 
[2026-09-08 17:03:48] local.INFO: Packet analysis {"connection_id":177399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:03:48] local.INFO: Extracted packet for processing {"connection_id":177399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080c6"} 
[2026-09-08 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949852160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788866911000,"timestamp_ms":1788866911000,"timestamp_seconds":1788866911,"priority":1,"record_length":96,"hex_timestamp":"000001a080c6db18"} 
[2026-09-08 17:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 17:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949852160001,"66":25538,"14":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-09-08 17:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949852160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:03:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-08 17:03:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949852160001,"power":25538,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":177399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:03:48] local.INFO: GPS data processed {"connection_id":177399,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:03:48] local.INFO: Acknowledgment sent {"connection_id":177399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:03:51] local.INFO: TCP Data received {"connection_id":177398,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb9220012d0ba9c007071618001700eb25..."} 
[2026-09-08 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb9220012d0ba9c007071618001700eb25..."} 
[2026-09-08 17:03:51] local.INFO: Processing buffer {"connection_id":177398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb9220012d0ba9c007071618001700eb25..."} 
[2026-09-08 17:03:51] local.INFO: Packet analysis {"connection_id":177398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:03:51] local.INFO: Extracted packet for processing {"connection_id":177398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117904920,"longitude_deg":75.5739072,"latitude_deg":11.790492,"altitude":23,"angle":235,"satellites":37,"speed":6,"hex_longitude":"2d0ba9c0","hex_latitude":"07071618","is_valid_coordinates":true} 
[2026-09-08 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950007552001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30820023891132416,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841469473060249600,"note":"Value kept but may cause issues"} 
[2026-09-08 17:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867220000,"timestamp_ms":1788867220000,"timestamp_seconds":1788867220,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb9220"} 
[2026-09-08 17:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 17:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950007552001,"66":14537,"163":206,"94":10240,"24":6,"16":30820023891132416,"45":841469473060249600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950007552001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:03:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30820023891132416,"km_value":30820023891132.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":841469473060249600,"description":"Unknown IO ID 45"} 
[2026-09-08 17:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950007552001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":841469473060249600}} 
[2026-09-08 17:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":177398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:03:51] local.INFO: GPS data processed {"connection_id":177398,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:03:51] local.INFO: Acknowledgment sent {"connection_id":177398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:04:14] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:14] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:14] local.INFO: IMEI packet received {"connection_id":177400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":177400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:04:14] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:14] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:14] local.INFO: IMEI packet received {"connection_id":177400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":177400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:04:16] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:16] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:16] local.INFO: IMEI packet received {"connection_id":177400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":177400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:04:19] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:19] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:04:19] local.INFO: IMEI packet received {"connection_id":177400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":177400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:04:20] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080cba1c0012d0ba4c007071350001600f824..."} 
[2026-09-08 17:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cba1c0012d0ba4c007071350001600f824..."} 
[2026-09-08 17:04:20] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cba1c0012d0ba4c007071350001600f824..."} 
[2026-09-08 17:04:20] local.INFO: Packet analysis {"connection_id":177400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:20] local.INFO: Extracted packet for processing {"connection_id":177400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:20] local.INFO: GPS Element Parsed {"raw_longitude":755737792,"raw_latitude":117904208,"longitude_deg":75.5737792,"latitude_deg":11.7904208,"altitude":22,"angle":248,"satellites":36,"speed":22,"hex_longitude":"2d0ba4c0","hex_latitude":"07071350","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950008320001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30820092610609152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941897500672,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867224000,"timestamp_ms":1788867224000,"timestamp_seconds":1788867224,"priority":1,"record_length":96,"hex_timestamp":"000001a080cba1c0"} 
[2026-09-08 17:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 17:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950008320001,"66":14439,"163":206,"94":10240,"24":22,"16":30820092610609152,"45":840413941897500672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950008320001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30820092610609152,"km_value":30820092610609.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941897500672,"description":"Unknown IO ID 45"} 
[2026-09-08 17:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950008320001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":840413941897500672}} 
[2026-09-08 17:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":177400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:04:20] local.INFO: GPS data processed {"connection_id":177400,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:04:20] local.INFO: Acknowledgment sent {"connection_id":177400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:04:20] local.INFO: TCP Data received {"connection_id":177399,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:20] local.INFO: Processing buffer {"connection_id":177399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:20] local.INFO: Packet analysis {"connection_id":177399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:20] local.INFO: Extracted packet for processing {"connection_id":177399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":177399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:04:20] local.INFO: GPS data processed {"connection_id":177399,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:04:20] local.INFO: Acknowledgment sent {"connection_id":177399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:04:47] local.INFO: TCP Data received {"connection_id":175929,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:04:47] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:04:47] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:04:51] local.INFO: TCP Data received {"connection_id":177400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080cbad78012d0b9d80070711a80016010424..."} 
[2026-09-08 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cbad78012d0b9d80070711a80016010424..."} 
[2026-09-08 17:04:51] local.INFO: Processing buffer {"connection_id":177400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cbad78012d0b9d80070711a80016010424..."} 
[2026-09-08 17:04:51] local.INFO: Packet analysis {"connection_id":177400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:51] local.INFO: Extracted packet for processing {"connection_id":177400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:51] local.INFO: GPS Element Parsed {"raw_longitude":755735936,"raw_latitude":117903784,"longitude_deg":75.5735936,"latitude_deg":11.7903784,"altitude":22,"angle":260,"satellites":36,"speed":26,"hex_longitude":"2d0b9d80","hex_latitude":"070711a8","is_valid_coordinates":true} 
[2026-09-08 17:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950009344001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30820182804922368,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839006567013765120,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867227000,"timestamp_ms":1788867227000,"timestamp_seconds":1788867227,"priority":1,"record_length":96,"hex_timestamp":"000001a080cbad78"} 
[2026-09-08 17:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 17:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950009344001,"66":14461,"163":206,"94":10240,"24":26,"16":30820182804922368,"45":839006567013765120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950009344001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:04:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:04:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30820182804922368,"km_value":30820182804922.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":839006567013765120,"description":"Unknown IO ID 45"} 
[2026-09-08 17:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950009344001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":839006567013765120}} 
[2026-09-08 17:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":177400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:04:51] local.INFO: GPS data processed {"connection_id":177400,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:04:51] local.INFO: Acknowledgment sent {"connection_id":177400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:04:52] local.INFO: TCP Data received {"connection_id":175929,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:04:52] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:04:52] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:04:53] local.INFO: TCP Data received {"connection_id":175929,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:53] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:53] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:53] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:04:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:04:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:04:53] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:04:53] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:04:58] local.INFO: TCP Data received {"connection_id":175929,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:58] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:04:58] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:58] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:04:58] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:04:58] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:04:58] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:05:14] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:05:14] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:05:14] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:05:19] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:05:19] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:05:19] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:05:19] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:05:19] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:05:19] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:05:20] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ccbb00012d0af900070676a8000c00dd21..."} 
[2026-09-08 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ccbb00012d0af900070676a8000c00dd21..."} 
[2026-09-08 17:05:20] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ccbb00012d0af900070676a8000c00dd21..."} 
[2026-09-08 17:05:20] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:05:20] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":755693824,"raw_latitude":117864104,"longitude_deg":75.5693824,"latitude_deg":11.7864104,"altitude":12,"angle":221,"satellites":33,"speed":19,"hex_longitude":"2d0af900","hex_latitude":"070676a8","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950027008001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30823197871964160,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664683966464,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867296000,"timestamp_ms":1788867296000,"timestamp_seconds":1788867296,"priority":1,"record_length":96,"hex_timestamp":"000001a080ccbb00"} 
[2026-09-08 17:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 17:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950027008001,"66":14450,"163":206,"94":10240,"24":19,"16":30823197871964160,"45":791507664683966464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950027008001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:05:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:05:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30823197871964160,"km_value":30823197871964.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664683966464,"description":"Unknown IO ID 45"} 
[2026-09-08 17:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950027008001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":791507664683966464}} 
[2026-09-08 17:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:05:20] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:05:20] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:05:42] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:05:42] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:05:42] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:05:44] local.INFO: TCP Data received {"connection_id":174588,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:05:44] local.INFO: Processing buffer {"connection_id":174588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:05:44] local.INFO: IMEI packet received {"connection_id":174588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":174588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:05:47] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:05:47] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:05:47] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:05:48] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:05:48] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:05:48] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:05:48] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:05:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:05:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:05:49] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:05:49] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:05:51] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ccbee8012d0af78007067580000c00eb20..."} 
[2026-09-08 17:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ccbee8012d0af78007067580000c00eb20..."} 
[2026-09-08 17:05:51] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ccbee8012d0af78007067580000c00eb20..."} 
[2026-09-08 17:05:51] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:05:51] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755693440,"raw_latitude":117863808,"longitude_deg":75.569344,"latitude_deg":11.7863808,"altitude":12,"angle":235,"satellites":32,"speed":20,"hex_longitude":"2d0af780","hex_latitude":"07067580","is_valid_coordinates":true} 
[2026-09-08 17:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950027776001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30823223641767936,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790663239753443328,"note":"Value kept but may cause issues"} 
[2026-09-08 17:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867297000,"timestamp_ms":1788867297000,"timestamp_seconds":1788867297,"priority":1,"record_length":96,"hex_timestamp":"000001a080ccbee8"} 
[2026-09-08 17:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 17:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950027776001,"66":14450,"163":206,"94":10240,"24":20,"16":30823223641767936,"45":790663239753443328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950027776001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:05:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:05:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30823223641767936,"km_value":30823223641767.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":790663239753443328,"description":"Unknown IO ID 45"} 
[2026-09-08 17:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950027776001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":790663239753443328}} 
[2026-09-08 17:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:05:51] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:05:51] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:06:15] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:15] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:15] local.INFO: IMEI packet received {"connection_id":177401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":177401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:06:19] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:19] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:19] local.INFO: IMEI packet received {"connection_id":177401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":177401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:06:21] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:06:21] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:06:21] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:06:21] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:06:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:06:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:06:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:06:21] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:06:21] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:06:22] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:22] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:06:22] local.INFO: IMEI packet received {"connection_id":177401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":177401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:06:23] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ccd658012d0aef4007067070000c00da1f..."} 
[2026-09-08 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ccd658012d0aef4007067070000c00da1f..."} 
[2026-09-08 17:06:23] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ccd658012d0aef4007067070000c00da1f..."} 
[2026-09-08 17:06:23] local.INFO: Packet analysis {"connection_id":177401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:06:23] local.INFO: Extracted packet for processing {"connection_id":177401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117862512,"longitude_deg":75.5691328,"latitude_deg":11.7862512,"altitude":12,"angle":218,"satellites":31,"speed":9,"hex_longitude":"2d0aef40","hex_latitude":"07067070","is_valid_coordinates":true} 
[2026-09-08 17:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950028032001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30823343900852224,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790241027288301568,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788867303000,"timestamp_ms":1788867303000,"timestamp_seconds":1788867303,"priority":1,"record_length":96,"hex_timestamp":"000001a080ccd658"} 
[2026-09-08 17:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 17:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950028032001,"66":14363,"163":206,"94":10240,"24":9,"16":30823343900852224,"45":790241027288301568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950028032001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:06:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30823343900852224,"km_value":30823343900852.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":790241027288301568,"description":"Unknown IO ID 45"} 
[2026-09-08 17:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950028032001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":790241027288301568}} 
[2026-09-08 17:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":177401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:06:23] local.INFO: GPS data processed {"connection_id":177401,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:06:23] local.INFO: Acknowledgment sent {"connection_id":177401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:06:24] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ccda40012d0aeec007066fb0000d00c820..."} 
[2026-09-08 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ccda40012d0aeec007066fb0000d00c820..."} 
[2026-09-08 17:06:24] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ccda40012d0aeec007066fb0000d00c820..."} 
[2026-09-08 17:06:24] local.INFO: Packet analysis {"connection_id":177401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:06:24] local.INFO: Extracted packet for processing {"connection_id":177401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cc"} 
[2026-09-08 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":755691200,"raw_latitude":117862320,"longitude_deg":75.56912,"latitude_deg":11.786232,"altitude":13,"angle":200,"satellites":32,"speed":7,"hex_longitude":"2d0aeec0","hex_latitude":"07066fb0","is_valid_coordinates":true} 
[2026-09-08 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950029568001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30823352490786816,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730106880,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788867304000,"timestamp_ms":1788867304000,"timestamp_seconds":1788867304,"priority":1,"record_length":96,"hex_timestamp":"000001a080ccda40"} 
[2026-09-08 17:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 17:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950029568001,"66":14537,"163":206,"94":10240,"24":7,"16":30823352490786816,"45":787918858730106880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-08 17:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950029568001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:06:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-08 17:06:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30823352490786816,"km_value":30823352490786.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730106880,"description":"Unknown IO ID 45"} 
[2026-09-08 17:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950029568001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":787918858730106880}} 
[2026-09-08 17:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":177401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784690,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:06:24] local.INFO: GPS data processed {"connection_id":177401,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:06:24] local.INFO: Acknowledgment sent {"connection_id":177401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:06:41] local.INFO: TCP Data received {"connection_id":174874,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:06:41] local.INFO: Processing buffer {"connection_id":174874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:06:41] local.INFO: IMEI packet received {"connection_id":174874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":174874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:06:47] local.INFO: TCP Data received {"connection_id":174874,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:06:47] local.INFO: Processing buffer {"connection_id":174874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:06:47] local.INFO: IMEI packet received {"connection_id":174874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:06:50] local.INFO: TCP Data received {"connection_id":174874,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:06:50] local.INFO: Processing buffer {"connection_id":174874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:06:50] local.INFO: Packet analysis {"connection_id":174874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:06:50] local.INFO: Extracted packet for processing {"connection_id":174874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:06:50] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:06:50] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:06:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":174874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:06:50] local.INFO: GPS data processed {"connection_id":174874,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:06:50] local.INFO: Acknowledgment sent {"connection_id":174874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:06:55] local.INFO: TCP Data received {"connection_id":177401,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ce0ed8012d0b4e400705ff70000f002d23..."} 
[2026-09-08 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ce0ed8012d0b4e400705ff70000f002d23..."} 
[2026-09-08 17:06:55] local.INFO: Processing buffer {"connection_id":177401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ce0ed8012d0b4e400705ff70000f002d23..."} 
[2026-09-08 17:06:55] local.INFO: Packet analysis {"connection_id":177401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:06:55] local.INFO: Extracted packet for processing {"connection_id":177401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833584,"longitude_deg":75.5715648,"latitude_deg":11.7833584,"altitude":15,"angle":45,"satellites":35,"speed":7,"hex_longitude":"2d0b4e40","hex_latitude":"0705ff70","is_valid_coordinates":true} 
[2026-09-08 17:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950049792001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30825246571364352,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612766009344,"note":"Value kept but may cause issues"} 
[2026-09-08 17:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788867383000,"timestamp_ms":1788867383000,"timestamp_seconds":1788867383,"priority":1,"record_length":96,"hex_timestamp":"000001a080ce0ed8"} 
[2026-09-08 17:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 17:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950049792001,"66":14396,"165":206,"94":10240,"24":7,"16":30825246571364352,"45":814588612766009344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 17:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950049792001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:06:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 17:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30825246571364352,"km_value":30825246571364.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612766009344,"description":"Unknown IO ID 45"} 
[2026-09-08 17:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950049792001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":814588612766009344}} 
[2026-09-08 17:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":177401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:06:55] local.INFO: GPS data processed {"connection_id":177401,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:06:55] local.INFO: Acknowledgment sent {"connection_id":177401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:07:14] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:07:14] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:07:14] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:07:19] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:07:19] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:07:19] local.INFO: IMEI packet received {"connection_id":175933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":175933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:07:20] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ce16a8012d0b4f80070600a00010002123..."} 
[2026-09-08 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ce16a8012d0b4f80070600a00010002123..."} 
[2026-09-08 17:07:20] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ce16a8012d0b4f80070600a00010002123..."} 
[2026-09-08 17:07:20] local.INFO: Packet analysis {"connection_id":175933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:07:20] local.INFO: Extracted packet for processing {"connection_id":175933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117833888,"longitude_deg":75.5715968,"latitude_deg":11.7833888,"altitude":16,"angle":33,"satellites":35,"speed":7,"hex_longitude":"2d0b4f80","hex_latitude":"070600a0","is_valid_coordinates":true} 
[2026-09-08 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950050048001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30825268046200832,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814658981510213632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867385000,"timestamp_ms":1788867385000,"timestamp_seconds":1788867385,"priority":1,"record_length":96,"hex_timestamp":"000001a080ce16a8"} 
[2026-09-08 17:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 17:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950050048001,"66":14537,"165":206,"94":10240,"24":7,"16":30825268046200832,"45":814658981510213632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 17:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950050048001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:07:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 17:07:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30825268046200832,"km_value":30825268046200.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":814658981510213632,"description":"Unknown IO ID 45"} 
[2026-09-08 17:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950050048001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":814658981510213632}} 
[2026-09-08 17:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":175933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:07:20] local.INFO: GPS data processed {"connection_id":175933,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:07:20] local.INFO: Acknowledgment sent {"connection_id":175933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:07:22] local.INFO: TCP Data received {"connection_id":174874,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:07:22] local.INFO: Processing buffer {"connection_id":174874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:07:22] local.INFO: Packet analysis {"connection_id":174874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:07:22] local.INFO: Extracted packet for processing {"connection_id":174874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:07:22] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:07:22] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:07:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":174874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:07:22] local.INFO: GPS data processed {"connection_id":174874,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:07:22] local.INFO: Acknowledgment sent {"connection_id":174874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:07:41] local.INFO: TCP Data received {"connection_id":175934,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:07:41] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:07:41] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:07:47] local.INFO: TCP Data received {"connection_id":175934,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:07:47] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:07:47] local.INFO: IMEI packet received {"connection_id":175934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":175934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:07:49] local.INFO: TCP Data received {"connection_id":175934,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:07:49] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:07:49] local.INFO: Packet analysis {"connection_id":175934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:07:49] local.INFO: Extracted packet for processing {"connection_id":175934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:07:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:07:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":175934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:07:49] local.INFO: GPS data processed {"connection_id":175934,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:07:49] local.INFO: Acknowledgment sent {"connection_id":175934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:07:51] local.INFO: TCP Data received {"connection_id":175933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ce64c8012d0b544007060b500011001923..."} 
[2026-09-08 17:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ce64c8012d0b544007060b500011001923..."} 
[2026-09-08 17:07:51] local.INFO: Processing buffer {"connection_id":175933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ce64c8012d0b544007060b500011001923..."} 
[2026-09-08 17:07:51] local.INFO: Packet analysis {"connection_id":175933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:07:51] local.INFO: Extracted packet for processing {"connection_id":175933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836624,"longitude_deg":75.5717184,"latitude_deg":11.7836624,"altitude":17,"angle":25,"satellites":35,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060b50","is_valid_coordinates":true} 
[2026-09-08 17:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950050560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30825414075088896,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231179776,"note":"Value kept but may cause issues"} 
[2026-09-08 17:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788867405000,"timestamp_ms":1788867405000,"timestamp_seconds":1788867405,"priority":1,"record_length":96,"hex_timestamp":"000001a080ce64c8"} 
[2026-09-08 17:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 17:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950050560001,"66":14537,"165":206,"94":10240,"24":0,"16":30825414075088896,"45":815010825231179776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 17:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950050560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:07:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 17:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30825414075088896,"km_value":30825414075088.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231179776,"description":"Unknown IO ID 45"} 
[2026-09-08 17:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950050560001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815010825231179776}} 
[2026-09-08 17:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":175933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:07:51] local.INFO: GPS data processed {"connection_id":175933,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:07:51] local.INFO: Acknowledgment sent {"connection_id":175933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:05] local.INFO: TCP Data received {"connection_id":177403,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:08:05] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:08:05] local.INFO: IMEI packet received {"connection_id":177403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":177403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:08:06] local.INFO: TCP Data received {"connection_id":177403,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ce8bd8012d181d000721a908004b001028..."} 
[2026-09-08 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ce8bd8012d181d000721a908004b001028..."} 
[2026-09-08 17:08:06] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ce8bd8012d181d000721a908004b001028..."} 
[2026-09-08 17:08:06] local.INFO: Packet analysis {"connection_id":177403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:08:06] local.INFO: Extracted packet for processing {"connection_id":177403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646472,"longitude_deg":75.6555008,"latitude_deg":11.9646472,"altitude":75,"angle":16,"satellites":40,"speed":11,"hex_longitude":"2d181d00","hex_latitude":"0721a908","is_valid_coordinates":true} 
[2026-09-08 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950057984001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18748700478144512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120141312,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:06] 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-09-08 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788867415000,"timestamp_ms":1788867415000,"timestamp_seconds":1788867415,"priority":1,"record_length":96,"hex_timestamp":"000001a080ce8bd8"} 
[2026-09-08 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950057984001,"66":13993,"120":206,"28":31744,"24":11,"16":18748700478144512,"45":1737474693120141312},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950057984001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18748700478144512,"km_value":18748700478144.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120141312,"description":"Unknown IO ID 45"} 
[2026-09-08 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950057984001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737474693120141312}} 
[2026-09-08 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":177403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:08:06] local.INFO: GPS data processed {"connection_id":177403,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:08:06] local.INFO: Acknowledgment sent {"connection_id":177403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:15] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:15] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:15] local.INFO: IMEI packet received {"connection_id":175935,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":175935,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:08:15] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:15] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:15] local.INFO: IMEI packet received {"connection_id":175935,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":175935,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:08:19] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:19] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:08:19] local.INFO: IMEI packet received {"connection_id":175935,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":175935,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:08:19] local.INFO: TCP Data received {"connection_id":175935,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080ce9b78012d0b53c007060b38001100d823..."} 
[2026-09-08 17:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ce9b78012d0b53c007060b38001100d823..."} 
[2026-09-08 17:08:19] local.INFO: Processing buffer {"connection_id":175935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ce9b78012d0b53c007060b38001100d823..."} 
[2026-09-08 17:08:19] local.INFO: Packet analysis {"connection_id":175935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:08:19] local.INFO: Extracted packet for processing {"connection_id":175935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:08:19] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836600,"longitude_deg":75.5717056,"latitude_deg":11.78366,"altitude":17,"angle":216,"satellites":35,"speed":2,"hex_longitude":"2d0b53c0","hex_latitude":"07060b38","is_valid_coordinates":true} 
[2026-09-08 17:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950055680001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30825418370056192,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371255808,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788867419000,"timestamp_ms":1788867419000,"timestamp_seconds":1788867419,"priority":1,"record_length":96,"hex_timestamp":"000001a080ce9b78"} 
[2026-09-08 17:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-08 17:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175935,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175935,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950055680001,"66":14428,"165":206,"94":10240,"24":2,"16":30825418370056192,"45":816347831371255808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 17:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950055680001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:08:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 17:08:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30825418370056192,"km_value":30825418370056.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371255808,"description":"Unknown IO ID 45"} 
[2026-09-08 17:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950055680001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816347831371255808}} 
[2026-09-08 17:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":175935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:08:20] local.INFO: GPS data processed {"connection_id":175935,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:08:20] local.INFO: Acknowledgment sent {"connection_id":175935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:23] local.INFO: TCP Data received {"connection_id":175934,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:23] local.INFO: Processing buffer {"connection_id":175934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:23] local.INFO: Packet analysis {"connection_id":175934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:08:23] local.INFO: Extracted packet for processing {"connection_id":175934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:08:23] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:08:23] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:08:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":175934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:08:23] local.INFO: GPS data processed {"connection_id":175934,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:08:23] local.INFO: Acknowledgment sent {"connection_id":175934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:37] local.INFO: TCP Data received {"connection_id":177403,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ce8fc0012d181dc00721aa38004b001b28..."} 
[2026-09-08 17:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ce8fc0012d181dc00721aa38004b001b28..."} 
[2026-09-08 17:08:37] local.INFO: Processing buffer {"connection_id":177403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ce8fc0012d181dc00721aa38004b001b28..."} 
[2026-09-08 17:08:37] local.INFO: Packet analysis {"connection_id":177403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:08:37] local.INFO: Extracted packet for processing {"connection_id":177403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646776,"longitude_deg":75.65552,"latitude_deg":11.9646776,"altitude":75,"angle":27,"satellites":40,"speed":14,"hex_longitude":"2d181dc0","hex_latitude":"0721aa38","is_valid_coordinates":true} 
[2026-09-08 17:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950058240001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18748717658013696,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864376320,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:37] 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-09-08 17:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788867416000,"timestamp_ms":1788867416000,"timestamp_seconds":1788867416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ce8fc0"} 
[2026-09-08 17:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950058240001,"66":13993,"120":206,"28":31744,"24":14,"16":18748717658013696,"45":1737545061864376320},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950058240001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:08:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18748717658013696,"km_value":18748717658013.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864376320,"description":"Unknown IO ID 45"} 
[2026-09-08 17:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950058240001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1737545061864376320}} 
[2026-09-08 17:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":177403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:08:37] local.INFO: GPS data processed {"connection_id":177403,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:08:37] local.INFO: Acknowledgment sent {"connection_id":177403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:47] local.INFO: TCP Data received {"connection_id":175936,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:08:47] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:08:47] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:08:52] local.INFO: TCP Data received {"connection_id":175936,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:08:52] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:08:52] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:08:53] local.INFO: TCP Data received {"connection_id":175936,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:53] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:53] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:08:53] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:08:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:08:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:08:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:08:53] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:08:53] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:57] local.INFO: TCP Data received {"connection_id":175936,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:57] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cb72e0012d569ec0067b6638002800362d..."} 
[2026-09-08 17:08:57] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:08:57] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080cb"} 
[2026-09-08 17:08:57] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457949929216001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788867212000,"timestamp_ms":1788867212000,"timestamp_seconds":1788867212,"priority":1,"record_length":96,"hex_timestamp":"000001a080cb72e0"} 
[2026-09-08 17:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-08 17:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457949929216001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457949929216001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:08:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:08:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457949929216001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:08:57] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:08:57] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:08:59] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:08:59] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:08:59] local.INFO: IMEI packet received {"connection_id":174875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":174875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:09:00] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:09:00] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:09:00] local.INFO: IMEI packet received {"connection_id":174875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:09:06] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:09:06] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:09:06] local.INFO: IMEI packet received {"connection_id":174875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":174875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:09:07] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080cec288012d1831800721ca28004e001f27..."} 
[2026-09-08 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080cec288012d1831800721ca28004e001f27..."} 
[2026-09-08 17:09:07] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080cec288012d1831800721ca28004e001f27..."} 
[2026-09-08 17:09:07] local.INFO: Packet analysis {"connection_id":174875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:09:07] local.INFO: Extracted packet for processing {"connection_id":174875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ce"} 
[2026-09-08 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119654952,"longitude_deg":75.6560256,"latitude_deg":11.9654952,"altitude":78,"angle":31,"satellites":39,"speed":38,"hex_longitude":"2d183180","hex_latitude":"0721ca28","is_valid_coordinates":true} 
[2026-09-08 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950058496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18749181514481664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096987136,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:07] 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-09-08 17:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788867429000,"timestamp_ms":1788867429000,"timestamp_seconds":1788867429,"priority":1,"record_length":96,"hex_timestamp":"000001a080cec288"} 
[2026-09-08 17:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950058496001,"66":14004,"120":206,"28":31744,"24":38,"16":18749181514481664,"45":1737756168096987136},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950058496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:09:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18749181514481664,"km_value":18749181514481.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096987136,"description":"Unknown IO ID 45"} 
[2026-09-08 17:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950058496001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1737756168096987136}} 
[2026-09-08 17:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":174875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:09:07] local.INFO: GPS data processed {"connection_id":174875,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:09:07] local.INFO: Acknowledgment sent {"connection_id":174875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:09:42] local.INFO: TCP Data received {"connection_id":175938,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:09:42] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:09:42] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:09:43] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d06098012d18f7400722fa70005e004927..."} 
[2026-09-08 17:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d06098012d18f7400722fa70005e004927..."} 
[2026-09-08 17:09:43] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d06098012d18f7400722fa70005e004927..."} 
[2026-09-08 17:09:43] local.INFO: Packet analysis {"connection_id":174875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:09:43] local.INFO: Extracted packet for processing {"connection_id":174875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756610880,"raw_latitude":119732848,"longitude_deg":75.661088,"latitude_deg":11.9732848,"altitude":94,"angle":73,"satellites":39,"speed":46,"hex_longitude":"2d18f740","hex_latitude":"0722fa70","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950088448001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18754301115498496,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796373332018956288,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788867535000,"timestamp_ms":1788867535000,"timestamp_seconds":1788867535,"priority":1,"record_length":96,"hex_timestamp":"000001a080d06098"} 
[2026-09-08 17:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 17:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950088448001,"66":14048,"81":206,"28":31744,"24":46,"16":18754301115498496,"45":1796373332018956288},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-08 17:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950088448001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18754301115498496,"km_value":18754301115498.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796373332018956288,"description":"Unknown IO ID 45"} 
[2026-09-08 17:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950088448001,"power":14048,"unknown_81":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1796373332018956288}} 
[2026-09-08 17:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":174875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:09:43] local.INFO: GPS data processed {"connection_id":174875,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:09:43] local.INFO: Acknowledgment sent {"connection_id":174875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:09:47] local.INFO: TCP Data received {"connection_id":175938,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:09:47] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:09:47] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:09:49] local.INFO: TCP Data received {"connection_id":175938,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:09:49] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:09:49] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:09:49] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:09:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:09:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:09:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:09:49] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:09:49] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:10:00] local.INFO: TCP Data received {"connection_id":174590,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:00] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:00] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:10:04] local.INFO: TCP Data received {"connection_id":174590,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:04] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:04] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:10:05] local.INFO: TCP Data received {"connection_id":174590,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:05] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:10:05] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:10:07] local.INFO: TCP Data received {"connection_id":174590,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d06480012d18fb800722fcb8005d003c25..."} 
[2026-09-08 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d06480012d18fb800722fcb8005d003c25..."} 
[2026-09-08 17:10:07] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d06480012d18fb800722fcb8005d003c25..."} 
[2026-09-08 17:10:07] local.INFO: Packet analysis {"connection_id":174590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:07] local.INFO: Extracted packet for processing {"connection_id":174590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756611968,"raw_latitude":119733432,"longitude_deg":75.6611968,"latitude_deg":11.9733432,"altitude":93,"angle":60,"satellites":37,"speed":45,"hex_longitude":"2d18fb80","hex_latitude":"0722fcb8","is_valid_coordinates":true} 
[2026-09-08 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950088960001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18754361245040640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798976975553589248,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788867536000,"timestamp_ms":1788867536000,"timestamp_seconds":1788867536,"priority":1,"record_length":96,"hex_timestamp":"000001a080d06480"} 
[2026-09-08 17:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 17:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950088960001,"66":14048,"81":206,"28":31744,"24":45,"16":18754361245040640,"45":1798976975553589248},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-08 17:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950088960001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18754361245040640,"km_value":18754361245040.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798976975553589248,"description":"Unknown IO ID 45"} 
[2026-09-08 17:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950088960001,"power":14048,"unknown_81":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1798976975553589248}} 
[2026-09-08 17:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":174590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:10:07] local.INFO: GPS data processed {"connection_id":174590,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:10:07] local.INFO: Acknowledgment sent {"connection_id":174590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:10:21] local.INFO: TCP Data received {"connection_id":175938,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:10:21] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:10:21] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:21] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:10:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:10:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:10:21] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:10:21] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:10:29] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:29] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:29] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:10:30] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:30] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:30] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:10:34] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:34] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:10:34] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:10:35] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00e90012d0bb2c00705c918000f007723..."} 
[2026-09-08 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00e90012d0bb2c00705c918000f007723..."} 
[2026-09-08 17:10:35] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00e90012d0bb2c00705c918000f007723..."} 
[2026-09-08 17:10:35] local.INFO: Packet analysis {"connection_id":174591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:35] local.INFO: Extracted packet for processing {"connection_id":174591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":755741376,"raw_latitude":117819672,"longitude_deg":75.5741376,"latitude_deg":11.7819672,"altitude":15,"angle":119,"satellites":35,"speed":38,"hex_longitude":"2d0bb2c0","hex_latitude":"0705c918","is_valid_coordinates":true} 
[2026-09-08 17:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950082560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30827033277759488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839076935736631296,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788867514000,"timestamp_ms":1788867514000,"timestamp_seconds":1788867514,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00e90"} 
[2026-09-08 17:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-08 17:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950082560001,"66":14309,"165":206,"94":10240,"24":38,"16":30827033277759488,"45":839076935736631296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-08 17:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950082560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:10:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-08 17:10:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30827033277759488,"km_value":30827033277759.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":839076935736631296,"description":"Unknown IO ID 45"} 
[2026-09-08 17:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950082560001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":839076935736631296}} 
[2026-09-08 17:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":174591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:10:35] local.INFO: GPS data processed {"connection_id":174591,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:10:35] local.INFO: Acknowledgment sent {"connection_id":174591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:10:41] local.INFO: TCP Data received {"connection_id":174876,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:10:41] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:10:41] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:10:47] local.INFO: TCP Data received {"connection_id":174876,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:10:47] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:10:47] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:10:52] local.INFO: TCP Data received {"connection_id":174876,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:10:52] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:10:52] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:52] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:10:52] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:10:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:10:52] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:10:52] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:11:01] local.INFO: TCP Data received {"connection_id":177405,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:01] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:01] local.INFO: IMEI packet received {"connection_id":177405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":177405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:11:01] local.INFO: TCP Data received {"connection_id":177405,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:01] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:01] local.INFO: IMEI packet received {"connection_id":177405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":177405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:11:08] local.INFO: TCP Data received {"connection_id":177405,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:08] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:11:08] local.INFO: IMEI packet received {"connection_id":177405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":177405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:11:09] local.INFO: TCP Data received {"connection_id":177405,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d16650012d19f6800723a9000031005224..."} 
[2026-09-08 17:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d16650012d19f6800723a9000031005224..."} 
[2026-09-08 17:11:09] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d16650012d19f6800723a9000031005224..."} 
[2026-09-08 17:11:09] local.INFO: Packet analysis {"connection_id":177405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:11:09] local.INFO: Extracted packet for processing {"connection_id":177405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756676224,"raw_latitude":119777536,"longitude_deg":75.6676224,"latitude_deg":11.9777536,"altitude":49,"angle":82,"satellites":36,"speed":45,"hex_longitude":"2d19f680","hex_latitude":"0723a900","is_valid_coordinates":true} 
[2026-09-08 17:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950103552001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18758355564625920,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860338520487645184,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788867602000,"timestamp_ms":1788867602000,"timestamp_seconds":1788867602,"priority":1,"record_length":96,"hex_timestamp":"000001a080d16650"} 
[2026-09-08 17:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 17:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":177405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":177405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":177405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950103552001,"66":14004,"111":206,"28":31744,"24":45,"16":18758355564625920,"45":1860338520487645184},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950103552001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:11:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18758355564625920,"km_value":18758355564625.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860338520487645184,"description":"Unknown IO ID 45"} 
[2026-09-08 17:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950103552001,"power":14004,"unknown_111":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1860338520487645184}} 
[2026-09-08 17:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":177405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:11:09] local.INFO: GPS data processed {"connection_id":177405,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:11:09] local.INFO: Acknowledgment sent {"connection_id":177405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:11:14] local.INFO: TCP Data received {"connection_id":177404,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:11:14] local.INFO: Processing buffer {"connection_id":177404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:11:14] local.INFO: IMEI packet received {"connection_id":177404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":177404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:11:24] local.INFO: TCP Data received {"connection_id":174876,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:11:24] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:11:24] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:11:24] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:11:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:11:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:11:24] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:11:24] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:11:41] local.INFO: TCP Data received {"connection_id":177405,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d181a8012d1a16800723aee00032004724..."} 
[2026-09-08 17:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d181a8012d1a16800723aee00032004724..."} 
[2026-09-08 17:11:41] local.INFO: Processing buffer {"connection_id":177405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d181a8012d1a16800723aee00032004724..."} 
[2026-09-08 17:11:41] local.INFO: Packet analysis {"connection_id":177405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:11:41] local.INFO: Extracted packet for processing {"connection_id":177405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:11:41] local.INFO: GPS Element Parsed {"raw_longitude":756684416,"raw_latitude":119779040,"longitude_deg":75.6684416,"latitude_deg":11.977904,"altitude":50,"angle":71,"satellites":36,"speed":47,"hex_longitude":"2d1a1680","hex_latitude":"0723aee0","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950106112001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18758750701617152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870823463370424320,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788867609000,"timestamp_ms":1788867609000,"timestamp_seconds":1788867609,"priority":1,"record_length":96,"hex_timestamp":"000001a080d181a8"} 
[2026-09-08 17:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 17:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950106112001,"66":14157,"112":206,"28":31744,"24":47,"16":18758750701617152,"45":1870823463370424320},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950106112001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:11:41] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:11:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18758750701617152,"km_value":18758750701617.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870823463370424320,"description":"Unknown IO ID 45"} 
[2026-09-08 17:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950106112001,"power":14157,"unknown_112":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1870823463370424320}} 
[2026-09-08 17:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":177405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:11:41] local.INFO: GPS data processed {"connection_id":177405,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:11:41] local.INFO: Acknowledgment sent {"connection_id":177405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:11:41] local.INFO: TCP Data received {"connection_id":174877,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:11:41] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:11:41] local.INFO: IMEI packet received {"connection_id":174877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":174877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:11:43] local.INFO: TCP Data received {"connection_id":174592,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:11:44] local.INFO: Processing buffer {"connection_id":174592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:11:44] local.INFO: IMEI packet received {"connection_id":174592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":174592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:11:47] local.INFO: TCP Data received {"connection_id":174877,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:11:47] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:11:47] local.INFO: IMEI packet received {"connection_id":174877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:11:47] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:47] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:47] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:11:48] local.INFO: TCP Data received {"connection_id":174877,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:11:48] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:11:48] local.INFO: Packet analysis {"connection_id":174877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:11:48] local.INFO: Extracted packet for processing {"connection_id":174877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:11:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:11:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":174877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:11:48] local.INFO: GPS data processed {"connection_id":174877,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:11:48] local.INFO: Acknowledgment sent {"connection_id":174877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:11:49] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:49] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:49] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:11:54] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:54] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:11:54] local.INFO: IMEI packet received {"connection_id":175940,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":175940,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:11:55] local.INFO: TCP Data received {"connection_id":175940,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d20678012d0c4e0007055ea8001d009522..."} 
[2026-09-08 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d20678012d0c4e0007055ea8001d009522..."} 
[2026-09-08 17:11:55] local.INFO: Processing buffer {"connection_id":175940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d20678012d0c4e0007055ea8001d009522..."} 
[2026-09-08 17:11:55] local.INFO: Packet analysis {"connection_id":175940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:11:55] local.INFO: Extracted packet for processing {"connection_id":175940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117792424,"longitude_deg":75.578112,"latitude_deg":11.7792424,"altitude":29,"angle":149,"satellites":34,"speed":33,"hex_longitude":"2d0c4e00","hex_latitude":"07055ea8","is_valid_coordinates":true} 
[2026-09-08 17:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950112768001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30829429869510656,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881579657214668800,"note":"Value kept but may cause issues"} 
[2026-09-08 17:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788867643000,"timestamp_ms":1788867643000,"timestamp_seconds":1788867643,"priority":1,"record_length":96,"hex_timestamp":"000001a080d20678"} 
[2026-09-08 17:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-08 17:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175940,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950112768001,"66":14439,"164":206,"94":10240,"24":33,"16":30829429869510656,"45":881579657214668800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-08 17:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950112768001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:11:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-08 17:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30829429869510656,"km_value":30829429869510.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":881579657214668800,"description":"Unknown IO ID 45"} 
[2026-09-08 17:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950112768001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":881579657214668800}} 
[2026-09-08 17:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":175940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:11:55] local.INFO: GPS data processed {"connection_id":175940,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:11:55] local.INFO: Acknowledgment sent {"connection_id":175940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:12:01] local.INFO: TCP Data received {"connection_id":174593,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:01] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:01] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:12:06] local.INFO: TCP Data received {"connection_id":174593,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:06] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:06] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:12:11] local.INFO: TCP Data received {"connection_id":174593,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:11] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:12:11] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:12:12] local.INFO: TCP Data received {"connection_id":174593,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d19148012d1a26800723b6380032003a27..."} 
[2026-09-08 17:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d19148012d1a26800723b6380032003a27..."} 
[2026-09-08 17:12:12] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d19148012d1a26800723b6380032003a27..."} 
[2026-09-08 17:12:12] local.INFO: Packet analysis {"connection_id":174593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:12:12] local.INFO: Extracted packet for processing {"connection_id":174593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756688512,"raw_latitude":119780920,"longitude_deg":75.6688512,"latitude_deg":11.978092,"altitude":50,"angle":58,"satellites":39,"speed":40,"hex_longitude":"2d1a2680","hex_latitude":"0723b638","is_valid_coordinates":true} 
[2026-09-08 17:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950107904001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18758965449981952,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879830662625550336,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788867613000,"timestamp_ms":1788867613000,"timestamp_seconds":1788867613,"priority":1,"record_length":96,"hex_timestamp":"000001a080d19148"} 
[2026-09-08 17:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-08 17:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950107904001,"66":13656,"112":206,"28":31744,"24":40,"16":18758965449981952,"45":1879830662625550336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950107904001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:12:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18758965449981952,"km_value":18758965449981.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879830662625550336,"description":"Unknown IO ID 45"} 
[2026-09-08 17:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950107904001,"power":13656,"unknown_112":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1879830662625550336}} 
[2026-09-08 17:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":174593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:12:12] local.INFO: GPS data processed {"connection_id":174593,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:12:12] local.INFO: Acknowledgment sent {"connection_id":174593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:12:16] local.INFO: TCP Data received {"connection_id":174593,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d1a4d0012d1a35400723c1d80031002e27..."} 
[2026-09-08 17:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d1a4d0012d1a35400723c1d80031002e27..."} 
[2026-09-08 17:12:16] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d1a4d0012d1a35400723c1d80031002e27..."} 
[2026-09-08 17:12:16] local.INFO: Packet analysis {"connection_id":174593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:12:16] local.INFO: Extracted packet for processing {"connection_id":174593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756692288,"raw_latitude":119783896,"longitude_deg":75.6692288,"latitude_deg":11.9783896,"altitude":49,"angle":46,"satellites":39,"speed":38,"hex_longitude":"2d1a3540","hex_latitude":"0723c1d8","is_valid_coordinates":true} 
[2026-09-08 17:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950108928001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18759193083248640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884334262253402112,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788867618000,"timestamp_ms":1788867618000,"timestamp_seconds":1788867618,"priority":1,"record_length":96,"hex_timestamp":"000001a080d1a4d0"} 
[2026-09-08 17:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 17:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950108928001,"66":14243,"112":206,"28":31744,"24":38,"16":18759193083248640,"45":1884334262253402112},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950108928001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:12:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18759193083248640,"km_value":18759193083248.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884334262253402112,"description":"Unknown IO ID 45"} 
[2026-09-08 17:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950108928001,"power":14243,"unknown_112":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1884334262253402112}} 
[2026-09-08 17:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":174593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:12:16] local.INFO: GPS data processed {"connection_id":174593,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:12:16] local.INFO: Acknowledgment sent {"connection_id":174593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:12:19] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:19] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:19] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:12:19] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:19] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:19] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:12:20] local.INFO: TCP Data received {"connection_id":174877,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:20] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:20] local.INFO: Packet analysis {"connection_id":174877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:12:20] local.INFO: Extracted packet for processing {"connection_id":174877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:12:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:12:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:12:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":174877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:12:20] local.INFO: GPS data processed {"connection_id":174877,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:12:20] local.INFO: Acknowledgment sent {"connection_id":174877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:12:22] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:22] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:22] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:12:24] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:24] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:12:24] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:12:25] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d33728012d0c9d000704b028001a009824..."} 
[2026-09-08 17:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d33728012d0c9d000704b028001a009824..."} 
[2026-09-08 17:12:25] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d33728012d0c9d000704b028001a009824..."} 
[2026-09-08 17:12:25] local.INFO: Packet analysis {"connection_id":174878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d3"} 
[2026-09-08 17:12:25] local.INFO: Extracted packet for processing {"connection_id":174878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d3"} 
[2026-09-08 17:12:25] local.INFO: GPS Element Parsed {"raw_longitude":755801344,"raw_latitude":117747752,"longitude_deg":75.5801344,"latitude_deg":11.7747752,"altitude":26,"angle":152,"satellites":36,"speed":35,"hex_longitude":"2d0c9d00","hex_latitude":"0704b028","is_valid_coordinates":true} 
[2026-09-08 17:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950132480001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30831856526032896,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905012449014665216,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788867721000,"timestamp_ms":1788867721000,"timestamp_seconds":1788867721,"priority":1,"record_length":96,"hex_timestamp":"000001a080d33728"} 
[2026-09-08 17:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-08 17:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950132480001,"66":14407,"95":206,"94":10240,"24":35,"16":30831856526032896,"45":905012449014665216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 17:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950132480001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:12:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 17:12:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30831856526032896,"km_value":30831856526032.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":905012449014665216,"description":"Unknown IO ID 45"} 
[2026-09-08 17:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950132480001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":905012449014665216}} 
[2026-09-08 17:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":174878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:12:25] local.INFO: GPS data processed {"connection_id":174878,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:12:25] local.INFO: Acknowledgment sent {"connection_id":174878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:12:47] local.INFO: TCP Data received {"connection_id":175941,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:12:47] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:12:47] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:12:52] local.INFO: TCP Data received {"connection_id":175941,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:12:52] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:12:52] local.INFO: IMEI packet received {"connection_id":175941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:12:53] local.INFO: TCP Data received {"connection_id":175941,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:53] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:53] local.INFO: Packet analysis {"connection_id":175941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:12:53] local.INFO: Extracted packet for processing {"connection_id":175941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:12:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:12:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:12:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":175941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:12:53] local.INFO: GPS data processed {"connection_id":175941,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:12:53] local.INFO: Acknowledgment sent {"connection_id":175941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:12:58] local.INFO: TCP Data received {"connection_id":175941,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:58] local.INFO: Processing buffer {"connection_id":175941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:12:58] local.INFO: Packet analysis {"connection_id":175941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:12:58] local.INFO: Extracted packet for processing {"connection_id":175941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:12:58] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":175941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:12:58] local.INFO: GPS data processed {"connection_id":175941,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:12:58] local.INFO: Acknowledgment sent {"connection_id":175941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:13:01] local.INFO: TCP Data received {"connection_id":177406,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:01] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:01] local.INFO: IMEI packet received {"connection_id":177406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":177406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:13:04] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d35a50012d0cb0c0070492c8001a009222..."} 
[2026-09-08 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d35a50012d0cb0c0070492c8001a009222..."} 
[2026-09-08 17:13:04] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d35a50012d0cb0c0070492c8001a009222..."} 
[2026-09-08 17:13:04] local.INFO: Packet analysis {"connection_id":174878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d3"} 
[2026-09-08 17:13:04] local.INFO: Extracted packet for processing {"connection_id":174878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d3"} 
[2026-09-08 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":755806400,"raw_latitude":117740232,"longitude_deg":75.58064,"latitude_deg":11.7740232,"altitude":26,"angle":146,"satellites":34,"speed":42,"hex_longitude":"2d0cb0c0","hex_latitude":"070492c8","is_valid_coordinates":true} 
[2026-09-08 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950136576001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30832294612697088,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908882729942132736,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788867730000,"timestamp_ms":1788867730000,"timestamp_seconds":1788867730,"priority":1,"record_length":96,"hex_timestamp":"000001a080d35a50"} 
[2026-09-08 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-08 17:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950136576001,"66":14407,"95":206,"94":10240,"24":42,"16":30832294612697088,"45":908882729942132736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-08 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950136576001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:13:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-08 17:13:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-08 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30832294612697088,"km_value":30832294612697.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":908882729942132736,"description":"Unknown IO ID 45"} 
[2026-09-08 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950136576001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":908882729942132736}} 
[2026-09-08 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":174878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:13:04] local.INFO: GPS data processed {"connection_id":174878,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:13:04] local.INFO: Acknowledgment sent {"connection_id":174878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:13:06] local.INFO: TCP Data received {"connection_id":177406,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:06] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:06] local.INFO: IMEI packet received {"connection_id":177406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":177406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:13:07] local.INFO: TCP Data received {"connection_id":177406,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d1b470012d1a3fc00723ce100031002327..."} 
[2026-09-08 17:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d1b470012d1a3fc00723ce100031002327..."} 
[2026-09-08 17:13:07] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d1b470012d1a3fc00723ce100031002327..."} 
[2026-09-08 17:13:07] local.INFO: Packet analysis {"connection_id":177406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:13:07] local.INFO: Extracted packet for processing {"connection_id":177406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119787024,"longitude_deg":75.6694976,"latitude_deg":11.9787024,"altitude":49,"angle":35,"satellites":39,"speed":41,"hex_longitude":"2d1a3fc0","hex_latitude":"0723ce10","is_valid_coordinates":true} 
[2026-09-08 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950110208001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18759390651744256,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888486018160646144,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788867622000,"timestamp_ms":1788867622000,"timestamp_seconds":1788867622,"priority":1,"record_length":96,"hex_timestamp":"000001a080d1b470"} 
[2026-09-08 17:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-08 17:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950110208001,"66":13993,"112":206,"28":31744,"24":41,"16":18759390651744256,"45":1888486018160646144},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950110208001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:13:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18759390651744256,"km_value":18759390651744.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888486018160646144,"description":"Unknown IO ID 45"} 
[2026-09-08 17:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950110208001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1888486018160646144}} 
[2026-09-08 17:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":177406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:13:07] local.INFO: GPS data processed {"connection_id":177406,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:13:07] local.INFO: Acknowledgment sent {"connection_id":177406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:13:14] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:14] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:14] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:13:14] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:14] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:14] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:13:16] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:16] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:16] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:13:17] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:17] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:13:17] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:13:39] local.INFO: TCP Data received {"connection_id":177406,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d1db80012d1a53800723ee58002d001e26..."} 
[2026-09-08 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d1db80012d1a53800723ee58002d001e26..."} 
[2026-09-08 17:13:39] local.INFO: Processing buffer {"connection_id":177406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d1db80012d1a53800723ee58002d001e26..."} 
[2026-09-08 17:13:39] local.INFO: Packet analysis {"connection_id":177406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:13:39] local.INFO: Extracted packet for processing {"connection_id":177406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756700032,"raw_latitude":119795288,"longitude_deg":75.6700032,"latitude_deg":11.9795288,"altitude":45,"angle":30,"satellites":38,"speed":31,"hex_longitude":"2d1a5380","hex_latitude":"0723ee58","is_valid_coordinates":true} 
[2026-09-08 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950111232001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18759858803179520,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505416908800,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788867632000,"timestamp_ms":1788867632000,"timestamp_seconds":1788867632,"priority":1,"record_length":96,"hex_timestamp":"000001a080d1db80"} 
[2026-09-08 17:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950111232001,"66":14298,"112":206,"28":31744,"24":31,"16":18759858803179520,"45":1891441505416908800},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950111232001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:13:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18759858803179520,"km_value":18759858803179.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505416908800,"description":"Unknown IO ID 45"} 
[2026-09-08 17:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950111232001,"power":14298,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1891441505416908800}} 
[2026-09-08 17:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":177406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:13:39] local.INFO: GPS data processed {"connection_id":177406,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:13:39] local.INFO: Acknowledgment sent {"connection_id":177406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:13:41] local.INFO: TCP Data received {"connection_id":174879,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:13:41] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:13:41] local.INFO: IMEI packet received {"connection_id":174879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":174879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:13:47] local.INFO: TCP Data received {"connection_id":174879,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:13:47] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:13:47] local.INFO: IMEI packet received {"connection_id":174879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:13:48] local.INFO: TCP Data received {"connection_id":174879,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:13:48] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d00aa8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:13:48] local.INFO: Packet analysis {"connection_id":174879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:13:48] local.INFO: Extracted packet for processing {"connection_id":174879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d0"} 
[2026-09-08 17:13:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950006272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788867513000,"timestamp_ms":1788867513000,"timestamp_seconds":1788867513,"priority":1,"record_length":96,"hex_timestamp":"000001a080d00aa8"} 
[2026-09-08 17:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950006272001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950006272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:13:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:13:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950006272001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":174879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:13:48] local.INFO: GPS data processed {"connection_id":174879,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:13:48] local.INFO: Acknowledgment sent {"connection_id":174879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:13:59] local.INFO: TCP Data received {"connection_id":175943,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:59] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:13:59] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:14:00] local.INFO: TCP Data received {"connection_id":175943,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:14:00] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:14:00] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:14:05] local.INFO: TCP Data received {"connection_id":175943,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:14:05] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:14:05] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:14:07] local.INFO: TCP Data received {"connection_id":175943,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d1fac0012d1a5fc00723ff20002c002b28..."} 
[2026-09-08 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d1fac0012d1a5fc00723ff20002c002b28..."} 
[2026-09-08 17:14:07] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d1fac0012d1a5fc00723ff20002c002b28..."} 
[2026-09-08 17:14:07] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:14:07] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d1"} 
[2026-09-08 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756703168,"raw_latitude":119799584,"longitude_deg":75.6703168,"latitude_deg":11.9799584,"altitude":44,"angle":43,"satellites":40,"speed":20,"hex_longitude":"2d1a5fc0","hex_latitude":"0723ff20","is_valid_coordinates":true} 
[2026-09-08 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950113792001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760116501217280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897000636209059840,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788867640000,"timestamp_ms":1788867640000,"timestamp_seconds":1788867640,"priority":1,"record_length":96,"hex_timestamp":"000001a080d1fac0"} 
[2026-09-08 17:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 17:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950113792001,"66":14483,"112":206,"28":31744,"24":20,"16":18760116501217280,"45":1897000636209059840},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950113792001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760116501217280,"km_value":18760116501217.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897000636209059840,"description":"Unknown IO ID 45"} 
[2026-09-08 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950113792001,"power":14483,"unknown_112":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1897000636209059840}} 
[2026-09-08 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:14:07] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:14:07] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:14:20] local.INFO: TCP Data received {"connection_id":174879,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:14:20] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:14:20] local.INFO: Packet analysis {"connection_id":174879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:14:20] local.INFO: Extracted packet for processing {"connection_id":174879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:14:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:14:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:14:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":174879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:14:20] local.INFO: GPS data processed {"connection_id":174879,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:14:20] local.INFO: Acknowledgment sent {"connection_id":174879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:14:39] local.INFO: TCP Data received {"connection_id":175943,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d20a60012d1a6540072403a0002c003728..."} 
[2026-09-08 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d20a60012d1a6540072403a0002c003728..."} 
[2026-09-08 17:14:39] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d20a60012d1a6540072403a0002c003728..."} 
[2026-09-08 17:14:39] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:14:39] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756704576,"raw_latitude":119800736,"longitude_deg":75.6704576,"latitude_deg":11.9800736,"altitude":44,"angle":55,"satellites":40,"speed":17,"hex_longitude":"2d1a6540","hex_latitude":"072403a0","is_valid_coordinates":true} 
[2026-09-08 17:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950115840001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760202400563200,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900448704674865152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788867644000,"timestamp_ms":1788867644000,"timestamp_seconds":1788867644,"priority":1,"record_length":96,"hex_timestamp":"000001a080d20a60"} 
[2026-09-08 17:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-08 17:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950115840001,"66":13678,"112":206,"28":31744,"24":17,"16":18760202400563200,"45":1900448704674865152},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950115840001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:14:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760202400563200,"km_value":18760202400563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900448704674865152,"description":"Unknown IO ID 45"} 
[2026-09-08 17:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950115840001,"power":13678,"unknown_112":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1900448704674865152}} 
[2026-09-08 17:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:14:39] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:14:39] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:14:41] local.INFO: TCP Data received {"connection_id":175944,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:14:41] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:14:41] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:14:47] local.INFO: TCP Data received {"connection_id":175944,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:14:47] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:14:47] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:14:48] local.INFO: TCP Data received {"connection_id":175944,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:14:48] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:14:48] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:14:48] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:14:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:14:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:14:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:14:48] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:14:48] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:15:00] local.INFO: TCP Data received {"connection_id":174597,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:00] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:00] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:15:02] local.INFO: TCP Data received {"connection_id":174597,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:02] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:02] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:15:05] local.INFO: TCP Data received {"connection_id":174597,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:05] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:15:05] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:15:06] local.INFO: TCP Data received {"connection_id":174597,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d23170012d1a748007240f50002e002328..."} 
[2026-09-08 17:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d23170012d1a748007240f50002e002328..."} 
[2026-09-08 17:15:06] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d23170012d1a748007240f50002e002328..."} 
[2026-09-08 17:15:06] local.INFO: Packet analysis {"connection_id":174597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:15:06] local.INFO: Extracted packet for processing {"connection_id":174597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756708480,"raw_latitude":119803728,"longitude_deg":75.670848,"latitude_deg":11.9803728,"altitude":46,"angle":35,"satellites":40,"speed":7,"hex_longitude":"2d1a7480","hex_latitude":"07240f50","is_valid_coordinates":true} 
[2026-09-08 17:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950116864001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760438623764480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901996817047068672,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788867654000,"timestamp_ms":1788867654000,"timestamp_seconds":1788867654,"priority":1,"record_length":96,"hex_timestamp":"000001a080d23170"} 
[2026-09-08 17:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 17:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950116864001,"66":14080,"112":206,"28":31744,"24":7,"16":18760438623764480,"45":1901996817047068672},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950116864001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:15:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760438623764480,"km_value":18760438623764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901996817047068672,"description":"Unknown IO ID 45"} 
[2026-09-08 17:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950116864001,"power":14080,"unknown_112":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1901996817047068672}} 
[2026-09-08 17:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":174597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:15:06] local.INFO: GPS data processed {"connection_id":174597,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:15:06] local.INFO: Acknowledgment sent {"connection_id":174597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:15:20] local.INFO: TCP Data received {"connection_id":175944,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:15:20] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:15:20] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:15:20] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:15:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:15:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:15:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:15:20] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:15:20] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:15:38] local.INFO: TCP Data received {"connection_id":174597,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d26820012d1a7340072412a8002e013c29..."} 
[2026-09-08 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d26820012d1a7340072412a8002e013c29..."} 
[2026-09-08 17:15:38] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d26820012d1a7340072412a8002e013c29..."} 
[2026-09-08 17:15:38] local.INFO: Packet analysis {"connection_id":174597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:15:38] local.INFO: Extracted packet for processing {"connection_id":174597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d2"} 
[2026-09-08 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756708160,"raw_latitude":119804584,"longitude_deg":75.670816,"latitude_deg":11.9804584,"altitude":46,"angle":316,"satellites":41,"speed":9,"hex_longitude":"2d1a7340","hex_latitude":"072412a8","is_valid_coordinates":true} 
[2026-09-08 17:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950119424001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760490163372032,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906289310442672128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788867668000,"timestamp_ms":1788867668000,"timestamp_seconds":1788867668,"priority":1,"record_length":96,"hex_timestamp":"000001a080d26820"} 
[2026-09-08 17:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454496768,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2161217864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2774728704,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3518263297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":165,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3457155121,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738919,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,166,160,10,45,64,3,44,40,66,250,192,255,219,128,1,240,218,165,35,4,113,205,41,164,53,216,39,239,55,2,7,50],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 17:15:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314687980450807808,"timestamp_seconds":3314687980450808.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950119424001,"66":13167,"112":206,"28":31744,"24":9,"16":18760490163372032,"45":1906289310442672128},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950119424001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:15:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760490163372032,"km_value":18760490163372.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906289310442672128,"description":"Unknown IO ID 45"} 
[2026-09-08 17:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950119424001,"power":13167,"unknown_112":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1906289310442672128}} 
[2026-09-08 17:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":174597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:15:38] local.INFO: GPS data processed {"connection_id":174597,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:15:38] local.INFO: Acknowledgment sent {"connection_id":174597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:15:47] local.INFO: TCP Data received {"connection_id":174598,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:15:47] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:15:47] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:15:52] local.INFO: TCP Data received {"connection_id":174598,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:15:52] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:15:52] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:15:53] local.INFO: TCP Data received {"connection_id":174598,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:15:53] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:15:53] local.INFO: Packet analysis {"connection_id":174598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:15:53] local.INFO: Extracted packet for processing {"connection_id":174598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:15:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:15:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:15:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":174598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:15:53] local.INFO: GPS data processed {"connection_id":174598,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:15:53] local.INFO: Acknowledgment sent {"connection_id":174598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:16:00] local.INFO: TCP Data received {"connection_id":175947,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:16:00] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:16:00] local.INFO: IMEI packet received {"connection_id":175947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":175947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:16:00] local.INFO: TCP Data received {"connection_id":174598,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:16:00] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:16:00] local.INFO: Packet analysis {"connection_id":174598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:16:00] local.INFO: Extracted packet for processing {"connection_id":174598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:16:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:16:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":174598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:16:00] local.INFO: GPS data processed {"connection_id":174598,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:16:00] local.INFO: Acknowledgment sent {"connection_id":174598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:16:05] local.INFO: TCP Data received {"connection_id":175947,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:16:05] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:16:05] local.INFO: IMEI packet received {"connection_id":175947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":175947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:16:07] local.INFO: TCP Data received {"connection_id":175947,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d5b7c8012d1a6a8007241b58002d013e26..."} 
[2026-09-08 17:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d5b7c8012d1a6a8007241b58002d013e26..."} 
[2026-09-08 17:16:07] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d5b7c8012d1a6a8007241b58002d013e26..."} 
[2026-09-08 17:16:07] local.INFO: Packet analysis {"connection_id":175947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d5"} 
[2026-09-08 17:16:07] local.INFO: Extracted packet for processing {"connection_id":175947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d5"} 
[2026-09-08 17:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119806808,"longitude_deg":75.670592,"latitude_deg":11.9806808,"altitude":45,"angle":318,"satellites":38,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"07241b58","is_valid_coordinates":true} 
[2026-09-08 17:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950173184001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760644782194688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560676354048,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788867885000,"timestamp_ms":1788867885000,"timestamp_seconds":1788867885,"priority":1,"record_length":96,"hex_timestamp":"000001a080d5b7c8"} 
[2026-09-08 17:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 17:16: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-09-08 17:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950173184001,"66":12689,"112":206,"28":31744,"24":0,"16":18760644782194688,"45":1903474560676354048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950173184001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:16:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760644782194688,"km_value":18760644782194.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560676354048,"description":"Unknown IO ID 45"} 
[2026-09-08 17:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950173184001,"power":12689,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560676354048}} 
[2026-09-08 17:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":175947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:16:07] local.INFO: GPS data processed {"connection_id":175947,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:16:07] local.INFO: Acknowledgment sent {"connection_id":175947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:16:38] local.INFO: TCP Data received {"connection_id":175947,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d609d0012d1a6a8007241b58002d013e28..."} 
[2026-09-08 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d609d0012d1a6a8007241b58002d013e28..."} 
[2026-09-08 17:16:38] local.INFO: Processing buffer {"connection_id":175947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d609d0012d1a6a8007241b58002d013e28..."} 
[2026-09-08 17:16:38] local.INFO: Packet analysis {"connection_id":175947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d6"} 
[2026-09-08 17:16:38] local.INFO: Extracted packet for processing {"connection_id":175947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d6"} 
[2026-09-08 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119806808,"longitude_deg":75.670592,"latitude_deg":11.9806808,"altitude":45,"angle":318,"satellites":40,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"07241b58","is_valid_coordinates":true} 
[2026-09-08 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950178560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760644782194688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560676354048,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788867906000,"timestamp_ms":1788867906000,"timestamp_seconds":1788867906,"priority":1,"record_length":96,"hex_timestamp":"000001a080d609d0"} 
[2026-09-08 17:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 17:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950178560001,"66":12667,"112":206,"28":31744,"24":0,"16":18760644782194688,"45":1903474560676354048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950178560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:16:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760644782194688,"km_value":18760644782194.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560676354048,"description":"Unknown IO ID 45"} 
[2026-09-08 17:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950178560001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560676354048}} 
[2026-09-08 17:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":175947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:16:39] local.INFO: GPS data processed {"connection_id":175947,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:16:39] local.INFO: Acknowledgment sent {"connection_id":175947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:16:42] local.INFO: TCP Data received {"connection_id":174881,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:16:42] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:16:42] local.INFO: IMEI packet received {"connection_id":174881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":174881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:16:47] local.INFO: TCP Data received {"connection_id":174881,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:16:47] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:16:47] local.INFO: IMEI packet received {"connection_id":174881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:16:48] local.INFO: TCP Data received {"connection_id":174881,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:16:48] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:16:48] local.INFO: Packet analysis {"connection_id":174881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:16:48] local.INFO: Extracted packet for processing {"connection_id":174881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:16:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:16:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:16:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":174881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:16:48] local.INFO: GPS data processed {"connection_id":174881,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:16:48] local.INFO: Acknowledgment sent {"connection_id":174881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:16:49] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:16:49] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:16:49] local.INFO: IMEI packet received {"connection_id":174882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:17:06] local.INFO: TCP Data received {"connection_id":174883,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:06] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:06] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:17:07] local.INFO: TCP Data received {"connection_id":174883,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:07] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:07] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:17:08] local.INFO: TCP Data received {"connection_id":174883,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d65bd8012d1a6a8007241b58002d013e27..."} 
[2026-09-08 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d65bd8012d1a6a8007241b58002d013e27..."} 
[2026-09-08 17:17:08] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d65bd8012d1a6a8007241b58002d013e27..."} 
[2026-09-08 17:17:08] local.INFO: Packet analysis {"connection_id":174883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d6"} 
[2026-09-08 17:17:08] local.INFO: Extracted packet for processing {"connection_id":174883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d6"} 
[2026-09-08 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119806808,"longitude_deg":75.670592,"latitude_deg":11.9806808,"altitude":45,"angle":318,"satellites":39,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"07241b58","is_valid_coordinates":true} 
[2026-09-08 17:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950183936001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760644782194688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560676354048,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788867927000,"timestamp_ms":1788867927000,"timestamp_seconds":1788867927,"priority":1,"record_length":96,"hex_timestamp":"000001a080d65bd8"} 
[2026-09-08 17:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 17:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950183936001,"66":14004,"112":206,"28":31744,"24":0,"16":18760644782194688,"45":1903474560676354048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950183936001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:17:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760644782194688,"km_value":18760644782194.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560676354048,"description":"Unknown IO ID 45"} 
[2026-09-08 17:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950183936001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560676354048}} 
[2026-09-08 17:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":174883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:17:08] local.INFO: GPS data processed {"connection_id":174883,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:17:08] local.INFO: Acknowledgment sent {"connection_id":174883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:17:11] local.INFO: TCP Data received {"connection_id":174883,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d6ade0012d1a6a8007241b58002d013e27..."} 
[2026-09-08 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d6ade0012d1a6a8007241b58002d013e27..."} 
[2026-09-08 17:17:11] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d6ade0012d1a6a8007241b58002d013e27..."} 
[2026-09-08 17:17:11] local.INFO: Packet analysis {"connection_id":174883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d6"} 
[2026-09-08 17:17:11] local.INFO: Extracted packet for processing {"connection_id":174883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d6"} 
[2026-09-08 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119806808,"longitude_deg":75.670592,"latitude_deg":11.9806808,"altitude":45,"angle":318,"satellites":39,"speed":0,"hex_longitude":"2d1a6a80","hex_latitude":"07241b58","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950189312001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18760644782194688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560676354048,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788867948000,"timestamp_ms":1788867948000,"timestamp_seconds":1788867948,"priority":1,"record_length":96,"hex_timestamp":"000001a080d6ade0"} 
[2026-09-08 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-09-08 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 17:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950189312001,"66":14189,"112":206,"28":31744,"24":0,"16":18760644782194688,"45":1903474560676354048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950189312001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:17:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18760644782194688,"km_value":18760644782194.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560676354048,"description":"Unknown IO ID 45"} 
[2026-09-08 17:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950189312001,"power":14189,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903474560676354048}} 
[2026-09-08 17:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":174883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:17:11] local.INFO: GPS data processed {"connection_id":174883,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:17:11] local.INFO: Acknowledgment sent {"connection_id":174883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:17:21] local.INFO: TCP Data received {"connection_id":174881,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:17:21] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:17:21] local.INFO: Packet analysis {"connection_id":174881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:17:21] local.INFO: Extracted packet for processing {"connection_id":174881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:17:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:17:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:17:21] local.INFO: GPS data processed {"connection_id":174881,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:17:21] local.INFO: Acknowledgment sent {"connection_id":174881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:17:41] local.INFO: TCP Data received {"connection_id":174599,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:17:41] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:17:41] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:17:47] local.INFO: TCP Data received {"connection_id":174599,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:17:47] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:17:47] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:17:50] local.INFO: TCP Data received {"connection_id":174599,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:17:50] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:17:50] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:17:50] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:17:50] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:17:50] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:17:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:17:50] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:17:50] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:17:58] local.INFO: TCP Data received {"connection_id":177409,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:58] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:17:58] local.INFO: IMEI packet received {"connection_id":177409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":177409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:18:00] local.INFO: TCP Data received {"connection_id":177409,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:18:00] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:18:00] local.INFO: IMEI packet received {"connection_id":177409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":177409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:18:06] local.INFO: TCP Data received {"connection_id":177409,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:18:06] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:18:06] local.INFO: IMEI packet received {"connection_id":177409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":177409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:18:07] local.INFO: TCP Data received {"connection_id":177409,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d7a3f8012d1ade80072444f8002e00262a..."} 
[2026-09-08 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d7a3f8012d1ade80072444f8002e00262a..."} 
[2026-09-08 17:18:07] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d7a3f8012d1ade80072444f8002e00262a..."} 
[2026-09-08 17:18:07] local.INFO: Packet analysis {"connection_id":177409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d7"} 
[2026-09-08 17:18:07] local.INFO: Extracted packet for processing {"connection_id":177409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d7"} 
[2026-09-08 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756735616,"raw_latitude":119817464,"longitude_deg":75.6735616,"latitude_deg":11.9817464,"altitude":46,"angle":38,"satellites":42,"speed":30,"hex_longitude":"2d1ade80","hex_latitude":"072444f8","is_valid_coordinates":true} 
[2026-09-08 17:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950209792001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18762302639570944,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933592383186581504,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788868011000,"timestamp_ms":1788868011000,"timestamp_seconds":1788868011,"priority":1,"record_length":96,"hex_timestamp":"000001a080d7a3f8"} 
[2026-09-08 17:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 17:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950209792001,"66":14048,"111":206,"28":31744,"24":30,"16":18762302639570944,"45":1933592383186581504},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950209792001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:18:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18762302639570944,"km_value":18762302639570.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933592383186581504,"description":"Unknown IO ID 45"} 
[2026-09-08 17:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950209792001,"power":14048,"unknown_111":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1933592383186581504}} 
[2026-09-08 17:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":177409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:18:07] local.INFO: GPS data processed {"connection_id":177409,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:18:07] local.INFO: Acknowledgment sent {"connection_id":177409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:18:19] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:18:19] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:18:19] local.INFO: IMEI packet received {"connection_id":175949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":175949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:18:20] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d7daa8012d0b158007033d08000600ca24..."} 
[2026-09-08 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d7daa8012d0b158007033d08000600ca24..."} 
[2026-09-08 17:18:20] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d7daa8012d0b158007033d08000600ca24..."} 
[2026-09-08 17:18:20] local.INFO: Packet analysis {"connection_id":175949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d7"} 
[2026-09-08 17:18:20] local.INFO: Extracted packet for processing {"connection_id":175949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d7"} 
[2026-09-08 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":755701120,"raw_latitude":117652744,"longitude_deg":75.570112,"latitude_deg":11.7652744,"altitude":6,"angle":202,"satellites":36,"speed":34,"hex_longitude":"2d0b1580","hex_latitude":"07033d08","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950212096001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30840579604611072,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026304022528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788868025000,"timestamp_ms":1788868025000,"timestamp_seconds":1788868025,"priority":1,"record_length":96,"hex_timestamp":"000001a080d7daa8"} 
[2026-09-08 17:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-08 17:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950212096001,"66":14439,"37":206,"94":11008,"24":34,"16":30840579604611072,"45":801500026304022528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-08 17:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950212096001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 17:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30840579604611072,"km_value":30840579604611.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026304022528,"description":"Unknown IO ID 45"} 
[2026-09-08 17:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950212096001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":801500026304022528}} 
[2026-09-08 17:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":175949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:18:20] local.INFO: GPS data processed {"connection_id":175949,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:18:20] local.INFO: Acknowledgment sent {"connection_id":175949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:18:21] local.INFO: TCP Data received {"connection_id":174599,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:18:21] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:18:21] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:18:21] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:18:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:18:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:18:21] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:18:21] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:18:38] local.INFO: TCP Data received {"connection_id":177409,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d7bb68012d1ae94007245710002b00182a..."} 
[2026-09-08 17:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d7bb68012d1ae94007245710002b00182a..."} 
[2026-09-08 17:18:38] local.INFO: Processing buffer {"connection_id":177409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d7bb68012d1ae94007245710002b00182a..."} 
[2026-09-08 17:18:38] local.INFO: Packet analysis {"connection_id":177409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d7"} 
[2026-09-08 17:18:38] local.INFO: Extracted packet for processing {"connection_id":177409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d7"} 
[2026-09-08 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756738368,"raw_latitude":119822096,"longitude_deg":75.6738368,"latitude_deg":11.9822096,"altitude":43,"angle":24,"satellites":42,"speed":38,"hex_longitude":"2d1ae940","hex_latitude":"07245710","is_valid_coordinates":true} 
[2026-09-08 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950210816001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18762564632576000,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936125657977518080,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788868017000,"timestamp_ms":1788868017000,"timestamp_seconds":1788868017,"priority":1,"record_length":96,"hex_timestamp":"000001a080d7bb68"} 
[2026-09-08 17:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 17:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950210816001,"66":14189,"111":206,"28":31744,"24":38,"16":18762564632576000,"45":1936125657977518080},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950210816001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:18:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18762564632576000,"km_value":18762564632576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936125657977518080,"description":"Unknown IO ID 45"} 
[2026-09-08 17:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950210816001,"power":14189,"unknown_111":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1936125657977518080}} 
[2026-09-08 17:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":177409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:18:38] local.INFO: GPS data processed {"connection_id":177409,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:18:38] local.INFO: Acknowledgment sent {"connection_id":177409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:18:41] local.INFO: TCP Data received {"connection_id":175950,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:18:41] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:18:41] local.INFO: IMEI packet received {"connection_id":175950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":175950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:18:46] local.INFO: TCP Data received {"connection_id":175950,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:18:46] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:18:46] local.INFO: IMEI packet received {"connection_id":175950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":175950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:18:47] local.INFO: TCP Data received {"connection_id":175950,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:18:47] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d4a270012d569ec0067b6638002800362f..."} 
[2026-09-08 17:18:47] local.INFO: Packet analysis {"connection_id":175950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:18:47] local.INFO: Extracted packet for processing {"connection_id":175950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d4"} 
[2026-09-08 17:18:47] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":47,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950083328001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788867814000,"timestamp_ms":1788867814000,"timestamp_seconds":1788867814,"priority":1,"record_length":96,"hex_timestamp":"000001a080d4a270"} 
[2026-09-08 17:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950083328001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950083328001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:18:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:18:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950083328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":175950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:18:47] local.INFO: GPS data processed {"connection_id":175950,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:18:47] local.INFO: Acknowledgment sent {"connection_id":175950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:18:51] local.INFO: TCP Data received {"connection_id":175949,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d95978012d0b00800702c238000e00af26..."} 
[2026-09-08 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d95978012d0b00800702c238000e00af26..."} 
[2026-09-08 17:18:51] local.INFO: Processing buffer {"connection_id":175949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d95978012d0b00800702c238000e00af26..."} 
[2026-09-08 17:18:51] local.INFO: Packet analysis {"connection_id":175949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:18:51] local.INFO: Extracted packet for processing {"connection_id":175949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":117621304,"longitude_deg":75.5695744,"latitude_deg":11.7621304,"altitude":14,"angle":175,"satellites":38,"speed":7,"hex_longitude":"2d0b0080","hex_latitude":"0702c238","is_valid_coordinates":true} 
[2026-09-08 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950239232001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842396375777280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792703933272483840,"note":"Value kept but may cause issues"} 
[2026-09-08 17:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788868123000,"timestamp_ms":1788868123000,"timestamp_seconds":1788868123,"priority":1,"record_length":96,"hex_timestamp":"000001a080d95978"} 
[2026-09-08 17:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 17:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950239232001,"66":14396,"17":206,"94":11008,"24":7,"16":30842396375777280,"45":792703933272483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 17:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950239232001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:18:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 17:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30842396375777280,"km_value":30842396375777.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":792703933272483840,"description":"Unknown IO ID 45"} 
[2026-09-08 17:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950239232001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":792703933272483840}} 
[2026-09-08 17:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":175949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:18:52] local.INFO: GPS data processed {"connection_id":175949,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:18:52] local.INFO: Acknowledgment sent {"connection_id":175949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:19:01] local.INFO: TCP Data received {"connection_id":174600,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:19:01] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:19:01] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:19:05] local.INFO: TCP Data received {"connection_id":174600,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:19:05] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:19:05] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:19:06] local.INFO: TCP Data received {"connection_id":174600,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d8e448012d1b488007247c080027010526..."} 
[2026-09-08 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d8e448012d1b488007247c080027010526..."} 
[2026-09-08 17:19:06] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d8e448012d1b488007247c080027010526..."} 
[2026-09-08 17:19:06] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d8"} 
[2026-09-08 17:19:06] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d8"} 
[2026-09-08 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119831560,"longitude_deg":75.6762752,"latitude_deg":11.983156,"altitude":39,"angle":261,"satellites":38,"speed":5,"hex_longitude":"2d1b4880","hex_latitude":"07247c08","is_valid_coordinates":true} 
[2026-09-08 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950231552001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764201015115776,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374256654336,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788868093000,"timestamp_ms":1788868093000,"timestamp_seconds":1788868093,"priority":1,"record_length":96,"hex_timestamp":"000001a080d8e448"} 
[2026-09-08 17:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950231552001,"66":13091,"91":206,"28":31744,"24":5,"16":18764201015115776,"45":1966032374256654336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 17:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950231552001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:19:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 17:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764201015115776,"km_value":18764201015115.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374256654336,"description":"Unknown IO ID 45"} 
[2026-09-08 17:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950231552001,"power":13091,"unknown_91":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1966032374256654336}} 
[2026-09-08 17:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:19:06] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:19:06] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:19:19] local.INFO: TCP Data received {"connection_id":175950,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:19:19] local.INFO: Processing buffer {"connection_id":175950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:19:19] local.INFO: Packet analysis {"connection_id":175950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:19] local.INFO: Extracted packet for processing {"connection_id":175950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:19] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:19:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:19:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":175950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:19:19] local.INFO: GPS data processed {"connection_id":175950,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:19:19] local.INFO: Acknowledgment sent {"connection_id":175950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:19:22] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:19:22] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:19:22] local.INFO: IMEI packet received {"connection_id":177411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-08 17:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":177411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:19:24] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:19:24] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-08 17:19:24] local.INFO: IMEI packet received {"connection_id":177411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-08 17:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":177411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:19:24] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d95d60012d0b00400702c170000e00bd26..."} 
[2026-09-08 17:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d95d60012d0b00400702c170000e00bd26..."} 
[2026-09-08 17:19:24] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d95d60012d0b00400702c170000e00bd26..."} 
[2026-09-08 17:19:24] local.INFO: Packet analysis {"connection_id":177411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:24] local.INFO: Extracted packet for processing {"connection_id":177411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:24] local.INFO: GPS Element Parsed {"raw_longitude":755695680,"raw_latitude":117621104,"longitude_deg":75.569568,"latitude_deg":11.7621104,"altitude":14,"angle":189,"satellites":38,"speed":8,"hex_longitude":"2d0b0040","hex_latitude":"0702c170","is_valid_coordinates":true} 
[2026-09-08 17:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950239488001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842409260679168,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302016616448,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788868124000,"timestamp_ms":1788868124000,"timestamp_seconds":1788868124,"priority":1,"record_length":96,"hex_timestamp":"000001a080d95d60"} 
[2026-09-08 17:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 17:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950239488001,"66":13646,"17":206,"94":11008,"24":8,"16":30842409260679168,"45":792774302016616448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 17:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950239488001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:19:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 17:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30842409260679168,"km_value":30842409260679.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302016616448,"description":"Unknown IO ID 45"} 
[2026-09-08 17:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950239488001,"power":13646,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":792774302016616448}} 
[2026-09-08 17:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":177411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:19:25] local.INFO: GPS data processed {"connection_id":177411,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:19:25] local.INFO: Acknowledgment sent {"connection_id":177411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:19:29] local.INFO: TCP Data received {"connection_id":177411,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a080d96918012d0b00800702bde0000e00b126..."} 
[2026-09-08 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d96918012d0b00800702bde0000e00b126..."} 
[2026-09-08 17:19:29] local.INFO: Processing buffer {"connection_id":177411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d96918012d0b00800702bde0000e00b126..."} 
[2026-09-08 17:19:29] local.INFO: Packet analysis {"connection_id":177411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:29] local.INFO: Extracted packet for processing {"connection_id":177411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":117620192,"longitude_deg":75.5695744,"latitude_deg":11.7620192,"altitude":14,"angle":177,"satellites":38,"speed":14,"hex_longitude":"2d0b0080","hex_latitude":"0702bde0","is_valid_coordinates":true} 
[2026-09-08 17:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950239744001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30842452210352128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792703933272387584,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788868127000,"timestamp_ms":1788868127000,"timestamp_seconds":1788868127,"priority":1,"record_length":96,"hex_timestamp":"000001a080d96918"} 
[2026-09-08 17:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-08 17:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-08 17:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-08 17:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-08 17:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950239744001,"66":14461,"17":206,"94":11008,"24":14,"16":30842452210352128,"45":792703933272387584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-08 17:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-08 17:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-08 17:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950239744001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:19:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-08 17:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30842452210352128,"km_value":30842452210352.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":792703933272387584,"description":"Unknown IO ID 45"} 
[2026-09-08 17:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950239744001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":792703933272387584}} 
[2026-09-08 17:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":177411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:19:30] local.INFO: GPS data processed {"connection_id":177411,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:19:30] local.INFO: Acknowledgment sent {"connection_id":177411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:19:38] local.INFO: TCP Data received {"connection_id":174600,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d8e830012d1b480007247c200026012728..."} 
[2026-09-08 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d8e830012d1b480007247c200026012728..."} 
[2026-09-08 17:19:38] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d8e830012d1b480007247c200026012728..."} 
[2026-09-08 17:19:38] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d8"} 
[2026-09-08 17:19:38] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d8"} 
[2026-09-08 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119831584,"longitude_deg":75.6762624,"latitude_deg":11.9831584,"altitude":38,"angle":295,"satellites":40,"speed":7,"hex_longitude":"2d1b4800","hex_latitude":"07247c20","is_valid_coordinates":true} 
[2026-09-08 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950231808001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764205310083072,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005512456192,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788868094000,"timestamp_ms":1788868094000,"timestamp_seconds":1788868094,"priority":1,"record_length":96,"hex_timestamp":"000001a080d8e830"} 
[2026-09-08 17:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 17:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950231808001,"66":13091,"91":206,"28":31744,"24":7,"16":18764205310083072,"45":1965962005512456192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 17:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950231808001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764205310083072,"km_value":18764205310083.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005512456192,"description":"Unknown IO ID 45"} 
[2026-09-08 17:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950231808001,"power":13091,"unknown_91":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1965962005512456192}} 
[2026-09-08 17:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:19:38] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:19:38] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:19:47] local.INFO: TCP Data received {"connection_id":175951,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:19:47] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:19:47] local.INFO: IMEI packet received {"connection_id":175951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":175951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:19:52] local.INFO: TCP Data received {"connection_id":175951,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:19:52] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:19:52] local.INFO: IMEI packet received {"connection_id":175951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":175951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:19:53] local.INFO: TCP Data received {"connection_id":175951,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:19:53] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:19:53] local.INFO: Packet analysis {"connection_id":175951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:53] local.INFO: Extracted packet for processing {"connection_id":175951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:19:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:19:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:19:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":175951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:19:53] local.INFO: GPS data processed {"connection_id":175951,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:19:53] local.INFO: Acknowledgment sent {"connection_id":175951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:20:00] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:20:00] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:20:00] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:20:06] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:20:06] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:20:06] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:20:07] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d8ec18012d1b478007247c680026013328..."} 
[2026-09-08 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d8ec18012d1b478007247c680026013328..."} 
[2026-09-08 17:20:07] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d8ec18012d1b478007247c680026013328..."} 
[2026-09-08 17:20:07] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d8"} 
[2026-09-08 17:20:07] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d8"} 
[2026-09-08 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119831656,"longitude_deg":75.6762496,"latitude_deg":11.9831656,"altitude":38,"angle":307,"satellites":40,"speed":6,"hex_longitude":"2d1b4780","hex_latitude":"07247c68","is_valid_coordinates":true} 
[2026-09-08 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950232064001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764213900017664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268024107008,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788868095000,"timestamp_ms":1788868095000,"timestamp_seconds":1788868095,"priority":1,"record_length":96,"hex_timestamp":"000001a080d8ec18"} 
[2026-09-08 17:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 17:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950232064001,"66":13080,"91":206,"28":31744,"24":6,"16":18764213900017664,"45":1965821268024107008},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 17:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950232064001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:20:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 17:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764213900017664,"km_value":18764213900017.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268024107008,"description":"Unknown IO ID 45"} 
[2026-09-08 17:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950232064001,"power":13080,"unknown_91":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1965821268024107008}} 
[2026-09-08 17:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:20:07] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:20:07] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:20:24] local.INFO: TCP Data received {"connection_id":175951,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:20:24] local.INFO: Processing buffer {"connection_id":175951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:20:24] local.INFO: Packet analysis {"connection_id":175951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:20:24] local.INFO: Extracted packet for processing {"connection_id":175951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:20:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:20:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":175951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:20:24] local.INFO: GPS data processed {"connection_id":175951,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:20:24] local.INFO: Acknowledgment sent {"connection_id":175951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:20:39] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93e20012d1b4800072479d00024013328..."} 
[2026-09-08 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93e20012d1b4800072479d00024013328..."} 
[2026-09-08 17:20:39] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93e20012d1b4800072479d00024013328..."} 
[2026-09-08 17:20:39] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:20:39] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119830992,"longitude_deg":75.6762624,"latitude_deg":11.9830992,"altitude":36,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d1b4800","hex_latitude":"072479d0","is_valid_coordinates":true} 
[2026-09-08 17:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950232320001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764265439625216,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530535770112,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788868116000,"timestamp_ms":1788868116000,"timestamp_seconds":1788868116,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93e20"} 
[2026-09-08 17:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 17:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950232320001,"66":13015,"91":206,"28":31744,"24":0,"16":18764265439625216,"45":1965680530535770112},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 17:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950232320001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:20:39] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 17:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764265439625216,"km_value":18764265439625.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530535770112,"description":"Unknown IO ID 45"} 
[2026-09-08 17:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950232320001,"power":13015,"unknown_91":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965680530535770112}} 
[2026-09-08 17:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:20:39] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:20:39] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:20:41] local.INFO: TCP Data received {"connection_id":174884,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:20:41] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:20:41] local.INFO: IMEI packet received {"connection_id":174884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":174884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:20:47] local.INFO: TCP Data received {"connection_id":174884,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:20:47] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:20:47] local.INFO: IMEI packet received {"connection_id":174884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:20:49] local.INFO: TCP Data received {"connection_id":174884,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:20:49] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:20:49] local.INFO: Packet analysis {"connection_id":174884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:20:49] local.INFO: Extracted packet for processing {"connection_id":174884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:20:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:20:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":174884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:20:49] local.INFO: GPS data processed {"connection_id":174884,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:20:49] local.INFO: Acknowledgment sent {"connection_id":174884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:21:00] local.INFO: TCP Data received {"connection_id":175952,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:21:00] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:21:00] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:21:06] local.INFO: TCP Data received {"connection_id":175952,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:21:06] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:21:06] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:21:07] local.INFO: TCP Data received {"connection_id":175952,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d99028012d1b4800072479d00024013325..."} 
[2026-09-08 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d99028012d1b4800072479d00024013325..."} 
[2026-09-08 17:21:07] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d99028012d1b4800072479d00024013325..."} 
[2026-09-08 17:21:07] local.INFO: Packet analysis {"connection_id":175952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:07] local.INFO: Extracted packet for processing {"connection_id":175952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119830992,"longitude_deg":75.6762624,"latitude_deg":11.9830992,"altitude":36,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d1b4800","hex_latitude":"072479d0","is_valid_coordinates":true} 
[2026-09-08 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237696001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764265439625216,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268023955456,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788868137000,"timestamp_ms":1788868137000,"timestamp_seconds":1788868137,"priority":1,"record_length":96,"hex_timestamp":"000001a080d99028"} 
[2026-09-08 17:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 17:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237696001,"66":12972,"91":206,"28":31744,"24":0,"16":18764265439625216,"45":1965821268023955456},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 17:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237696001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:21:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 17:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764265439625216,"km_value":18764265439625.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268023955456,"description":"Unknown IO ID 45"} 
[2026-09-08 17:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237696001,"power":12972,"unknown_91":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965821268023955456}} 
[2026-09-08 17:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":175952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:21:07] local.INFO: GPS data processed {"connection_id":175952,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:21:07] local.INFO: Acknowledgment sent {"connection_id":175952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:21:20] local.INFO: TCP Data received {"connection_id":174884,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:21:20] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:21:20] local.INFO: Packet analysis {"connection_id":174884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:20] local.INFO: Extracted packet for processing {"connection_id":174884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:21:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:21:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":174884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:21:20] local.INFO: GPS data processed {"connection_id":174884,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:21:20] local.INFO: Acknowledgment sent {"connection_id":174884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:21:38] local.INFO: TCP Data received {"connection_id":175952,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080d9e230012d1b4800072479d00024013327..."} 
[2026-09-08 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d9e230012d1b4800072479d00024013327..."} 
[2026-09-08 17:21:38] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d9e230012d1b4800072479d00024013327..."} 
[2026-09-08 17:21:38] local.INFO: Packet analysis {"connection_id":175952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:38] local.INFO: Extracted packet for processing {"connection_id":175952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119830992,"longitude_deg":75.6762624,"latitude_deg":11.9830992,"altitude":36,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d1b4800","hex_latitude":"072479d0","is_valid_coordinates":true} 
[2026-09-08 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950243072001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764265439625216,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268023955456,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788868158000,"timestamp_ms":1788868158000,"timestamp_seconds":1788868158,"priority":1,"record_length":96,"hex_timestamp":"000001a080d9e230"} 
[2026-09-08 17:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-08 17:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950243072001,"66":12928,"91":206,"28":31744,"24":0,"16":18764265439625216,"45":1965821268023955456},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 17:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950243072001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764265439625216,"km_value":18764265439625.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268023955456,"description":"Unknown IO ID 45"} 
[2026-09-08 17:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950243072001,"power":12928,"unknown_91":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965821268023955456}} 
[2026-09-08 17:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":175952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:21:38] local.INFO: GPS data processed {"connection_id":175952,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:21:38] local.INFO: Acknowledgment sent {"connection_id":175952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:21:41] local.INFO: TCP Data received {"connection_id":177413,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:21:41] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:21:41] local.INFO: IMEI packet received {"connection_id":177413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":177413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:21:47] local.INFO: TCP Data received {"connection_id":177413,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:21:47] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:21:47] local.INFO: IMEI packet received {"connection_id":177413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":177413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:21:48] local.INFO: TCP Data received {"connection_id":177413,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:21:48] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:21:48] local.INFO: Packet analysis {"connection_id":177413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:48] local.INFO: Extracted packet for processing {"connection_id":177413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:21:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:21:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:21:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":177413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:21:48] local.INFO: GPS data processed {"connection_id":177413,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:21:48] local.INFO: Acknowledgment sent {"connection_id":177413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:22:01] local.INFO: TCP Data received {"connection_id":175953,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:01] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:01] local.INFO: IMEI packet received {"connection_id":175953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":175953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:22:02] local.INFO: TCP Data received {"connection_id":175953,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:02] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:02] local.INFO: IMEI packet received {"connection_id":175953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":175953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:22:05] local.INFO: TCP Data received {"connection_id":175953,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:05] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:05] local.INFO: IMEI packet received {"connection_id":175953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":175953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:22:11] local.INFO: TCP Data received {"connection_id":175953,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:11] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:11] local.INFO: IMEI packet received {"connection_id":175953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":175953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:22:12] local.INFO: TCP Data received {"connection_id":175953,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dbaf20012d1b27c0072490580025012327..."} 
[2026-09-08 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dbaf20012d1b27c0072490580025012327..."} 
[2026-09-08 17:22:12] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dbaf20012d1b27c0072490580025012327..."} 
[2026-09-08 17:22:12] local.INFO: Packet analysis {"connection_id":175953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:22:12] local.INFO: Extracted packet for processing {"connection_id":175953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756754368,"raw_latitude":119836760,"longitude_deg":75.6754368,"latitude_deg":11.983676,"altitude":37,"angle":291,"satellites":39,"speed":13,"hex_longitude":"2d1b27c0","hex_latitude":"07249058","is_valid_coordinates":true} 
[2026-09-08 17:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950274048001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764763655831552,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999373279232,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788868276000,"timestamp_ms":1788868276000,"timestamp_seconds":1788868276,"priority":1,"record_length":96,"hex_timestamp":"000001a080dbaf20"} 
[2026-09-08 17:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987766488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503885947338752,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2161846864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2852257792,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3678775297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882811598,"corrected_to":0} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84753964041970809,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738919,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.WARNING: Large IO value detected {"io_id":208,"raw_value":10134418387632128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,111,28,24,241,158,16,170,160,85,45,192,123,34,41,10,66,81,77,64,1,240,218,128,36,4,113,205,2,61,72,38,239,55,7,206,208],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3882811598,"validated":0}]} 
[2026-09-08 17:22:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522349123740172288,"timestamp_seconds":2522349123740172.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950274048001,"66":14374,"111":206,"28":31744,"24":13,"16":18764763655831552,"45":1964624999373279232},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950274048001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:22:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764763655831552,"km_value":18764763655831.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999373279232,"description":"Unknown IO ID 45"} 
[2026-09-08 17:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950274048001,"power":14374,"unknown_111":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1964624999373279232}} 
[2026-09-08 17:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":175953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:22:12] local.INFO: GPS data processed {"connection_id":175953,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:22:12] local.INFO: Acknowledgment sent {"connection_id":175953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:22:20] local.INFO: TCP Data received {"connection_id":177413,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:20] local.INFO: Processing buffer {"connection_id":177413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:20] local.INFO: Packet analysis {"connection_id":177413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:22:20] local.INFO: Extracted packet for processing {"connection_id":177413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:22:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:22:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:22:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":177413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:22:20] local.INFO: GPS data processed {"connection_id":177413,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:22:20] local.INFO: Acknowledgment sent {"connection_id":177413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:22:24] local.INFO: TCP Data received {"connection_id":177414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:22:24] local.INFO: Processing buffer {"connection_id":177414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:22:24] local.INFO: IMEI packet received {"connection_id":177414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":177414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:22:44] local.INFO: TCP Data received {"connection_id":175953,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dbc690012d1b2400072491b00025010f28..."} 
[2026-09-08 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dbc690012d1b2400072491b00025010f28..."} 
[2026-09-08 17:22:44] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dbc690012d1b2400072491b00025010f28..."} 
[2026-09-08 17:22:44] local.INFO: Packet analysis {"connection_id":175953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:22:44] local.INFO: Extracted packet for processing {"connection_id":175953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756753408,"raw_latitude":119837104,"longitude_deg":75.6753408,"latitude_deg":11.9837104,"altitude":37,"angle":271,"satellites":40,"speed":8,"hex_longitude":"2d1b2400","hex_latitude":"072491b0","is_valid_coordinates":true} 
[2026-09-08 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950278656001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764815195439104,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956743700026513408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788868282000,"timestamp_ms":1788868282000,"timestamp_seconds":1788868282,"priority":1,"record_length":96,"hex_timestamp":"000001a080dbc690"} 
[2026-09-08 17:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 17:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950278656001,"66":14113,"111":206,"28":31744,"24":8,"16":18764815195439104,"45":1956743700026513408},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950278656001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:22:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764815195439104,"km_value":18764815195439.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956743700026513408,"description":"Unknown IO ID 45"} 
[2026-09-08 17:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950278656001,"power":14113,"unknown_111":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1956743700026513408}} 
[2026-09-08 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":175953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:22:44] local.INFO: GPS data processed {"connection_id":175953,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:22:44] local.INFO: Acknowledgment sent {"connection_id":175953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:22:47] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:22:47] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:22:47] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:22:49] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:22:49] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:22:49] local.INFO: IMEI packet received {"connection_id":174604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:22:52] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:22:52] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:22:52] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:22:53] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:53] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:53] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:22:53] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:22:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:22:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:22:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:22:53] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:22:53] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:22:57] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:57] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:22:57] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:22:57] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:22:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:22:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:22:57] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:22:57] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:22:58] local.INFO: TCP Data received {"connection_id":174885,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:58] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:22:58] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:23:00] local.INFO: TCP Data received {"connection_id":174885,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:23:00] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:23:00] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:23:06] local.INFO: TCP Data received {"connection_id":174885,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:23:06] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:23:06] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:23:07] local.INFO: TCP Data received {"connection_id":174885,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dbca78012d1b22c0072491880025010129..."} 
[2026-09-08 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dbca78012d1b22c0072491880025010129..."} 
[2026-09-08 17:23:07] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dbca78012d1b22c0072491880025010129..."} 
[2026-09-08 17:23:07] local.INFO: Packet analysis {"connection_id":174885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:23:07] local.INFO: Extracted packet for processing {"connection_id":174885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756753088,"raw_latitude":119837064,"longitude_deg":75.6753088,"latitude_deg":11.9837064,"altitude":37,"angle":257,"satellites":41,"speed":12,"hex_longitude":"2d1b22c0","hex_latitude":"07249188","is_valid_coordinates":true} 
[2026-09-08 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950280192001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764828080340992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955688168863936512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788868283000,"timestamp_ms":1788868283000,"timestamp_seconds":1788868283,"priority":1,"record_length":96,"hex_timestamp":"000001a080dbca78"} 
[2026-09-08 17:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-08 17:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950280192001,"66":14428,"111":206,"28":31744,"24":12,"16":18764828080340992,"45":1955688168863936512},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950280192001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:23:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764828080340992,"km_value":18764828080340.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955688168863936512,"description":"Unknown IO ID 45"} 
[2026-09-08 17:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950280192001,"power":14428,"unknown_111":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1955688168863936512}} 
[2026-09-08 17:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":174885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:23:07] local.INFO: GPS data processed {"connection_id":174885,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:23:07] local.INFO: Acknowledgment sent {"connection_id":174885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:23:38] local.INFO: TCP Data received {"connection_id":174885,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dbce60012d1b218007249100002500f129..."} 
[2026-09-08 17:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dbce60012d1b218007249100002500f129..."} 
[2026-09-08 17:23:38] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dbce60012d1b218007249100002500f129..."} 
[2026-09-08 17:23:38] local.INFO: Packet analysis {"connection_id":174885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:23:38] local.INFO: Extracted packet for processing {"connection_id":174885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080db"} 
[2026-09-08 17:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756752768,"raw_latitude":119836928,"longitude_deg":75.6752768,"latitude_deg":11.9836928,"altitude":37,"angle":241,"satellites":41,"speed":14,"hex_longitude":"2d1b2180","hex_latitude":"07249100","is_valid_coordinates":true} 
[2026-09-08 17:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950280448001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18764845260210176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955336325143037952,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788868284000,"timestamp_ms":1788868284000,"timestamp_seconds":1788868284,"priority":1,"record_length":96,"hex_timestamp":"000001a080dbce60"} 
[2026-09-08 17:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 17:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950280448001,"66":14428,"111":206,"28":31744,"24":14,"16":18764845260210176,"45":1955336325143037952},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-08 17:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950280448001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:23:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-08 17:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18764845260210176,"km_value":18764845260210.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955336325143037952,"description":"Unknown IO ID 45"} 
[2026-09-08 17:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950280448001,"power":14428,"unknown_111":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1955336325143037952}} 
[2026-09-08 17:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":174885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:23:39] local.INFO: GPS data processed {"connection_id":174885,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:23:39] local.INFO: Acknowledgment sent {"connection_id":174885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:23:42] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:23:42] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:23:42] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:23:47] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:23:47] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:23:47] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:23:49] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:23:49] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:23:49] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:23:49] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:23:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:23:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:23:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:23:49] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:23:49] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:23:52] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:23:52] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080d93a38012d569ec0067b6638002800362c..."} 
[2026-09-08 17:23:52] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:23:52] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080d9"} 
[2026-09-08 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950160384001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788868115000,"timestamp_ms":1788868115000,"timestamp_seconds":1788868115,"priority":1,"record_length":96,"hex_timestamp":"000001a080d93a38"} 
[2026-09-08 17:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950160384001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950160384001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:23:52] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:23:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950160384001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:23:52] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:23:52] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:24:00] local.INFO: TCP Data received {"connection_id":174886,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:00] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:00] local.INFO: IMEI packet received {"connection_id":174886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":174886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:24:01] local.INFO: TCP Data received {"connection_id":174886,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:01] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:01] local.INFO: IMEI packet received {"connection_id":174886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":174886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:24:06] local.INFO: TCP Data received {"connection_id":174886,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:06] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:24:06] local.INFO: IMEI packet received {"connection_id":174886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":174886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:24:08] local.INFO: TCP Data received {"connection_id":174886,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dd7828012d1a53800723ecd8003000d129..."} 
[2026-09-08 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dd7828012d1a53800723ecd8003000d129..."} 
[2026-09-08 17:24:08] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dd7828012d1a53800723ecd8003000d129..."} 
[2026-09-08 17:24:08] local.INFO: Packet analysis {"connection_id":174886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:08] local.INFO: Extracted packet for processing {"connection_id":174886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756700032,"raw_latitude":119794904,"longitude_deg":75.6700032,"latitude_deg":11.9794904,"altitude":48,"angle":209,"satellites":41,"speed":30,"hex_longitude":"2d1a5380","hex_latitude":"0723ecd8","is_valid_coordinates":true} 
[2026-09-08 17:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950307072001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18768152385028096,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900026492209565696,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788868393000,"timestamp_ms":1788868393000,"timestamp_seconds":1788868393,"priority":1,"record_length":96,"hex_timestamp":"000001a080dd7828"} 
[2026-09-08 17:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987766882,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11822843046140416,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2161934864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2882666496,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3702071297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84753551725110356,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,112,28,24,241,158,16,173,160,73,45,64,7,47,39,10,66,19,46,43,172,204,128,1,240,231,36,4,113,205,34,141,213,144,41,239,54,2,27,206,208],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 17:24:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386950087948042240,"timestamp_seconds":3386950087948042.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950307072001,"66":14374,"112":206,"28":31744,"24":30,"16":18768152385028096,"45":1900026492209565696},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950307072001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18768152385028096,"km_value":18768152385028.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900026492209565696,"description":"Unknown IO ID 45"} 
[2026-09-08 17:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950307072001,"power":14374,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1900026492209565696}} 
[2026-09-08 17:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":174886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:24:08] local.INFO: GPS data processed {"connection_id":174886,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:24:08] local.INFO: Acknowledgment sent {"connection_id":174886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:24:25] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:24:25] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:24:25] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:25] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:24:25] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:24:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:24:25] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:24:25] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:24:40] local.INFO: TCP Data received {"connection_id":174886,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dd9f38012d1a40c00723cf10003000d428..."} 
[2026-09-08 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dd9f38012d1a40c00723cf10003000d428..."} 
[2026-09-08 17:24:40] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dd9f38012d1a40c00723cf10003000d428..."} 
[2026-09-08 17:24:40] local.INFO: Packet analysis {"connection_id":174886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:40] local.INFO: Extracted packet for processing {"connection_id":174886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119787280,"longitude_deg":75.6695232,"latitude_deg":11.978728,"altitude":48,"angle":212,"satellites":40,"speed":39,"hex_longitude":"2d1a40c0","hex_latitude":"0723cf10","is_valid_coordinates":true} 
[2026-09-08 17:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950308608001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18768586176724992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897000636208961536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788868403000,"timestamp_ms":1788868403000,"timestamp_seconds":1788868403,"priority":1,"record_length":96,"hex_timestamp":"000001a080dd9f38"} 
[2026-09-08 17:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 17:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950308608001,"66":14298,"112":206,"28":31744,"24":39,"16":18768586176724992,"45":1897000636208961536},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950308608001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:24:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18768586176724992,"km_value":18768586176724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897000636208961536,"description":"Unknown IO ID 45"} 
[2026-09-08 17:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950308608001,"power":14298,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1897000636208961536}} 
[2026-09-08 17:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":174886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:24:40] local.INFO: GPS data processed {"connection_id":174886,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:24:40] local.INFO: Acknowledgment sent {"connection_id":174886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:24:41] local.INFO: TCP Data received {"connection_id":177415,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:24:41] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:24:41] local.INFO: IMEI packet received {"connection_id":177415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":177415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:24:46] local.INFO: TCP Data received {"connection_id":177415,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:24:46] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:24:46] local.INFO: IMEI packet received {"connection_id":177415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":177415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:24:49] local.INFO: TCP Data received {"connection_id":177415,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:24:49] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:24:49] local.INFO: Packet analysis {"connection_id":177415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:49] local.INFO: Extracted packet for processing {"connection_id":177415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":177415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:24:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:24:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":177415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:24:49] local.INFO: GPS data processed {"connection_id":177415,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:24:49] local.INFO: Acknowledgment sent {"connection_id":177415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:25:00] local.INFO: TCP Data received {"connection_id":175955,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:00] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:00] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:25:04] local.INFO: TCP Data received {"connection_id":175955,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:04] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:04] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:25:05] local.INFO: TCP Data received {"connection_id":175955,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:05] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:25:05] local.INFO: IMEI packet received {"connection_id":175955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":175955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:25:12] local.INFO: TCP Data received {"connection_id":175955,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddb2c0012d1a34800723bf90003000e128..."} 
[2026-09-08 17:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddb2c0012d1a34800723bf90003000e128..."} 
[2026-09-08 17:25:12] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddb2c0012d1a34800723bf90003000e128..."} 
[2026-09-08 17:25:12] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:12] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756692096,"raw_latitude":119783312,"longitude_deg":75.6692096,"latitude_deg":11.9783312,"altitude":48,"angle":225,"satellites":40,"speed":33,"hex_longitude":"2d1a3480","hex_latitude":"0723bf90","is_valid_coordinates":true} 
[2026-09-08 17:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950311168001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18768826694893568,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980393684992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788868408000,"timestamp_ms":1788868408000,"timestamp_seconds":1788868408,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddb2c0"} 
[2026-09-08 17:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-08 17:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950311168001,"66":14374,"112":206,"28":31744,"24":33,"16":18768826694893568,"45":1891722980393684992},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950311168001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:25:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18768826694893568,"km_value":18768826694893.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980393684992,"description":"Unknown IO ID 45"} 
[2026-09-08 17:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950311168001,"power":14374,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1891722980393684992}} 
[2026-09-08 17:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:25:12] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:25:12] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:25:13] local.INFO: TCP Data received {"connection_id":175955,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddca30012d1a24400723b2d0003000ed26..."} 
[2026-09-08 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddca30012d1a24400723b2d0003000ed26..."} 
[2026-09-08 17:25:13] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddca30012d1a24400723b2d0003000ed26..."} 
[2026-09-08 17:25:13] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:13] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756687936,"raw_latitude":119780048,"longitude_deg":75.6687936,"latitude_deg":11.9780048,"altitude":48,"angle":237,"satellites":38,"speed":36,"hex_longitude":"2d1a2440","hex_latitude":"0723b2d0","is_valid_coordinates":true} 
[2026-09-08 17:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950312448001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18769084392931328,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888274911927963648,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788868414000,"timestamp_ms":1788868414000,"timestamp_seconds":1788868414,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddca30"} 
[2026-09-08 17:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 17:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950312448001,"66":13993,"112":206,"28":31744,"24":36,"16":18769084392931328,"45":1888274911927963648},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 17:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950312448001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18769084392931328,"km_value":18769084392931.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888274911927963648,"description":"Unknown IO ID 45"} 
[2026-09-08 17:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950312448001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1888274911927963648}} 
[2026-09-08 17:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:25:13] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:25:13] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:25:21] local.INFO: TCP Data received {"connection_id":177415,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:25:21] local.INFO: Processing buffer {"connection_id":177415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:25:21] local.INFO: Packet analysis {"connection_id":177415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:21] local.INFO: Extracted packet for processing {"connection_id":177415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:25:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:25:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":177415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:25:21] local.INFO: GPS data processed {"connection_id":177415,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:25:21] local.INFO: Acknowledgment sent {"connection_id":177415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:25:41] local.INFO: TCP Data received {"connection_id":174606,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:25:41] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:25:41] local.INFO: IMEI packet received {"connection_id":174606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":174606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:25:44] local.INFO: TCP Data received {"connection_id":175955,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080dee370012d1936c007233c08005200dc20..."} 
[2026-09-08 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080dee370012d1936c007233c08005200dc20..."} 
[2026-09-08 17:25:44] local.INFO: Processing buffer {"connection_id":175955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080dee370012d1936c007233c08005200dc20..."} 
[2026-09-08 17:25:44] local.INFO: Packet analysis {"connection_id":175955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080de"} 
[2026-09-08 17:25:44] local.INFO: Extracted packet for processing {"connection_id":175955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080de"} 
[2026-09-08 17:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756627136,"raw_latitude":119749640,"longitude_deg":75.6627136,"latitude_deg":11.974964,"altitude":82,"angle":220,"satellites":32,"speed":37,"hex_longitude":"2d1936c0","hex_latitude":"07233c08","is_valid_coordinates":true} 
[2026-09-08 17:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950329856001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18772567611408384,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454812696576,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788868486000,"timestamp_ms":1788868486000,"timestamp_seconds":1788868486,"priority":1,"record_length":96,"hex_timestamp":"000001a080dee370"} 
[2026-09-08 17:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 17:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950329856001,"66":13928,"62":206,"28":31744,"24":37,"16":18772567611408384,"45":1823113454812696576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-09-08 17:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950329856001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:25:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-08 17:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18772567611408384,"km_value":18772567611408.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454812696576,"description":"Unknown IO ID 45"} 
[2026-09-08 17:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950329856001,"power":13928,"unknown_62":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1823113454812696576}} 
[2026-09-08 17:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":175955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:25:44] local.INFO: GPS data processed {"connection_id":175955,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:25:44] local.INFO: Acknowledgment sent {"connection_id":175955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:25:47] local.INFO: TCP Data received {"connection_id":174606,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:25:47] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:25:47] local.INFO: IMEI packet received {"connection_id":174606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:25:48] local.INFO: TCP Data received {"connection_id":174606,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:25:48] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:25:48] local.INFO: Packet analysis {"connection_id":174606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:48] local.INFO: Extracted packet for processing {"connection_id":174606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:25:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:25:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:25:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":174606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:25:48] local.INFO: GPS data processed {"connection_id":174606,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:25:48] local.INFO: Acknowledgment sent {"connection_id":174606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:26:04] local.INFO: TCP Data received {"connection_id":175956,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:26:04] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:26:04] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:26:07] local.INFO: TCP Data received {"connection_id":175956,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:26:07] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:26:07] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:26:08] local.INFO: TCP Data received {"connection_id":175956,"ip":"117.224.142.89","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175956,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:26:08] local.INFO: Processing buffer {"connection_id":175956,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 17:26:08] local.INFO: IMEI packet received {"connection_id":175956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":175956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:26:20] local.INFO: TCP Data received {"connection_id":174606,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:26:20] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:26:20] local.INFO: Packet analysis {"connection_id":174606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:26:20] local.INFO: Extracted packet for processing {"connection_id":174606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:26:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:26:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:26:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":174606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:26:20] local.INFO: GPS data processed {"connection_id":174606,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:26:20] local.INFO: Acknowledgment sent {"connection_id":174606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:26:46] local.INFO: TCP Data received {"connection_id":175957,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:26:46] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:26:46] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:26:52] local.INFO: TCP Data received {"connection_id":175957,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:26:52] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:26:52] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:26:53] local.INFO: TCP Data received {"connection_id":175957,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:26:53] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:26:53] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:26:53] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:26:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:26:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:26:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:26:53] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:26:53] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:27:25] local.INFO: TCP Data received {"connection_id":175957,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:27:25] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:27:25] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:27:25] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:27:25] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:27:25] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:27:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:27:25] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:27:25] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:27:42] local.INFO: TCP Data received {"connection_id":174607,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:27:42] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:27:42] local.INFO: IMEI packet received {"connection_id":174607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":174607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:27:47] local.INFO: TCP Data received {"connection_id":174607,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:27:47] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:27:47] local.INFO: IMEI packet received {"connection_id":174607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":174607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:27:48] local.INFO: TCP Data received {"connection_id":174607,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:27:48] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:27:48] local.INFO: Packet analysis {"connection_id":174607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:27:48] local.INFO: Extracted packet for processing {"connection_id":174607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:27:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:27:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":174607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:27:48] local.INFO: GPS data processed {"connection_id":174607,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:27:48] local.INFO: Acknowledgment sent {"connection_id":174607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:28:04] local.INFO: TCP Data received {"connection_id":174888,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:28:04] local.INFO: Processing buffer {"connection_id":174888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:28:04] local.INFO: IMEI packet received {"connection_id":174888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":174888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:28:19] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:28:19] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:28:19] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:28:19] local.INFO: TCP Data received {"connection_id":174607,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:28:19] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:28:19] local.INFO: Packet analysis {"connection_id":174607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:28:19] local.INFO: Extracted packet for processing {"connection_id":174607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:28:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:28:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":174607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:28:19] local.INFO: GPS data processed {"connection_id":174607,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:28:19] local.INFO: Acknowledgment sent {"connection_id":174607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:28:41] local.INFO: TCP Data received {"connection_id":177417,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:28:41] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:28:41] local.INFO: IMEI packet received {"connection_id":177417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":177417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:28:47] local.INFO: TCP Data received {"connection_id":177417,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:28:47] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:28:47] local.INFO: IMEI packet received {"connection_id":177417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":177417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:28:48] local.INFO: TCP Data received {"connection_id":177417,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:28:48] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ddd200012d569ec0067b6638002800362d..."} 
[2026-09-08 17:28:48] local.INFO: Packet analysis {"connection_id":177417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:28:48] local.INFO: Extracted packet for processing {"connection_id":177417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080dd"} 
[2026-09-08 17:28:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950237440001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788868416000,"timestamp_ms":1788868416000,"timestamp_seconds":1788868416,"priority":1,"record_length":96,"hex_timestamp":"000001a080ddd200"} 
[2026-09-08 17:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950237440001,"66":25462,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950237440001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:28:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:28:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950237440001,"power":25462,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":177417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:28:48] local.INFO: GPS data processed {"connection_id":177417,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:28:48] local.INFO: Acknowledgment sent {"connection_id":177417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:28:49] local.INFO: TCP Data received {"connection_id":175961,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:28:49] local.INFO: Processing buffer {"connection_id":175961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:28:49] local.INFO: IMEI packet received {"connection_id":175961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":175961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:29:19] local.INFO: TCP Data received {"connection_id":177417,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:19] local.INFO: Processing buffer {"connection_id":177417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:19] local.INFO: Packet analysis {"connection_id":177417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:29:19] local.INFO: Extracted packet for processing {"connection_id":177417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:29:19] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:29:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:29:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":177417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:29:19] local.INFO: GPS data processed {"connection_id":177417,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:29:19] local.INFO: Acknowledgment sent {"connection_id":177417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:29:47] local.INFO: TCP Data received {"connection_id":177418,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:29:47] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:29:47] local.INFO: IMEI packet received {"connection_id":177418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":177418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:29:52] local.INFO: TCP Data received {"connection_id":177418,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:29:52] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:29:52] local.INFO: IMEI packet received {"connection_id":177418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":177418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:29:53] local.INFO: TCP Data received {"connection_id":177418,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:53] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:53] local.INFO: Packet analysis {"connection_id":177418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:29:53] local.INFO: Extracted packet for processing {"connection_id":177418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:29: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:29:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:29:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":177418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:29:53] local.INFO: GPS data processed {"connection_id":177418,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:29:53] local.INFO: Acknowledgment sent {"connection_id":177418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:29:57] local.INFO: TCP Data received {"connection_id":177418,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:57] local.INFO: Processing buffer {"connection_id":177418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:29:57] local.INFO: Packet analysis {"connection_id":177418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:29:57] local.INFO: Extracted packet for processing {"connection_id":177418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:29:57] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:29:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:29:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":177418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:29:57] local.INFO: GPS data processed {"connection_id":177418,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:29:57] local.INFO: Acknowledgment sent {"connection_id":177418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:30:41] local.INFO: TCP Data received {"connection_id":175965,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:30:41] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:30:41] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:30:47] local.INFO: TCP Data received {"connection_id":175965,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:30:47] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:30:47] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:30:48] local.INFO: TCP Data received {"connection_id":175965,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:30:48] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:30:48] local.INFO: Packet analysis {"connection_id":175965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:30:48] local.INFO: Extracted packet for processing {"connection_id":175965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:30:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:30:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:30:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":175965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:30:48] local.INFO: GPS data processed {"connection_id":175965,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:30:48] local.INFO: Acknowledgment sent {"connection_id":175965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:31:09] local.INFO: TCP Data received {"connection_id":174890,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:31:09] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:31:09] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:31:10] local.INFO: TCP Data received {"connection_id":174890,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e37b38012d188c0007217f78004d007124..."} 
[2026-09-08 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e37b38012d188c0007217f78004d007124..."} 
[2026-09-08 17:31:10] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e37b38012d188c0007217f78004d007124..."} 
[2026-09-08 17:31:10] local.INFO: Packet analysis {"connection_id":174890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e3"} 
[2026-09-08 17:31:10] local.INFO: Extracted packet for processing {"connection_id":174890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e3"} 
[2026-09-08 17:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756583424,"raw_latitude":119635832,"longitude_deg":75.6583424,"latitude_deg":11.9635832,"altitude":77,"angle":113,"satellites":36,"speed":35,"hex_longitude":"2d188c00","hex_latitude":"07217f78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950408704001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18780766703976448,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765453824,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:10] 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-09-08 17:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788868787000,"timestamp_ms":1788868787000,"timestamp_seconds":1788868787,"priority":1,"record_length":96,"hex_timestamp":"000001a080e37b38"} 
[2026-09-08 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-09-08 17:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 17:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950408704001,"66":13504,"121":206,"28":31744,"24":35,"16":18780766703976448,"45":1765903665765453824},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950408704001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:31:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18780766703976448,"km_value":18780766703976.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765453824,"description":"Unknown IO ID 45"} 
[2026-09-08 17:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950408704001,"power":13504,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1765903665765453824}} 
[2026-09-08 17:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":174890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:31:10] local.INFO: GPS data processed {"connection_id":174890,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:31:10] local.INFO: Acknowledgment sent {"connection_id":174890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:31:19] local.INFO: TCP Data received {"connection_id":175965,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:31:19] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:31:19] local.INFO: Packet analysis {"connection_id":175965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:31:19] local.INFO: Extracted packet for processing {"connection_id":175965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:31:19] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:31:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:31:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":175965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:31:19] local.INFO: GPS data processed {"connection_id":175965,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:31:19] local.INFO: Acknowledgment sent {"connection_id":175965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:31:41] local.INFO: TCP Data received {"connection_id":177419,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:31:41] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:31:41] local.INFO: IMEI packet received {"connection_id":177419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":177419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:31:42] local.INFO: TCP Data received {"connection_id":174890,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e46d68012d18f6000720d8600036008727..."} 
[2026-09-08 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e46d68012d18f6000720d8600036008727..."} 
[2026-09-08 17:31:42] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e46d68012d18f6000720d8600036008727..."} 
[2026-09-08 17:31:42] local.INFO: Packet analysis {"connection_id":174890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e4"} 
[2026-09-08 17:31:42] local.INFO: Extracted packet for processing {"connection_id":174890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e4"} 
[2026-09-08 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756610560,"raw_latitude":119593056,"longitude_deg":75.661056,"latitude_deg":11.9593056,"altitude":54,"angle":135,"satellites":39,"speed":36,"hex_longitude":"2d18f600","hex_latitude":"0720d860","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950423552001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783378044092416,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113380118528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:42] 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-09-08 17:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788868849000,"timestamp_ms":1788868849000,"timestamp_seconds":1788868849,"priority":1,"record_length":96,"hex_timestamp":"000001a080e46d68"} 
[2026-09-08 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-09-08 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 17:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950423552001,"66":13939,"121":206,"28":31744,"24":36,"16":18783378044092416,"45":1794614113380118528},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950423552001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:31:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783378044092416,"km_value":18783378044092.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113380118528,"description":"Unknown IO ID 45"} 
[2026-09-08 17:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950423552001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1794614113380118528}} 
[2026-09-08 17:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":174890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:31:42] local.INFO: GPS data processed {"connection_id":174890,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:31:42] local.INFO: Acknowledgment sent {"connection_id":174890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:31:47] local.INFO: TCP Data received {"connection_id":177419,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:31:47] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:31:47] local.INFO: IMEI packet received {"connection_id":177419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":177419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:31:48] local.INFO: TCP Data received {"connection_id":177419,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:31:48] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:31:48] local.INFO: Packet analysis {"connection_id":177419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:31:48] local.INFO: Extracted packet for processing {"connection_id":177419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:31:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:31:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:31:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":177419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:31:48] local.INFO: GPS data processed {"connection_id":177419,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:31:48] local.INFO: Acknowledgment sent {"connection_id":177419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:31:58] local.INFO: TCP Data received {"connection_id":174891,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:31:58] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:31:58] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:32:00] local.INFO: TCP Data received {"connection_id":174891,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:32:00] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:32:00] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:32:04] local.INFO: TCP Data received {"connection_id":174891,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:32:04] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:32:04] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:32:05] local.INFO: TCP Data received {"connection_id":174891,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e47d08012d1902000720cfd00035007a28..."} 
[2026-09-08 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e47d08012d1902000720cfd00035007a28..."} 
[2026-09-08 17:32:05] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e47d08012d1902000720cfd00035007a28..."} 
[2026-09-08 17:32:05] local.INFO: Packet analysis {"connection_id":174891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e4"} 
[2026-09-08 17:32:05] local.INFO: Extracted packet for processing {"connection_id":174891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e4"} 
[2026-09-08 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756613632,"raw_latitude":119590864,"longitude_deg":75.6613632,"latitude_deg":11.9590864,"altitude":53,"angle":122,"satellites":40,"speed":38,"hex_longitude":"2d190200","hex_latitude":"0720cfd0","is_valid_coordinates":true} 
[2026-09-08 17:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950425344001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783558432718848,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798625131796914176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32: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-09-08 17:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788868853000,"timestamp_ms":1788868853000,"timestamp_seconds":1788868853,"priority":1,"record_length":96,"hex_timestamp":"000001a080e47d08"} 
[2026-09-08 17:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 17:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950425344001,"66":14048,"121":206,"28":31744,"24":38,"16":18783558432718848,"45":1798625131796914176},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950425344001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783558432718848,"km_value":18783558432718.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798625131796914176,"description":"Unknown IO ID 45"} 
[2026-09-08 17:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950425344001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1798625131796914176}} 
[2026-09-08 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":174891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:32:06] local.INFO: GPS data processed {"connection_id":174891,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:32:06] local.INFO: Acknowledgment sent {"connection_id":174891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:32:20] local.INFO: TCP Data received {"connection_id":177419,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:20] local.INFO: Processing buffer {"connection_id":177419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:20] local.INFO: Packet analysis {"connection_id":177419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:32:20] local.INFO: Extracted packet for processing {"connection_id":177419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:32:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:32:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":177419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:32:20] local.INFO: GPS data processed {"connection_id":177419,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:32:20] local.INFO: Acknowledgment sent {"connection_id":177419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:32:37] local.INFO: TCP Data received {"connection_id":174891,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e49860012d191e800720c110002f006f25..."} 
[2026-09-08 17:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e49860012d191e800720c110002f006f25..."} 
[2026-09-08 17:32:37] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e49860012d191e800720c110002f006f25..."} 
[2026-09-08 17:32:37] local.INFO: Packet analysis {"connection_id":174891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e4"} 
[2026-09-08 17:32:37] local.INFO: Extracted packet for processing {"connection_id":174891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e4"} 
[2026-09-08 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756620928,"raw_latitude":119587088,"longitude_deg":75.6620928,"latitude_deg":11.9587088,"altitude":47,"angle":111,"satellites":37,"speed":52,"hex_longitude":"2d191e80","hex_latitude":"0720c110","is_valid_coordinates":true} 
[2026-09-08 17:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950426368001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18783953569710080,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802002831516880896,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32: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-09-08 17:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788868860000,"timestamp_ms":1788868860000,"timestamp_seconds":1788868860,"priority":1,"record_length":96,"hex_timestamp":"000001a080e49860"} 
[2026-09-08 17:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 17:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950426368001,"66":14004,"121":206,"28":31744,"24":52,"16":18783953569710080,"45":1802002831516880896},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950426368001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18783953569710080,"km_value":18783953569710.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802002831516880896,"description":"Unknown IO ID 45"} 
[2026-09-08 17:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950426368001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1802002831516880896}} 
[2026-09-08 17:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":174891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:32:37] local.INFO: GPS data processed {"connection_id":174891,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:32:37] local.INFO: Acknowledgment sent {"connection_id":174891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:32:47] local.INFO: TCP Data received {"connection_id":177420,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:32:47] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:32:47] local.INFO: IMEI packet received {"connection_id":177420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":177420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:32:52] local.INFO: TCP Data received {"connection_id":177420,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:32:52] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:32:52] local.INFO: IMEI packet received {"connection_id":177420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":177420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:32:54] local.INFO: TCP Data received {"connection_id":177420,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:54] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:54] local.INFO: Packet analysis {"connection_id":177420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:32:54] local.INFO: Extracted packet for processing {"connection_id":177420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:32:54] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:32:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":177420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:32:54] local.INFO: GPS data processed {"connection_id":177420,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:32:54] local.INFO: Acknowledgment sent {"connection_id":177420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:32:57] local.INFO: TCP Data received {"connection_id":177420,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:57] local.INFO: Processing buffer {"connection_id":177420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:32:57] local.INFO: Packet analysis {"connection_id":177420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:32:57] local.INFO: Extracted packet for processing {"connection_id":177420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:32:57] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:32:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:32:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":177420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:32:57] local.INFO: GPS data processed {"connection_id":177420,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:32:57] local.INFO: Acknowledgment sent {"connection_id":177420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:33:00] local.INFO: TCP Data received {"connection_id":174893,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:00] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:00] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:33:00] local.INFO: TCP Data received {"connection_id":174893,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:00] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:00] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:33:03] local.INFO: TCP Data received {"connection_id":174893,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:03] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:33:03] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:33:04] local.INFO: TCP Data received {"connection_id":174893,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e582c0012d19bb800720a688002d00b626..."} 
[2026-09-08 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e582c0012d19bb800720a688002d00b626..."} 
[2026-09-08 17:33:04] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e582c0012d19bb800720a688002d00b626..."} 
[2026-09-08 17:33:04] local.INFO: Packet analysis {"connection_id":174893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e5"} 
[2026-09-08 17:33:04] local.INFO: Extracted packet for processing {"connection_id":174893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e5"} 
[2026-09-08 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119580296,"longitude_deg":75.666112,"latitude_deg":11.9580296,"altitude":45,"angle":182,"satellites":38,"speed":15,"hex_longitude":"2d19bb80","hex_latitude":"0720a688","is_valid_coordinates":true} 
[2026-09-08 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950443264001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18785985089241088,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439694098432,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33: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-09-08 17:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788868920000,"timestamp_ms":1788868920000,"timestamp_seconds":1788868920,"priority":1,"record_length":96,"hex_timestamp":"000001a080e582c0"} 
[2026-09-08 17:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 17:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950443264001,"66":13406,"121":206,"28":31744,"24":15,"16":18785985089241088,"45":1854216439694098432},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950443264001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:33:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18785985089241088,"km_value":18785985089241.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439694098432,"description":"Unknown IO ID 45"} 
[2026-09-08 17:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950443264001,"power":13406,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1854216439694098432}} 
[2026-09-08 17:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":174893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:33:04] local.INFO: GPS data processed {"connection_id":174893,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:33:04] local.INFO: Acknowledgment sent {"connection_id":174893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:33:36] local.INFO: TCP Data received {"connection_id":174893,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e64610012d19cd4007201e380023004d23..."} 
[2026-09-08 17:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e64610012d19cd4007201e380023004d23..."} 
[2026-09-08 17:33:36] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e64610012d19cd4007201e380023004d23..."} 
[2026-09-08 17:33:36] local.INFO: Packet analysis {"connection_id":174893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:33:36] local.INFO: Extracted packet for processing {"connection_id":174893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119545400,"longitude_deg":75.6665664,"latitude_deg":11.95454,"altitude":35,"angle":77,"satellites":35,"speed":6,"hex_longitude":"2d19cd40","hex_latitude":"07201e38","is_valid_coordinates":true} 
[2026-09-08 17:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950455296001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18787810450341888,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039312453632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33: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-09-08 17:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788868970000,"timestamp_ms":1788868970000,"timestamp_seconds":1788868970,"priority":1,"record_length":96,"hex_timestamp":"000001a080e64610"} 
[2026-09-08 17:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 17:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950455296001,"66":14048,"121":206,"28":31744,"24":6,"16":18787810450341888,"45":1858720039312453632},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950455296001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:33:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18787810450341888,"km_value":18787810450341.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039312453632,"description":"Unknown IO ID 45"} 
[2026-09-08 17:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950455296001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1858720039312453632}} 
[2026-09-08 17:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":174893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:33:36] local.INFO: GPS data processed {"connection_id":174893,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:33:36] local.INFO: Acknowledgment sent {"connection_id":174893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:33:38] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:33:38] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:33:38] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:33:42] local.INFO: TCP Data received {"connection_id":174894,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:33:42] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:33:42] local.INFO: IMEI packet received {"connection_id":174894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:33:43] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:33:43] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:33:43] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:33:44] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e66168012d7b098005e34bb0000700a82a..."} 
[2026-09-08 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e66168012d7b098005e34bb0000700a82a..."} 
[2026-09-08 17:33:44] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e66168012d7b098005e34bb0000700a82a..."} 
[2026-09-08 17:33:44] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:33:44] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98782128,"longitude_deg":76.303808,"latitude_deg":9.8782128,"altitude":7,"angle":168,"satellites":42,"speed":10,"hex_longitude":"2d7b0980","hex_latitude":"05e34bb0","is_valid_coordinates":true} 
[2026-09-08 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950455808001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129974850067365888,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254372677632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788868977000,"timestamp_ms":1788868977000,"timestamp_seconds":1788868977,"priority":1,"record_length":96,"hex_timestamp":"000001a080e66168"} 
[2026-09-08 17:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-08 17:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950455808001,"66":13406,"208":206,"85":15104,"24":10,"16":129974850067365888,"45":8864069254372677632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950455808001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:33:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129974850067365888,"km_value":129974850067365.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254372677632,"description":"Unknown IO ID 45"} 
[2026-09-08 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950455808001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864069254372677632}} 
[2026-09-08 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:33:45] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:33:45] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:33:47] local.INFO: TCP Data received {"connection_id":174894,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:33:47] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:33:47] local.INFO: IMEI packet received {"connection_id":174894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:33:49] local.INFO: TCP Data received {"connection_id":174894,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:33:49] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e269c8012d569ec0067b6638002800362d..."} 
[2026-09-08 17:33:49] local.INFO: Packet analysis {"connection_id":174894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:33:49] local.INFO: Extracted packet for processing {"connection_id":174894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e2"} 
[2026-09-08 17:33:49] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":45,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950314496001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788868717000,"timestamp_ms":1788868717000,"timestamp_seconds":1788868717,"priority":1,"record_length":96,"hex_timestamp":"000001a080e269c8"} 
[2026-09-08 17:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 17:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950314496001,"66":25495,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950314496001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:33:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:33:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950314496001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:33:49] local.INFO: GPS data processed {"connection_id":174894,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:33:49] local.INFO: Acknowledgment sent {"connection_id":174894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:00] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:00] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:00] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:34:03] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:03] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:03] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:34:05] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:05] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:34:05] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:34:06] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e649f8012d19cdc007201e800023004122..."} 
[2026-09-08 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e649f8012d19cdc007201e800023004122..."} 
[2026-09-08 17:34:06] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e649f8012d19cdc007201e800023004122..."} 
[2026-09-08 17:34:06] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:06] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119545472,"longitude_deg":75.6665792,"latitude_deg":11.9545472,"altitude":35,"angle":65,"satellites":34,"speed":7,"hex_longitude":"2d19cdc0","hex_latitude":"07201e80","is_valid_coordinates":true} 
[2026-09-08 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950456320001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18787819040276480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521682944,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:06] 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-09-08 17:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788868971000,"timestamp_ms":1788868971000,"timestamp_seconds":1788868971,"priority":1,"record_length":96,"hex_timestamp":"000001a080e649f8"} 
[2026-09-08 17:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 17:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950456320001,"66":14026,"121":206,"28":31744,"24":7,"16":18787819040276480,"45":1859212620521682944},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950456320001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18787819040276480,"km_value":18787819040276.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521682944,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950456320001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1859212620521682944}} 
[2026-09-08 17:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:06] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:06] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:08] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:34:08] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:34:08] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:34:09] local.INFO: TCP Data received {"connection_id":175966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:34:09] local.INFO: Processing buffer {"connection_id":175966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:34:09] local.INFO: IMEI packet received {"connection_id":175966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":175966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:34:09] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e64de0012d19ce8007201f180023002e22..."} 
[2026-09-08 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e64de0012d19ce8007201f180023002e22..."} 
[2026-09-08 17:34:09] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e64de0012d19ce8007201f180023002e22..."} 
[2026-09-08 17:34:09] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:09] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119545624,"longitude_deg":75.6665984,"latitude_deg":11.9545624,"altitude":35,"angle":46,"satellites":34,"speed":9,"hex_longitude":"2d19ce80","hex_latitude":"07201f18","is_valid_coordinates":true} 
[2026-09-08 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950456576001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18787831925178368,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358010056704,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34: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-09-08 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788868972000,"timestamp_ms":1788868972000,"timestamp_seconds":1788868972,"priority":1,"record_length":96,"hex_timestamp":"000001a080e64de0"} 
[2026-09-08 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 17:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950456576001,"66":14026,"121":206,"28":31744,"24":9,"16":18787831925178368,"45":1859353358010056704},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950456576001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18787831925178368,"km_value":18787831925178.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358010056704,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950456576001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1859353358010056704}} 
[2026-09-08 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:09] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:09] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:14] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:34:14] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:34:14] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:34:16] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e6af88012d7b094005e344480008009f24..."} 
[2026-09-08 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e6af88012d7b094005e344480008009f24..."} 
[2026-09-08 17:34:16] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e6af88012d7b094005e344480008009f24..."} 
[2026-09-08 17:34:16] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:16] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98780232,"longitude_deg":76.3038016,"latitude_deg":9.8780232,"altitude":8,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d7b0940","hex_latitude":"05e34448","is_valid_coordinates":true} 
[2026-09-08 17:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950458112001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129974961736515584,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232112128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788868997000,"timestamp_ms":1788868997000,"timestamp_seconds":1788868997,"priority":1,"record_length":96,"hex_timestamp":"000001a080e6af88"} 
[2026-09-08 17:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 17:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950458112001,"66":13559,"208":206,"85":15104,"24":0,"16":129974961736515584,"45":8865758104232112128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950458112001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129974961736515584,"km_value":129974961736515.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232112128,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950458112001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865758104232112128}} 
[2026-09-08 17:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:16] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:16] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:20] local.INFO: TCP Data received {"connection_id":174894,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e70190012d569ec0067b6638002800362c..."} 
[2026-09-08 17:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e70190012d569ec0067b6638002800362c..."} 
[2026-09-08 17:34:20] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e70190012d569ec0067b6638002800362c..."} 
[2026-09-08 17:34:20] local.INFO: Packet analysis {"connection_id":174894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e7"} 
[2026-09-08 17:34:20] local.INFO: Extracted packet for processing {"connection_id":174894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e7"} 
[2026-09-08 17:34:20] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950391552001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788869018000,"timestamp_ms":1788869018000,"timestamp_seconds":1788869018,"priority":1,"record_length":96,"hex_timestamp":"000001a080e70190"} 
[2026-09-08 17:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950391552001,"66":25441,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950391552001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:34:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950391552001,"power":25441,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:20] local.INFO: GPS data processed {"connection_id":174894,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:20] local.INFO: Acknowledgment sent {"connection_id":174894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:40] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080e678d8012d19d580072026b00028004625..."} 
[2026-09-08 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e678d8012d19d580072026b00028004625..."} 
[2026-09-08 17:34:40] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e678d8012d19d580072026b00028004625..."} 
[2026-09-08 17:34:40] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:40] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119547568,"longitude_deg":75.6667776,"latitude_deg":11.9547568,"altitude":40,"angle":70,"satellites":37,"speed":12,"hex_longitude":"2d19d580","hex_latitude":"072026b0","is_valid_coordinates":true} 
[2026-09-08 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950456832001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18787960774197248,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242628608,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34: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-09-08 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788868983000,"timestamp_ms":1788868983000,"timestamp_seconds":1788868983,"priority":1,"record_length":96,"hex_timestamp":"000001a080e678d8"} 
[2026-09-08 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-08 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950456832001,"66":13015,"121":206,"28":31744,"24":12,"16":18787960774197248,"45":1859564464242628608},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950456832001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18787960774197248,"km_value":18787960774197.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242628608,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950456832001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1859564464242628608}} 
[2026-09-08 17:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:41] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:41] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:41] local.INFO: TCP Data received {"connection_id":174897,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:34:41] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:34:41] local.INFO: IMEI packet received {"connection_id":174897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":174897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:34:46] local.INFO: TCP Data received {"connection_id":174897,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:34:46] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:34:46] local.INFO: IMEI packet received {"connection_id":174897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":174897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:34:47] local.INFO: TCP Data received {"connection_id":174897,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e70190012d569ec0067b6638002800362c..."} 
[2026-09-08 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e70190012d569ec0067b6638002800362c..."} 
[2026-09-08 17:34:47] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e70190012d569ec0067b6638002800362c..."} 
[2026-09-08 17:34:47] local.INFO: Packet analysis {"connection_id":174897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e7"} 
[2026-09-08 17:34:47] local.INFO: Extracted packet for processing {"connection_id":174897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e7"} 
[2026-09-08 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950391552001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788869018000,"timestamp_ms":1788869018000,"timestamp_seconds":1788869018,"priority":1,"record_length":96,"hex_timestamp":"000001a080e70190"} 
[2026-09-08 17:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 17:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950391552001,"66":25441,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950391552001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:34:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950391552001,"power":25441,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":174897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:47] local.INFO: GPS data processed {"connection_id":174897,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:47] local.INFO: Acknowledgment sent {"connection_id":174897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:34:49] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e6b370012d7b094005e34408000800b224..."} 
[2026-09-08 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e6b370012d7b094005e34408000800b224..."} 
[2026-09-08 17:34:49] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e6b370012d7b094005e34408000800b224..."} 
[2026-09-08 17:34:49] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:49] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98780168,"longitude_deg":76.3038016,"latitude_deg":9.8780168,"altitude":8,"angle":178,"satellites":36,"speed":0,"hex_longitude":"2d7b0940","hex_latitude":"05e34408","is_valid_coordinates":true} 
[2026-09-08 17:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950463232001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129974966031482880,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735487449088,"note":"Value kept but may cause issues"} 
[2026-09-08 17:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788868998000,"timestamp_ms":1788868998000,"timestamp_seconds":1788868998,"priority":1,"record_length":96,"hex_timestamp":"000001a080e6b370"} 
[2026-09-08 17:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:34: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-09-08 17:34: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-09-08 17:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950463232001,"66":13559,"208":206,"85":15104,"24":0,"16":129974966031482880,"45":8865687735487449088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950463232001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:34:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129974966031482880,"km_value":129974966031482.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735487449088,"description":"Unknown IO ID 45"} 
[2026-09-08 17:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950463232001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865687735487449088}} 
[2026-09-08 17:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:34:49] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:34:49] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:35:00] local.INFO: TCP Data received {"connection_id":174898,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:00] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:00] local.INFO: IMEI packet received {"connection_id":174898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":174898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:35:01] local.INFO: TCP Data received {"connection_id":174898,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:01] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:01] local.INFO: IMEI packet received {"connection_id":174898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":174898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:35:02] local.INFO: TCP Data received {"connection_id":174898,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:02] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:02] local.INFO: IMEI packet received {"connection_id":174898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":174898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:35:05] local.INFO: TCP Data received {"connection_id":174898,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:05] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:35:05] local.INFO: IMEI packet received {"connection_id":174898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":174898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:35:08] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:35:08] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:35:08] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:35:15] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:35:15] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:35:15] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:35:17] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e6da80012d7b098005e343a8000700a720..."} 
[2026-09-08 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e6da80012d7b098005e343a8000700a720..."} 
[2026-09-08 17:35:17] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e6da80012d7b098005e343a8000700a720..."} 
[2026-09-08 17:35:17] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:35:17] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e6"} 
[2026-09-08 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98780072,"longitude_deg":76.303808,"latitude_deg":9.8780072,"altitude":7,"angle":167,"satellites":32,"speed":2,"hex_longitude":"2d7b0980","hex_latitude":"05e343a8","is_valid_coordinates":true} 
[2026-09-08 17:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950463488001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129974970326450176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735487432704,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788869008000,"timestamp_ms":1788869008000,"timestamp_seconds":1788869008,"priority":1,"record_length":96,"hex_timestamp":"000001a080e6da80"} 
[2026-09-08 17:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 17:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950463488001,"66":13678,"208":206,"85":15104,"24":2,"16":129974970326450176,"45":8865687735487432704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950463488001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:35:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129974970326450176,"km_value":129974970326450.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735487432704,"description":"Unknown IO ID 45"} 
[2026-09-08 17:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950463488001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8865687735487432704}} 
[2026-09-08 17:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:35:17] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:35:17] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:35:19] local.INFO: TCP Data received {"connection_id":174897,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e7e038012d569ec0067b6638002800362e..."} 
[2026-09-08 17:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e7e038012d569ec0067b6638002800362e..."} 
[2026-09-08 17:35:19] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e7e038012d569ec0067b6638002800362e..."} 
[2026-09-08 17:35:19] local.INFO: Packet analysis {"connection_id":174897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e7"} 
[2026-09-08 17:35:19] local.INFO: Extracted packet for processing {"connection_id":174897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e7"} 
[2026-09-08 17:35:19] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750392,"longitude_deg":76.0651456,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950468608001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869075000,"timestamp_ms":1788869075000,"timestamp_seconds":1788869075,"priority":1,"record_length":96,"hex_timestamp":"000001a080e7e038"} 
[2026-09-08 17:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 17:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 17:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950468608001,"66":25647,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950468608001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:35:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:35:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950468608001,"power":25647,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":174897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:35:19] local.INFO: GPS data processed {"connection_id":174897,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:35:19] local.INFO: Acknowledgment sent {"connection_id":174897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:35:46] local.INFO: TCP Data received {"connection_id":174612,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:35:46] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:35:46] local.INFO: IMEI packet received {"connection_id":174612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":174612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:35:52] local.INFO: TCP Data received {"connection_id":174612,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:35:52] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:35:52] local.INFO: IMEI packet received {"connection_id":174612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:35:56] local.INFO: TCP Data received {"connection_id":174612,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e83df8012d569f80067b6638002800362e..."} 
[2026-09-08 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e83df8012d569f80067b6638002800362e..."} 
[2026-09-08 17:35:56] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e83df8012d569f80067b6638002800362e..."} 
[2026-09-08 17:35:56] local.INFO: Packet analysis {"connection_id":174612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:35:56] local.INFO: Extracted packet for processing {"connection_id":174612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":760651648,"raw_latitude":108750392,"longitude_deg":76.0651648,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d569f80","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950483200001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654719488,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788869099000,"timestamp_ms":1788869099000,"timestamp_seconds":1788869099,"priority":1,"record_length":96,"hex_timestamp":"000001a080e83df8"} 
[2026-09-08 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 17:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950483200001,"66":27800,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241637267654719488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950483200001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:35:56] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:35:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654719488,"description":"Unknown IO ID 45"} 
[2026-09-08 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950483200001,"power":27800,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654719488}} 
[2026-09-08 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":174612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:35:56] local.INFO: GPS data processed {"connection_id":174612,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:35:56] local.INFO: Acknowledgment sent {"connection_id":174612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:35:58] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e8c2c8012d7b0f0005e32640000500ba28..."} 
[2026-09-08 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e8c2c8012d7b0f0005e32640000500ba28..."} 
[2026-09-08 17:35:58] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e8c2c8012d7b0f0005e32640000500ba28..."} 
[2026-09-08 17:35:58] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:35:58] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98772544,"longitude_deg":76.3039488,"latitude_deg":9.8772544,"altitude":5,"angle":186,"satellites":40,"speed":3,"hex_longitude":"2d7b0f00","hex_latitude":"05e32640","is_valid_coordinates":true} 
[2026-09-08 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950493952001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975365463441408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110369538048,"note":"Value kept but may cause issues"} 
[2026-09-08 17:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788869133000,"timestamp_ms":1788869133000,"timestamp_seconds":1788869133,"priority":1,"record_length":96,"hex_timestamp":"000001a080e8c2c8"} 
[2026-09-08 17:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 17:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950493952001,"66":13472,"208":206,"85":15104,"24":3,"16":129975365463441408,"45":8867095110369538048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950493952001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975365463441408,"km_value":129975365463441.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110369538048,"description":"Unknown IO ID 45"} 
[2026-09-08 17:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950493952001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8867095110369538048}} 
[2026-09-08 17:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:35:58] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:35:58] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:36:14] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:36:14] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:36:14] local.INFO: IMEI packet received {"connection_id":177422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":177422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:36:20] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:36:20] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:36:20] local.INFO: IMEI packet received {"connection_id":177422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":177422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:36:23] local.INFO: TCP Data received {"connection_id":177422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e8ca98012d7b0f4005e325a8000500ad28..."} 
[2026-09-08 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e8ca98012d7b0f4005e325a8000500ad28..."} 
[2026-09-08 17:36:23] local.INFO: Processing buffer {"connection_id":177422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e8ca98012d7b0f4005e325a8000500ad28..."} 
[2026-09-08 17:36:23] local.INFO: Packet analysis {"connection_id":177422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:36:23] local.INFO: Extracted packet for processing {"connection_id":177422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98772392,"longitude_deg":76.3039552,"latitude_deg":9.8772392,"altitude":5,"angle":173,"satellites":40,"speed":3,"hex_longitude":"2d7b0f40","hex_latitude":"05e325a8","is_valid_coordinates":true} 
[2026-09-08 17:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950498048001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975374053376000,"note":"Value kept but may cause issues"} 
[2026-09-08 17:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601567232,"note":"Value kept but may cause issues"} 
[2026-09-08 17:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788869135000,"timestamp_ms":1788869135000,"timestamp_seconds":1788869135,"priority":1,"record_length":96,"hex_timestamp":"000001a080e8ca98"} 
[2026-09-08 17:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 17:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":177422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":177422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":177422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950498048001,"66":13135,"208":206,"85":15104,"24":3,"16":129975374053376000,"45":8867306216601567232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950498048001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:36:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975374053376000,"km_value":129975374053376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601567232,"description":"Unknown IO ID 45"} 
[2026-09-08 17:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950498048001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8867306216601567232}} 
[2026-09-08 17:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":177422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:36:23] local.INFO: GPS data processed {"connection_id":177422,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:36:23] local.INFO: Acknowledgment sent {"connection_id":177422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:36:41] local.INFO: TCP Data received {"connection_id":174900,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:36:41] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:36:41] local.INFO: IMEI packet received {"connection_id":174900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:36:47] local.INFO: TCP Data received {"connection_id":174900,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:36:47] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:36:47] local.INFO: IMEI packet received {"connection_id":174900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:36:48] local.INFO: TCP Data received {"connection_id":174900,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e89000012d569f80067b6638002800362b..."} 
[2026-09-08 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e89000012d569f80067b6638002800362b..."} 
[2026-09-08 17:36:48] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e89000012d569f80067b6638002800362b..."} 
[2026-09-08 17:36:48] local.INFO: Packet analysis {"connection_id":174900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:36:48] local.INFO: Extracted packet for processing {"connection_id":174900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":760651648,"raw_latitude":108750392,"longitude_deg":76.0651648,"latitude_deg":10.8750392,"altitude":40,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d569f80","hex_latitude":"067b6638","is_valid_coordinates":true} 
[2026-09-08 17:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950489344001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891301281857536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241848373887252480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788869120000,"timestamp_ms":1788869120000,"timestamp_seconds":1788869120,"priority":1,"record_length":96,"hex_timestamp":"000001a080e89000"} 
[2026-09-08 17:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950489344001,"66":27767,"13":206,"19":47872,"24":0,"16":402891301281857536,"45":6241848373887252480},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950489344001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:36:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:36:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891301281857536,"km_value":402891301281857.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241848373887252480,"description":"Unknown IO ID 45"} 
[2026-09-08 17:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950489344001,"power":27767,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241848373887252480}} 
[2026-09-08 17:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":174900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:36:48] local.INFO: GPS data processed {"connection_id":174900,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:36:48] local.INFO: Acknowledgment sent {"connection_id":174900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:37:07] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:07] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:07] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:37:08] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:08] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:08] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:37:14] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:14] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:37:14] local.INFO: IMEI packet received {"connection_id":175970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":175970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:37:15] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e8de20012d7b0f8005e32408000500a126..."} 
[2026-09-08 17:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e8de20012d7b0f8005e32408000500a126..."} 
[2026-09-08 17:37:15] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e8de20012d7b0f8005e32408000500a126..."} 
[2026-09-08 17:37:15] local.INFO: Packet analysis {"connection_id":175970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:37:15] local.INFO: Extracted packet for processing {"connection_id":175970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98771976,"longitude_deg":76.3039616,"latitude_deg":9.8771976,"altitude":5,"angle":161,"satellites":38,"speed":5,"hex_longitude":"2d7b0f80","hex_latitude":"05e32408","is_valid_coordinates":true} 
[2026-09-08 17:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950498560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975399823179776,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585345705984,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788869140000,"timestamp_ms":1788869140000,"timestamp_seconds":1788869140,"priority":1,"record_length":96,"hex_timestamp":"000001a080e8de20"} 
[2026-09-08 17:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-08 17:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950498560001,"66":13222,"208":206,"85":15104,"24":5,"16":129975399823179776,"45":8867376585345705984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950498560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:37:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975399823179776,"km_value":129975399823179.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585345705984,"description":"Unknown IO ID 45"} 
[2026-09-08 17:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950498560001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867376585345705984}} 
[2026-09-08 17:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":175970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:37:15] local.INFO: GPS data processed {"connection_id":175970,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:37:15] local.INFO: Acknowledgment sent {"connection_id":175970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:37:19] local.INFO: TCP Data received {"connection_id":174900,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e8b328012d569fc0067b66800029005a2c..."} 
[2026-09-08 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e8b328012d569fc0067b66800029005a2c..."} 
[2026-09-08 17:37:19] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e8b328012d569fc0067b66800029005a2c..."} 
[2026-09-08 17:37:19] local.INFO: Packet analysis {"connection_id":174900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:37:19] local.INFO: Extracted packet for processing {"connection_id":174900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:37:19] local.INFO: GPS Element Parsed {"raw_longitude":760651712,"raw_latitude":108750464,"longitude_deg":76.0651712,"latitude_deg":10.8750464,"altitude":41,"angle":90,"satellites":44,"speed":2,"hex_longitude":"2d569fc0","hex_latitude":"067b6680","is_valid_coordinates":true} 
[2026-09-08 17:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950494720001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891305576824832,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241848373887252480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869129000,"timestamp_ms":1788869129000,"timestamp_seconds":1788869129,"priority":1,"record_length":96,"hex_timestamp":"000001a080e8b328"} 
[2026-09-08 17:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 17:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950494720001,"66":27658,"13":206,"19":47872,"24":2,"16":402891305576824832,"45":6241848373887252480},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950494720001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:37:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:37:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891305576824832,"km_value":402891305576824.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241848373887252480,"description":"Unknown IO ID 45"} 
[2026-09-08 17:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950494720001,"power":27658,"unknown_13":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241848373887252480}} 
[2026-09-08 17:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":174900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:37:19] local.INFO: GPS data processed {"connection_id":174900,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:37:19] local.INFO: Acknowledgment sent {"connection_id":174900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:37:41] local.INFO: TCP Data received {"connection_id":174613,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:37:41] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:37:41] local.INFO: IMEI packet received {"connection_id":174613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":174613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:37:46] local.INFO: TCP Data received {"connection_id":174613,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:37:46] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:37:46] local.INFO: IMEI packet received {"connection_id":174613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":174613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:37:46] local.INFO: TCP Data received {"connection_id":175970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e918b8012d7b138005e31af8000500ad27..."} 
[2026-09-08 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e918b8012d7b138005e31af8000500ad27..."} 
[2026-09-08 17:37:46] local.INFO: Processing buffer {"connection_id":175970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e918b8012d7b138005e31af8000500ad27..."} 
[2026-09-08 17:37:46] local.INFO: Packet analysis {"connection_id":175970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:37:46] local.INFO: Extracted packet for processing {"connection_id":175970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98769656,"longitude_deg":76.304064,"latitude_deg":9.8769656,"altitude":5,"angle":173,"satellites":39,"speed":10,"hex_longitude":"2d7b1380","hex_latitude":"05e31af8","is_valid_coordinates":true} 
[2026-09-08 17:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950499840001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975520082264064,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954089777152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788869155000,"timestamp_ms":1788869155000,"timestamp_seconds":1788869155,"priority":1,"record_length":96,"hex_timestamp":"000001a080e918b8"} 
[2026-09-08 17:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 17:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950499840001,"66":13102,"208":206,"85":15104,"24":10,"16":129975520082264064,"45":8867446954089777152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950499840001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:37:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975520082264064,"km_value":129975520082264.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954089777152,"description":"Unknown IO ID 45"} 
[2026-09-08 17:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950499840001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8867446954089777152}} 
[2026-09-08 17:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":175970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:37:46] local.INFO: GPS data processed {"connection_id":175970,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:37:46] local.INFO: Acknowledgment sent {"connection_id":175970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:37:47] local.INFO: TCP Data received {"connection_id":174613,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080e8c2c8012d56a280067b66c8002900432d..."} 
[2026-09-08 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e8c2c8012d56a280067b66c8002900432d..."} 
[2026-09-08 17:37:47] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e8c2c8012d56a280067b66c8002900432d..."} 
[2026-09-08 17:37:47] local.INFO: Packet analysis {"connection_id":174613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:37:47] local.INFO: Extracted packet for processing {"connection_id":174613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e8"} 
[2026-09-08 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":760652416,"raw_latitude":108750536,"longitude_deg":76.0652416,"latitude_deg":10.8750536,"altitude":41,"angle":67,"satellites":45,"speed":11,"hex_longitude":"2d56a280","hex_latitude":"067b66c8","is_valid_coordinates":true} 
[2026-09-08 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950497024001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402891339936563200,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241918742631448576,"note":"Value kept but may cause issues"} 
[2026-09-08 17:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788869133000,"timestamp_ms":1788869133000,"timestamp_seconds":1788869133,"priority":1,"record_length":96,"hex_timestamp":"000001a080e8c2c8"} 
[2026-09-08 17:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 17:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950497024001,"66":27691,"13":206,"19":47872,"24":11,"16":402891339936563200,"45":6241918742631448576},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-09-08 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950497024001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:37:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-08 17:37:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402891339936563200,"km_value":402891339936563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241918742631448576,"description":"Unknown IO ID 45"} 
[2026-09-08 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950497024001,"power":27691,"unknown_13":206,"unknown_19":47872,"ignition":11,"odometer":null,"unknown_45":6241918742631448576}} 
[2026-09-08 17:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":174613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:37:47] local.INFO: GPS data processed {"connection_id":174613,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:37:47] local.INFO: Acknowledgment sent {"connection_id":174613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:38:09] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:38:09] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:38:09] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:38:13] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:38:13] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:38:13] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:38:14] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e937f8012d7b13c005e31518000500bc28..."} 
[2026-09-08 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e937f8012d7b13c005e31518000500bc28..."} 
[2026-09-08 17:38:14] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e937f8012d7b13c005e31518000500bc28..."} 
[2026-09-08 17:38:14] local.INFO: Packet analysis {"connection_id":174901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:38:14] local.INFO: Extracted packet for processing {"connection_id":174901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763040704,"raw_latitude":98768152,"longitude_deg":76.3040704,"latitude_deg":9.8768152,"altitude":5,"angle":188,"satellites":40,"speed":1,"hex_longitude":"2d7b13c0","hex_latitude":"05e31518","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950503680001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975597391675392,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853996025856,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788869163000,"timestamp_ms":1788869163000,"timestamp_seconds":1788869163,"priority":1,"record_length":96,"hex_timestamp":"000001a080e937f8"} 
[2026-09-08 17:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950503680001,"66":13091,"208":206,"85":15104,"24":1,"16":129975597391675392,"45":8868572853996025856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950503680001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:38:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975597391675392,"km_value":129975597391675.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853996025856,"description":"Unknown IO ID 45"} 
[2026-09-08 17:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950503680001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8868572853996025856}} 
[2026-09-08 17:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":174901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:38:14] local.INFO: GPS data processed {"connection_id":174901,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:38:14] local.INFO: Acknowledgment sent {"connection_id":174901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:38:20] local.INFO: TCP Data received {"connection_id":174613,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ea5138012d570300067c3e80001201531e..."} 
[2026-09-08 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ea5138012d570300067c3e80001201531e..."} 
[2026-09-08 17:38:20] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ea5138012d570300067c3e80001201531e..."} 
[2026-09-08 17:38:20] local.INFO: Packet analysis {"connection_id":174613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:38:20] local.INFO: Extracted packet for processing {"connection_id":174613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":760677120,"raw_latitude":108805760,"longitude_deg":76.067712,"latitude_deg":10.880576,"altitude":18,"angle":339,"satellites":30,"speed":29,"hex_longitude":"2d570300","hex_latitude":"067c3e80","is_valid_coordinates":true} 
[2026-09-08 17:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950520064001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402894694306021376,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6272177302640001024,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788869235000,"timestamp_ms":1788869235000,"timestamp_seconds":1788869235,"priority":1,"record_length":96,"hex_timestamp":"000001a080ea5138"} 
[2026-09-08 17:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 17:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950520064001,"66":27865,"52":206,"19":47872,"24":29,"16":402894694306021376,"45":6272177302640001024},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-09-08 17:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950520064001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:38:20] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-08 17:38:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402894694306021376,"km_value":402894694306021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6272177302640001024,"description":"Unknown IO ID 45"} 
[2026-09-08 17:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950520064001,"power":27865,"unknown_52":206,"unknown_19":47872,"ignition":29,"odometer":null,"unknown_45":6272177302640001024}} 
[2026-09-08 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:38:20] local.INFO: GPS data processed {"connection_id":174613,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:38:20] local.INFO: Acknowledgment sent {"connection_id":174613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:38:41] local.INFO: TCP Data received {"connection_id":174902,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:38:41] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:38:41] local.INFO: IMEI packet received {"connection_id":174902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":174902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:38:46] local.INFO: TCP Data received {"connection_id":174902,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:38:46] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:38:46] local.INFO: IMEI packet received {"connection_id":174902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":174902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:38:46] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e94b80012d7b13c005e31370000500b126..."} 
[2026-09-08 17:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e94b80012d7b13c005e31370000500b126..."} 
[2026-09-08 17:38:46] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e94b80012d7b13c005e31370000500b126..."} 
[2026-09-08 17:38:46] local.INFO: Packet analysis {"connection_id":174901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:38:46] local.INFO: Extracted packet for processing {"connection_id":174901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763040704,"raw_latitude":98767728,"longitude_deg":76.3040704,"latitude_deg":9.8767728,"altitude":5,"angle":177,"satellites":38,"speed":2,"hex_longitude":"2d7b13c0","hex_latitude":"05e31370","is_valid_coordinates":true} 
[2026-09-08 17:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950505728001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975614571544576,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868643222739818496,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788869168000,"timestamp_ms":1788869168000,"timestamp_seconds":1788869168,"priority":1,"record_length":96,"hex_timestamp":"000001a080e94b80"} 
[2026-09-08 17:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 17:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950505728001,"66":13015,"208":206,"85":15104,"24":2,"16":129975614571544576,"45":8868643222739818496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950505728001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:38:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975614571544576,"km_value":129975614571544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868643222739818496,"description":"Unknown IO ID 45"} 
[2026-09-08 17:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950505728001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8868643222739818496}} 
[2026-09-08 17:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:38:46] local.INFO: GPS data processed {"connection_id":174901,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:38:46] local.INFO: Acknowledgment sent {"connection_id":174901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:38:47] local.INFO: TCP Data received {"connection_id":174902,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ea7c30012d56f380067c5dd00011014a1c..."} 
[2026-09-08 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ea7c30012d56f380067c5dd00011014a1c..."} 
[2026-09-08 17:38:47] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ea7c30012d56f380067c5dd00011014a1c..."} 
[2026-09-08 17:38:47] local.INFO: Packet analysis {"connection_id":174902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:38:47] local.INFO: Extracted packet for processing {"connection_id":174902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:38:47] local.INFO: GPS Element Parsed {"raw_longitude":760673152,"raw_latitude":108813776,"longitude_deg":76.0673152,"latitude_deg":10.8813776,"altitude":17,"angle":330,"satellites":28,"speed":28,"hex_longitude":"2d56f380","hex_latitude":"067c5dd0","is_valid_coordinates":true} 
[2026-09-08 17:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950524160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402895128097718272,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6269855134084136960,"note":"Value kept but may cause issues"} 
[2026-09-08 17:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788869246000,"timestamp_ms":1788869246000,"timestamp_seconds":1788869246,"priority":1,"record_length":96,"hex_timestamp":"000001a080ea7c30"} 
[2026-09-08 17:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 17:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950524160001,"66":27865,"53":206,"19":47872,"24":28,"16":402895128097718272,"45":6269855134084136960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 17:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950524160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:38:47] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 17:38:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402895128097718272,"km_value":402895128097718.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6269855134084136960,"description":"Unknown IO ID 45"} 
[2026-09-08 17:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950524160001,"power":27865,"unknown_53":206,"unknown_19":47872,"ignition":28,"odometer":null,"unknown_45":6269855134084136960}} 
[2026-09-08 17:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":174902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:38:47] local.INFO: GPS data processed {"connection_id":174902,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:38:47] local.INFO: Acknowledgment sent {"connection_id":174902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:39:08] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:39:08] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:39:08] local.INFO: IMEI packet received {"connection_id":174615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":174615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:39:14] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:39:14] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:39:14] local.INFO: IMEI packet received {"connection_id":174615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":174615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:39:15] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080e999a0012d7b178005e2f778000500ab23..."} 
[2026-09-08 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080e999a0012d7b178005e2f778000500ab23..."} 
[2026-09-08 17:39:15] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080e999a0012d7b178005e2f778000500ab23..."} 
[2026-09-08 17:39:15] local.INFO: Packet analysis {"connection_id":174615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:39:15] local.INFO: Extracted packet for processing {"connection_id":174615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080e9"} 
[2026-09-08 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":763041664,"raw_latitude":98760568,"longitude_deg":76.3041664,"latitude_deg":9.8760568,"altitude":5,"angle":171,"satellites":35,"speed":24,"hex_longitude":"2d7b1780","hex_latitude":"05e2f778","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950507008001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129975971053830144,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868643222739709952,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788869188000,"timestamp_ms":1788869188000,"timestamp_seconds":1788869188,"priority":1,"record_length":96,"hex_timestamp":"000001a080e999a0"} 
[2026-09-08 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-09-08 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 17:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950507008001,"66":13341,"208":206,"85":15104,"24":24,"16":129975971053830144,"45":8868643222739709952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-08 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950507008001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:39:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-08 17:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129975971053830144,"km_value":129975971053830.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868643222739709952,"description":"Unknown IO ID 45"} 
[2026-09-08 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950507008001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8868643222739709952}} 
[2026-09-08 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":174615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:39:15] local.INFO: GPS data processed {"connection_id":174615,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:39:15] local.INFO: Acknowledgment sent {"connection_id":174615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:39:18] local.INFO: TCP Data received {"connection_id":174902,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ea9f58012d56e400067c71b80012013e1f..."} 
[2026-09-08 17:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ea9f58012d56e400067c71b80012013e1f..."} 
[2026-09-08 17:39:18] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ea9f58012d56e400067c71b80012013e1f..."} 
[2026-09-08 17:39:18] local.INFO: Packet analysis {"connection_id":174902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:39:18] local.INFO: Extracted packet for processing {"connection_id":174902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:39:18] local.INFO: GPS Element Parsed {"raw_longitude":760669184,"raw_latitude":108818872,"longitude_deg":76.0669184,"latitude_deg":10.8818872,"altitude":18,"angle":318,"satellites":31,"speed":26,"hex_longitude":"2d56e400","hex_latitude":"067c71b8","is_valid_coordinates":true} 
[2026-09-08 17:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950526976001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402895437335363584,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6265492271947173888,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788869255000,"timestamp_ms":1788869255000,"timestamp_seconds":1788869255,"priority":1,"record_length":96,"hex_timestamp":"000001a080ea9f58"} 
[2026-09-08 17:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 17:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950526976001,"66":27908,"53":206,"19":47872,"24":26,"16":402895437335363584,"45":6265492271947173888},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 17:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950526976001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:39:18] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 17:39:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402895437335363584,"km_value":402895437335363.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6265492271947173888,"description":"Unknown IO ID 45"} 
[2026-09-08 17:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950526976001,"power":27908,"unknown_53":206,"unknown_19":47872,"ignition":26,"odometer":null,"unknown_45":6265492271947173888}} 
[2026-09-08 17:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":174902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:39:18] local.INFO: GPS data processed {"connection_id":174902,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:39:18] local.INFO: Acknowledgment sent {"connection_id":174902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:39:41] local.INFO: TCP Data received {"connection_id":177424,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:39:41] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:39:41] local.INFO: IMEI packet received {"connection_id":177424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":177424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:39:44] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:39:44] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:39:44] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:39:46] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ec87a0012d7b438005e1b0300007007327..."} 
[2026-09-08 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ec87a0012d7b438005e1b0300007007327..."} 
[2026-09-08 17:39:46] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ec87a0012d7b438005e1b0300007007327..."} 
[2026-09-08 17:39:46] local.INFO: Packet analysis {"connection_id":174615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:39:46] local.INFO: Extracted packet for processing {"connection_id":174615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763052928,"raw_latitude":98676784,"longitude_deg":76.3052928,"latitude_deg":9.8676784,"altitude":7,"angle":115,"satellites":39,"speed":10,"hex_longitude":"2d7b4380","hex_latitude":"05e1b030","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950561024001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809133504512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129980107107336192,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788869380000,"timestamp_ms":1788869380000,"timestamp_seconds":1788869380,"priority":1,"record_length":96,"hex_timestamp":"000001a080ec87a0"} 
[2026-09-08 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-09-08 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 17:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950561024001,"66":12939,"45":8881731809133504512,"85":15104,"24":10,"16":129980107107336192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950561024001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809133504512,"description":"Unknown IO ID 45"} 
[2026-09-08 17:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129980107107336192,"km_value":129980107107336.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950561024001,"power":12939,"unknown_45":8881731809133504512,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-08 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":174615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:39:46] local.INFO: GPS data processed {"connection_id":174615,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:39:46] local.INFO: Acknowledgment sent {"connection_id":174615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:39:47] local.INFO: TCP Data received {"connection_id":177424,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:39:47] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:39:47] local.INFO: IMEI packet received {"connection_id":177424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":177424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:39:48] local.INFO: TCP Data received {"connection_id":177424,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080eace38012d56cac0067c8cd00013013f2d..."} 
[2026-09-08 17:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080eace38012d56cac0067c8cd00013013f2d..."} 
[2026-09-08 17:39:48] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080eace38012d56cac0067c8cd00013013f2d..."} 
[2026-09-08 17:39:48] local.INFO: Packet analysis {"connection_id":177424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:39:48] local.INFO: Extracted packet for processing {"connection_id":177424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":760662720,"raw_latitude":108825808,"longitude_deg":76.066272,"latitude_deg":10.8825808,"altitude":19,"angle":319,"satellites":45,"speed":36,"hex_longitude":"2d56cac0","hex_latitude":"067c8cd0","is_valid_coordinates":true} 
[2026-09-08 17:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950529280001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402895896896864256,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6261129409809463296,"note":"Value kept but may cause issues"} 
[2026-09-08 17:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788869267000,"timestamp_ms":1788869267000,"timestamp_seconds":1788869267,"priority":1,"record_length":96,"hex_timestamp":"000001a080eace38"} 
[2026-09-08 17:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 17:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950529280001,"66":27908,"53":206,"19":47872,"24":36,"16":402895896896864256,"45":6261129409809463296},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 17:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950529280001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:39:48] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 17:39:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402895896896864256,"km_value":402895896896864.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6261129409809463296,"description":"Unknown IO ID 45"} 
[2026-09-08 17:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950529280001,"power":27908,"unknown_53":206,"unknown_19":47872,"ignition":36,"odometer":null,"unknown_45":6261129409809463296}} 
[2026-09-08 17:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":177424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:39:48] local.INFO: GPS data processed {"connection_id":177424,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:39:48] local.INFO: Acknowledgment sent {"connection_id":177424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:40:05] local.INFO: TCP Data received {"connection_id":174904,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:40:05] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:40:05] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:40:06] local.INFO: TCP Data received {"connection_id":174904,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080eb4750012d1acd8007200fe00052014023..."} 
[2026-09-08 17:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080eb4750012d1acd8007200fe00052014023..."} 
[2026-09-08 17:40:06] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080eb4750012d1acd8007200fe00052014023..."} 
[2026-09-08 17:40:06] local.INFO: Packet analysis {"connection_id":174904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080eb"} 
[2026-09-08 17:40:06] local.INFO: Extracted packet for processing {"connection_id":174904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080eb"} 
[2026-09-08 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756731264,"raw_latitude":119541728,"longitude_deg":75.6731264,"latitude_deg":11.9541728,"altitude":82,"angle":320,"satellites":35,"speed":1,"hex_longitude":"2d1acd80","hex_latitude":"07200fe0","is_valid_coordinates":true} 
[2026-09-08 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950540032001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792174137114624,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931340583302836224,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788869298000,"timestamp_ms":1788869298000,"timestamp_seconds":1788869298,"priority":1,"record_length":96,"hex_timestamp":"000001a080eb4750"} 
[2026-09-08 17:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 17:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950540032001,"66":13820,"50":206,"28":31744,"24":1,"16":18792174137114624,"45":1931340583302836224},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-09-08 17:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950540032001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:40:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-08 17:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792174137114624,"km_value":18792174137114.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931340583302836224,"description":"Unknown IO ID 45"} 
[2026-09-08 17:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950540032001,"power":13820,"unknown_50":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1931340583302836224}} 
[2026-09-08 17:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":174904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:40:06] local.INFO: GPS data processed {"connection_id":174904,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:40:06] local.INFO: Acknowledgment sent {"connection_id":174904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:40:08] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:08] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:08] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:40:11] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:11] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:11] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:40:13] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:13] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:40:13] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:40:14] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ec8f70012d7b458005e1afb00007006625..."} 
[2026-09-08 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ec8f70012d7b458005e1afb00007006625..."} 
[2026-09-08 17:40:14] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ec8f70012d7b458005e1afb00007006625..."} 
[2026-09-08 17:40:14] local.INFO: Packet analysis {"connection_id":174905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:14] local.INFO: Extracted packet for processing {"connection_id":174905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98676656,"longitude_deg":76.305344,"latitude_deg":9.8676656,"altitude":7,"angle":102,"satellites":37,"speed":13,"hex_longitude":"2d7b4580","hex_latitude":"05e1afb0","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950561280001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083652854362112,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129980132877139968,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788869382000,"timestamp_ms":1788869382000,"timestamp_seconds":1788869382,"priority":1,"record_length":96,"hex_timestamp":"000001a080ec8f70"} 
[2026-09-08 17:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 17:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950561280001,"66":13428,"45":8882083652854362112,"85":15104,"24":13,"16":129980132877139968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 17:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950561280001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083652854362112,"description":"Unknown IO ID 45"} 
[2026-09-08 17:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129980132877139968,"km_value":129980132877139.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:40:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950561280001,"power":13428,"unknown_45":8882083652854362112,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-09-08 17:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":174905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:40:14] local.INFO: GPS data processed {"connection_id":174905,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:40:14] local.INFO: Acknowledgment sent {"connection_id":174905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:40:19] local.INFO: TCP Data received {"connection_id":177424,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080eaf548012d56b140067ca7780013013a2d..."} 
[2026-09-08 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080eaf548012d56b140067ca7780013013a2d..."} 
[2026-09-08 17:40:19] local.INFO: Processing buffer {"connection_id":177424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080eaf548012d56b140067ca7780013013a2d..."} 
[2026-09-08 17:40:19] local.INFO: Packet analysis {"connection_id":177424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:40:19] local.INFO: Extracted packet for processing {"connection_id":177424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ea"} 
[2026-09-08 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":760656192,"raw_latitude":108832632,"longitude_deg":76.0656192,"latitude_deg":10.8832632,"altitude":19,"angle":314,"satellites":45,"speed":36,"hex_longitude":"2d56b140","hex_latitude":"067ca778","is_valid_coordinates":true} 
[2026-09-08 17:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950532352001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402896347868430336,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254022166649294848,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869277000,"timestamp_ms":1788869277000,"timestamp_seconds":1788869277,"priority":1,"record_length":96,"hex_timestamp":"000001a080eaf548"} 
[2026-09-08 17:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 17:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950532352001,"66":27843,"53":206,"19":47872,"24":36,"16":402896347868430336,"45":6254022166649294848},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-09-08 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950532352001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:40:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-08 17:40:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402896347868430336,"km_value":402896347868430.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254022166649294848,"description":"Unknown IO ID 45"} 
[2026-09-08 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950532352001,"power":27843,"unknown_53":206,"unknown_19":47872,"ignition":36,"odometer":null,"unknown_45":6254022166649294848}} 
[2026-09-08 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":177424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:40:19] local.INFO: GPS data processed {"connection_id":177424,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:40:19] local.INFO: Acknowledgment sent {"connection_id":177424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:40:37] local.INFO: TCP Data received {"connection_id":174904,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ec9740012d1acb0007200778005800f823..."} 
[2026-09-08 17:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ec9740012d1acb0007200778005800f823..."} 
[2026-09-08 17:40:37] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ec9740012d1acb0007200778005800f823..."} 
[2026-09-08 17:40:37] local.INFO: Packet analysis {"connection_id":174904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:37] local.INFO: Extracted packet for processing {"connection_id":174904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756730624,"raw_latitude":119539576,"longitude_deg":75.6730624,"latitude_deg":11.9539576,"altitude":88,"angle":248,"satellites":35,"speed":4,"hex_longitude":"2d1acb00","hex_latitude":"07200778","is_valid_coordinates":true} 
[2026-09-08 17:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950562048001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792307281100800,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930777633348890624,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40: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-09-08 17:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788869384000,"timestamp_ms":1788869384000,"timestamp_seconds":1788869384,"priority":1,"record_length":96,"hex_timestamp":"000001a080ec9740"} 
[2026-09-08 17:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950562048001,"66":13993,"121":206,"28":31744,"24":4,"16":18792307281100800,"45":1930777633348890624},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950562048001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792307281100800,"km_value":18792307281100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930777633348890624,"description":"Unknown IO ID 45"} 
[2026-09-08 17:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950562048001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1930777633348890624}} 
[2026-09-08 17:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":174904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:40:37] local.INFO: GPS data processed {"connection_id":174904,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:40:37] local.INFO: Acknowledgment sent {"connection_id":174904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:40:44] local.INFO: TCP Data received {"connection_id":174617,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:44] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:44] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:40:45] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ec9740012d7b48c005e1afc80008004f27..."} 
[2026-09-08 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ec9740012d7b48c005e1afc80008004f27..."} 
[2026-09-08 17:40:45] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ec9740012d7b48c005e1afc80008004f27..."} 
[2026-09-08 17:40:45] local.INFO: Packet analysis {"connection_id":174905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:45] local.INFO: Extracted packet for processing {"connection_id":174905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":98676680,"longitude_deg":76.3054272,"latitude_deg":9.867668,"altitude":8,"angle":79,"satellites":39,"speed":18,"hex_longitude":"2d7b48c0","hex_latitude":"05e1afc8","is_valid_coordinates":true} 
[2026-09-08 17:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950561792001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602807750656,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129980171531845632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788869384000,"timestamp_ms":1788869384000,"timestamp_seconds":1788869384,"priority":1,"record_length":96,"hex_timestamp":"000001a080ec9740"} 
[2026-09-08 17:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 17:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950561792001,"66":12982,"45":8882646602807750656,"85":15104,"24":18,"16":129980171531845632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 17:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950561792001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602807750656,"description":"Unknown IO ID 45"} 
[2026-09-08 17:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129980171531845632,"km_value":129980171531845.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:40:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950561792001,"power":12982,"unknown_45":8882646602807750656,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-09-08 17:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":174905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:40:45] local.INFO: GPS data processed {"connection_id":174905,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:40:45] local.INFO: Acknowledgment sent {"connection_id":174905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:40:46] local.INFO: TCP Data received {"connection_id":174617,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:46] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:46] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:40:52] local.INFO: TCP Data received {"connection_id":174617,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:52] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:40:52] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:40:53] local.INFO: TCP Data received {"connection_id":174617,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ec7030012d55a8c0067dd0200016014a2c..."} 
[2026-09-08 17:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ec7030012d55a8c0067dd0200016014a2c..."} 
[2026-09-08 17:40:53] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ec7030012d55a8c0067dd0200016014a2c..."} 
[2026-09-08 17:40:53] local.INFO: Packet analysis {"connection_id":174617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:53] local.INFO: Extracted packet for processing {"connection_id":174617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:40:53] local.INFO: GPS Element Parsed {"raw_longitude":760588480,"raw_latitude":108908576,"longitude_deg":76.058848,"latitude_deg":10.8908576,"altitude":22,"angle":330,"satellites":44,"speed":46,"hex_longitude":"2d55a8c0","hex_latitude":"067dd020","is_valid_coordinates":true} 
[2026-09-08 17:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950557696001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402901269900951552,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6177249866770579456,"note":"Value kept but may cause issues"} 
[2026-09-08 17:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788869374000,"timestamp_ms":1788869374000,"timestamp_seconds":1788869374,"priority":1,"record_length":96,"hex_timestamp":"000001a080ec7030"} 
[2026-09-08 17:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 17:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950557696001,"66":27919,"1":206,"19":47872,"24":46,"16":402901269900951552,"45":6177249866770579456},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-09-08 17:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950557696001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:40:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402901269900951552,"km_value":402901269900951.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6177249866770579456,"description":"Unknown IO ID 45"} 
[2026-09-08 17:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950557696001,"power":27919,"imei":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6177249866770579456}} 
[2026-09-08 17:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":174617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:40:53] local.INFO: GPS data processed {"connection_id":174617,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:40:53] local.INFO: Acknowledgment sent {"connection_id":174617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:00] local.INFO: TCP Data received {"connection_id":177425,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:00] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:00] local.INFO: IMEI packet received {"connection_id":177425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":177425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:41:04] local.INFO: TCP Data received {"connection_id":177425,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:04] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:04] local.INFO: IMEI packet received {"connection_id":177425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":177425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:41:05] local.INFO: TCP Data received {"connection_id":177425,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:05] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:41:05] local.INFO: IMEI packet received {"connection_id":177425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":177425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:41:06] local.INFO: TCP Data received {"connection_id":177425,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ed0c70012d1ac0c007200cd80063013226..."} 
[2026-09-08 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ed0c70012d1ac0c007200cd80063013226..."} 
[2026-09-08 17:41:06] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ed0c70012d1ac0c007200cd80063013226..."} 
[2026-09-08 17:41:06] local.INFO: Packet analysis {"connection_id":177425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:41:06] local.INFO: Extracted packet for processing {"connection_id":177425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756728000,"raw_latitude":119540952,"longitude_deg":75.6728,"latitude_deg":11.9540952,"altitude":99,"angle":306,"satellites":38,"speed":3,"hex_longitude":"2d1ac0c0","hex_latitude":"07200cd8","is_valid_coordinates":true} 
[2026-09-08 17:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950569728001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792509144563712,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927822146093754368,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:06] 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-09-08 17:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788869414000,"timestamp_ms":1788869414000,"timestamp_seconds":1788869414,"priority":1,"record_length":96,"hex_timestamp":"000001a080ed0c70"} 
[2026-09-08 17:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950569728001,"66":13939,"121":206,"28":31744,"24":3,"16":18792509144563712,"45":1927822146093754368},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950569728001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792509144563712,"km_value":18792509144563.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927822146093754368,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950569728001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1927822146093754368}} 
[2026-09-08 17:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":177425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:06] local.INFO: GPS data processed {"connection_id":177425,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:06] local.INFO: Acknowledgment sent {"connection_id":177425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:08] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:08] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:08] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:41:11] local.INFO: TCP Data received {"connection_id":177425,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ed1058012d1ac08007200cf80063012526..."} 
[2026-09-08 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ed1058012d1ac08007200cf80063012526..."} 
[2026-09-08 17:41:11] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ed1058012d1ac08007200cf80063012526..."} 
[2026-09-08 17:41:11] local.INFO: Packet analysis {"connection_id":177425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:41:11] local.INFO: Extracted packet for processing {"connection_id":177425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119540984,"longitude_deg":75.6727936,"latitude_deg":11.9540984,"altitude":99,"angle":293,"satellites":38,"speed":4,"hex_longitude":"2d1ac080","hex_latitude":"07200cf8","is_valid_coordinates":true} 
[2026-09-08 17:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950569984001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792513439531008,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927751777349588992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41: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-09-08 17:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788869415000,"timestamp_ms":1788869415000,"timestamp_seconds":1788869415,"priority":1,"record_length":96,"hex_timestamp":"000001a080ed1058"} 
[2026-09-08 17:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950569984001,"66":13091,"121":206,"28":31744,"24":4,"16":18792513439531008,"45":1927751777349588992},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950569984001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792513439531008,"km_value":18792513439531.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927751777349588992,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950569984001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1927751777349588992}} 
[2026-09-08 17:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":177425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:11] local.INFO: GPS data processed {"connection_id":177425,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:11] local.INFO: Acknowledgment sent {"connection_id":177425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:12] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:12] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:12] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:41:14] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:14] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:41:14] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:41:15] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ecd1d8012d7b6c4005e1b4d8000a005327..."} 
[2026-09-08 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ecd1d8012d7b6c4005e1b4d8000a005327..."} 
[2026-09-08 17:41:15] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ecd1d8012d7b6c4005e1b4d8000a005327..."} 
[2026-09-08 17:41:15] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:41:15] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763063360,"raw_latitude":98677976,"longitude_deg":76.306336,"latitude_deg":9.8677976,"altitude":10,"angle":83,"satellites":39,"speed":20,"hex_longitude":"2d7b6c40","hex_latitude":"05e1b4d8","is_valid_coordinates":true} 
[2026-09-08 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950562304001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396482066432,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129980613913477120,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788869399000,"timestamp_ms":1788869399000,"timestamp_seconds":1788869399,"priority":1,"record_length":96,"hex_timestamp":"000001a080ecd1d8"} 
[2026-09-08 17:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950562304001,"66":13341,"45":8883561396482066432,"85":15104,"24":20,"16":129980613913477120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-08 17:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950562304001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396482066432,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129980613913477120,"km_value":129980613913477.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950562304001,"power":13341,"unknown_45":8883561396482066432,"unknown_85":15104,"ignition":20,"odometer":null}} 
[2026-09-08 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:15] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:15] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:25] local.INFO: TCP Data received {"connection_id":174617,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ec8f70012d559880067df168001701502b..."} 
[2026-09-08 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ec8f70012d559880067df168001701502b..."} 
[2026-09-08 17:41:25] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ec8f70012d559880067df168001701502b..."} 
[2026-09-08 17:41:25] local.INFO: Packet analysis {"connection_id":174617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:41:25] local.INFO: Extracted packet for processing {"connection_id":174617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760584320,"raw_latitude":108917096,"longitude_deg":76.058432,"latitude_deg":10.8917096,"altitude":23,"angle":336,"satellites":43,"speed":47,"hex_longitude":"2d559880","hex_latitude":"067df168","is_valid_coordinates":true} 
[2026-09-08 17:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950559744001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402901725167484928,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6172394423424393216,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788869382000,"timestamp_ms":1788869382000,"timestamp_seconds":1788869382,"priority":1,"record_length":96,"hex_timestamp":"000001a080ec8f70"} 
[2026-09-08 17:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950559744001,"66":27767,"1":206,"19":47872,"24":47,"16":402901725167484928,"45":6172394423424393216},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-09-08 17:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950559744001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402901725167484928,"km_value":402901725167484.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6172394423424393216,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950559744001,"power":27767,"imei":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6172394423424393216}} 
[2026-09-08 17:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":174617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:25] local.INFO: GPS data processed {"connection_id":174617,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:25] local.INFO: Acknowledgment sent {"connection_id":174617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:40] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:40] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:40] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:41:41] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:41] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:41] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:41:43] local.INFO: TCP Data received {"connection_id":177425,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080edc020012d1aa6c0072014f0005500ea27..."} 
[2026-09-08 17:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080edc020012d1aa6c0072014f0005500ea27..."} 
[2026-09-08 17:41:43] local.INFO: Processing buffer {"connection_id":177425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080edc020012d1aa6c0072014f0005500ea27..."} 
[2026-09-08 17:41:43] local.INFO: Packet analysis {"connection_id":177425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:41:43] local.INFO: Extracted packet for processing {"connection_id":177425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756721344,"raw_latitude":119543024,"longitude_deg":75.6721344,"latitude_deg":11.9543024,"altitude":85,"angle":234,"satellites":39,"speed":6,"hex_longitude":"2d1aa6c0","hex_latitude":"072014f0","is_valid_coordinates":true} 
[2026-09-08 17:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950581504001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792848446980096,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920574165444014080,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:43] 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-09-08 17:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788869460000,"timestamp_ms":1788869460000,"timestamp_seconds":1788869460,"priority":1,"record_length":96,"hex_timestamp":"000001a080edc020"} 
[2026-09-08 17:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950581504001,"66":14276,"121":206,"28":31744,"24":6,"16":18792848446980096,"45":1920574165444014080},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950581504001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792848446980096,"km_value":18792848446980.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920574165444014080,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950581504001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1920574165444014080}} 
[2026-09-08 17:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":177425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:43] local.INFO: GPS data processed {"connection_id":177425,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:43] local.INFO: Acknowledgment sent {"connection_id":177425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:46] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee5878012d7c5a4005e20708000a001826..."} 
[2026-09-08 17:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee5878012d7c5a4005e20708000a001826..."} 
[2026-09-08 17:41:46] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee5878012d7c5a4005e20708000a001826..."} 
[2026-09-08 17:41:46] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:41:46] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:41:46] local.INFO: GPS Element Parsed {"raw_longitude":763124288,"raw_latitude":98699016,"longitude_deg":76.3124288,"latitude_deg":9.8699016,"altitude":10,"angle":24,"satellites":38,"speed":28,"hex_longitude":"2d7c5a40","hex_latitude":"05e20708","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950590720001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129983908153393152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959067058989793280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788869499000,"timestamp_ms":1788869499000,"timestamp_seconds":1788869499,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee5878"} 
[2026-09-08 17:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950590720001,"66":13330,"43":206,"85":15104,"24":28,"16":129983908153393152,"45":8959067058989793280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950590720001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:41:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129983908153393152,"km_value":129983908153393.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959067058989793280,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950590720001,"power":13330,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8959067058989793280}} 
[2026-09-08 17:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:46] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:46] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:41:47] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:47] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:41:47] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:41:48] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ecaeb0012d558a80067e1458001801532b..."} 
[2026-09-08 17:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ecaeb0012d558a80067e1458001801532b..."} 
[2026-09-08 17:41:48] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ecaeb0012d558a80067e1458001801532b..."} 
[2026-09-08 17:41:48] local.INFO: Packet analysis {"connection_id":174618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:41:48] local.INFO: Extracted packet for processing {"connection_id":174618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:41:48] local.INFO: GPS Element Parsed {"raw_longitude":760580736,"raw_latitude":108926040,"longitude_deg":76.0580736,"latitude_deg":10.892604,"altitude":24,"angle":339,"satellites":43,"speed":47,"hex_longitude":"2d558a80","hex_latitude":"067e1458","is_valid_coordinates":true} 
[2026-09-08 17:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950561792001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402902193318920192,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167820455055026176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788869390000,"timestamp_ms":1788869390000,"timestamp_seconds":1788869390,"priority":1,"record_length":96,"hex_timestamp":"000001a080ecaeb0"} 
[2026-09-08 17:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 17:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950561792001,"66":27800,"1":206,"19":47872,"24":47,"16":402902193318920192,"45":6167820455055026176},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-09-08 17:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950561792001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:41:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402902193318920192,"km_value":402902193318920.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167820455055026176,"description":"Unknown IO ID 45"} 
[2026-09-08 17:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950561792001,"power":27800,"imei":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6167820455055026176}} 
[2026-09-08 17:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":174618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:41:48] local.INFO: GPS data processed {"connection_id":174618,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:41:48] local.INFO: Acknowledgment sent {"connection_id":174618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:42:00] local.INFO: TCP Data received {"connection_id":177426,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:42:00] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:42:00] local.INFO: IMEI packet received {"connection_id":177426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":177426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:42:05] local.INFO: TCP Data received {"connection_id":177426,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:42:05] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:42:05] local.INFO: IMEI packet received {"connection_id":177426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":177426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:42:07] local.INFO: TCP Data received {"connection_id":177426,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080edc408012d1aa68007201488005400da28..."} 
[2026-09-08 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080edc408012d1aa68007201488005400da28..."} 
[2026-09-08 17:42:07] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080edc408012d1aa68007201488005400da28..."} 
[2026-09-08 17:42:07] local.INFO: Packet analysis {"connection_id":177426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:42:07] local.INFO: Extracted packet for processing {"connection_id":177426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ed"} 
[2026-09-08 17:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756721280,"raw_latitude":119542920,"longitude_deg":75.672128,"latitude_deg":11.954292,"altitude":84,"angle":218,"satellites":40,"speed":6,"hex_longitude":"2d1aa680","hex_latitude":"07201488","is_valid_coordinates":true} 
[2026-09-08 17:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950581760001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18792857036914688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920433427955642368,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42: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-09-08 17:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788869461000,"timestamp_ms":1788869461000,"timestamp_seconds":1788869461,"priority":1,"record_length":96,"hex_timestamp":"000001a080edc408"} 
[2026-09-08 17:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 17:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950581760001,"66":14341,"121":206,"28":31744,"24":6,"16":18792857036914688,"45":1920433427955642368},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950581760001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18792857036914688,"km_value":18792857036914.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920433427955642368,"description":"Unknown IO ID 45"} 
[2026-09-08 17:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950581760001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1920433427955642368}} 
[2026-09-08 17:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":177426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:42:07] local.INFO: GPS data processed {"connection_id":177426,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:42:07] local.INFO: Acknowledgment sent {"connection_id":177426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:42:13] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:42:13] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:42:13] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:42:15] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee6818012d7c5f8005e21098000a002924..."} 
[2026-09-08 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee6818012d7c5f8005e21098000a002924..."} 
[2026-09-08 17:42:15] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee6818012d7c5f8005e21098000a002924..."} 
[2026-09-08 17:42:15] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:15] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:15] local.INFO: GPS Element Parsed {"raw_longitude":763125632,"raw_latitude":98701464,"longitude_deg":76.3125632,"latitude_deg":9.8701464,"altitude":10,"angle":41,"satellites":36,"speed":25,"hex_longitude":"2d7c5f80","hex_latitude":"05e21098","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950591744001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129984041297379328,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960544802618148864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788869503000,"timestamp_ms":1788869503000,"timestamp_seconds":1788869503,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee6818"} 
[2026-09-08 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-09-08 17:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":838860800,"corrected_to":0} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163082864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3993911297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277528438900121464,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-2328360972984572928,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3407413248,"corrected_to":0} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147869152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802126,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789508608,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":237,"raw_value":-1224977803776835579,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3242818597164161024,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,43,85,24,241,157,16,203,160,72,45,253,10,37,66,128,236,8,25,192,1,240,35,227,225,4,113,205,21,57,104,36,239,50,2,5,7,26,242,237,31,78,65],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":203,"original":838860800,"validated":0},{"io_id":205,"original":3407413248,"validated":0}]} 
[2026-09-08 17:42:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720602491868938240,"timestamp_seconds":720602491868938.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 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-09-08 17:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950591744001,"66":13526,"43":206,"85":15104,"24":25,"16":129984041297379328,"45":8960544802618148864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950591744001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:42:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129984041297379328,"km_value":129984041297379.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960544802618148864,"description":"Unknown IO ID 45"} 
[2026-09-08 17:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950591744001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8960544802618148864}} 
[2026-09-08 17:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:42:15] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:42:15] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:42:21] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080eccdf0012d557f40067e3740001901582c..."} 
[2026-09-08 17:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080eccdf0012d557f40067e3740001901582c..."} 
[2026-09-08 17:42:21] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080eccdf0012d557f40067e3740001901582c..."} 
[2026-09-08 17:42:21] local.INFO: Packet analysis {"connection_id":174618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:42:21] local.INFO: Extracted packet for processing {"connection_id":174618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ec"} 
[2026-09-08 17:42:21] local.INFO: GPS Element Parsed {"raw_longitude":760577856,"raw_latitude":108934976,"longitude_deg":76.0577856,"latitude_deg":10.8934976,"altitude":25,"angle":344,"satellites":44,"speed":46,"hex_longitude":"2d557f40","hex_latitude":"067e3740","is_valid_coordinates":true} 
[2026-09-08 17:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950563840001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402902648585453568,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163879805383366656,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788869398000,"timestamp_ms":1788869398000,"timestamp_seconds":1788869398,"priority":1,"record_length":96,"hex_timestamp":"000001a080eccdf0"} 
[2026-09-08 17:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950563840001,"66":27691,"1":206,"19":47872,"24":46,"16":402902648585453568,"45":6163879805383366656},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-09-08 17:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950563840001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:42:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402902648585453568,"km_value":402902648585453.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163879805383366656,"description":"Unknown IO ID 45"} 
[2026-09-08 17:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950563840001,"power":27691,"imei":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6163879805383366656}} 
[2026-09-08 17:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":174618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:42:21] local.INFO: GPS data processed {"connection_id":174618,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:42:21] local.INFO: Acknowledgment sent {"connection_id":174618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:42:40] local.INFO: TCP Data received {"connection_id":177426,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee8758012d1aa0c0071ff5080041007327..."} 
[2026-09-08 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee8758012d1aa0c0071ff5080041007327..."} 
[2026-09-08 17:42:40] local.INFO: Processing buffer {"connection_id":177426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee8758012d1aa0c0071ff5080041007327..."} 
[2026-09-08 17:42:40] local.INFO: Packet analysis {"connection_id":177426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:40] local.INFO: Extracted packet for processing {"connection_id":177426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756719808,"raw_latitude":119534856,"longitude_deg":75.6719808,"latitude_deg":11.9534856,"altitude":65,"angle":115,"satellites":39,"speed":10,"hex_longitude":"2d1aa0c0","hex_latitude":"071ff508","is_valid_coordinates":true} 
[2026-09-08 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950594560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793303713513472,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918603840604960768,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42: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-09-08 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788869511000,"timestamp_ms":1788869511000,"timestamp_seconds":1788869511,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee8758"} 
[2026-09-08 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 17:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950594560001,"66":14363,"121":206,"28":31744,"24":10,"16":18793303713513472,"45":1918603840604960768},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950594560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:42:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793303713513472,"km_value":18793303713513.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918603840604960768,"description":"Unknown IO ID 45"} 
[2026-09-08 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950594560001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1918603840604960768}} 
[2026-09-08 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":177426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:42:40] local.INFO: GPS data processed {"connection_id":177426,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:42:40] local.INFO: Acknowledgment sent {"connection_id":177426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:42:42] local.INFO: TCP Data received {"connection_id":174907,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:42:42] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:42:42] local.INFO: IMEI packet received {"connection_id":174907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":174907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:42:46] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee6c00012d7c618005e21210000a003725..."} 
[2026-09-08 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee6c00012d7c618005e21210000a003725..."} 
[2026-09-08 17:42:46] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee6c00012d7c618005e21210000a003725..."} 
[2026-09-08 17:42:46] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:46] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763126144,"raw_latitude":98701840,"longitude_deg":76.3126144,"latitude_deg":9.870184,"altitude":10,"angle":55,"satellites":37,"speed":25,"hex_longitude":"2d7c6180","hex_latitude":"05e21210","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950592768001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129984071362150400,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962022546246506496,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788869504000,"timestamp_ms":1788869504000,"timestamp_seconds":1788869504,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee6c00"} 
[2026-09-08 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-09-08 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 17:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950592768001,"66":13526,"43":206,"85":15104,"24":25,"16":129984071362150400,"45":8962022546246506496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950592768001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:42:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129984071362150400,"km_value":129984071362150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962022546246506496,"description":"Unknown IO ID 45"} 
[2026-09-08 17:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950592768001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8962022546246506496}} 
[2026-09-08 17:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:42:46] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:42:46] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:42:47] local.INFO: TCP Data received {"connection_id":174907,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:42:47] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:42:47] local.INFO: IMEI packet received {"connection_id":174907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:42:48] local.INFO: TCP Data received {"connection_id":174907,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee44f0012d550080067f81e8003001542f..."} 
[2026-09-08 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee44f0012d550080067f81e8003001542f..."} 
[2026-09-08 17:42:48] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee44f0012d550080067f81e8003001542f..."} 
[2026-09-08 17:42:48] local.INFO: Packet analysis {"connection_id":174907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:48] local.INFO: Extracted packet for processing {"connection_id":174907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":760545408,"raw_latitude":109019624,"longitude_deg":76.0545408,"latitude_deg":10.9019624,"altitude":48,"angle":340,"satellites":47,"speed":33,"hex_longitude":"2d550080","hex_latitude":"067f81e8","is_valid_coordinates":true} 
[2026-09-08 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950587648001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402907080991703040,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6128413958339506176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788869494000,"timestamp_ms":1788869494000,"timestamp_seconds":1788869494,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee44f0"} 
[2026-09-08 17:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950587648001,"66":27745,"3":206,"19":47872,"24":33,"16":402907080991703040,"45":6128413958339506176},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950587648001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:42:48] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402907080991703040,"km_value":402907080991703.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6128413958339506176,"description":"Unknown IO ID 45"} 
[2026-09-08 17:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950587648001,"power":27745,"unknown_3":206,"unknown_19":47872,"ignition":33,"odometer":null,"unknown_45":6128413958339506176}} 
[2026-09-08 17:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":174907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:42:48] local.INFO: GPS data processed {"connection_id":174907,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:42:48] local.INFO: Acknowledgment sent {"connection_id":174907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:06] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:43:06] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:43:06] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:43:06] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:43:06] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:43:06] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:43:08] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.142.89","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a080..."} 
[2026-09-08 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a080..."} 
[2026-09-08 17:43:08] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a080..."} 
[2026-09-08 17:43:08] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:43:09] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:09] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:09] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:43:09] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:09] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:09] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:43:10] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef13f8012d1ab9c0071fda20003e009726..."} 
[2026-09-08 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef13f8012d1ab9c0071fda20003e009726..."} 
[2026-09-08 17:43:10] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a080ef0070012d1ab800071fe300004000aa26..."} 
[2026-09-08 17:43:10] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:10] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756725760,"raw_latitude":119530240,"longitude_deg":75.672576,"latitude_deg":11.953024,"altitude":64,"angle":170,"satellites":38,"speed":19,"hex_longitude":"2d1ab800","hex_latitude":"071fe300","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950601472001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793763275014144,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925148133812908032,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] 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-09-08 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788869542000,"timestamp_ms":1788869542000,"timestamp_seconds":1788869542,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef0070"} 
[2026-09-08 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-09-08 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950601472001,"66":14341,"121":206,"28":31744,"24":19,"16":18793763275014144,"45":1925148133812908032},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950601472001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793763275014144,"km_value":18793763275014.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925148133812908032,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950601472001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1925148133812908032}} 
[2026-09-08 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:10] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:10] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:10] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:10] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756726208,"raw_latitude":119527968,"longitude_deg":75.6726208,"latitude_deg":11.9527968,"altitude":62,"angle":151,"satellites":38,"speed":15,"hex_longitude":"2d1ab9c0","hex_latitude":"071fda20","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950602752001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793879239131136,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925288871300628480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] 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-09-08 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788869547000,"timestamp_ms":1788869547000,"timestamp_seconds":1788869547,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef13f8"} 
[2026-09-08 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-09-08 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987771570,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503886391803904,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163127864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4007479297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3297116160,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4059037765,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84753272552234994,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":18296372323157504,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,196,160,236,45,128,68,38,10,66,229,239,69,225,64,1,240,31,4,113,205,9,190,170,8,55,2,7,65,206,80,136],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 17:43:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611873098614112256,"timestamp_seconds":4611873098614112.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 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-09-08 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950602752001,"66":13993,"121":206,"28":31744,"24":15,"16":18793879239131136,"45":1925288871300628480},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950602752001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793879239131136,"km_value":18793879239131.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925288871300628480,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950602752001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1925288871300628480}} 
[2026-09-08 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:10] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:10] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:11] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef17e0012d1abac0071fd910003e008324..."} 
[2026-09-08 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef17e0012d1abac0071fd910003e008324..."} 
[2026-09-08 17:43:11] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ef17e0012d1abac0071fd910003e008324..."} 
[2026-09-08 17:43:11] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:11] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756726464,"raw_latitude":119527696,"longitude_deg":75.6726464,"latitude_deg":11.9527696,"altitude":62,"angle":131,"satellites":36,"speed":14,"hex_longitude":"2d1abac0","hex_latitude":"071fd910","is_valid_coordinates":true} 
[2026-09-08 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950604032001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793896419000320,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925781452509290496,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43: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-09-08 17:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788869548000,"timestamp_ms":1788869548000,"timestamp_seconds":1788869548,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef17e0"} 
[2026-09-08 17:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950604032001,"66":13993,"121":206,"28":31744,"24":14,"16":18793896419000320,"45":1925781452509290496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950604032001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793896419000320,"km_value":18793896419000.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925781452509290496,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950604032001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1925781452509290496}} 
[2026-09-08 17:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:11] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:11] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:13] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:13] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:43:13] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:43:14] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee6fe8012d7c640005e21330000a004425..."} 
[2026-09-08 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee6fe8012d7c640005e21330000a004425..."} 
[2026-09-08 17:43:14] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee6fe8012d7c640005e21330000a004425..."} 
[2026-09-08 17:43:14] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:14] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763126784,"raw_latitude":98702128,"longitude_deg":76.3126784,"latitude_deg":9.8702128,"altitude":10,"angle":68,"satellites":37,"speed":26,"hex_longitude":"2d7c6400","hex_latitude":"05e21330","is_valid_coordinates":true} 
[2026-09-08 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950593024001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129984105721888768,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962585496200024064,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788869505000,"timestamp_ms":1788869505000,"timestamp_seconds":1788869505,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee6fe8"} 
[2026-09-08 17:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950593024001,"66":13580,"43":206,"85":15104,"24":26,"16":129984105721888768,"45":8962585496200024064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950593024001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129984105721888768,"km_value":129984105721888.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962585496200024064,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950593024001,"power":13580,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8962585496200024064}} 
[2026-09-08 17:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:14] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:14] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:19] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee73d0012d7c668005e213a8000a004f26..."} 
[2026-09-08 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee73d0012d7c668005e213a8000a004f26..."} 
[2026-09-08 17:43:19] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee73d0012d7c668005e213a8000a004f26..."} 
[2026-09-08 17:43:19] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:19] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:19] local.INFO: GPS Element Parsed {"raw_longitude":763127424,"raw_latitude":98702248,"longitude_deg":76.3127424,"latitude_deg":9.8702248,"altitude":10,"angle":79,"satellites":38,"speed":27,"hex_longitude":"2d7c6680","hex_latitude":"05e213a8","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950593280001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129984140081627136,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963289183641874432,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869506000,"timestamp_ms":1788869506000,"timestamp_seconds":1788869506,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee73d0"} 
[2026-09-08 17:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631819,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2902458368,"corrected_to":0} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163087864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3997751297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147869164,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3617742900080672768,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4253024266,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633573893230123,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3410362368,"corrected_to":0} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576235016690807211,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790047232,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4251404515954655240,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,43,85,24,241,157,16,203,160,108,45,128,18,10,37,66,104,36,88,64,1,240,227,225,4,113,205,224,239,50,2,5,8,23,124,59],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":203,"original":2902458368,"validated":0},{"io_id":205,"original":3410362368,"validated":0}]} 
[2026-09-08 17:43:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720650866085462016,"timestamp_seconds":720650866085462.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950593280001,"66":13352,"43":206,"85":15104,"24":27,"16":129984140081627136,"45":8963289183641874432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950593280001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:19] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129984140081627136,"km_value":129984140081627.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963289183641874432,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950593280001,"power":13352,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8963289183641874432}} 
[2026-09-08 17:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:19] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:19] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:20] local.INFO: TCP Data received {"connection_id":174907,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee6fe8012d54f280067fa1c80034014e2f..."} 
[2026-09-08 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee6fe8012d54f280067fa1c80034014e2f..."} 
[2026-09-08 17:43:20] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee6fe8012d54f280067fa1c80034014e2f..."} 
[2026-09-08 17:43:20] local.INFO: Packet analysis {"connection_id":174907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:20] local.INFO: Extracted packet for processing {"connection_id":174907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":760541824,"raw_latitude":109027784,"longitude_deg":76.0541824,"latitude_deg":10.9027784,"altitude":52,"angle":334,"satellites":47,"speed":31,"hex_longitude":"2d54f280","hex_latitude":"067fa1c8","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950590464001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402907510488432640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6125036258621253632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788869505000,"timestamp_ms":1788869505000,"timestamp_seconds":1788869505,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee6fe8"} 
[2026-09-08 17:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950590464001,"66":27821,"3":206,"19":47872,"24":31,"16":402907510488432640,"45":6125036258621253632},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950590464001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:43:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402907510488432640,"km_value":402907510488432.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6125036258621253632,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950590464001,"power":27821,"unknown_3":206,"unknown_19":47872,"ignition":31,"odometer":null,"unknown_45":6125036258621253632}} 
[2026-09-08 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":174907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:20] local.INFO: GPS data processed {"connection_id":174907,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:20] local.INFO: Acknowledgment sent {"connection_id":174907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:41] local.INFO: TCP Data received {"connection_id":177427,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:43:41] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:43:41] local.INFO: IMEI packet received {"connection_id":177427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":177427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:43:45] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef1bc8012d1abc40071fd868003e007324..."} 
[2026-09-08 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef1bc8012d1abc40071fd868003e007324..."} 
[2026-09-08 17:43:45] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ef1bc8012d1abc40071fd868003e007324..."} 
[2026-09-08 17:43:45] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:45] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119527528,"longitude_deg":75.6726848,"latitude_deg":11.9527528,"altitude":62,"angle":115,"satellites":36,"speed":13,"hex_longitude":"2d1abc40","hex_latitude":"071fd868","is_valid_coordinates":true} 
[2026-09-08 17:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950604288001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793917893836800,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926062927485931520,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43: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-09-08 17:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788869549000,"timestamp_ms":1788869549000,"timestamp_seconds":1788869549,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef1bc8"} 
[2026-09-08 17:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950604288001,"66":13961,"121":206,"28":31744,"24":13,"16":18793917893836800,"45":1926062927485931520},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950604288001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793917893836800,"km_value":18793917893836.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926062927485931520,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950604288001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1926062927485931520}} 
[2026-09-08 17:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:45] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:45] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:47] local.INFO: TCP Data received {"connection_id":177427,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:43:47] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:43:47] local.INFO: IMEI packet received {"connection_id":177427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":177427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:43:50] local.INFO: TCP Data received {"connection_id":177427,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080eea2b0012d54e140067fc2580038014b2d..."} 
[2026-09-08 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080eea2b0012d54e140067fc2580038014b2d..."} 
[2026-09-08 17:43:50] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080eea2b0012d54e140067fc2580038014b2d..."} 
[2026-09-08 17:43:50] local.INFO: Packet analysis {"connection_id":177427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:50] local.INFO: Extracted packet for processing {"connection_id":177427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":760537408,"raw_latitude":109036120,"longitude_deg":76.0537408,"latitude_deg":10.903612,"altitude":56,"angle":331,"satellites":45,"speed":27,"hex_longitude":"2d54e140","hex_latitude":"067fc258","is_valid_coordinates":true} 
[2026-09-08 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950593280001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402907965754966016,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6121095608949393408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788869518000,"timestamp_ms":1788869518000,"timestamp_seconds":1788869518,"priority":1,"record_length":96,"hex_timestamp":"000001a080eea2b0"} 
[2026-09-08 17:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950593280001,"66":27484,"3":206,"19":47872,"24":27,"16":402907965754966016,"45":6121095608949393408},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950593280001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402907965754966016,"km_value":402907965754966.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6121095608949393408,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950593280001,"power":27484,"unknown_3":206,"unknown_19":47872,"ignition":27,"odometer":null,"unknown_45":6121095608949393408}} 
[2026-09-08 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":177427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:50] local.INFO: GPS data processed {"connection_id":177427,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:50] local.INFO: Acknowledgment sent {"connection_id":177427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:43:50] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080ee7ba0012d7c6c4005e213d00009005a25..."} 
[2026-09-08 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ee7ba0012d7c6c4005e213d00009005a25..."} 
[2026-09-08 17:43:50] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ee7ba0012d7c6c4005e213d00009005a25..."} 
[2026-09-08 17:43:50] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:50] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":763128896,"raw_latitude":98702288,"longitude_deg":76.3128896,"latitude_deg":9.8702288,"altitude":9,"angle":90,"satellites":37,"speed":29,"hex_longitude":"2d7c6c40","hex_latitude":"05e213d0","is_valid_coordinates":true} 
[2026-09-08 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950593536001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129984208801103872,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963992871083681792,"note":"Value kept but may cause issues"} 
[2026-09-08 17:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788869508000,"timestamp_ms":1788869508000,"timestamp_seconds":1788869508,"priority":1,"record_length":96,"hex_timestamp":"000001a080ee7ba0"} 
[2026-09-08 17:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 17:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950593536001,"66":13352,"43":206,"85":15104,"24":29,"16":129984208801103872,"45":8963992871083681792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950593536001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129984208801103872,"km_value":129984208801103.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963992871083681792,"description":"Unknown IO ID 45"} 
[2026-09-08 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950593536001,"power":13352,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8963992871083681792}} 
[2026-09-08 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:43:50] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:43:50] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:44:00] local.INFO: TCP Data received {"connection_id":174622,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:44:00] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:44:00] local.INFO: IMEI packet received {"connection_id":174622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":174622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:44:06] local.INFO: TCP Data received {"connection_id":174622,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:44:06] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:44:06] local.INFO: IMEI packet received {"connection_id":174622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":174622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:44:07] local.INFO: TCP Data received {"connection_id":174622,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef1fb0012d1abd80071fd830003e006024..."} 
[2026-09-08 17:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef1fb0012d1abd80071fd830003e006024..."} 
[2026-09-08 17:44:07] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ef1fb0012d1abd80071fd830003e006024..."} 
[2026-09-08 17:44:07] local.INFO: Packet analysis {"connection_id":174622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:44:07] local.INFO: Extracted packet for processing {"connection_id":174622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756727168,"raw_latitude":119527472,"longitude_deg":75.6727168,"latitude_deg":11.9527472,"altitude":62,"angle":96,"satellites":36,"speed":12,"hex_longitude":"2d1abd80","hex_latitude":"071fd830","is_valid_coordinates":true} 
[2026-09-08 17:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950604544001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18793930778738688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139950954496,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44: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-09-08 17:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788869550000,"timestamp_ms":1788869550000,"timestamp_seconds":1788869550,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef1fb0"} 
[2026-09-08 17:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 17:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950604544001,"66":13961,"121":206,"28":31744,"24":12,"16":18793930778738688,"45":1926485139950954496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950604544001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:44:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18793930778738688,"km_value":18793930778738.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139950954496,"description":"Unknown IO ID 45"} 
[2026-09-08 17:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950604544001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1926485139950954496}} 
[2026-09-08 17:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":174622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:44:07] local.INFO: GPS data processed {"connection_id":174622,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:44:07] local.INFO: Acknowledgment sent {"connection_id":174622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:44:09] local.INFO: TCP Data received {"connection_id":174908,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:44:09] local.INFO: Processing buffer {"connection_id":174908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:44:09] local.INFO: IMEI packet received {"connection_id":174908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":174908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:44:13] local.INFO: TCP Data received {"connection_id":174908,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:44:13] local.INFO: Processing buffer {"connection_id":174908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:44:13] local.INFO: IMEI packet received {"connection_id":174908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":174908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:44:15] local.INFO: TCP Data received {"connection_id":174908,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f038f0012d7d960005e201f8000e005e2a..."} 
[2026-09-08 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f038f0012d7d960005e201f8000e005e2a..."} 
[2026-09-08 17:44:15] local.INFO: Processing buffer {"connection_id":174908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f038f0012d7d960005e201f8000e005e2a..."} 
[2026-09-08 17:44:15] local.INFO: Packet analysis {"connection_id":174908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:44:15] local.INFO: Extracted packet for processing {"connection_id":174908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763205120,"raw_latitude":98697720,"longitude_deg":76.320512,"latitude_deg":9.869772,"altitude":14,"angle":94,"satellites":42,"speed":30,"hex_longitude":"2d7d9600","hex_latitude":"05e201f8","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950620416001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129987885293109248,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039287427352786944,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788869622000,"timestamp_ms":1788869622000,"timestamp_seconds":1788869622,"priority":1,"record_length":96,"hex_timestamp":"000001a080f038f0"} 
[2026-09-08 17:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163159864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4015415297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3443195904,"corrected_to":0} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":226,"raw_value":533676590209509376,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":62,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":1157426399112249349,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308366,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792101376,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,85,24,241,157,16,206,160,223,45,128,7,42,10,66,176,14,121,64,1,240,182,227,205,226,4,113,35,62,222,192,40,239,52,2,5,8,29,94],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3443195904,"validated":0}]} 
[2026-09-08 17:44:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225083728345169920,"timestamp_seconds":1225083728345170.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950620416001,"66":13243,"43":206,"85":15104,"24":30,"16":129987885293109248,"45":9039287427352786944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950620416001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:44:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129987885293109248,"km_value":129987885293109.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039287427352786944,"description":"Unknown IO ID 45"} 
[2026-09-08 17:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950620416001,"power":13243,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9039287427352786944}} 
[2026-09-08 17:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":174908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:44:15] local.INFO: GPS data processed {"connection_id":174908,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:44:15] local.INFO: Acknowledgment sent {"connection_id":174908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:44:22] local.INFO: TCP Data received {"connection_id":177427,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080eed960012d54cf80067fe260003c014c2e..."} 
[2026-09-08 17:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080eed960012d54cf80067fe260003c014c2e..."} 
[2026-09-08 17:44:22] local.INFO: Processing buffer {"connection_id":177427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080eed960012d54cf80067fe260003c014c2e..."} 
[2026-09-08 17:44:22] local.INFO: Packet analysis {"connection_id":177427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:44:22] local.INFO: Extracted packet for processing {"connection_id":177427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ee"} 
[2026-09-08 17:44:22] local.INFO: GPS Element Parsed {"raw_longitude":760532864,"raw_latitude":109044320,"longitude_deg":76.0532864,"latitude_deg":10.904432,"altitude":60,"angle":332,"satellites":46,"speed":25,"hex_longitude":"2d54cf80","hex_latitude":"067fe260","is_valid_coordinates":true} 
[2026-09-08 17:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950596608001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402908421021499392,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6116240165603268608,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788869532000,"timestamp_ms":1788869532000,"timestamp_seconds":1788869532,"priority":1,"record_length":96,"hex_timestamp":"000001a080eed960"} 
[2026-09-08 17:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 17:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950596608001,"66":27800,"3":206,"19":47872,"24":25,"16":402908421021499392,"45":6116240165603268608},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950596608001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:44:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402908421021499392,"km_value":402908421021499.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6116240165603268608,"description":"Unknown IO ID 45"} 
[2026-09-08 17:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950596608001,"power":27800,"unknown_3":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6116240165603268608}} 
[2026-09-08 17:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":177427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:44:22] local.INFO: GPS data processed {"connection_id":177427,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:44:22] local.INFO: Acknowledgment sent {"connection_id":177427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:44:38] local.INFO: TCP Data received {"connection_id":174622,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f04890012d1a8f80071fac100035014027..."} 
[2026-09-08 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f04890012d1a8f80071fac100035014027..."} 
[2026-09-08 17:44:38] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f04890012d1a8f80071fac100035014027..."} 
[2026-09-08 17:44:38] local.INFO: Packet analysis {"connection_id":174622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:44:38] local.INFO: Extracted packet for processing {"connection_id":174622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756715392,"raw_latitude":119516176,"longitude_deg":75.6715392,"latitude_deg":11.9516176,"altitude":53,"angle":320,"satellites":39,"speed":29,"hex_longitude":"2d1a8f80","hex_latitude":"071fac10","is_valid_coordinates":true} 
[2026-09-08 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950622208001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18795378182717440,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918744578087464960,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44: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-09-08 17:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788869626000,"timestamp_ms":1788869626000,"timestamp_seconds":1788869626,"priority":1,"record_length":96,"hex_timestamp":"000001a080f04890"} 
[2026-09-08 17:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-08 17:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950622208001,"66":14428,"121":206,"28":31744,"24":29,"16":18795378182717440,"45":1918744578087464960},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950622208001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18795378182717440,"km_value":18795378182717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918744578087464960,"description":"Unknown IO ID 45"} 
[2026-09-08 17:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950622208001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1918744578087464960}} 
[2026-09-08 17:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":174622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:44:38] local.INFO: GPS data processed {"connection_id":174622,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:44:38] local.INFO: Acknowledgment sent {"connection_id":174622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:44:41] local.INFO: TCP Data received {"connection_id":177429,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:44:41] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:44:41] local.INFO: IMEI packet received {"connection_id":177429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":177429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:44:42] local.INFO: TCP Data received {"connection_id":177429,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:44:42] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:44:42] local.INFO: IMEI packet received {"connection_id":177429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":177429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:44:46] local.INFO: TCP Data received {"connection_id":174908,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f06bb8012d7dbc0005e1fe38000c005f2a..."} 
[2026-09-08 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f06bb8012d7dbc0005e1fe38000c005f2a..."} 
[2026-09-08 17:44:46] local.INFO: Processing buffer {"connection_id":174908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f06bb8012d7dbc0005e1fe38000c005f2a..."} 
[2026-09-08 17:44:46] local.INFO: Packet analysis {"connection_id":174908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:44:46] local.INFO: Extracted packet for processing {"connection_id":174908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763214848,"raw_latitude":98696760,"longitude_deg":76.3214848,"latitude_deg":9.869676,"altitude":12,"angle":95,"satellites":42,"speed":35,"hex_longitude":"2d7dbc00","hex_latitude":"05e1fe38","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950623232001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129988353444544512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049420526514206720,"note":"Value kept but may cause issues"} 
[2026-09-08 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788869635000,"timestamp_ms":1788869635000,"timestamp_seconds":1788869635,"priority":1,"record_length":96,"hex_timestamp":"000001a080f06bb8"} 
[2026-09-08 17:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 17:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950623232001,"66":13319,"43":206,"85":15104,"24":35,"16":129988353444544512,"45":9049420526514206720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-08 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950623232001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:44:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-08 17:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129988353444544512,"km_value":129988353444544.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049420526514206720,"description":"Unknown IO ID 45"} 
[2026-09-08 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950623232001,"power":13319,"unknown_43":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9049420526514206720}} 
[2026-09-08 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":174908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:44:46] local.INFO: GPS data processed {"connection_id":174908,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:44:46] local.INFO: Acknowledgment sent {"connection_id":174908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:01] local.INFO: TCP Data received {"connection_id":177430,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:45:01] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:45:01] local.INFO: IMEI packet received {"connection_id":177430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":177430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:45:05] local.INFO: TCP Data received {"connection_id":177429,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:05] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:05] local.INFO: IMEI packet received {"connection_id":177429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":177429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:45:05] local.INFO: TCP Data received {"connection_id":177430,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:45:05] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:45:05] local.INFO: IMEI packet received {"connection_id":177430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":177430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:45:06] local.INFO: TCP Data received {"connection_id":177430,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f07388012d1a7b40071fc8800033014b27..."} 
[2026-09-08 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f07388012d1a7b40071fc8800033014b27..."} 
[2026-09-08 17:45:06] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f07388012d1a7b40071fc8800033014b27..."} 
[2026-09-08 17:45:06] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:45:06] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f0"} 
[2026-09-08 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756710208,"raw_latitude":119523456,"longitude_deg":75.6710208,"latitude_deg":11.9523456,"altitude":51,"angle":331,"satellites":39,"speed":34,"hex_longitude":"2d1a7b40","hex_latitude":"071fc880","is_valid_coordinates":true} 
[2026-09-08 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950624256001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18795807679447040,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913889134740246528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:06] 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-09-08 17:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788869637000,"timestamp_ms":1788869637000,"timestamp_seconds":1788869637,"priority":1,"record_length":96,"hex_timestamp":"000001a080f07388"} 
[2026-09-08 17:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950624256001,"66":14428,"121":206,"28":31744,"24":34,"16":18795807679447040,"45":1913889134740246528},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950624256001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18795807679447040,"km_value":18795807679447.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913889134740246528,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950624256001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1913889134740246528}} 
[2026-09-08 17:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:06] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:06] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:08] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:45:08] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:45:08] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:45:11] local.INFO: TCP Data received {"connection_id":177429,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef1010012d54bec0068001780040014b2d..."} 
[2026-09-08 17:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef1010012d54bec0068001780040014b2d..."} 
[2026-09-08 17:45:11] local.INFO: Processing buffer {"connection_id":177429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ef1010012d54bec0068001780040014b2d..."} 
[2026-09-08 17:45:11] local.INFO: Packet analysis {"connection_id":177429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:45:11] local.INFO: Extracted packet for processing {"connection_id":177429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":760528576,"raw_latitude":109052280,"longitude_deg":76.0528576,"latitude_deg":10.905228,"altitude":64,"angle":331,"satellites":45,"speed":25,"hex_longitude":"2d54bec0","hex_latitude":"06800178","is_valid_coordinates":true} 
[2026-09-08 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950600192001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402908859108163584,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6111243984768753664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788869546000,"timestamp_ms":1788869546000,"timestamp_seconds":1788869546,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef1010"} 
[2026-09-08 17:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950600192001,"66":27745,"3":206,"19":47872,"24":25,"16":402908859108163584,"45":6111243984768753664},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950600192001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402908859108163584,"km_value":402908859108163.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6111243984768753664,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950600192001,"power":27745,"unknown_3":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6111243984768753664}} 
[2026-09-08 17:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":177429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:11] local.INFO: GPS data processed {"connection_id":177429,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:11] local.INFO: Acknowledgment sent {"connection_id":177429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:12] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:45:12] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:45:12] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:45:12] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f132f0012d7e2d0005e20820000800a225..."} 
[2026-09-08 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f132f0012d7e2d0005e20820000800a225..."} 
[2026-09-08 17:45:12] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f132f0012d7e2d0005e20820000800a225..."} 
[2026-09-08 17:45:12] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:45:12] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763243776,"raw_latitude":98699296,"longitude_deg":76.3243776,"latitude_deg":9.8699296,"altitude":8,"angle":162,"satellites":37,"speed":20,"hex_longitude":"2d7e2d00","hex_latitude":"05e20820","is_valid_coordinates":true} 
[2026-09-08 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950639360001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129989856683098112,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091852879253870592,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788869686000,"timestamp_ms":1788869686000,"timestamp_seconds":1788869686,"priority":1,"record_length":96,"hex_timestamp":"000001a080f132f0"} 
[2026-09-08 17:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950639360001,"66":13102,"198":206,"85":15104,"24":20,"16":129989856683098112,"45":9091852879253870592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-08 17:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950639360001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129989856683098112,"km_value":129989856683098.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091852879253870592,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950639360001,"power":13102,"unknown_198":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9091852879253870592}} 
[2026-09-08 17:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:12] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:12] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:14] local.INFO: TCP Data received {"connection_id":174624,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:45:14] local.INFO: Processing buffer {"connection_id":174624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:45:14] local.INFO: IMEI packet received {"connection_id":174624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":174624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:45:38] local.INFO: TCP Data received {"connection_id":177430,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f14290012d19df40072008d8002f013526..."} 
[2026-09-08 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f14290012d19df40072008d8002f013526..."} 
[2026-09-08 17:45:38] local.INFO: Processing buffer {"connection_id":177430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f14290012d19df40072008d8002f013526..."} 
[2026-09-08 17:45:38] local.INFO: Packet analysis {"connection_id":177430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:45:38] local.INFO: Extracted packet for processing {"connection_id":177430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119539928,"longitude_deg":75.6670272,"latitude_deg":11.9539928,"altitude":47,"angle":309,"satellites":38,"speed":25,"hex_longitude":"2d19df40","hex_latitude":"072008d8","is_valid_coordinates":true} 
[2026-09-08 17:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950639360001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18797946573160448,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866390232425777152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45: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-09-08 17:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788869690000,"timestamp_ms":1788869690000,"timestamp_seconds":1788869690,"priority":1,"record_length":96,"hex_timestamp":"000001a080f14290"} 
[2026-09-08 17:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950639360001,"66":14374,"121":206,"28":31744,"24":25,"16":18797946573160448,"45":1866390232425777152},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950639360001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18797946573160448,"km_value":18797946573160.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866390232425777152,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950639360001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1866390232425777152}} 
[2026-09-08 17:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":177430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:38] local.INFO: GPS data processed {"connection_id":177430,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:38] local.INFO: Acknowledgment sent {"connection_id":177430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:43] local.INFO: TCP Data received {"connection_id":175975,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:45:43] local.INFO: Processing buffer {"connection_id":175975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:45:43] local.INFO: IMEI packet received {"connection_id":175975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:45:43] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f13ea8012d7e2d4005e204d8000800b529..."} 
[2026-09-08 17:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f13ea8012d7e2d4005e204d8000800b529..."} 
[2026-09-08 17:45:43] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f13ea8012d7e2d4005e204d8000800b529..."} 
[2026-09-08 17:45:43] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:45:43] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763243840,"raw_latitude":98698456,"longitude_deg":76.324384,"latitude_deg":9.8698456,"altitude":8,"angle":181,"satellites":41,"speed":7,"hex_longitude":"2d7e2d40","hex_latitude":"05e204d8","is_valid_coordinates":true} 
[2026-09-08 17:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950639616001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129989899632771072,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091923247997919232,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788869689000,"timestamp_ms":1788869689000,"timestamp_seconds":1788869689,"priority":1,"record_length":96,"hex_timestamp":"000001a080f13ea8"} 
[2026-09-08 17:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950639616001,"66":13352,"198":206,"85":15104,"24":7,"16":129989899632771072,"45":9091923247997919232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-08 17:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950639616001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-08 17:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129989899632771072,"km_value":129989899632771.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091923247997919232,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950639616001,"power":13352,"unknown_198":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9091923247997919232}} 
[2026-09-08 17:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:44] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:44] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:47] local.INFO: TCP Data received {"connection_id":174910,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:47] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:47] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:45:52] local.INFO: TCP Data received {"connection_id":174910,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:52] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:45:52] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:45:53] local.INFO: TCP Data received {"connection_id":174910,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef4aa8012d54acc0068021e00045014c2e..."} 
[2026-09-08 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef4aa8012d54acc0068021e00045014c2e..."} 
[2026-09-08 17:45:53] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ef4aa8012d54acc0068021e00045014c2e..."} 
[2026-09-08 17:45:53] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:45:53] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:45:53] local.INFO: GPS Element Parsed {"raw_longitude":760523968,"raw_latitude":109060576,"longitude_deg":76.0523968,"latitude_deg":10.9060576,"altitude":69,"angle":332,"satellites":46,"speed":24,"hex_longitude":"2d54acc0","hex_latitude":"068021e0","is_valid_coordinates":true} 
[2026-09-08 17:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950603776001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402909314374696960,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6106529278910887936,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788869561000,"timestamp_ms":1788869561000,"timestamp_seconds":1788869561,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef4aa8"} 
[2026-09-08 17:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950603776001,"66":27767,"3":206,"19":47872,"24":24,"16":402909314374696960,"45":6106529278910887936},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950603776001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:53] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:45:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402909314374696960,"km_value":402909314374696.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6106529278910887936,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950603776001,"power":27767,"unknown_3":206,"unknown_19":47872,"ignition":24,"odometer":null,"unknown_45":6106529278910887936}} 
[2026-09-08 17:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:53] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:53] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:45:54] local.INFO: TCP Data received {"connection_id":174910,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ef8158012d549bc0068040c0004a014b2e..."} 
[2026-09-08 17:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ef8158012d549bc0068040c0004a014b2e..."} 
[2026-09-08 17:45:54] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ef8158012d549bc0068040c0004a014b2e..."} 
[2026-09-08 17:45:54] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:45:54] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":760519616,"raw_latitude":109068480,"longitude_deg":76.0519616,"latitude_deg":10.906848,"altitude":74,"angle":331,"satellites":46,"speed":25,"hex_longitude":"2d549bc0","hex_latitude":"068040c0","is_valid_coordinates":true} 
[2026-09-08 17:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950607616001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402909752461361152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6101462729332219904,"note":"Value kept but may cause issues"} 
[2026-09-08 17:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788869575000,"timestamp_ms":1788869575000,"timestamp_seconds":1788869575,"priority":1,"record_length":96,"hex_timestamp":"000001a080ef8158"} 
[2026-09-08 17:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 17:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950607616001,"66":27821,"3":206,"19":47872,"24":25,"16":402909752461361152,"45":6101462729332219904},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950607616001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:45:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402909752461361152,"km_value":402909752461361.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6101462729332219904,"description":"Unknown IO ID 45"} 
[2026-09-08 17:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950607616001,"power":27821,"unknown_3":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6101462729332219904}} 
[2026-09-08 17:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:45:54] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:45:54] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:46:00] local.INFO: TCP Data received {"connection_id":175976,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:46:00] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:46:00] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:46:05] local.INFO: TCP Data received {"connection_id":175976,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:46:05] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:46:05] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:46:06] local.INFO: TCP Data received {"connection_id":175976,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f14e48012d19d90007200cb0002f012926..."} 
[2026-09-08 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f14e48012d19d90007200cb0002f012926..."} 
[2026-09-08 17:46:06] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f14e48012d19d90007200cb0002f012926..."} 
[2026-09-08 17:46:06] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:46:06] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f1"} 
[2026-09-08 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756668672,"raw_latitude":119540912,"longitude_deg":75.6668672,"latitude_deg":11.9540912,"altitude":47,"angle":297,"satellites":38,"speed":24,"hex_longitude":"2d19d900","hex_latitude":"07200cb0","is_valid_coordinates":true} 
[2026-09-08 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950640640001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18798036767473664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101073920,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:06] 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-09-08 17:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788869693000,"timestamp_ms":1788869693000,"timestamp_seconds":1788869693,"priority":1,"record_length":96,"hex_timestamp":"000001a080f14e48"} 
[2026-09-08 17:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-08 17:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950640640001,"66":14374,"121":206,"28":31744,"24":24,"16":18798036767473664,"45":1864279170101073920},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950640640001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18798036767473664,"km_value":18798036767473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101073920,"description":"Unknown IO ID 45"} 
[2026-09-08 17:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950640640001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1864279170101073920}} 
[2026-09-08 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:46:06] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:46:06] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:46:08] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:46:08] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:46:08] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:46:10] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:46:10] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:46:10] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:46:11] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f257e8012d7e13c005e10be0000400c725..."} 
[2026-09-08 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f257e8012d7e13c005e10be0000400c725..."} 
[2026-09-08 17:46:11] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f257e8012d7e13c005e10be0000400c725..."} 
[2026-09-08 17:46:11] local.INFO: Packet analysis {"connection_id":174625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:11] local.INFO: Extracted packet for processing {"connection_id":174625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763237312,"raw_latitude":98634720,"longitude_deg":76.3237312,"latitude_deg":9.863472,"altitude":4,"angle":199,"satellites":37,"speed":27,"hex_longitude":"2d7e13c0","hex_latitude":"05e10be0","is_valid_coordinates":true} 
[2026-09-08 17:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950657280001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129993082203537408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087419648355035136,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788869761000,"timestamp_ms":1788869761000,"timestamp_seconds":1788869761,"priority":1,"record_length":96,"hex_timestamp":"000001a080f257e8"} 
[2026-09-08 17:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147869058,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":-7457959688023900155,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163322864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3785797632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4058423297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4884153765805021952,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3533832192,"corrected_to":0} 
[2026-09-08 17:46:11] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57807674247370043,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,85,24,241,157,16,211,160,56,45,192,33,5,39,10,66,48,128,40,38,9,1,240,227,225,4,113,205,42,215,232,37,239,198,2,6,187],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3533832192,"validated":0}]} 
[2026-09-08 17:46:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360520134648987648,"timestamp_seconds":360520134648987.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950657280001,"66":13363,"105":206,"85":15104,"24":27,"16":129993082203537408,"45":9087419648355035136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-08 17:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950657280001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:46:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 17:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129993082203537408,"km_value":129993082203537.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087419648355035136,"description":"Unknown IO ID 45"} 
[2026-09-08 17:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950657280001,"power":13363,"unknown_105":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9087419648355035136}} 
[2026-09-08 17:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":174625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:46:11] local.INFO: GPS data processed {"connection_id":174625,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:46:11] local.INFO: Acknowledgment sent {"connection_id":174625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:46:26] local.INFO: TCP Data received {"connection_id":174910,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080efb808012d5489c006805f78004e014531..."} 
[2026-09-08 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080efb808012d5489c006805f78004e014531..."} 
[2026-09-08 17:46:26] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080efb808012d5489c006805f78004e014531..."} 
[2026-09-08 17:46:26] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:46:26] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ef"} 
[2026-09-08 17:46:26] local.INFO: GPS Element Parsed {"raw_longitude":760515008,"raw_latitude":109076344,"longitude_deg":76.0515008,"latitude_deg":10.9076344,"altitude":78,"angle":325,"satellites":49,"speed":25,"hex_longitude":"2d5489c0","hex_latitude":"06805f78","is_valid_coordinates":true} 
[2026-09-08 17:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950611200001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402910190548025344,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6096677654730162176,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788869589000,"timestamp_ms":1788869589000,"timestamp_seconds":1788869589,"priority":1,"record_length":96,"hex_timestamp":"000001a080efb808"} 
[2026-09-08 17:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 17:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950611200001,"66":27908,"3":206,"19":47872,"24":25,"16":402910190548025344,"45":6096677654730162176},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-09-08 17:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950611200001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:46:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-08 17:46:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402910190548025344,"km_value":402910190548025.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6096677654730162176,"description":"Unknown IO ID 45"} 
[2026-09-08 17:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950611200001,"power":27908,"unknown_3":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6096677654730162176}} 
[2026-09-08 17:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:46:26] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:46:26] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:46:37] local.INFO: TCP Data received {"connection_id":175976,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f24078012d19b9800720a8a00032014823..."} 
[2026-09-08 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f24078012d19b9800720a8a00032014823..."} 
[2026-09-08 17:46:37] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f24078012d19b9800720a8a00032014823..."} 
[2026-09-08 17:46:37] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:37] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119580832,"longitude_deg":75.6660608,"latitude_deg":11.9580832,"altitude":50,"angle":328,"satellites":35,"speed":13,"hex_longitude":"2d19b980","hex_latitude":"0720a8a0","is_valid_coordinates":true} 
[2026-09-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950657024001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18800167071252480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229005824,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46: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-09-08 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788869755000,"timestamp_ms":1788869755000,"timestamp_seconds":1788869755,"priority":1,"record_length":96,"hex_timestamp":"000001a080f24078"} 
[2026-09-08 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950657024001,"66":13961,"121":206,"28":31744,"24":13,"16":18800167071252480,"45":1853794227229005824},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950657024001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18800167071252480,"km_value":18800167071252.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229005824,"description":"Unknown IO ID 45"} 
[2026-09-08 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950657024001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1853794227229005824}} 
[2026-09-08 17:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:46:38] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:46:38] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:46:39] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:39] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:39] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:46:41] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:41] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:41] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:46:42] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f263a0012d7e120005e10488000300bc24..."} 
[2026-09-08 17:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f263a0012d7e120005e10488000300bc24..."} 
[2026-09-08 17:46:42] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f263a0012d7e120005e10488000300bc24..."} 
[2026-09-08 17:46:42] local.INFO: Packet analysis {"connection_id":174625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:42] local.INFO: Extracted packet for processing {"connection_id":174625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":98632840,"longitude_deg":76.3236864,"latitude_deg":9.863284,"altitude":3,"angle":188,"satellites":36,"speed":24,"hex_longitude":"2d7e1200","hex_latitude":"05e10488","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950658816001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129993176692817920,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084816004819443712,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788869764000,"timestamp_ms":1788869764000,"timestamp_seconds":1788869764,"priority":1,"record_length":96,"hex_timestamp":"000001a080f263a0"} 
[2026-09-08 17:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 17:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950658816001,"66":13189,"105":206,"85":15104,"24":24,"16":129993176692817920,"45":9084816004819443712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-08 17:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950658816001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:46:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 17:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129993176692817920,"km_value":129993176692817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084816004819443712,"description":"Unknown IO ID 45"} 
[2026-09-08 17:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950658816001,"power":13189,"unknown_105":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9084816004819443712}} 
[2026-09-08 17:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":174625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:46:42] local.INFO: GPS data processed {"connection_id":174625,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:46:42] local.INFO: Acknowledgment sent {"connection_id":174625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:46:47] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:47] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:46:47] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:46:49] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f201f8012d53600006816a500081013a2b..."} 
[2026-09-08 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f201f8012d53600006816a500081013a2b..."} 
[2026-09-08 17:46:49] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f201f8012d53600006816a500081013a2b..."} 
[2026-09-08 17:46:49] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:49] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:46:49] local.INFO: GPS Element Parsed {"raw_longitude":760438784,"raw_latitude":109144656,"longitude_deg":76.0438784,"latitude_deg":10.9144656,"altitude":129,"angle":314,"satellites":43,"speed":30,"hex_longitude":"2d536000","hex_latitude":"06816a50","is_valid_coordinates":true} 
[2026-09-08 17:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950649856001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402915116875513856,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6015401755222808576,"note":"Value kept but may cause issues"} 
[2026-09-08 17:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788869739000,"timestamp_ms":1788869739000,"timestamp_seconds":1788869739,"priority":1,"record_length":96,"hex_timestamp":"000001a080f201f8"} 
[2026-09-08 17:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 17:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950649856001,"66":27800,"202":206,"19":47872,"24":30,"16":402915116875513856,"45":6015401755222808576},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,19,24,16,45]} 
[2026-09-08 17:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950649856001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:46:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402915116875513856,"km_value":402915116875513.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6015401755222808576,"description":"Unknown IO ID 45"} 
[2026-09-08 17:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950649856001,"power":27800,"mcc":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6015401755222808576}} 
[2026-09-08 17:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:46:49] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:46:49] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:47:01] local.INFO: TCP Data received {"connection_id":174911,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:01] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:01] local.INFO: IMEI packet received {"connection_id":174911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":174911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:47:06] local.INFO: TCP Data received {"connection_id":174911,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:06] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:06] local.INFO: IMEI packet received {"connection_id":174911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":174911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:47:07] local.INFO: TCP Data received {"connection_id":174911,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f24460012d19b8400720a9980032013525..."} 
[2026-09-08 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f24460012d19b8400720a9980032013525..."} 
[2026-09-08 17:47:07] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f24460012d19b8400720a9980032013525..."} 
[2026-09-08 17:47:07] local.INFO: Packet analysis {"connection_id":174911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:47:07] local.INFO: Extracted packet for processing {"connection_id":174911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581080,"longitude_deg":75.6660288,"latitude_deg":11.958108,"altitude":50,"angle":309,"satellites":37,"speed":15,"hex_longitude":"2d19b840","hex_latitude":"0720a998","is_valid_coordinates":true} 
[2026-09-08 17:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950657280001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18800184251121664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740718080,"note":"Value kept but may cause issues"} 
[2026-09-08 17: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-09-08 17:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788869756000,"timestamp_ms":1788869756000,"timestamp_seconds":1788869756,"priority":1,"record_length":96,"hex_timestamp":"000001a080f24460"} 
[2026-09-08 17:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 17:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950657280001,"66":13961,"121":206,"28":31744,"24":15,"16":18800184251121664,"45":1853653489740718080},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950657280001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:47:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18800184251121664,"km_value":18800184251121.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740718080,"description":"Unknown IO ID 45"} 
[2026-09-08 17:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950657280001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1853653489740718080}} 
[2026-09-08 17:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":174911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:47:07] local.INFO: GPS data processed {"connection_id":174911,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:47:07] local.INFO: Acknowledgment sent {"connection_id":174911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:47:08] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:47:08] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:47:08] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:47:13] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:47:13] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:47:13] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:47:13] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f34e00012d7e3fc005e05ac0000900b126..."} 
[2026-09-08 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f34e00012d7e3fc005e05ac0000900b126..."} 
[2026-09-08 17:47:13] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f34e00012d7e3fc005e05ac0000900b126..."} 
[2026-09-08 17:47:13] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:47:13] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763248576,"raw_latitude":98589376,"longitude_deg":76.3248576,"latitude_deg":9.8589376,"altitude":9,"angle":177,"satellites":38,"speed":40,"hex_longitude":"2d7e3fc0","hex_latitude":"05e05ac0","is_valid_coordinates":true} 
[2026-09-08 17:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950672896001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129995504565092352,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528901906432,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788869824000,"timestamp_ms":1788869824000,"timestamp_seconds":1788869824,"priority":1,"record_length":96,"hex_timestamp":"000001a080f34e00"} 
[2026-09-08 17:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 17:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950672896001,"66":12863,"105":206,"85":15104,"24":40,"16":129995504565092352,"45":9095793528901906432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-08 17:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950672896001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:47:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 17:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129995504565092352,"km_value":129995504565092.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528901906432,"description":"Unknown IO ID 45"} 
[2026-09-08 17:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950672896001,"power":12863,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9095793528901906432}} 
[2026-09-08 17:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:47:13] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:47:13] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:47:21] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f22cf0012d53464006818240008401392e..."} 
[2026-09-08 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f22cf0012d53464006818240008401392e..."} 
[2026-09-08 17:47:21] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f22cf0012d53464006818240008401392e..."} 
[2026-09-08 17:47:21] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:47:21] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:47:21] local.INFO: GPS Element Parsed {"raw_longitude":760432192,"raw_latitude":109150784,"longitude_deg":76.0432192,"latitude_deg":10.9150784,"altitude":132,"angle":313,"satellites":46,"speed":35,"hex_longitude":"2d534640","hex_latitude":"06818240","is_valid_coordinates":true} 
[2026-09-08 17:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950653184001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402915546372243456,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6007801930853273600,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788869750000,"timestamp_ms":1788869750000,"timestamp_seconds":1788869750,"priority":1,"record_length":96,"hex_timestamp":"000001a080f22cf0"} 
[2026-09-08 17:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950653184001,"66":27843,"202":206,"19":47872,"24":35,"16":402915546372243456,"45":6007801930853273600},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,19,24,16,45]} 
[2026-09-08 17:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950653184001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:47:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402915546372243456,"km_value":402915546372243.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6007801930853273600,"description":"Unknown IO ID 45"} 
[2026-09-08 17:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950653184001,"power":27843,"mcc":206,"unknown_19":47872,"ignition":35,"odometer":null,"unknown_45":6007801930853273600}} 
[2026-09-08 17:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:47:21] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:47:21] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:47:39] local.INFO: TCP Data received {"connection_id":174911,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f24c30012d19b5000720ab600033012523..."} 
[2026-09-08 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f24c30012d19b5000720ab600033012523..."} 
[2026-09-08 17:47:39] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f24c30012d19b5000720ab600033012523..."} 
[2026-09-08 17:47:39] local.INFO: Packet analysis {"connection_id":174911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:47:39] local.INFO: Extracted packet for processing {"connection_id":174911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756659456,"raw_latitude":119581536,"longitude_deg":75.6659456,"latitude_deg":11.9581536,"altitude":51,"angle":293,"satellites":35,"speed":20,"hex_longitude":"2d19b500","hex_latitude":"0720ab60","is_valid_coordinates":true} 
[2026-09-08 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950657536001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18800231495761920,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019893248,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47: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-09-08 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788869758000,"timestamp_ms":1788869758000,"timestamp_seconds":1788869758,"priority":1,"record_length":96,"hex_timestamp":"000001a080f24c30"} 
[2026-09-08 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-08 17:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950657536001,"66":13102,"121":206,"28":31744,"24":20,"16":18800231495761920,"45":1853301646019893248},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950657536001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18800231495761920,"km_value":18800231495761.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019893248,"description":"Unknown IO ID 45"} 
[2026-09-08 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950657536001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1853301646019893248}} 
[2026-09-08 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":174911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:47:39] local.INFO: GPS data processed {"connection_id":174911,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:47:39] local.INFO: Acknowledgment sent {"connection_id":174911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:47:45] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f34e00012d7e3fc005e05ac0000900b126..."} 
[2026-09-08 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f34e00012d7e3fc005e05ac0000900b126..."} 
[2026-09-08 17:47:45] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f34e00012d7e3fc005e05ac0000900b126..."} 
[2026-09-08 17:47:45] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:47:45] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763248576,"raw_latitude":98589376,"longitude_deg":76.3248576,"latitude_deg":9.8589376,"altitude":9,"angle":177,"satellites":38,"speed":40,"hex_longitude":"2d7e3fc0","hex_latitude":"05e05ac0","is_valid_coordinates":true} 
[2026-09-08 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950674944001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129995504565092352,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903783104512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788869824000,"timestamp_ms":1788869824000,"timestamp_seconds":1788869824,"priority":1,"record_length":96,"hex_timestamp":"000001a080f34e00"} 
[2026-09-08 17:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 17:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950674944001,"66":12863,"105":206,"85":15104,"24":40,"16":129995504565092352,"45":9097200903783104512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-08 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950674944001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:47:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 17:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129995504565092352,"km_value":129995504565092.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903783104512,"description":"Unknown IO ID 45"} 
[2026-09-08 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950674944001,"power":12863,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9097200903783104512}} 
[2026-09-08 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:47:45] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:47:45] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:47:59] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:59] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:47:59] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:48:00] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:48:00] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:48:00] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:05] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:48:05] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:48:05] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:06] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f263a0012d19a9800720afa00037011822..."} 
[2026-09-08 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f263a0012d19a9800720afa00037011822..."} 
[2026-09-08 17:48:06] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f263a0012d19a9800720afa00037011822..."} 
[2026-09-08 17:48:06] local.INFO: Packet analysis {"connection_id":174627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:06] local.INFO: Extracted packet for processing {"connection_id":174627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582624,"longitude_deg":75.6656512,"latitude_deg":11.9582624,"altitude":55,"angle":280,"satellites":34,"speed":21,"hex_longitude":"2d19a980","hex_latitude":"0720afa0","is_valid_coordinates":true} 
[2026-09-08 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950658048001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18800381819617280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852386852345700352,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:06] 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-09-08 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788869764000,"timestamp_ms":1788869764000,"timestamp_seconds":1788869764,"priority":1,"record_length":96,"hex_timestamp":"000001a080f263a0"} 
[2026-09-08 17:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950658048001,"66":12841,"121":206,"28":31744,"24":21,"16":18800381819617280,"45":1852386852345700352},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950658048001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18800381819617280,"km_value":18800381819617.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852386852345700352,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950658048001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1852386852345700352}} 
[2026-09-08 17:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":174627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:07] local.INFO: GPS data processed {"connection_id":174627,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:07] local.INFO: Acknowledgment sent {"connection_id":174627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:08] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:48:08] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:48:08] local.INFO: IMEI packet received {"connection_id":177432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":177432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:48:12] local.INFO: TCP Data received {"connection_id":175978,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:12] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:12] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:48:13] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:48:13] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:48:13] local.INFO: IMEI packet received {"connection_id":177432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":177432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:14] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f36958012d7e440005e03f88000800a128..."} 
[2026-09-08 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f36958012d7e440005e03f88000800a128..."} 
[2026-09-08 17:48:14] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f36958012d7e440005e03f88000800a128..."} 
[2026-09-08 17:48:14] local.INFO: Packet analysis {"connection_id":177432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:48:14] local.INFO: Extracted packet for processing {"connection_id":177432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763249664,"raw_latitude":98582408,"longitude_deg":76.3249664,"latitude_deg":9.8582408,"altitude":8,"angle":161,"satellites":40,"speed":42,"hex_longitude":"2d7e4400","hex_latitude":"05e03f88","is_valid_coordinates":true} 
[2026-09-08 17:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950674944001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129995848162476032,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903783104512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788869831000,"timestamp_ms":1788869831000,"timestamp_seconds":1788869831,"priority":1,"record_length":96,"hex_timestamp":"000001a080f36958"} 
[2026-09-08 17:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950674944001,"66":13450,"104":206,"85":15104,"24":42,"16":129995848162476032,"45":9097200903783104512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-08 17:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950674944001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 17:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129995848162476032,"km_value":129995848162476.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903783104512,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950674944001,"power":13450,"unknown_104":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9097200903783104512}} 
[2026-09-08 17:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":177432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:14] local.INFO: GPS data processed {"connection_id":177432,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:14] local.INFO: Acknowledgment sent {"connection_id":177432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:15] local.INFO: TCP Data received {"connection_id":175978,"ip":"117.225.171.207","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 17:48:15] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 17:48:15] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:20] local.INFO: TCP Data received {"connection_id":175978,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f25400012d532b8006819b580086013932..."} 
[2026-09-08 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f25400012d532b8006819b580086013932..."} 
[2026-09-08 17:48:20] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a080..."} 
[2026-09-08 17:48:20] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:22] local.INFO: TCP Data received {"connection_id":175978,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f27728012d5311800681b4280087013930..."} 
[2026-09-08 17:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f27728012d5311800681b4280087013930..."} 
[2026-09-08 17:48:22] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a080f25400012d532b8006819b580086013932..."} 
[2026-09-08 17:48:22] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:22] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":760425344,"raw_latitude":109157208,"longitude_deg":76.0425344,"latitude_deg":10.9157208,"altitude":134,"angle":313,"satellites":50,"speed":39,"hex_longitude":"2d532b80","hex_latitude":"06819b58","is_valid_coordinates":true} 
[2026-09-08 17:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950656000001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402915997343809536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6000553950204542976,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788869760000,"timestamp_ms":1788869760000,"timestamp_seconds":1788869760,"priority":1,"record_length":96,"hex_timestamp":"000001a080f25400"} 
[2026-09-08 17:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950656000001,"66":27767,"201":206,"19":47872,"24":39,"16":402915997343809536,"45":6000553950204542976},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950656000001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402915997343809536,"km_value":402915997343809.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6000553950204542976,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950656000001,"power":27767,"unknown_201":206,"unknown_19":47872,"ignition":39,"odometer":null,"unknown_45":6000553950204542976}} 
[2026-09-08 17:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:22] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:22] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:22] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:22] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":760418688,"raw_latitude":109163560,"longitude_deg":76.0418688,"latitude_deg":10.916356,"altitude":135,"angle":313,"satellites":48,"speed":40,"hex_longitude":"2d531180","hex_latitude":"0681b428","is_valid_coordinates":true} 
[2026-09-08 17:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950658560001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402916439725441024,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993024494579177472,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788869769000,"timestamp_ms":1788869769000,"timestamp_seconds":1788869769,"priority":1,"record_length":96,"hex_timestamp":"000001a080f27728"} 
[2026-09-08 17:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950658560001,"66":27745,"201":206,"19":47872,"24":40,"16":402916439725441024,"45":5993024494579177472},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-09-08 17:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950658560001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402916439725441024,"km_value":402916439725441.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993024494579177472,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950658560001,"power":27745,"unknown_201":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5993024494579177472}} 
[2026-09-08 17:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:22] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:22] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:25] local.INFO: TCP Data received {"connection_id":175978,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f29a50012d52f5800681cd000088013731..."} 
[2026-09-08 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f29a50012d52f5800681cd000088013731..."} 
[2026-09-08 17:48:25] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f29a50012d52f5800681cd000088013731..."} 
[2026-09-08 17:48:25] local.INFO: Packet analysis {"connection_id":175978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:25] local.INFO: Extracted packet for processing {"connection_id":175978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":760411520,"raw_latitude":109169920,"longitude_deg":76.041152,"latitude_deg":10.916992,"altitude":136,"angle":311,"satellites":49,"speed":43,"hex_longitude":"2d52f580","hex_latitude":"0681cd00","is_valid_coordinates":true} 
[2026-09-08 17:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950660864001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402916899286941696,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5985706145186326528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788869778000,"timestamp_ms":1788869778000,"timestamp_seconds":1788869778,"priority":1,"record_length":96,"hex_timestamp":"000001a080f29a50"} 
[2026-09-08 17:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950660864001,"66":27745,"201":206,"19":47872,"24":43,"16":402916899286941696,"45":5985706145186326528},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-09-08 17:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950660864001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-08 17:48:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402916899286941696,"km_value":402916899286941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5985706145186326528,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950660864001,"power":27745,"unknown_201":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5985706145186326528}} 
[2026-09-08 17:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":175978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:25] local.INFO: GPS data processed {"connection_id":175978,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:25] local.INFO: Acknowledgment sent {"connection_id":175978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:38] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f29668012d198bc00720b2e8003a010b24..."} 
[2026-09-08 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f29668012d198bc00720b2e8003a010b24..."} 
[2026-09-08 17:48:38] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f29668012d198bc00720b2e8003a010b24..."} 
[2026-09-08 17:48:38] local.INFO: Packet analysis {"connection_id":174627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:38] local.INFO: Extracted packet for processing {"connection_id":174627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f2"} 
[2026-09-08 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583464,"longitude_deg":75.6648896,"latitude_deg":11.9583464,"altitude":58,"angle":267,"satellites":36,"speed":8,"hex_longitude":"2d198bc0","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-09-08 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950659584001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18800746891837440,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113806336,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48: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-09-08 17:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788869777000,"timestamp_ms":1788869777000,"timestamp_seconds":1788869777,"priority":1,"record_length":96,"hex_timestamp":"000001a080f29668"} 
[2026-09-08 17:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950659584001,"66":14428,"121":206,"28":31744,"24":8,"16":18800746891837440,"45":1849149890113806336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950659584001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18800746891837440,"km_value":18800746891837.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113806336,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950659584001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1849149890113806336}} 
[2026-09-08 17:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":174627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:38] local.INFO: GPS data processed {"connection_id":174627,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:38] local.INFO: Acknowledgment sent {"connection_id":174627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:39] local.INFO: TCP Data received {"connection_id":177433,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:39] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:39] local.INFO: IMEI packet received {"connection_id":177433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":177433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:48:41] local.INFO: TCP Data received {"connection_id":177433,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:41] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:41] local.INFO: IMEI packet received {"connection_id":177433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":177433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:45] local.INFO: TCP Data received {"connection_id":177432,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f38898012d7e50c005e01eb00005009f28..."} 
[2026-09-08 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f38898012d7e50c005e01eb00005009f28..."} 
[2026-09-08 17:48:45] local.INFO: Processing buffer {"connection_id":177432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f38898012d7e50c005e01eb00005009f28..."} 
[2026-09-08 17:48:45] local.INFO: Packet analysis {"connection_id":177432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:48:45] local.INFO: Extracted packet for processing {"connection_id":177432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763252928,"raw_latitude":98574000,"longitude_deg":76.3252928,"latitude_deg":9.8574,"altitude":5,"angle":159,"satellites":40,"speed":45,"hex_longitude":"2d7e50c0","hex_latitude":"05e01eb0","is_valid_coordinates":true} 
[2026-09-08 17:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950676736001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129996286249140224,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098397172432340992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788869839000,"timestamp_ms":1788869839000,"timestamp_seconds":1788869839,"priority":1,"record_length":96,"hex_timestamp":"000001a080f38898"} 
[2026-09-08 17:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 17:48: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-09-08 17:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950676736001,"66":13689,"104":206,"85":15104,"24":45,"16":129996286249140224,"45":9098397172432340992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-08 17:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950676736001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 17:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129996286249140224,"km_value":129996286249140.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098397172432340992,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950676736001,"power":13689,"unknown_104":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9098397172432340992}} 
[2026-09-08 17:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":177432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:45] local.INFO: GPS data processed {"connection_id":177432,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:45] local.INFO: Acknowledgment sent {"connection_id":177432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:48:47] local.INFO: TCP Data received {"connection_id":177433,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:47] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:48:47] local.INFO: IMEI packet received {"connection_id":177433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":177433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:48:48] local.INFO: TCP Data received {"connection_id":177433,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f3e658012d51af800682c350008801362d..."} 
[2026-09-08 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f3e658012d51af800682c350008801362d..."} 
[2026-09-08 17:48:48] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f3e658012d51af800682c350008801362d..."} 
[2026-09-08 17:48:48] local.INFO: Packet analysis {"connection_id":177433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:48:48] local.INFO: Extracted packet for processing {"connection_id":177433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":760328064,"raw_latitude":109232976,"longitude_deg":76.0328064,"latitude_deg":10.9232976,"altitude":136,"angle":310,"satellites":45,"speed":42,"hex_longitude":"2d51af80","hex_latitude":"0682c350","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950682624001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402921928693645312,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5894789727725025280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788869863000,"timestamp_ms":1788869863000,"timestamp_seconds":1788869863,"priority":1,"record_length":96,"hex_timestamp":"000001a080f3e658"} 
[2026-09-08 17:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 17:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950682624001,"66":27713,"250":206,"19":47872,"24":42,"16":402921928693645312,"45":5894789727725025280},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950682624001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:48:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:48:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402921928693645312,"km_value":402921928693645.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5894789727725025280,"description":"Unknown IO ID 45"} 
[2026-09-08 17:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950682624001,"power":27713,"unknown_250":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5894789727725025280}} 
[2026-09-08 17:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":177433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:48:48] local.INFO: GPS data processed {"connection_id":177433,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:48:48] local.INFO: Acknowledgment sent {"connection_id":177433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:00] local.INFO: TCP Data received {"connection_id":174912,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:00] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:00] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:49:01] local.INFO: TCP Data received {"connection_id":174912,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:01] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:01] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:49:05] local.INFO: TCP Data received {"connection_id":174912,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:05] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:49:05] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:49:06] local.INFO: TCP Data received {"connection_id":174912,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f41920012d18f2c00720d9d8003e013b25..."} 
[2026-09-08 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f41920012d18f2c00720d9d8003e013b25..."} 
[2026-09-08 17:49:06] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f41920012d18f2c00720d9d8003e013b25..."} 
[2026-09-08 17:49:06] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:06] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756609728,"raw_latitude":119593432,"longitude_deg":75.6609728,"latitude_deg":11.9593432,"altitude":62,"angle":315,"satellites":37,"speed":38,"hex_longitude":"2d18f2c0","hex_latitude":"0720d9d8","is_valid_coordinates":true} 
[2026-09-08 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950686208001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18802778411368448,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804184262586005504,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:06] 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-09-08 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788869876000,"timestamp_ms":1788869876000,"timestamp_seconds":1788869876,"priority":1,"record_length":96,"hex_timestamp":"000001a080f41920"} 
[2026-09-08 17:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950686208001,"66":14004,"121":206,"28":31744,"24":38,"16":18802778411368448,"45":1804184262586005504},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950686208001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18802778411368448,"km_value":18802778411368.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804184262586005504,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950686208001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1804184262586005504}} 
[2026-09-08 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:06] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:06] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:10] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:10] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:10] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:49:13] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:13] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:13] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:49:19] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:19] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:49:19] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:49:19] local.INFO: TCP Data received {"connection_id":177433,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f40980012d5194c00682dc98008a013c27..."} 
[2026-09-08 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f40980012d5194c00682dc98008a013c27..."} 
[2026-09-08 17:49:19] local.INFO: Processing buffer {"connection_id":177433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f40980012d5194c00682dc98008a013c27..."} 
[2026-09-08 17:49:19] local.INFO: Packet analysis {"connection_id":177433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:19] local.INFO: Extracted packet for processing {"connection_id":177433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":760321216,"raw_latitude":109239448,"longitude_deg":76.0321216,"latitude_deg":10.9239448,"altitude":138,"angle":316,"satellites":39,"speed":39,"hex_longitude":"2d5194c0","hex_latitude":"0682dc98","is_valid_coordinates":true} 
[2026-09-08 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950684928001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402922383960178688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5886064003448524800,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869872000,"timestamp_ms":1788869872000,"timestamp_seconds":1788869872,"priority":1,"record_length":96,"hex_timestamp":"000001a080f40980"} 
[2026-09-08 17:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950684928001,"66":27800,"250":206,"19":47872,"24":39,"16":402922383960178688,"45":5886064003448524800},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950684928001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402922383960178688,"km_value":402922383960178.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5886064003448524800,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950684928001,"power":27800,"unknown_250":206,"unknown_19":47872,"ignition":39,"odometer":null,"unknown_45":5886064003448524800}} 
[2026-09-08 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":177433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:19] local.INFO: GPS data processed {"connection_id":177433,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:19] local.INFO: Acknowledgment sent {"connection_id":177433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:19] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f3a7d8012d7e5b8005dffcf0000400a427..."} 
[2026-09-08 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f3a7d8012d7e5b8005dffcf0000400a427..."} 
[2026-09-08 17:49:19] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f3a7d8012d7e5b8005dffcf0000400a427..."} 
[2026-09-08 17:49:19] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:49:19] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763255680,"raw_latitude":98565360,"longitude_deg":76.325568,"latitude_deg":9.856536,"altitude":4,"angle":164,"satellites":39,"speed":42,"hex_longitude":"2d7e5b80","hex_latitude":"05dffcf0","is_valid_coordinates":true} 
[2026-09-08 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950678784001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129996724335804416,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101985978383249408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869847000,"timestamp_ms":1788869847000,"timestamp_seconds":1788869847,"priority":1,"record_length":96,"hex_timestamp":"000001a080f3a7d8"} 
[2026-09-08 17:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950678784001,"66":13319,"104":206,"85":15104,"24":42,"16":129996724335804416,"45":9101985978383249408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-08 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950678784001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129996724335804416,"km_value":129996724335804.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101985978383249408,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950678784001,"power":13319,"unknown_104":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9101985978383249408}} 
[2026-09-08 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:19] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:19] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:20] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f3cee8012d7e630005dfdaf8000500a427..."} 
[2026-09-08 17:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f3cee8012d7e630005dfdaf8000500a427..."} 
[2026-09-08 17:49:20] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f3cee8012d7e630005dfdaf8000500a427..."} 
[2026-09-08 17:49:20] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:49:20] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f3"} 
[2026-09-08 17:49:20] local.INFO: GPS Element Parsed {"raw_longitude":763257600,"raw_latitude":98556664,"longitude_deg":76.32576,"latitude_deg":9.8556664,"altitude":5,"angle":164,"satellites":39,"speed":28,"hex_longitude":"2d7e6300","hex_latitude":"05dfdaf8","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950680832001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129997153832534016,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105011834380677120,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788869857000,"timestamp_ms":1788869857000,"timestamp_seconds":1788869857,"priority":1,"record_length":96,"hex_timestamp":"000001a080f3cee8"} 
[2026-09-08 17:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163410864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3768842240,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4081975297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-6190197649156070144,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3587178496,"corrected_to":0} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221302654,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221610622,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57799578234017083,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.WARNING: Large IO value detected {"io_id":242,"raw_value":-9005904352346107,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,104,85,24,241,157,16,215,160,136,45,192,30,5,40,10,66,214,105,63,8,78,1,240,227,128,224,4,113,205,46,58,176,39,239,53,2,31,116,242],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3587178496,"validated":0}]} 
[2026-09-08 17:49:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288410863565144064,"timestamp_seconds":288410863565144.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950680832001,"66":13428,"104":206,"85":15104,"24":28,"16":129997153832534016,"45":9105011834380677120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-08 17:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950680832001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:20] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 17:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129997153832534016,"km_value":129997153832534.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105011834380677120,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950680832001,"power":13428,"unknown_104":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9105011834380677120}} 
[2026-09-08 17:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:20] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:20] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:38] local.INFO: TCP Data received {"connection_id":174912,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f4d888012d18a40007217540004b011f23..."} 
[2026-09-08 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f4d888012d18a40007217540004b011f23..."} 
[2026-09-08 17:49:38] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f4d888012d18a40007217540004b011f23..."} 
[2026-09-08 17:49:38] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:38] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119633216,"longitude_deg":75.6589568,"latitude_deg":11.9633216,"altitude":75,"angle":287,"satellites":35,"speed":39,"hex_longitude":"2d18a400","hex_latitude":"07217540","is_valid_coordinates":true} 
[2026-09-08 17:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950700288001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18805020384296960,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553682944,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49: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-09-08 17:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788869925000,"timestamp_ms":1788869925000,"timestamp_seconds":1788869925,"priority":1,"record_length":96,"hex_timestamp":"000001a080f4d888"} 
[2026-09-08 17:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950700288001,"66":13928,"121":206,"28":31744,"24":39,"16":18805020384296960,"45":1777514508553682944},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950700288001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18805020384296960,"km_value":18805020384296.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553682944,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950700288001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1777514508553682944}} 
[2026-09-08 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:38] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:38] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:41] local.INFO: TCP Data received {"connection_id":177435,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:49:41] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:49:41] local.INFO: IMEI packet received {"connection_id":177435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":177435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:49:47] local.INFO: TCP Data received {"connection_id":177435,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:49:47] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:49:47] local.INFO: IMEI packet received {"connection_id":177435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":177435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:49:48] local.INFO: TCP Data received {"connection_id":177435,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f42ca8012d517d800682f7c8008c014126..."} 
[2026-09-08 17:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f42ca8012d517d800682f7c8008c014126..."} 
[2026-09-08 17:49:48] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f42ca8012d517d800682f7c8008c014126..."} 
[2026-09-08 17:49:48] local.INFO: Packet analysis {"connection_id":177435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:48] local.INFO: Extracted packet for processing {"connection_id":177435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:49:48] local.INFO: GPS Element Parsed {"raw_longitude":760315264,"raw_latitude":109246408,"longitude_deg":76.0315264,"latitude_deg":10.9246408,"altitude":140,"angle":321,"satellites":38,"speed":40,"hex_longitude":"2d517d80","hex_latitude":"0682f7c8","is_valid_coordinates":true} 
[2026-09-08 17:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950687232001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402922822046842880,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5878534547823171584,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788869881000,"timestamp_ms":1788869881000,"timestamp_seconds":1788869881,"priority":1,"record_length":96,"hex_timestamp":"000001a080f42ca8"} 
[2026-09-08 17:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950687232001,"66":27713,"250":206,"19":47872,"24":40,"16":402922822046842880,"45":5878534547823171584},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950687232001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:49:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402922822046842880,"km_value":402922822046842.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5878534547823171584,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950687232001,"power":27713,"unknown_250":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5878534547823171584}} 
[2026-09-08 17:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":177435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:48] local.INFO: GPS data processed {"connection_id":177435,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:48] local.INFO: Acknowledgment sent {"connection_id":177435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:49:51] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f578b0012d7ed28005dead00000800a526..."} 
[2026-09-08 17:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f578b0012d7ed28005dead00000800a526..."} 
[2026-09-08 17:49:51] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f578b0012d7ed28005dead00000800a526..."} 
[2026-09-08 17:49:51] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:49:51] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":763286144,"raw_latitude":98479360,"longitude_deg":76.3286144,"latitude_deg":9.847936,"altitude":8,"angle":165,"satellites":38,"speed":46,"hex_longitude":"2d7ed280","hex_latitude":"05dead00","is_valid_coordinates":true} 
[2026-09-08 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950711296001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130001221166563328,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138507356587229184,"note":"Value kept but may cause issues"} 
[2026-09-08 17:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788869966000,"timestamp_ms":1788869966000,"timestamp_seconds":1788869966,"priority":1,"record_length":96,"hex_timestamp":"000001a080f578b0"} 
[2026-09-08 17:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 17:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950711296001,"66":13515,"206":206,"85":15104,"24":46,"16":130001221166563328,"45":9138507356587229184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-08 17:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950711296001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:49:51] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-08 17:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130001221166563328,"km_value":130001221166563.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138507356587229184,"description":"Unknown IO ID 45"} 
[2026-09-08 17:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950711296001,"power":13515,"unknown_206":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9138507356587229184}} 
[2026-09-08 17:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:49:51] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:49:51] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:05] local.INFO: TCP Data received {"connection_id":174913,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:05] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:05] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:50:08] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:50:08] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:50:08] local.INFO: IMEI packet received {"connection_id":177436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":177436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:50:10] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:50:10] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:50:10] local.INFO: IMEI packet received {"connection_id":177436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":177436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:50:10] local.INFO: TCP Data received {"connection_id":174913,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:10] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:10] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:50:11] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f597f0012d7edc4005de8bc8000600a026..."} 
[2026-09-08 17:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f597f0012d7edc4005de8bc8000600a026..."} 
[2026-09-08 17:50:11] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f597f0012d7edc4005de8bc8000600a026..."} 
[2026-09-08 17:50:11] local.INFO: Packet analysis {"connection_id":177436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:50:11] local.INFO: Extracted packet for processing {"connection_id":177436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":98470856,"longitude_deg":76.328864,"latitude_deg":9.8470856,"altitude":6,"angle":160,"satellites":38,"speed":37,"hex_longitude":"2d7edc40","hex_latitude":"05de8bc8","is_valid_coordinates":true} 
[2026-09-08 17:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950711296001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130001650663292928,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138507356587229184,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788869974000,"timestamp_ms":1788869974000,"timestamp_seconds":1788869974,"priority":1,"record_length":96,"hex_timestamp":"000001a080f597f0"} 
[2026-09-08 17:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950711296001,"66":13319,"206":206,"85":15104,"24":37,"16":130001650663292928,"45":9138507356587229184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-08 17:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950711296001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:11] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-08 17:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130001650663292928,"km_value":130001650663292.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138507356587229184,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950711296001,"power":13319,"unknown_206":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9138507356587229184}} 
[2026-09-08 17:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":177436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:11] local.INFO: GPS data processed {"connection_id":177436,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:11] local.INFO: Acknowledgment sent {"connection_id":177436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:12] local.INFO: TCP Data received {"connection_id":174913,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f4fbb0012d187f8007218230004c011723..."} 
[2026-09-08 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f4fbb0012d187f8007218230004c011723..."} 
[2026-09-08 17:50:12] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f4fbb0012d187f8007218230004c011723..."} 
[2026-09-08 17:50:12] local.INFO: Packet analysis {"connection_id":174913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:12] local.INFO: Extracted packet for processing {"connection_id":174913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756580224,"raw_latitude":119636528,"longitude_deg":75.6580224,"latitude_deg":11.9636528,"altitude":76,"angle":279,"satellites":35,"speed":38,"hex_longitude":"2d187f80","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950700800001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18805492830699520,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183716921344,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50: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-09-08 17:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788869934000,"timestamp_ms":1788869934000,"timestamp_seconds":1788869934,"priority":1,"record_length":96,"hex_timestamp":"000001a080f4fbb0"} 
[2026-09-08 17:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950700800001,"66":14048,"121":206,"28":31744,"24":38,"16":18805492830699520,"45":1775544183716921344},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950700800001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18805492830699520,"km_value":18805492830699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183716921344,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950700800001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1775544183716921344}} 
[2026-09-08 17:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":174913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:12] local.INFO: GPS data processed {"connection_id":174913,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:12] local.INFO: Acknowledgment sent {"connection_id":174913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:16] local.INFO: TCP Data received {"connection_id":174913,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f50768012d18738007218270004c010c23..."} 
[2026-09-08 17:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f50768012d18738007218270004c010c23..."} 
[2026-09-08 17:50:16] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f50768012d18738007218270004c010c23..."} 
[2026-09-08 17:50:16] local.INFO: Packet analysis {"connection_id":174913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:50:16] local.INFO: Extracted packet for processing {"connection_id":174913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756577152,"raw_latitude":119636592,"longitude_deg":75.6577152,"latitude_deg":11.9636592,"altitude":76,"angle":268,"satellites":35,"speed":42,"hex_longitude":"2d187380","hex_latitude":"07218270","is_valid_coordinates":true} 
[2026-09-08 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950703104001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18805638859587584,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765270347067830272,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:16] 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-09-08 17:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788869937000,"timestamp_ms":1788869937000,"timestamp_seconds":1788869937,"priority":1,"record_length":96,"hex_timestamp":"000001a080f50768"} 
[2026-09-08 17:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950703104001,"66":14004,"121":206,"28":31744,"24":42,"16":18805638859587584,"45":1765270347067830272},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 17:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950703104001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 17:50:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18805638859587584,"km_value":18805638859587.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765270347067830272,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950703104001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1765270347067830272}} 
[2026-09-08 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":174913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:16] local.INFO: GPS data processed {"connection_id":174913,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:16] local.INFO: Acknowledgment sent {"connection_id":174913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:19] local.INFO: TCP Data received {"connection_id":177435,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f44fd0012d51670006831330008c01412b..."} 
[2026-09-08 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f44fd0012d51670006831330008c01412b..."} 
[2026-09-08 17:50:19] local.INFO: Processing buffer {"connection_id":177435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f44fd0012d51670006831330008c01412b..."} 
[2026-09-08 17:50:19] local.INFO: Packet analysis {"connection_id":177435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:19] local.INFO: Extracted packet for processing {"connection_id":177435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":760309504,"raw_latitude":109253424,"longitude_deg":76.0309504,"latitude_deg":10.9253424,"altitude":140,"angle":321,"satellites":43,"speed":40,"hex_longitude":"2d516700","hex_latitude":"06831330","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950689536001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402923260133507072,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5871990254616430592,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788869890000,"timestamp_ms":1788869890000,"timestamp_seconds":1788869890,"priority":1,"record_length":96,"hex_timestamp":"000001a080f44fd0"} 
[2026-09-08 17:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950689536001,"66":27658,"250":206,"19":47872,"24":40,"16":402923260133507072,"45":5871990254616430592},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950689536001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:50:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402923260133507072,"km_value":402923260133507.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5871990254616430592,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950689536001,"power":27658,"unknown_250":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5871990254616430592}} 
[2026-09-08 17:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":177435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:19] local.INFO: GPS data processed {"connection_id":177435,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:19] local.INFO: Acknowledgment sent {"connection_id":177435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:41] local.INFO: TCP Data received {"connection_id":174914,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:41] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:41] local.INFO: IMEI packet received {"connection_id":174914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":174914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:50:42] local.INFO: TCP Data received {"connection_id":177436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f5bf00012d7eeb4005de67b0000500a026..."} 
[2026-09-08 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f5bf00012d7eeb4005de67b0000500a026..."} 
[2026-09-08 17:50:42] local.INFO: Processing buffer {"connection_id":177436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f5bf00012d7eeb4005de67b0000500a026..."} 
[2026-09-08 17:50:42] local.INFO: Packet analysis {"connection_id":177436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:50:42] local.INFO: Extracted packet for processing {"connection_id":177436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763292480,"raw_latitude":98461616,"longitude_deg":76.329248,"latitude_deg":9.8461616,"altitude":5,"angle":160,"satellites":38,"speed":46,"hex_longitude":"2d7eeb40","hex_latitude":"05de67b0","is_valid_coordinates":true} 
[2026-09-08 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950713344001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130002135994597376,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737607981056,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788869984000,"timestamp_ms":1788869984000,"timestamp_seconds":1788869984,"priority":1,"record_length":96,"hex_timestamp":"000001a080f5bf00"} 
[2026-09-08 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163547864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4113975297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":384751,"corrected_to":0} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3919052810,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3668574208,"corrected_to":0} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3740844032,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":244,"raw_value":-1436646986220847099,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.WARNING: Large IO value detected {"io_id":223,"raw_value":1504202318500603392,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,206,85,24,241,157,16,219,160,120,45,128,173,8,38,10,66,192,1,240,203,227,222,4,113,205,29,46,40,35,239,52,207,2,5,11,28,88,244,223],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":384751,"validated":0},{"io_id":205,"original":3668574208,"validated":0}]} 
[2026-09-08 17:50:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432521649299193856,"timestamp_seconds":432521649299193.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950713344001,"66":13515,"206":206,"85":15104,"24":46,"16":130002135994597376,"45":9141251737607981056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-08 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950713344001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130002135994597376,"km_value":130002135994597.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737607981056,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950713344001,"power":13515,"unknown_206":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9141251737607981056}} 
[2026-09-08 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":177436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:42] local.INFO: GPS data processed {"connection_id":177436,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:42] local.INFO: Acknowledgment sent {"connection_id":177436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:45] local.INFO: TCP Data received {"connection_id":174914,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:45] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:45] local.INFO: IMEI packet received {"connection_id":174914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":174914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:50:46] local.INFO: TCP Data received {"connection_id":174914,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:46] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:50:46] local.INFO: IMEI packet received {"connection_id":174914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":174914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:50:47] local.INFO: TCP Data received {"connection_id":174914,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f472f8012d514ec006832dc0008d013b2d..."} 
[2026-09-08 17:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f472f8012d514ec006832dc0008d013b2d..."} 
[2026-09-08 17:50:47] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f472f8012d514ec006832dc0008d013b2d..."} 
[2026-09-08 17:50:47] local.INFO: Packet analysis {"connection_id":174914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:47] local.INFO: Extracted packet for processing {"connection_id":174914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:47] local.INFO: GPS Element Parsed {"raw_longitude":760303296,"raw_latitude":109260224,"longitude_deg":76.0303296,"latitude_deg":10.9260224,"altitude":141,"angle":315,"satellites":45,"speed":40,"hex_longitude":"2d514ec0","hex_latitude":"06832dc0","is_valid_coordinates":true} 
[2026-09-08 17:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950691840001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402923702515138560,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5865657067642236928,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788869899000,"timestamp_ms":1788869899000,"timestamp_seconds":1788869899,"priority":1,"record_length":96,"hex_timestamp":"000001a080f472f8"} 
[2026-09-08 17:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950691840001,"66":27789,"250":206,"19":47872,"24":40,"16":402923702515138560,"45":5865657067642236928},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950691840001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:50:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402923702515138560,"km_value":402923702515138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5865657067642236928,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950691840001,"power":27789,"unknown_250":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5865657067642236928}} 
[2026-09-08 17:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":174914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:47] local.INFO: GPS data processed {"connection_id":174914,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:47] local.INFO: Acknowledgment sent {"connection_id":174914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:49] local.INFO: TCP Data received {"connection_id":175981,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:50:49] local.INFO: Processing buffer {"connection_id":175981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:50:49] local.INFO: IMEI packet received {"connection_id":175981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":175981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:50:52] local.INFO: TCP Data received {"connection_id":174914,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f49620012d51348006834560008d01362c..."} 
[2026-09-08 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f49620012d51348006834560008d01362c..."} 
[2026-09-08 17:50:52] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f49620012d51348006834560008d01362c..."} 
[2026-09-08 17:50:52] local.INFO: Packet analysis {"connection_id":174914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:52] local.INFO: Extracted packet for processing {"connection_id":174914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":760296576,"raw_latitude":109266272,"longitude_deg":76.0296576,"latitude_deg":10.9266272,"altitude":141,"angle":310,"satellites":44,"speed":38,"hex_longitude":"2d513480","hex_latitude":"06834560","is_valid_coordinates":true} 
[2026-09-08 17:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950694144001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402924136306835456,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858831299458744320,"note":"Value kept but may cause issues"} 
[2026-09-08 17:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788869908000,"timestamp_ms":1788869908000,"timestamp_seconds":1788869908,"priority":1,"record_length":96,"hex_timestamp":"000001a080f49620"} 
[2026-09-08 17:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-08 17:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950694144001,"66":27974,"250":206,"19":47872,"24":38,"16":402924136306835456,"45":5858831299458744320},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950694144001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:50:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:50:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402924136306835456,"km_value":402924136306835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858831299458744320,"description":"Unknown IO ID 45"} 
[2026-09-08 17:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950694144001,"power":27974,"unknown_250":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":5858831299458744320}} 
[2026-09-08 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":174914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:50:52] local.INFO: GPS data processed {"connection_id":174914,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:50:52] local.INFO: Acknowledgment sent {"connection_id":174914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:50:59] local.INFO: TCP Data received {"connection_id":174629,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:59] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:50:59] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:51:00] local.INFO: TCP Data received {"connection_id":174629,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:51:00] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:51:00] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:51:06] local.INFO: TCP Data received {"connection_id":174629,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:51:06] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:51:06] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:51:07] local.INFO: TCP Data received {"connection_id":174629,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f51708012d18624007218328004b011d21..."} 
[2026-09-08 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f51708012d18624007218328004b011d21..."} 
[2026-09-08 17:51:07] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f51708012d18624007218328004b011d21..."} 
[2026-09-08 17:51:07] local.INFO: Packet analysis {"connection_id":174629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:07] local.INFO: Extracted packet for processing {"connection_id":174629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756572736,"raw_latitude":119636776,"longitude_deg":75.6572736,"latitude_deg":11.9636776,"altitude":75,"angle":285,"satellites":33,"speed":44,"hex_longitude":"2d186240","hex_latitude":"07218328","is_valid_coordinates":true} 
[2026-09-08 17:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950703872001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18805849312985088,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761892647347318784,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:07] 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-09-08 17:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788869941000,"timestamp_ms":1788869941000,"timestamp_seconds":1788869941,"priority":1,"record_length":96,"hex_timestamp":"000001a080f51708"} 
[2026-09-08 17:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-08 17:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950703872001,"66":13037,"120":206,"28":31744,"24":44,"16":18805849312985088,"45":1761892647347318784},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950703872001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:51:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18805849312985088,"km_value":18805849312985.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761892647347318784,"description":"Unknown IO ID 45"} 
[2026-09-08 17:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950703872001,"power":13037,"unknown_120":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1761892647347318784}} 
[2026-09-08 17:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":174629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:51:07] local.INFO: GPS data processed {"connection_id":174629,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:51:07] local.INFO: Acknowledgment sent {"connection_id":174629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:51:17] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:51:17] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:51:17] local.INFO: IMEI packet received {"connection_id":177437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":177437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:51:19] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:51:19] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:51:19] local.INFO: IMEI packet received {"connection_id":177437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":177437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:51:24] local.INFO: TCP Data received {"connection_id":174914,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f4b178012d511f8006835320008d012a2b..."} 
[2026-09-08 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f4b178012d511f8006835320008d012a2b..."} 
[2026-09-08 17:51:24] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f4b178012d511f8006835320008d012a2b..."} 
[2026-09-08 17:51:24] local.INFO: Packet analysis {"connection_id":174914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:51:24] local.INFO: Extracted packet for processing {"connection_id":174914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f4"} 
[2026-09-08 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":760291200,"raw_latitude":109269792,"longitude_deg":76.02912,"latitude_deg":10.9269792,"altitude":141,"angle":298,"satellites":43,"speed":32,"hex_longitude":"2d511f80","hex_latitude":"06835320","is_valid_coordinates":true} 
[2026-09-08 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950696448001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402924445544480768,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851442581321637888,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788869915000,"timestamp_ms":1788869915000,"timestamp_seconds":1788869915,"priority":1,"record_length":96,"hex_timestamp":"000001a080f4b178"} 
[2026-09-08 17:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 17:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950696448001,"66":27800,"250":206,"19":47872,"24":32,"16":402924445544480768,"45":5851442581321637888},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-09-08 17:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950696448001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:51:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 17:51:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402924445544480768,"km_value":402924445544480.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851442581321637888,"description":"Unknown IO ID 45"} 
[2026-09-08 17:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950696448001,"power":27800,"unknown_250":206,"unknown_19":47872,"ignition":32,"odometer":null,"unknown_45":5851442581321637888}} 
[2026-09-08 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":174914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:51:24] local.INFO: GPS data processed {"connection_id":174914,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:51:24] local.INFO: Acknowledgment sent {"connection_id":174914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:51:28] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f5de40012d7ef78005de42b8000500a225..."} 
[2026-09-08 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f5de40012d7ef78005de42b8000500a225..."} 
[2026-09-08 17:51:28] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f5de40012d7ef78005de42b8000500a225..."} 
[2026-09-08 17:51:28] local.INFO: Packet analysis {"connection_id":177437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:28] local.INFO: Extracted packet for processing {"connection_id":177437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763295616,"raw_latitude":98452152,"longitude_deg":76.3295616,"latitude_deg":9.8452152,"altitude":5,"angle":162,"satellites":37,"speed":52,"hex_longitude":"2d7ef780","hex_latitude":"05de42b8","is_valid_coordinates":true} 
[2026-09-08 17:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950715904001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130002617030934528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145473862256275456,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788869992000,"timestamp_ms":1788869992000,"timestamp_seconds":1788869992,"priority":1,"record_length":96,"hex_timestamp":"000001a080f5de40"} 
[2026-09-08 17:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 17:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":177437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":177437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":177437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950715904001,"66":12852,"205":206,"85":15104,"24":52,"16":130002617030934528,"45":9145473862256275456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 17:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950715904001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130002617030934528,"km_value":130002617030934.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145473862256275456,"description":"Unknown IO ID 45"} 
[2026-09-08 17:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950715904001,"power":12852,"cell_id":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9145473862256275456}} 
[2026-09-08 17:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":177437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:51:28] local.INFO: GPS data processed {"connection_id":177437,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:51:28] local.INFO: Acknowledgment sent {"connection_id":177437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:51:29] local.INFO: TCP Data received {"connection_id":177437,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080f5fd80012d7f044005de1db80007009d24..."} 
[2026-09-08 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f5fd80012d7f044005de1db80007009d24..."} 
[2026-09-08 17:51:29] local.INFO: Processing buffer {"connection_id":177437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f5fd80012d7f044005de1db80007009d24..."} 
[2026-09-08 17:51:29] local.INFO: Packet analysis {"connection_id":177437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:29] local.INFO: Extracted packet for processing {"connection_id":177437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763298880,"raw_latitude":98442680,"longitude_deg":76.329888,"latitude_deg":9.844268,"altitude":7,"angle":157,"satellites":36,"speed":45,"hex_longitude":"2d7f0440","hex_latitude":"05de1db8","is_valid_coordinates":true} 
[2026-09-08 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950717952001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130003102362238976,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148921930718558208,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788870000000,"timestamp_ms":1788870000000,"timestamp_seconds":1788870000,"priority":1,"record_length":96,"hex_timestamp":"000001a080f5fd80"} 
[2026-09-08 17:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-08 17:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":177437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":177437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":177437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950717952001,"66":13341,"205":206,"85":15104,"24":45,"16":130003102362238976,"45":9148921930718558208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-08 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950717952001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130003102362238976,"km_value":130003102362238.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148921930718558208,"description":"Unknown IO ID 45"} 
[2026-09-08 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950717952001,"power":13341,"cell_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9148921930718558208}} 
[2026-09-08 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":177437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:51:29] local.INFO: GPS data processed {"connection_id":177437,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:51:29] local.INFO: Acknowledgment sent {"connection_id":177437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:51:39] local.INFO: TCP Data received {"connection_id":174629,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f53a30012d18408007219230004d012424..."} 
[2026-09-08 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f53a30012d18408007219230004d012424..."} 
[2026-09-08 17:51:39] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f53a30012d18408007219230004d012424..."} 
[2026-09-08 17:51:39] local.INFO: Packet analysis {"connection_id":174629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:39] local.INFO: Extracted packet for processing {"connection_id":174629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f5"} 
[2026-09-08 17:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756564096,"raw_latitude":119640624,"longitude_deg":75.6564096,"latitude_deg":11.9640624,"altitude":77,"angle":292,"satellites":36,"speed":32,"hex_longitude":"2d184080","hex_latitude":"07219230","is_valid_coordinates":true} 
[2026-09-08 17:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950704896001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18806300284551168,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757037203999107072,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:39] 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-09-08 17:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788869950000,"timestamp_ms":1788869950000,"timestamp_seconds":1788869950,"priority":1,"record_length":96,"hex_timestamp":"000001a080f53a30"} 
[2026-09-08 17:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 17:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950704896001,"66":14026,"120":206,"28":31744,"24":32,"16":18806300284551168,"45":1757037203999107072},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950704896001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:51:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18806300284551168,"km_value":18806300284551.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757037203999107072,"description":"Unknown IO ID 45"} 
[2026-09-08 17:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950704896001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1757037203999107072}} 
[2026-09-08 17:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":174629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:51:39] local.INFO: GPS data processed {"connection_id":174629,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:51:39] local.INFO: Acknowledgment sent {"connection_id":174629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:51:46] local.INFO: TCP Data received {"connection_id":177438,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:46] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:46] local.INFO: IMEI packet received {"connection_id":177438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":177438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:51:53] local.INFO: TCP Data received {"connection_id":177438,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:53] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:53] local.INFO: IMEI packet received {"connection_id":177438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":177438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:51:54] local.INFO: TCP Data received {"connection_id":177438,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:54] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:54] local.INFO: IMEI packet received {"connection_id":177438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":177438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:51:55] local.INFO: TCP Data received {"connection_id":177438,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:55] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:51:55] local.INFO: IMEI packet received {"connection_id":177438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":177438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:51:59] local.INFO: TCP Data received {"connection_id":177438,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f6d458012d4fd0800683a570008501162d..."} 
[2026-09-08 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f6d458012d4fd0800683a570008501162d..."} 
[2026-09-08 17:51:59] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f6d458012d4fd0800683a570008501162d..."} 
[2026-09-08 17:51:59] local.INFO: Packet analysis {"connection_id":177438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f6"} 
[2026-09-08 17:51:59] local.INFO: Extracted packet for processing {"connection_id":177438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f6"} 
[2026-09-08 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":760205440,"raw_latitude":109290864,"longitude_deg":76.020544,"latitude_deg":10.9290864,"altitude":133,"angle":278,"satellites":45,"speed":49,"hex_longitude":"2d4fd080","hex_latitude":"0683a570","is_valid_coordinates":true} 
[2026-09-08 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950732032001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402928710447005696,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5762215013710260224,"note":"Value kept but may cause issues"} 
[2026-09-08 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788870055000,"timestamp_ms":1788870055000,"timestamp_seconds":1788870055,"priority":1,"record_length":96,"hex_timestamp":"000001a080f6d458"} 
[2026-09-08 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950732032001,"66":27930,"251":206,"19":47872,"24":49,"16":402928710447005696,"45":5762215013710260224},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950732032001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402928710447005696,"km_value":402928710447005.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5762215013710260224,"description":"Unknown IO ID 45"} 
[2026-09-08 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950732032001,"power":27930,"unknown_251":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5762215013710260224}} 
[2026-09-08 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":177438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:51:59] local.INFO: GPS data processed {"connection_id":177438,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:51:59] local.INFO: Acknowledgment sent {"connection_id":177438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:52:00] local.INFO: TCP Data received {"connection_id":175982,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:52:00] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:52:00] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:52:01] local.INFO: TCP Data received {"connection_id":177438,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f6f398012d4fa9000683ab600082011629..."} 
[2026-09-08 17:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f6f398012d4fa9000683ab600082011629..."} 
[2026-09-08 17:52:01] local.INFO: Processing buffer {"connection_id":177438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f6f398012d4fa9000683ab600082011629..."} 
[2026-09-08 17:52:01] local.INFO: Packet analysis {"connection_id":177438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f6"} 
[2026-09-08 17:52:01] local.INFO: Extracted packet for processing {"connection_id":177438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f6"} 
[2026-09-08 17:52:01] local.INFO: GPS Element Parsed {"raw_longitude":760195328,"raw_latitude":109292384,"longitude_deg":76.0195328,"latitude_deg":10.9292384,"altitude":130,"angle":278,"satellites":41,"speed":50,"hex_longitude":"2d4fa900","hex_latitude":"0683ab60","is_valid_coordinates":true} 
[2026-09-08 17:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950734080001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402929200073277440,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5751237489618939904,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788870063000,"timestamp_ms":1788870063000,"timestamp_seconds":1788870063,"priority":1,"record_length":96,"hex_timestamp":"000001a080f6f398"} 
[2026-09-08 17:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 17:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":177438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":177438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950734080001,"66":27919,"251":206,"19":47872,"24":50,"16":402929200073277440,"45":5751237489618939904},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 17:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950734080001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:52:01] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 17:52:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402929200073277440,"km_value":402929200073277.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5751237489618939904,"description":"Unknown IO ID 45"} 
[2026-09-08 17:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950734080001,"power":27919,"unknown_251":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":5751237489618939904}} 
[2026-09-08 17:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":177438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:52:01] local.INFO: GPS data processed {"connection_id":177438,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:52:01] local.INFO: Acknowledgment sent {"connection_id":177438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:52:06] local.INFO: TCP Data received {"connection_id":175982,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:52:06] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:52:06] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:52:07] local.INFO: TCP Data received {"connection_id":175982,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f71e90012d181cc00721a8b0004f000225..."} 
[2026-09-08 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f71e90012d181cc00721a8b0004f000225..."} 
[2026-09-08 17:52:07] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f71e90012d181cc00721a8b0004f000225..."} 
[2026-09-08 17:52:07] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:52:07] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646384,"longitude_deg":75.6554944,"latitude_deg":11.9646384,"altitude":79,"angle":2,"satellites":37,"speed":4,"hex_longitude":"2d181cc0","hex_latitude":"0721a8b0","is_valid_coordinates":true} 
[2026-09-08 17:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950733824001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18806841450430464,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840945664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] 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-09-08 17:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870074000,"timestamp_ms":1788870074000,"timestamp_seconds":1788870074,"priority":1,"record_length":96,"hex_timestamp":"000001a080f71e90"} 
[2026-09-08 17:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2163614864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498573824,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2740453454,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-08 17:52:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147951005,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,208,160,126,45,166,78,36,10,66,118,64,102,192,1,240,148,128,33,4,113,205,9,44,40,32,239,54,2,7,76],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-08 17:52:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620850921777922048,"timestamp_seconds":5620850921777922.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950733824001,"66":13124,"120":206,"28":31744,"24":4,"16":18806841450430464,"45":1737826536840945664},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950733824001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:52:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18806841450430464,"km_value":18806841450430.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840945664,"description":"Unknown IO ID 45"} 
[2026-09-08 17:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950733824001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737826536840945664}} 
[2026-09-08 17:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:52:07] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:52:07] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:52:10] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:10] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:10] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:52:11] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:11] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:11] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:52:13] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:13] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:13] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:52:14] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:14] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:52:14] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:52:38] local.INFO: TCP Data received {"connection_id":175982,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f72278012d181cc00721a940004f001626..."} 
[2026-09-08 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f72278012d181cc00721a940004f001626..."} 
[2026-09-08 17:52:38] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f72278012d181cc00721a940004f001626..."} 
[2026-09-08 17:52:38] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:52:38] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646528,"longitude_deg":75.6554944,"latitude_deg":11.9646528,"altitude":79,"angle":22,"satellites":38,"speed":7,"hex_longitude":"2d181cc0","hex_latitude":"0721a940","is_valid_coordinates":true} 
[2026-09-08 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950738944001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18806845745397760,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120176128,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:38] 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-09-08 17:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788870075000,"timestamp_ms":1788870075000,"timestamp_seconds":1788870075,"priority":1,"record_length":96,"hex_timestamp":"000001a080f72278"} 
[2026-09-08 17:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 17:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950738944001,"66":12287,"120":206,"28":31744,"24":7,"16":18806845745397760,"45":1737474693120176128},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950738944001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:52:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18806845745397760,"km_value":18806845745397.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120176128,"description":"Unknown IO ID 45"} 
[2026-09-08 17:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950738944001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737474693120176128}} 
[2026-09-08 17:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:52:39] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:52:39] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:52:46] local.INFO: TCP Data received {"connection_id":174632,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:52:46] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:52:46] local.INFO: IMEI packet received {"connection_id":174632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":174632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:52:50] local.INFO: TCP Data received {"connection_id":174632,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:52:50] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:52:50] local.INFO: IMEI packet received {"connection_id":174632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":174632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:52:51] local.INFO: TCP Data received {"connection_id":174632,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f70ef0012d4f85800683b0f8008001182c..."} 
[2026-09-08 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f70ef0012d4f85800683b0f8008001182c..."} 
[2026-09-08 17:52:51] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f70ef0012d4f85800683b0f8008001182c..."} 
[2026-09-08 17:52:51] local.INFO: Packet analysis {"connection_id":174632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:52:51] local.INFO: Extracted packet for processing {"connection_id":174632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":760186240,"raw_latitude":109293816,"longitude_deg":76.018624,"latitude_deg":10.9293816,"altitude":128,"angle":280,"satellites":44,"speed":52,"hex_longitude":"2d4f8580","hex_latitude":"0683b0f8","is_valid_coordinates":true} 
[2026-09-08 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950736128001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402929638159941632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5740119228039258112,"note":"Value kept but may cause issues"} 
[2026-09-08 17:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788870070000,"timestamp_ms":1788870070000,"timestamp_seconds":1788870070,"priority":1,"record_length":96,"hex_timestamp":"000001a080f70ef0"} 
[2026-09-08 17:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 17:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950736128001,"66":27843,"251":206,"19":47872,"24":52,"16":402929638159941632,"45":5740119228039258112},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 17:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950736128001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:52:51] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 17:52:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402929638159941632,"km_value":402929638159941.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5740119228039258112,"description":"Unknown IO ID 45"} 
[2026-09-08 17:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950736128001,"power":27843,"unknown_251":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5740119228039258112}} 
[2026-09-08 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":174632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:52:51] local.INFO: GPS data processed {"connection_id":174632,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:52:51] local.INFO: Acknowledgment sent {"connection_id":174632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:53:00] local.INFO: TCP Data received {"connection_id":175983,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:53:00] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:53:00] local.INFO: IMEI packet received {"connection_id":175983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":175983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:53:05] local.INFO: TCP Data received {"connection_id":175983,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:53:05] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:53:05] local.INFO: IMEI packet received {"connection_id":175983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":175983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:53:07] local.INFO: TCP Data received {"connection_id":175983,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f75158012d1824c00721b798004d016227..."} 
[2026-09-08 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f75158012d1824c00721b798004d016227..."} 
[2026-09-08 17:53:07] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f75158012d1824c00721b798004d016227..."} 
[2026-09-08 17:53:07] local.INFO: Packet analysis {"connection_id":175983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:53:07] local.INFO: Extracted packet for processing {"connection_id":175983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650200,"longitude_deg":75.6556992,"latitude_deg":11.96502,"altitude":77,"angle":354,"satellites":39,"speed":8,"hex_longitude":"2d1824c0","hex_latitude":"0721b798","is_valid_coordinates":true} 
[2026-09-08 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950739200001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18807051903827968,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120212992,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:07] 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-09-08 17:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870087000,"timestamp_ms":1788870087000,"timestamp_seconds":1788870087,"priority":1,"record_length":96,"hex_timestamp":"000001a080f75158"} 
[2026-09-08 17:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 17:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950739200001,"66":13091,"120":206,"28":31744,"24":8,"16":18807051903827968,"45":1737474693120212992},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950739200001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18807051903827968,"km_value":18807051903827.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120212992,"description":"Unknown IO ID 45"} 
[2026-09-08 17:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950739200001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737474693120212992}} 
[2026-09-08 17:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":175983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:53:07] local.INFO: GPS data processed {"connection_id":175983,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:53:07] local.INFO: Acknowledgment sent {"connection_id":175983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:53:28] local.INFO: TCP Data received {"connection_id":174632,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f72a48012d4f60c00683b760007d01162c..."} 
[2026-09-08 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f72a48012d4f60c00683b760007d01162c..."} 
[2026-09-08 17:53:28] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f72a48012d4f60c00683b760007d01162c..."} 
[2026-09-08 17:53:28] local.INFO: Packet analysis {"connection_id":174632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:53:28] local.INFO: Extracted packet for processing {"connection_id":174632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":760176832,"raw_latitude":109295456,"longitude_deg":76.0176832,"latitude_deg":10.9295456,"altitude":125,"angle":278,"satellites":44,"speed":55,"hex_longitude":"2d4f60c0","hex_latitude":"0683b760","is_valid_coordinates":true} 
[2026-09-08 17:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950737920001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402930093426475008,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5730126866366396416,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788870077000,"timestamp_ms":1788870077000,"timestamp_seconds":1788870077,"priority":1,"record_length":96,"hex_timestamp":"000001a080f72a48"} 
[2026-09-08 17:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 17:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950737920001,"66":27800,"251":206,"19":47872,"24":55,"16":402930093426475008,"45":5730126866366396416},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-09-08 17:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950737920001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:53:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-08 17:53:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402930093426475008,"km_value":402930093426475.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5730126866366396416,"description":"Unknown IO ID 45"} 
[2026-09-08 17:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950737920001,"power":27800,"unknown_251":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":5730126866366396416}} 
[2026-09-08 17:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":174632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:53:28] local.INFO: GPS data processed {"connection_id":174632,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:53:28] local.INFO: Acknowledgment sent {"connection_id":174632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:53:38] local.INFO: TCP Data received {"connection_id":175983,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f75540012d1824800721b828004d013827..."} 
[2026-09-08 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f75540012d1824800721b828004d013827..."} 
[2026-09-08 17:53:38] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f75540012d1824800721b828004d013827..."} 
[2026-09-08 17:53:38] local.INFO: Packet analysis {"connection_id":175983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:53:38] local.INFO: Extracted packet for processing {"connection_id":175983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650344,"longitude_deg":75.6556928,"latitude_deg":11.9650344,"altitude":77,"angle":312,"satellites":39,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-09-08 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950742272001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18807060493762560,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934838272,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:38] 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-09-08 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788870088000,"timestamp_ms":1788870088000,"timestamp_seconds":1788870088,"priority":1,"record_length":96,"hex_timestamp":"000001a080f75540"} 
[2026-09-08 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 17:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950742272001,"66":13091,"120":206,"28":31744,"24":6,"16":18807060493762560,"45":1739726492934838272},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950742272001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18807060493762560,"km_value":18807060493762.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934838272,"description":"Unknown IO ID 45"} 
[2026-09-08 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950742272001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1739726492934838272}} 
[2026-09-08 17:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":175983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:53:38] local.INFO: GPS data processed {"connection_id":175983,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:53:38] local.INFO: Acknowledgment sent {"connection_id":175983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:53:41] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:53:41] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:53:41] local.INFO: IMEI packet received {"connection_id":174633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":174633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:53:47] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:53:47] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:53:47] local.INFO: IMEI packet received {"connection_id":174633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":174633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:53:57] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f87650012d4e188006845b20007a012f2c..."} 
[2026-09-08 17:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f87650012d4e188006845b20007a012f2c..."} 
[2026-09-08 17:53:57] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f87650012d4e188006845b20007a012f2c..."} 
[2026-09-08 17:53:57] local.INFO: Packet analysis {"connection_id":174633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f8"} 
[2026-09-08 17:53:57] local.INFO: Extracted packet for processing {"connection_id":174633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f8"} 
[2026-09-08 17:53:57] local.INFO: GPS Element Parsed {"raw_longitude":760092800,"raw_latitude":109337376,"longitude_deg":76.00928,"latitude_deg":10.9337376,"altitude":122,"angle":303,"satellites":44,"speed":38,"hex_longitude":"2d4e1880","hex_latitude":"06845b20","is_valid_coordinates":true} 
[2026-09-08 17:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950758912001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402934843660304384,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5635762380433764352,"note":"Value kept but may cause issues"} 
[2026-09-08 17:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788870162000,"timestamp_ms":1788870162000,"timestamp_seconds":1788870162,"priority":1,"record_length":96,"hex_timestamp":"000001a080f87650"} 
[2026-09-08 17:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 17:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950758912001,"66":27843,"183":206,"19":47872,"24":38,"16":402934843660304384,"45":5635762380433764352},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,19,24,16,45]} 
[2026-09-08 17:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950758912001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:53:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-08 17:53:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402934843660304384,"km_value":402934843660304.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5635762380433764352,"description":"Unknown IO ID 45"} 
[2026-09-08 17:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950758912001,"power":27843,"unknown_183":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":5635762380433764352}} 
[2026-09-08 17:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":174633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:53:57] local.INFO: GPS data processed {"connection_id":174633,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:53:57] local.INFO: Acknowledgment sent {"connection_id":174633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:54:00] local.INFO: TCP Data received {"connection_id":177440,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:00] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:00] local.INFO: IMEI packet received {"connection_id":177440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":177440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:54:01] local.INFO: TCP Data received {"connection_id":177440,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:01] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:01] local.INFO: IMEI packet received {"connection_id":177440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":177440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:54:05] local.INFO: TCP Data received {"connection_id":177440,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:06] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:54:06] local.INFO: IMEI packet received {"connection_id":177440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":177440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:54:07] local.INFO: TCP Data received {"connection_id":177440,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f75928012d1824000721b850004d010b27..."} 
[2026-09-08 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f75928012d1824000721b850004d010b27..."} 
[2026-09-08 17:54:07] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f75928012d1824000721b850004d010b27..."} 
[2026-09-08 17:54:07] local.INFO: Packet analysis {"connection_id":177440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:54:07] local.INFO: Extracted packet for processing {"connection_id":177440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650384,"longitude_deg":75.65568,"latitude_deg":11.9650384,"altitude":77,"angle":267,"satellites":39,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-09-08 17:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950742528001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18807069083697152,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190697472,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:07] 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-09-08 17:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870089000,"timestamp_ms":1788870089000,"timestamp_seconds":1788870089,"priority":1,"record_length":96,"hex_timestamp":"000001a080f75928"} 
[2026-09-08 17:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 17:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950742528001,"66":13102,"120":206,"28":31744,"24":5,"16":18807069083697152,"45":1739656124190697472},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950742528001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:54:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18807069083697152,"km_value":18807069083697.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190697472,"description":"Unknown IO ID 45"} 
[2026-09-08 17:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950742528001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739656124190697472}} 
[2026-09-08 17:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":177440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:54:07] local.INFO: GPS data processed {"connection_id":177440,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:54:07] local.INFO: Acknowledgment sent {"connection_id":177440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:54:38] local.INFO: TCP Data received {"connection_id":177440,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f75d10012d1823800721b810004d00db27..."} 
[2026-09-08 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f75d10012d1823800721b810004d00db27..."} 
[2026-09-08 17:54:38] local.INFO: Processing buffer {"connection_id":177440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f75d10012d1823800721b810004d00db27..."} 
[2026-09-08 17:54:38] local.INFO: Packet analysis {"connection_id":177440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:54:38] local.INFO: Extracted packet for processing {"connection_id":177440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f7"} 
[2026-09-08 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650320,"longitude_deg":75.6556672,"latitude_deg":11.965032,"altitude":77,"angle":219,"satellites":39,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-09-08 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950742784001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18807073378664448,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702352384,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:38] 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-09-08 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788870090000,"timestamp_ms":1788870090000,"timestamp_seconds":1788870090,"priority":1,"record_length":96,"hex_timestamp":"000001a080f75d10"} 
[2026-09-08 17:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950742784001,"66":13102,"120":206,"28":31744,"24":5,"16":18807073378664448,"45":1739515386702352384},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950742784001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:54:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18807073378664448,"km_value":18807073378664.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702352384,"description":"Unknown IO ID 45"} 
[2026-09-08 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950742784001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739515386702352384}} 
[2026-09-08 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":177440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:54:38] local.INFO: GPS data processed {"connection_id":177440,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:54:38] local.INFO: Acknowledgment sent {"connection_id":177440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:54:41] local.INFO: TCP Data received {"connection_id":177442,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:41] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:41] local.INFO: IMEI packet received {"connection_id":177442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":177442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:54:43] local.INFO: TCP Data received {"connection_id":177442,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:43] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:43] local.INFO: IMEI packet received {"connection_id":177442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":177442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:54:46] local.INFO: TCP Data received {"connection_id":177442,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:46] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:54:46] local.INFO: IMEI packet received {"connection_id":177442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":177442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:54:47] local.INFO: TCP Data received {"connection_id":177442,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080f89978012d4df8c006846af0007b01232d..."} 
[2026-09-08 17:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f89978012d4df8c006846af0007b01232d..."} 
[2026-09-08 17:54:47] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f89978012d4df8c006846af0007b01232d..."} 
[2026-09-08 17:54:47] local.INFO: Packet analysis {"connection_id":177442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f8"} 
[2026-09-08 17:54:47] local.INFO: Extracted packet for processing {"connection_id":177442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f8"} 
[2026-09-08 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":760084672,"raw_latitude":109341424,"longitude_deg":76.0084672,"latitude_deg":10.9341424,"altitude":123,"angle":291,"satellites":45,"speed":40,"hex_longitude":"2d4df8c0","hex_latitude":"06846af0","is_valid_coordinates":true} 
[2026-09-08 17:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950761472001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402935277452001280,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5627388499878158336,"note":"Value kept but may cause issues"} 
[2026-09-08 17:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788870171000,"timestamp_ms":1788870171000,"timestamp_seconds":1788870171,"priority":1,"record_length":96,"hex_timestamp":"000001a080f89978"} 
[2026-09-08 17:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 17:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950761472001,"66":27767,"227":206,"19":47872,"24":40,"16":402935277452001280,"45":5627388499878158336},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-09-08 17:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950761472001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:54:47] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-08 17:54:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402935277452001280,"km_value":402935277452001.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5627388499878158336,"description":"Unknown IO ID 45"} 
[2026-09-08 17:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950761472001,"power":27767,"unknown_227":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5627388499878158336}} 
[2026-09-08 17:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":177442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:54:47] local.INFO: GPS data processed {"connection_id":177442,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:54:47] local.INFO: Acknowledgment sent {"connection_id":177442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:55:00] local.INFO: TCP Data received {"connection_id":174916,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:00] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:00] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:55:05] local.INFO: TCP Data received {"connection_id":174916,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:05] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:05] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:55:06] local.INFO: TCP Data received {"connection_id":174916,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:06] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:55:06] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:55:07] local.INFO: TCP Data received {"connection_id":174916,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f9c258012d1873c007222cb0005a002028..."} 
[2026-09-08 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f9c258012d1873c007222cb0005a002028..."} 
[2026-09-08 17:55:07] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f9c258012d1873c007222cb0005a002028..."} 
[2026-09-08 17:55:07] local.INFO: Packet analysis {"connection_id":174916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f9"} 
[2026-09-08 17:55:07] local.INFO: Extracted packet for processing {"connection_id":174916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f9"} 
[2026-09-08 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756577216,"raw_latitude":119680176,"longitude_deg":75.6577216,"latitude_deg":11.9680176,"altitude":90,"angle":32,"satellites":40,"speed":42,"hex_longitude":"2d1873c0","hex_latitude":"07222cb0","is_valid_coordinates":true} 
[2026-09-08 17:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950780928001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18808963164274688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756192779078076416,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:07] 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-09-08 17:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870247000,"timestamp_ms":1788870247000,"timestamp_seconds":1788870247,"priority":1,"record_length":96,"hex_timestamp":"000001a080f9c258"} 
[2026-09-08 17:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-08 17:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950780928001,"66":13102,"120":206,"28":31744,"24":42,"16":18808963164274688,"45":1756192779078076416},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950780928001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:55:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18808963164274688,"km_value":18808963164274.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756192779078076416,"description":"Unknown IO ID 45"} 
[2026-09-08 17:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950780928001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1756192779078076416}} 
[2026-09-08 17:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":174916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:55:07] local.INFO: GPS data processed {"connection_id":174916,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:55:07] local.INFO: Acknowledgment sent {"connection_id":174916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:55:12] local.INFO: TCP Data received {"connection_id":174916,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080f9e580012d1888c007224c08005e002029..."} 
[2026-09-08 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080f9e580012d1888c007224c08005e002029..."} 
[2026-09-08 17:55:12] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080f9e580012d1888c007224c08005e002029..."} 
[2026-09-08 17:55:12] local.INFO: Packet analysis {"connection_id":174916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080f9"} 
[2026-09-08 17:55:12] local.INFO: Extracted packet for processing {"connection_id":174916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080f9"} 
[2026-09-08 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756582592,"raw_latitude":119688200,"longitude_deg":75.6582592,"latitude_deg":11.96882,"altitude":94,"angle":32,"satellites":41,"speed":41,"hex_longitude":"2d1888c0","hex_latitude":"07224c08","is_valid_coordinates":true} 
[2026-09-08 17:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18809427020742656,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761963016102653952,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55: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-09-08 17:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788870256000,"timestamp_ms":1788870256000,"timestamp_seconds":1788870256,"priority":1,"record_length":96,"hex_timestamp":"000001a080f9e580"} 
[2026-09-08 17:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 17:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950783232001,"66":12972,"120":206,"28":31744,"24":41,"16":18809427020742656,"45":1761963016102653952},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18809427020742656,"km_value":18809427020742.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761963016102653952,"description":"Unknown IO ID 45"} 
[2026-09-08 17:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950783232001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1761963016102653952}} 
[2026-09-08 17:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":174916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:55:12] local.INFO: GPS data processed {"connection_id":174916,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:55:12] local.INFO: Acknowledgment sent {"connection_id":174916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:55:18] local.INFO: TCP Data received {"connection_id":177442,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fa1078012d4cba80068575b0006d01592d..."} 
[2026-09-08 17:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fa1078012d4cba80068575b0006d01592d..."} 
[2026-09-08 17:55:18] local.INFO: Processing buffer {"connection_id":177442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fa1078012d4cba80068575b0006d01592d..."} 
[2026-09-08 17:55:18] local.INFO: Packet analysis {"connection_id":177442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:18] local.INFO: Extracted packet for processing {"connection_id":177442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:18] local.INFO: GPS Element Parsed {"raw_longitude":760003200,"raw_latitude":109409712,"longitude_deg":76.00032,"latitude_deg":10.9409712,"altitude":109,"angle":345,"satellites":45,"speed":43,"hex_longitude":"2d4cba80","hex_latitude":"068575b0","is_valid_coordinates":true} 
[2026-09-08 17:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950786816001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402940809369878528,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531546270325094400,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788870267000,"timestamp_ms":1788870267000,"timestamp_seconds":1788870267,"priority":1,"record_length":96,"hex_timestamp":"000001a080fa1078"} 
[2026-09-08 17:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 17:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950786816001,"66":27821,"229":206,"19":47872,"24":43,"16":402940809369878528,"45":5531546270325094400},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 17:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950786816001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:55:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 17:55:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402940809369878528,"km_value":402940809369878.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531546270325094400,"description":"Unknown IO ID 45"} 
[2026-09-08 17:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950786816001,"power":27821,"unknown_229":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5531546270325094400}} 
[2026-09-08 17:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":177442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:55:18] local.INFO: GPS data processed {"connection_id":177442,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:55:18] local.INFO: Acknowledgment sent {"connection_id":177442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:55:43] local.INFO: TCP Data received {"connection_id":174916,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080fa0c90012d189d0007226bd80067001b28..."} 
[2026-09-08 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fa0c90012d189d0007226bd80067001b28..."} 
[2026-09-08 17:55:43] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fa0c90012d189d0007226bd80067001b28..."} 
[2026-09-08 17:55:43] local.INFO: Packet analysis {"connection_id":174916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:43] local.INFO: Extracted packet for processing {"connection_id":174916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756587776,"raw_latitude":119696344,"longitude_deg":75.6587776,"latitude_deg":11.9696344,"altitude":103,"angle":27,"satellites":40,"speed":34,"hex_longitude":"2d189d00","hex_latitude":"07226bd8","is_valid_coordinates":true} 
[2026-09-08 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950785536001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18809890877210624,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767873990615631872,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:43] 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-09-08 17:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788870266000,"timestamp_ms":1788870266000,"timestamp_seconds":1788870266,"priority":1,"record_length":96,"hex_timestamp":"000001a080fa0c90"} 
[2026-09-08 17:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-08 17:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 17:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 17:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 17:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950785536001,"66":12841,"120":206,"28":31744,"24":34,"16":18809890877210624,"45":1767873990615631872},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 17:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 17:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 17:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950785536001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:55:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 17:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 17:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18809890877210624,"km_value":18809890877210.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767873990615631872,"description":"Unknown IO ID 45"} 
[2026-09-08 17:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950785536001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1767873990615631872}} 
[2026-09-08 17:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":174916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:55:43] local.INFO: GPS data processed {"connection_id":174916,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:55:43] local.INFO: Acknowledgment sent {"connection_id":174916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:55:47] local.INFO: TCP Data received {"connection_id":177444,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:47] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:47] local.INFO: IMEI packet received {"connection_id":177444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":177444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:55:47] local.INFO: TCP Data received {"connection_id":177444,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:47] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:47] local.INFO: IMEI packet received {"connection_id":177444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":177444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:55:51] local.INFO: TCP Data received {"connection_id":177444,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:51] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:55:51] local.INFO: IMEI packet received {"connection_id":177444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":177444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:55:53] local.INFO: TCP Data received {"connection_id":177444,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fa27e8012d4cb78006858cc8006e016630..."} 
[2026-09-08 17:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fa27e8012d4cb78006858cc8006e016630..."} 
[2026-09-08 17:55:53] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fa27e8012d4cb78006858cc8006e016630..."} 
[2026-09-08 17:55:53] local.INFO: Packet analysis {"connection_id":177444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:53] local.INFO: Extracted packet for processing {"connection_id":177444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:53] local.INFO: GPS Element Parsed {"raw_longitude":760002432,"raw_latitude":109415624,"longitude_deg":76.0002432,"latitude_deg":10.9415624,"altitude":110,"angle":358,"satellites":48,"speed":38,"hex_longitude":"2d4cb780","hex_latitude":"06858cc8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 17:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950788352001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402941101427654656,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528872258047946752,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788870273000,"timestamp_ms":1788870273000,"timestamp_seconds":1788870273,"priority":1,"record_length":96,"hex_timestamp":"000001a080fa27e8"} 
[2026-09-08 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-09-08 17:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 17:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 17:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950788352001,"66":27800,"229":206,"19":47872,"24":38,"16":402941101427654656,"45":5528872258047946752},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 17:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950788352001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:55:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 17:55:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402941101427654656,"km_value":402941101427654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528872258047946752,"description":"Unknown IO ID 45"} 
[2026-09-08 17:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950788352001,"power":27800,"unknown_229":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":5528872258047946752}} 
[2026-09-08 17:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":177444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:55:53] local.INFO: GPS data processed {"connection_id":177444,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:55:53] local.INFO: Acknowledgment sent {"connection_id":177444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:55:54] local.INFO: TCP Data received {"connection_id":177444,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fa3788012d4cb88006859b98006f000830..."} 
[2026-09-08 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fa3788012d4cb88006859b98006f000830..."} 
[2026-09-08 17:55:54] local.INFO: Processing buffer {"connection_id":177444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fa3788012d4cb88006859b98006f000830..."} 
[2026-09-08 17:55:54] local.INFO: Packet analysis {"connection_id":177444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:54] local.INFO: Extracted packet for processing {"connection_id":177444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fa"} 
[2026-09-08 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":760002688,"raw_latitude":109419416,"longitude_deg":76.0002688,"latitude_deg":10.9419416,"altitude":111,"angle":8,"satellites":48,"speed":38,"hex_longitude":"2d4cb880","hex_latitude":"06859b98","is_valid_coordinates":true} 
[2026-09-08 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950789888001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402941281816281088,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528027833119328256,"note":"Value kept but may cause issues"} 
[2026-09-08 17:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788870277000,"timestamp_ms":1788870277000,"timestamp_seconds":1788870277,"priority":1,"record_length":96,"hex_timestamp":"000001a080fa3788"} 
[2026-09-08 17:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950789888001,"66":27267,"229":206,"19":47872,"24":38,"16":402941281816281088,"45":5528027833119328256},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-09-08 17:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950789888001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:55:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-08 17:55:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-09-08 17:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402941281816281088,"km_value":402941281816281.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528027833119328256,"description":"Unknown IO ID 45"} 
[2026-09-08 17:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950789888001,"power":27267,"unknown_229":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":5528027833119328256}} 
[2026-09-08 17:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":177444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:55:54] local.INFO: GPS data processed {"connection_id":177444,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:55:54] local.INFO: Acknowledgment sent {"connection_id":177444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:56:01] local.INFO: TCP Data received {"connection_id":174634,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:01] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:01] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:56:02] local.INFO: TCP Data received {"connection_id":174634,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:02] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:02] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:56:04] local.INFO: TCP Data received {"connection_id":174634,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:04] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:04] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:56:05] local.INFO: TCP Data received {"connection_id":174634,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:05] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 17:56:05] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:56:09] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:56:09] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 17:56:09] local.INFO: IMEI packet received {"connection_id":174918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 17:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":174918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:56:38] local.INFO: TCP Data received {"connection_id":177446,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:38] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:38] local.INFO: IMEI packet received {"connection_id":177446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":177446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:56:41] local.INFO: TCP Data received {"connection_id":177446,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:41] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:41] local.INFO: IMEI packet received {"connection_id":177446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":177446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:56:46] local.INFO: TCP Data received {"connection_id":177446,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:46] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:56:46] local.INFO: IMEI packet received {"connection_id":177446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":177446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:56:47] local.INFO: TCP Data received {"connection_id":177446,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fb6068012d4d7e000686ac00006d001430..."} 
[2026-09-08 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fb6068012d4d7e000686ac00006d001430..."} 
[2026-09-08 17:56:47] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fb6068012d4d7e000686ac00006d001430..."} 
[2026-09-08 17:56:47] local.INFO: Packet analysis {"connection_id":177446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:56:47] local.INFO: Extracted packet for processing {"connection_id":177446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":760053248,"raw_latitude":109489152,"longitude_deg":76.0053248,"latitude_deg":10.9489152,"altitude":109,"angle":20,"satellites":48,"speed":54,"hex_longitude":"2d4d7e00","hex_latitude":"0686ac00","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950810368001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402945469409394688,"note":"Value kept but may cause issues"} 
[2026-09-08 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5583900616015216640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:56:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788870353000,"timestamp_ms":1788870353000,"timestamp_seconds":1788870353,"priority":1,"record_length":96,"hex_timestamp":"000001a080fb6068"} 
[2026-09-08 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950810368001,"66":206,"19":48128,"24":54,"16":402945469409394688,"45":5583900616015216640},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950810368001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:56:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402945469409394688,"km_value":402945469409394.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5583900616015216640,"description":"Unknown IO ID 45"} 
[2026-09-08 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950810368001,"power":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":5583900616015216640}} 
[2026-09-08 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":177446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:56:47] local.INFO: GPS data processed {"connection_id":177446,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:56:47] local.INFO: Acknowledgment sent {"connection_id":177446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:57:15] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:57:15] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:57:15] local.INFO: IMEI packet received {"connection_id":174920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":174920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:57:15] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fc1be8012d821b0005da8fe0000a005b24..."} 
[2026-09-08 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fc1be8012d821b0005da8fe0000a005b24..."} 
[2026-09-08 17:57:15] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fc1be8012d821b0005da8fe0000a005b24..."} 
[2026-09-08 17:57:15] local.INFO: Packet analysis {"connection_id":174920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 17:57:15] local.INFO: Extracted packet for processing {"connection_id":174920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 17:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763501312,"raw_latitude":98209760,"longitude_deg":76.3501312,"latitude_deg":9.820976,"altitude":10,"angle":91,"satellites":36,"speed":27,"hex_longitude":"2d821b00","hex_latitude":"05da8fe0","is_valid_coordinates":true} 
[2026-09-08 17:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950821888001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130020999490961408,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9074401380289097728,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788870401000,"timestamp_ms":1788870401000,"timestamp_seconds":1788870401,"priority":1,"record_length":96,"hex_timestamp":"000001a080fc1be8"} 
[2026-09-08 17:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 17:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950821888001,"66":13613,"71":206,"85":15104,"24":27,"16":130020999490961408,"45":-9074401380289097728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 17:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950821888001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:57:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 17:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130020999490961408,"km_value":130020999490961.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9074401380289097728,"description":"Unknown IO ID 45"} 
[2026-09-08 17:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950821888001,"power":13613,"unknown_71":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9074401380289097728}} 
[2026-09-08 17:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":174920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:57:15] local.INFO: GPS data processed {"connection_id":174920,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:57:15] local.INFO: Acknowledgment sent {"connection_id":174920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:57:19] local.INFO: TCP Data received {"connection_id":177446,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fb7bc0012d4d88800686d028006a000d2c..."} 
[2026-09-08 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fb7bc0012d4d88800686d028006a000d2c..."} 
[2026-09-08 17:57:19] local.INFO: Processing buffer {"connection_id":177446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fb7bc0012d4d88800686d028006a000d2c..."} 
[2026-09-08 17:57:19] local.INFO: Packet analysis {"connection_id":177446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:57:19] local.INFO: Extracted packet for processing {"connection_id":177446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":760055936,"raw_latitude":109498408,"longitude_deg":76.0055936,"latitude_deg":10.9498408,"altitude":106,"angle":13,"satellites":44,"speed":54,"hex_longitude":"2d4d8880","hex_latitude":"0686d028","is_valid_coordinates":true} 
[2026-09-08 17: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-09-08 17:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950810368001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402945937560829952,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5583900616015216640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788870360000,"timestamp_ms":1788870360000,"timestamp_seconds":1788870360,"priority":1,"record_length":96,"hex_timestamp":"000001a080fb7bc0"} 
[2026-09-08 17:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17: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-09-08 17:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950810368001,"66":206,"19":48128,"24":54,"16":402945937560829952,"45":5583900616015216640},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950810368001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:57:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402945937560829952,"km_value":402945937560829.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5583900616015216640,"description":"Unknown IO ID 45"} 
[2026-09-08 17:57:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950810368001,"power":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":5583900616015216640}} 
[2026-09-08 17:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":177446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:57:19] local.INFO: GPS data processed {"connection_id":177446,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:57:19] local.INFO: Acknowledgment sent {"connection_id":177446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:57:42] local.INFO: TCP Data received {"connection_id":175986,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:42] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:42] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:57:42] local.INFO: TCP Data received {"connection_id":175986,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:42] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:42] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:57:47] local.INFO: TCP Data received {"connection_id":175986,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:47] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:57:47] local.INFO: IMEI packet received {"connection_id":175986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":175986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:57:48] local.INFO: TCP Data received {"connection_id":175986,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fb9718012d4d91800686f4780067000e28..."} 
[2026-09-08 17:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fb9718012d4d91800686f4780067000e28..."} 
[2026-09-08 17:57:48] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fb9718012d4d91800686f4780067000e28..."} 
[2026-09-08 17:57:48] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:57:48] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":760058240,"raw_latitude":109507704,"longitude_deg":76.005824,"latitude_deg":10.9507704,"altitude":103,"angle":14,"satellites":40,"speed":53,"hex_longitude":"2d4d9180","hex_latitude":"0686f478","is_valid_coordinates":true} 
[2026-09-08 17:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950812160001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402946401417297920,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5586856103273048064,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788870367000,"timestamp_ms":1788870367000,"timestamp_seconds":1788870367,"priority":1,"record_length":96,"hex_timestamp":"000001a080fb9718"} 
[2026-09-08 17:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 17:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950812160001,"66":206,"19":48128,"24":53,"16":402946401417297920,"45":5586856103273048064},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950812160001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:57:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402946401417297920,"km_value":402946401417297.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5586856103273048064,"description":"Unknown IO ID 45"} 
[2026-09-08 17:57:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950812160001,"power":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5586856103273048064}} 
[2026-09-08 17:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:57:48] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:57:48] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:57:49] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fc1fd0012d821d4005da8f90000a006924..."} 
[2026-09-08 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fc1fd0012d821d4005da8f90000a006924..."} 
[2026-09-08 17:57:49] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fc1fd0012d821d4005da8f90000a006924..."} 
[2026-09-08 17:57:49] local.INFO: Packet analysis {"connection_id":174920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 17:57:49] local.INFO: Extracted packet for processing {"connection_id":174920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763501888,"raw_latitude":98209680,"longitude_deg":76.3501888,"latitude_deg":9.820968,"altitude":10,"angle":105,"satellites":36,"speed":24,"hex_longitude":"2d821d40","hex_latitude":"05da8f90","is_valid_coordinates":true} 
[2026-09-08 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950822656001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130021029555732480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071656999266033664,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788870402000,"timestamp_ms":1788870402000,"timestamp_seconds":1788870402,"priority":1,"record_length":96,"hex_timestamp":"000001a080fc1fd0"} 
[2026-09-08 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 17:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950822656001,"66":13613,"71":206,"85":15104,"24":24,"16":130021029555732480,"45":-9071656999266033664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950822656001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:57:49] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 17:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130021029555732480,"km_value":130021029555732.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071656999266033664,"description":"Unknown IO ID 45"} 
[2026-09-08 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950822656001,"power":13613,"unknown_71":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9071656999266033664}} 
[2026-09-08 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":174920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:57:49] local.INFO: GPS data processed {"connection_id":174920,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:57:49] local.INFO: Acknowledgment sent {"connection_id":174920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:57:50] local.INFO: TCP Data received {"connection_id":175986,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fbb270012d4d9b80068718c80066000d2b..."} 
[2026-09-08 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fbb270012d4d9b80068718c80066000d2b..."} 
[2026-09-08 17:57:50] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fbb270012d4d9b80068718c80066000d2b..."} 
[2026-09-08 17:57:50] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:57:50] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:57:50] local.INFO: GPS Element Parsed {"raw_longitude":760060800,"raw_latitude":109517000,"longitude_deg":76.00608,"latitude_deg":10.9517,"altitude":102,"angle":13,"satellites":43,"speed":53,"hex_longitude":"2d4d9b80","hex_latitude":"068718c8","is_valid_coordinates":true} 
[2026-09-08 17:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950813952001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402946869568733184,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5589389378065823744,"note":"Value kept but may cause issues"} 
[2026-09-08 17:57:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788870374000,"timestamp_ms":1788870374000,"timestamp_seconds":1788870374,"priority":1,"record_length":96,"hex_timestamp":"000001a080fbb270"} 
[2026-09-08 17:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 17:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950813952001,"66":206,"19":48128,"24":53,"16":402946869568733184,"45":5589389378065823744},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950813952001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:57:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402946869568733184,"km_value":402946869568733.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5589389378065823744,"description":"Unknown IO ID 45"} 
[2026-09-08 17:57:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950813952001,"power":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5589389378065823744}} 
[2026-09-08 17:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:57:50] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:57:50] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:58:07] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:07] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:07] local.INFO: IMEI packet received {"connection_id":177447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":177447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:58:08] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:08] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:08] local.INFO: IMEI packet received {"connection_id":177447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":177447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:58:13] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:13] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:58:13] local.INFO: IMEI packet received {"connection_id":177447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":177447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:58:14] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fc23b8012d821f4005da8e78000b007b26..."} 
[2026-09-08 17:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fc23b8012d821f4005da8e78000b007b26..."} 
[2026-09-08 17:58:14] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fc23b8012d821f4005da8e78000b007b26..."} 
[2026-09-08 17:58:14] local.INFO: Packet analysis {"connection_id":177447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 17:58:14] local.INFO: Extracted packet for processing {"connection_id":177447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 17:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763502400,"raw_latitude":98209400,"longitude_deg":76.35024,"latitude_deg":9.82094,"altitude":11,"angle":123,"satellites":38,"speed":23,"hex_longitude":"2d821f40","hex_latitude":"05da8e78","is_valid_coordinates":true} 
[2026-09-08 17:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950822912001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130021055325536256,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071023680568455168,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870403000,"timestamp_ms":1788870403000,"timestamp_seconds":1788870403,"priority":1,"record_length":96,"hex_timestamp":"000001a080fc23b8"} 
[2026-09-08 17:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 17:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950822912001,"66":13450,"71":206,"85":15104,"24":23,"16":130021055325536256,"45":-9071023680568455168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-08 17:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950822912001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:58:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-08 17:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130021055325536256,"km_value":130021055325536.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071023680568455168,"description":"Unknown IO ID 45"} 
[2026-09-08 17:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950822912001,"power":13450,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9071023680568455168}} 
[2026-09-08 17:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":177447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:58:14] local.INFO: GPS data processed {"connection_id":177447,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:58:14] local.INFO: Acknowledgment sent {"connection_id":177447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:58:23] local.INFO: TCP Data received {"connection_id":175986,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fbcdc8012d4da48006873cc80064000e2c..."} 
[2026-09-08 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fbcdc8012d4da48006873cc80064000e2c..."} 
[2026-09-08 17:58:23] local.INFO: Processing buffer {"connection_id":175986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fbcdc8012d4da48006873cc80064000e2c..."} 
[2026-09-08 17:58:23] local.INFO: Packet analysis {"connection_id":175986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:58:23] local.INFO: Extracted packet for processing {"connection_id":175986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fb"} 
[2026-09-08 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":760063104,"raw_latitude":109526216,"longitude_deg":76.0063104,"latitude_deg":10.9526216,"altitude":100,"angle":14,"satellites":44,"speed":53,"hex_longitude":"2d4da480","hex_latitude":"06873cc8","is_valid_coordinates":true} 
[2026-09-08 17:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950815744001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402947329130233856,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5592204127835310080,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788870381000,"timestamp_ms":1788870381000,"timestamp_seconds":1788870381,"priority":1,"record_length":96,"hex_timestamp":"000001a080fbcdc8"} 
[2026-09-08 17:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 17:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950815744001,"66":206,"19":48128,"24":53,"16":402947329130233856,"45":5592204127835310080},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950815744001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402947329130233856,"km_value":402947329130233.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5592204127835310080,"description":"Unknown IO ID 45"} 
[2026-09-08 17:58:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950815744001,"power":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5592204127835310080}} 
[2026-09-08 17:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":175986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:58:23] local.INFO: GPS data processed {"connection_id":175986,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:58:23] local.INFO: Acknowledgment sent {"connection_id":175986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:58:41] local.INFO: TCP Data received {"connection_id":174921,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:41] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:41] local.INFO: IMEI packet received {"connection_id":174921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":174921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:58:43] local.INFO: TCP Data received {"connection_id":174921,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:43] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:43] local.INFO: IMEI packet received {"connection_id":174921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:58:45] local.INFO: TCP Data received {"connection_id":177447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fda288012d8264c005d95c70000a00a125..."} 
[2026-09-08 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fda288012d8264c005d95c70000a00a125..."} 
[2026-09-08 17:58:45] local.INFO: Processing buffer {"connection_id":177447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fda288012d8264c005d95c70000a00a125..."} 
[2026-09-08 17:58:45] local.INFO: Packet analysis {"connection_id":177447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:58:45] local.INFO: Extracted packet for processing {"connection_id":177447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763520192,"raw_latitude":98131056,"longitude_deg":76.3520192,"latitude_deg":9.8131056,"altitude":10,"angle":161,"satellites":37,"speed":46,"hex_longitude":"2d8264c0","hex_latitude":"05d95c70","is_valid_coordinates":true} 
[2026-09-08 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950846208001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130024968040742912,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053501863286046720,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788870501000,"timestamp_ms":1788870501000,"timestamp_seconds":1788870501,"priority":1,"record_length":96,"hex_timestamp":"000001a080fda288"} 
[2026-09-08 17:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 17:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950846208001,"66":13319,"69":206,"85":15104,"24":46,"16":130024968040742912,"45":-9053501863286046720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-08 17:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950846208001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:58:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-08 17:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130024968040742912,"km_value":130024968040742.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053501863286046720,"description":"Unknown IO ID 45"} 
[2026-09-08 17:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950846208001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9053501863286046720}} 
[2026-09-08 17:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":177447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:58:45] local.INFO: GPS data processed {"connection_id":177447,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:58:45] local.INFO: Acknowledgment sent {"connection_id":177447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:58:47] local.INFO: TCP Data received {"connection_id":174921,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:47] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:58:47] local.INFO: IMEI packet received {"connection_id":174921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:58:50] local.INFO: TCP Data received {"connection_id":174921,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fd19d0012d4deec00688b0a0005101612d..."} 
[2026-09-08 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fd19d0012d4deec00688b0a0005101612d..."} 
[2026-09-08 17:58:50] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fd19d0012d4deec00688b0a0005101612d..."} 
[2026-09-08 17:58:50] local.INFO: Packet analysis {"connection_id":174921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:58:50] local.INFO: Extracted packet for processing {"connection_id":174921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":760082112,"raw_latitude":109621408,"longitude_deg":76.0082112,"latitude_deg":10.9621408,"altitude":81,"angle":353,"satellites":45,"speed":38,"hex_longitude":"2d4deec0","hex_latitude":"0688b0a0","is_valid_coordinates":true} 
[2026-09-08 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950836480001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402952070774128640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616903557065920512,"note":"Value kept but may cause issues"} 
[2026-09-08 17:58:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788870466000,"timestamp_ms":1788870466000,"timestamp_seconds":1788870466,"priority":1,"record_length":96,"hex_timestamp":"000001a080fd19d0"} 
[2026-09-08 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 17:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950836480001,"66":206,"19":48128,"24":38,"16":402952070774128640,"45":5616903557065920512},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950836480001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:58:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402952070774128640,"km_value":402952070774128.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616903557065920512,"description":"Unknown IO ID 45"} 
[2026-09-08 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950836480001,"power":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":5616903557065920512}} 
[2026-09-08 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":174921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:58:50] local.INFO: GPS data processed {"connection_id":174921,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:58:50] local.INFO: Acknowledgment sent {"connection_id":174921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:59:09] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:09] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:09] local.INFO: IMEI packet received {"connection_id":177449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":177449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:59:09] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:09] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:09] local.INFO: IMEI packet received {"connection_id":177449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":177449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:59:13] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:13] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 17:59:13] local.INFO: IMEI packet received {"connection_id":177449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":177449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:59:14] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fdc1c8012d8272c005d938b00009009d26..."} 
[2026-09-08 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fdc1c8012d8272c005d938b00009009d26..."} 
[2026-09-08 17:59:14] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fdc1c8012d8272c005d938b00009009d26..."} 
[2026-09-08 17:59:14] local.INFO: Packet analysis {"connection_id":177449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:14] local.INFO: Extracted packet for processing {"connection_id":177449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":763523776,"raw_latitude":98121904,"longitude_deg":76.3523776,"latitude_deg":9.8121904,"altitude":9,"angle":157,"satellites":38,"speed":47,"hex_longitude":"2d8272c0","hex_latitude":"05d938b0","is_valid_coordinates":true} 
[2026-09-08 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950848256001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130025444782112768,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050898219753771008,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870509000,"timestamp_ms":1788870509000,"timestamp_seconds":1788870509,"priority":1,"record_length":96,"hex_timestamp":"000001a080fdc1c8"} 
[2026-09-08 17:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185723909,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4243255297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3681026057,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4011917312,"corrected_to":0} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3659864064,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":252,"raw_value":8203308016225091589,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.WARNING: Large IO value detected {"io_id":218,"raw_value":5366038998972900864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,69,85,24,241,157,16,160,131,45,128,127,10,37,66,240,100,162,71,57,192,1,51,227,239,217,4,113,205,30,188,168,52,2,5,11,42,252,218],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":4011917312,"validated":0}]} 
[2026-09-08 17:59:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720753120668155904,"timestamp_seconds":720753120668155.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950848256001,"66":13319,"69":206,"85":15104,"24":47,"16":130025444782112768,"45":-9050898219753771008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-08 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950848256001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:59:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-08 17:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130025444782112768,"km_value":130025444782112.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050898219753771008,"description":"Unknown IO ID 45"} 
[2026-09-08 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950848256001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9050898219753771008}} 
[2026-09-08 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":177449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:59:14] local.INFO: GPS data processed {"connection_id":177449,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:59:14] local.INFO: Acknowledgment sent {"connection_id":177449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:59:22] local.INFO: TCP Data received {"connection_id":174921,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fd3cf8012d4dea400688d318005301602f..."} 
[2026-09-08 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fd3cf8012d4dea400688d318005301602f..."} 
[2026-09-08 17:59:22] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fd3cf8012d4dea400688d318005301602f..."} 
[2026-09-08 17:59:22] local.INFO: Packet analysis {"connection_id":174921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:22] local.INFO: Extracted packet for processing {"connection_id":174921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":760080960,"raw_latitude":109630232,"longitude_deg":76.008096,"latitude_deg":10.9630232,"altitude":83,"angle":352,"satellites":47,"speed":39,"hex_longitude":"2d4dea40","hex_latitude":"0688d318","is_valid_coordinates":true} 
[2026-09-08 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950839296001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402952504565825536,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615636919673200640,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788870475000,"timestamp_ms":1788870475000,"timestamp_seconds":1788870475,"priority":1,"record_length":96,"hex_timestamp":"000001a080fd3cf8"} 
[2026-09-08 17:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 17:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950839296001,"66":206,"19":48128,"24":39,"16":402952504565825536,"45":5615636919673200640},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950839296001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:59:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402952504565825536,"km_value":402952504565825.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615636919673200640,"description":"Unknown IO ID 45"} 
[2026-09-08 17:59:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950839296001,"power":206,"unknown_19":48128,"ignition":39,"odometer":null,"unknown_45":5615636919673200640}} 
[2026-09-08 17:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":174921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:59:22] local.INFO: GPS data processed {"connection_id":174921,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:59:22] local.INFO: Acknowledgment sent {"connection_id":174921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:59:41] local.INFO: TCP Data received {"connection_id":174637,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:59:41] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:59:41] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 17:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 17:59:46] local.INFO: TCP Data received {"connection_id":177449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fde108012d827f0005d91748000a00a526..."} 
[2026-09-08 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fde108012d827f0005d91748000a00a526..."} 
[2026-09-08 17:59:46] local.INFO: Processing buffer {"connection_id":177449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fde108012d827f0005d91748000a00a526..."} 
[2026-09-08 17:59:46] local.INFO: Packet analysis {"connection_id":177449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:46] local.INFO: Extracted packet for processing {"connection_id":177449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":763526912,"raw_latitude":98113352,"longitude_deg":76.3526912,"latitude_deg":9.8113352,"altitude":10,"angle":165,"satellites":38,"speed":41,"hex_longitude":"2d827f00","hex_latitude":"05d91748","is_valid_coordinates":true} 
[2026-09-08 17:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950850304001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130025882868776960,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046957570082164736,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 17:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788870517000,"timestamp_ms":1788870517000,"timestamp_seconds":1788870517,"priority":1,"record_length":96,"hex_timestamp":"000001a080fde108"} 
[2026-09-08 17:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164046864,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186002437,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4248375297,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3343384586,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4018864128,"corrected_to":0} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4026609026,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657410560,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":252,"raw_value":-7428686290377506811,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2672886426100180480,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,69,85,24,241,157,16,160,162,45,192,92,10,37,66,131,128,127,240,100,1,214,227,217,4,113,205,23,234,71,104,39,239,51,2,5,252,218],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":4018864128,"validated":0}]} 
[2026-09-08 17:59:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648691132878749696,"timestamp_seconds":648691132878749.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 17:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 17:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 17:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 17:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950850304001,"66":12917,"69":206,"85":15104,"24":41,"16":130025882868776960,"45":-9046957570082164736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-08 17:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 17:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 17:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950850304001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:59:46] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-08 17:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 17:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130025882868776960,"km_value":130025882868776.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046957570082164736,"description":"Unknown IO ID 45"} 
[2026-09-08 17:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950850304001,"power":12917,"unknown_69":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9046957570082164736}} 
[2026-09-08 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":177449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:59:46] local.INFO: GPS data processed {"connection_id":177449,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:59:46] local.INFO: Acknowledgment sent {"connection_id":177449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 17:59:47] local.INFO: TCP Data received {"connection_id":174637,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:59:47] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 17:59:47] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 17:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 17:59:51] local.INFO: TCP Data received {"connection_id":174637,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fd6408012d4de5800688f8a8005501602f..."} 
[2026-09-08 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fd6408012d4de5800688f8a8005501602f..."} 
[2026-09-08 17:59:51] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fd6408012d4de5800688f8a8005501602f..."} 
[2026-09-08 17:59:51] local.INFO: Packet analysis {"connection_id":174637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:51] local.INFO: Extracted packet for processing {"connection_id":174637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":109639848,"longitude_deg":76.0079744,"latitude_deg":10.9639848,"altitude":85,"angle":352,"satellites":47,"speed":37,"hex_longitude":"2d4de580","hex_latitude":"0688f8a8","is_valid_coordinates":true} 
[2026-09-08 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 17:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950841600001,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402952972717260800,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614370282280261632,"note":"Value kept but may cause issues"} 
[2026-09-08 17:59:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 17:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788870485000,"timestamp_ms":1788870485000,"timestamp_seconds":1788870485,"priority":1,"record_length":96,"hex_timestamp":"000001a080fd6408"} 
[2026-09-08 17:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 17:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 17:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 17:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 17:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 17:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 17:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 17:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 17:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 17:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 17:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950841600001,"66":206,"19":48128,"24":37,"16":402952972717260800,"45":5614370282280261632},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 17:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 17:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 17:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950841600001,"description":"Unknown IO ID 0"} 
[2026-09-08 17:59:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 17:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402952972717260800,"km_value":402952972717260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 17:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614370282280261632,"description":"Unknown IO ID 45"} 
[2026-09-08 17:59:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950841600001,"power":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":5614370282280261632}} 
[2026-09-08 17:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":174637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 17:59:51] local.INFO: GPS data processed {"connection_id":174637,"processed":1,"errors":0,"total":1} 
[2026-09-08 17:59:51] local.INFO: Acknowledgment sent {"connection_id":174637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:00:08] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:00:08] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:00:08] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:00:13] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:00:13] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:00:13] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:00:14] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fe1ba0012d82830005d90270000800b027..."} 
[2026-09-08 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fe1ba0012d82830005d90270000800b027..."} 
[2026-09-08 18:00:14] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fe1ba0012d82830005d90270000800b027..."} 
[2026-09-08 18:00:14] local.INFO: Packet analysis {"connection_id":174638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:00:14] local.INFO: Extracted packet for processing {"connection_id":174638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":98108016,"longitude_deg":76.3527936,"latitude_deg":9.8108016,"altitude":8,"angle":176,"satellites":39,"speed":8,"hex_longitude":"2d828300","hex_latitude":"05d90270","is_valid_coordinates":true} 
[2026-09-08 18:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950852352001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130026153451716608,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043509501619648512,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870532000,"timestamp_ms":1788870532000,"timestamp_seconds":1788870532,"priority":1,"record_length":96,"hex_timestamp":"000001a080fe1ba0"} 
[2026-09-08 18:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 18:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950852352001,"66":12504,"69":206,"85":15104,"24":8,"16":130026153451716608,"45":-9043509501619648512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-08 18:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950852352001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:00:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-08 18:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130026153451716608,"km_value":130026153451716.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043509501619648512,"description":"Unknown IO ID 45"} 
[2026-09-08 18:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950852352001,"power":12504,"unknown_69":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9043509501619648512}} 
[2026-09-08 18:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":174638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:00:14] local.INFO: GPS data processed {"connection_id":174638,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:00:14] local.INFO: Acknowledgment sent {"connection_id":174638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:00:22] local.INFO: TCP Data received {"connection_id":174637,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fd8b18012d4de1c006891c00005801642f..."} 
[2026-09-08 18:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fd8b18012d4de1c006891c00005801642f..."} 
[2026-09-08 18:00:22] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fd8b18012d4de1c006891c00005801642f..."} 
[2026-09-08 18:00:22] local.INFO: Packet analysis {"connection_id":174637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:00:22] local.INFO: Extracted packet for processing {"connection_id":174637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:00:22] local.INFO: GPS Element Parsed {"raw_longitude":760078784,"raw_latitude":109648896,"longitude_deg":76.0078784,"latitude_deg":10.9648896,"altitude":88,"angle":356,"satellites":47,"speed":35,"hex_longitude":"2d4de1c0","hex_latitude":"06891c00","is_valid_coordinates":true} 
[2026-09-08 18:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950844160001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402953415098892288,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033276143347712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788870495000,"timestamp_ms":1788870495000,"timestamp_seconds":1788870495,"priority":1,"record_length":96,"hex_timestamp":"000001a080fd8b18"} 
[2026-09-08 18:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950844160001,"66":206,"19":48128,"24":35,"16":402953415098892288,"45":5613033276143347712},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950844160001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402953415098892288,"km_value":402953415098892.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033276143347712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:00:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950844160001,"power":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":5613033276143347712}} 
[2026-09-08 18:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":174637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:00:22] local.INFO: GPS data processed {"connection_id":174637,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:00:22] local.INFO: Acknowledgment sent {"connection_id":174637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:00:41] local.INFO: TCP Data received {"connection_id":175990,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:00:41] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:00:41] local.INFO: IMEI packet received {"connection_id":175990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":175990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:00:45] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fe5638012d8284c005d8df60000700b127..."} 
[2026-09-08 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fe5638012d8284c005d8df60000700b127..."} 
[2026-09-08 18:00:45] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fe5638012d8284c005d8df60000700b127..."} 
[2026-09-08 18:00:45] local.INFO: Packet analysis {"connection_id":174638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:00:45] local.INFO: Extracted packet for processing {"connection_id":174638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763528384,"raw_latitude":98099040,"longitude_deg":76.3528384,"latitude_deg":9.809904,"altitude":7,"angle":177,"satellites":39,"speed":23,"hex_longitude":"2d8284c0","hex_latitude":"05d8df60","is_valid_coordinates":true} 
[2026-09-08 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950856192001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130026587243413504,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601714171904,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788870547000,"timestamp_ms":1788870547000,"timestamp_seconds":1788870547,"priority":1,"record_length":96,"hex_timestamp":"000001a080fe5638"} 
[2026-09-08 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950856192001,"66":13254,"49":206,"85":15104,"24":23,"16":130026587243413504,"45":-9042383601714171904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-08 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950856192001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130026587243413504,"km_value":130026587243413.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601714171904,"description":"Unknown IO ID 45"} 
[2026-09-08 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950856192001,"power":13254,"unknown_49":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9042383601714171904}} 
[2026-09-08 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":174638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:00:45] local.INFO: GPS data processed {"connection_id":174638,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:00:45] local.INFO: Acknowledgment sent {"connection_id":174638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:00:47] local.INFO: TCP Data received {"connection_id":175990,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:00:47] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:00:47] local.INFO: IMEI packet received {"connection_id":175990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":175990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:00:49] local.INFO: TCP Data received {"connection_id":175990,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fdae40012d4de2c006893b18005b00062f..."} 
[2026-09-08 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fdae40012d4de2c006893b18005b00062f..."} 
[2026-09-08 18:00:49] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fdae40012d4de2c006893b18005b00062f..."} 
[2026-09-08 18:00:49] local.INFO: Packet analysis {"connection_id":175990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:00:49] local.INFO: Extracted packet for processing {"connection_id":175990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":760079040,"raw_latitude":109656856,"longitude_deg":76.007904,"latitude_deg":10.9656856,"altitude":91,"angle":6,"satellites":47,"speed":35,"hex_longitude":"2d4de2c0","hex_latitude":"06893b18","is_valid_coordinates":true} 
[2026-09-08 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950846720001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402953801645948928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5611977744982999040,"note":"Value kept but may cause issues"} 
[2026-09-08 18:00:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788870504000,"timestamp_ms":1788870504000,"timestamp_seconds":1788870504,"priority":1,"record_length":96,"hex_timestamp":"000001a080fdae40"} 
[2026-09-08 18:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 18:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950846720001,"66":206,"19":48128,"24":35,"16":402953801645948928,"45":5611977744982999040},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950846720001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:00:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402953801645948928,"km_value":402953801645948.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5611977744982999040,"description":"Unknown IO ID 45"} 
[2026-09-08 18:00:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457950846720001,"power":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":5611977744982999040}} 
[2026-09-08 18:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":175990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:00:49] local.INFO: GPS data processed {"connection_id":175990,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:00:49] local.INFO: Acknowledgment sent {"connection_id":175990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:08] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:08] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:08] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:01:09] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:09] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:09] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:01:09] local.INFO: TCP Data received {"connection_id":174922,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:01:09] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:01:09] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:01:10] local.INFO: TCP Data received {"connection_id":174922,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080fceaf0012d1a74c0072411d8002b014b29..."} 
[2026-09-08 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fceaf0012d1a74c0072411d8002b014b29..."} 
[2026-09-08 18:01:10] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fceaf0012d1a74c0072411d8002b014b29..."} 
[2026-09-08 18:01:10] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 18:01:10] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119804376,"longitude_deg":75.6708544,"latitude_deg":11.9804376,"altitude":43,"angle":331,"satellites":41,"speed":7,"hex_longitude":"2d1a74c0","hex_latitude":"072411d8","is_valid_coordinates":true} 
[2026-09-08 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950835968001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818785754480640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906430047931150336,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788870454000,"timestamp_ms":1788870454000,"timestamp_seconds":1788870454,"priority":1,"record_length":96,"hex_timestamp":"000001a080fceaf0"} 
[2026-09-08 18:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164014864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3672440832,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4238647297,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-5181391182307776768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3221693412,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":78,"raw_value":57956838461545596,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2010858526845042695,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,219,160,227,45,42,10,66,223,192,15,43,191,1,240,62,128,35,4,113,205,30,125,76,40,239,54,2,7,44,18,78,252],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 18:01:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098856055531569152,"timestamp_seconds":3098856055531569.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950835968001,"66":13319,"112":206,"28":31744,"24":7,"16":18818785754480640,"45":1906430047931150336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950835968001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818785754480640,"km_value":18818785754480.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906430047931150336,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950835968001,"power":13319,"unknown_112":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1906430047931150336}} 
[2026-09-08 18:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:11] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:11] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:13] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:14] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:01:14] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:01:14] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fe8518012d82870005d8b980000600b126..."} 
[2026-09-08 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fe8518012d82870005d8b980000600b126..."} 
[2026-09-08 18:01:14] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fe8518012d82870005d8b980000600b126..."} 
[2026-09-08 18:01:14] local.INFO: Packet analysis {"connection_id":174923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:01:14] local.INFO: Extracted packet for processing {"connection_id":174923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":98089344,"longitude_deg":76.352896,"latitude_deg":9.8089344,"altitude":6,"angle":177,"satellites":38,"speed":36,"hex_longitude":"2d828700","hex_latitude":"05d8b980","is_valid_coordinates":true} 
[2026-09-08 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950860032001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130027059689816064,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041891020507226112,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870559000,"timestamp_ms":1788870559000,"timestamp_seconds":1788870559,"priority":1,"record_length":96,"hex_timestamp":"000001a080fe8518"} 
[2026-09-08 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950860032001,"66":13689,"49":206,"85":15104,"24":36,"16":130027059689816064,"45":-9041891020507226112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-08 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950860032001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 18:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130027059689816064,"km_value":130027059689816.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041891020507226112,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950860032001,"power":13689,"unknown_49":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9041891020507226112}} 
[2026-09-08 18:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":174923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:14] local.INFO: GPS data processed {"connection_id":174923,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:14] local.INFO: Acknowledgment sent {"connection_id":174923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:21] local.INFO: TCP Data received {"connection_id":175990,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ff7b30012d4d79c0068ac830005f011d30..."} 
[2026-09-08 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ff7b30012d4d79c0068ac830005f011d30..."} 
[2026-09-08 18:01:21] local.INFO: Processing buffer {"connection_id":175990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ff7b30012d4d79c0068ac830005f011d30..."} 
[2026-09-08 18:01:21] local.INFO: Packet analysis {"connection_id":175990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:21] local.INFO: Extracted packet for processing {"connection_id":175990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":760052160,"raw_latitude":109758512,"longitude_deg":76.005216,"latitude_deg":10.9758512,"altitude":95,"angle":285,"satellites":48,"speed":48,"hex_longitude":"2d4d79c0","hex_latitude":"068ac830","is_valid_coordinates":true} 
[2026-09-08 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950877696001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402959621326635008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590444909291970560,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788870622000,"timestamp_ms":1788870622000,"timestamp_seconds":1788870622,"priority":1,"record_length":96,"hex_timestamp":"000001a080ff7b30"} 
[2026-09-08 18:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950877696001,"66":27713,"68":206,"19":48128,"24":48,"16":402959621326635008,"45":5590444909291970560},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 18:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950877696001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:01:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402959621326635008,"km_value":402959621326635.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5590444909291970560,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950877696001,"power":27713,"unknown_68":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":5590444909291970560}} 
[2026-09-08 18:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":175990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:21] local.INFO: GPS data processed {"connection_id":175990,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:21] local.INFO: Acknowledgment sent {"connection_id":175990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:42] local.INFO: TCP Data received {"connection_id":174922,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080fcf6a8012d1a7340072413e0002c013f29..."} 
[2026-09-08 18:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fcf6a8012d1a7340072413e0002c013f29..."} 
[2026-09-08 18:01:42] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fcf6a8012d1a7340072413e0002c013f29..."} 
[2026-09-08 18:01:42] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 18:01:42] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fc"} 
[2026-09-08 18:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756708160,"raw_latitude":119804896,"longitude_deg":75.670816,"latitude_deg":11.9804896,"altitude":44,"angle":319,"satellites":41,"speed":10,"hex_longitude":"2d1a7340","hex_latitude":"072413e0","is_valid_coordinates":true} 
[2026-09-08 18:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950836224001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818820114219008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679187015680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788870457000,"timestamp_ms":1788870457000,"timestamp_seconds":1788870457,"priority":1,"record_length":96,"hex_timestamp":"000001a080fcf6a8"} 
[2026-09-08 18:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164030864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3678273536,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4240439297,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2684431642,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221693437,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154151,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":104,"raw_value":57956838461545596,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4544133317241929735,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-4217620862051735552,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,219,160,231,45,17,43,42,10,66,227,223,192,1,240,40,128,36,4,113,205,164,94,88,41,239,50,2,7,104,252,35],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 18:01:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098840658073812992,"timestamp_seconds":3098840658073813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950836224001,"66":13276,"112":206,"28":31744,"24":10,"16":18818820114219008,"45":1906359679187015680},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950836224001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818820114219008,"km_value":18818820114219.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679187015680,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950836224001,"power":13276,"unknown_112":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1906359679187015680}} 
[2026-09-08 18:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:42] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:42] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:44] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:01:44] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:01:44] local.INFO: IMEI packet received {"connection_id":174639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":174639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:01:45] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a080fea840012d8286c005d895b0000700b226..."} 
[2026-09-08 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fea840012d8286c005d895b0000700b226..."} 
[2026-09-08 18:01:45] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fea840012d8286c005d895b0000700b226..."} 
[2026-09-08 18:01:45] local.INFO: Packet analysis {"connection_id":174923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:01:45] local.INFO: Extracted packet for processing {"connection_id":174923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fe"} 
[2026-09-08 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98080176,"longitude_deg":76.3528896,"latitude_deg":9.8080176,"altitude":7,"angle":178,"satellites":38,"speed":41,"hex_longitude":"2d8286c0","hex_latitude":"05d895b0","is_valid_coordinates":true} 
[2026-09-08 18:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950863104001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130027506366414848,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041257701812109312,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788870568000,"timestamp_ms":1788870568000,"timestamp_seconds":1788870568,"priority":1,"record_length":96,"hex_timestamp":"000001a080fea840"} 
[2026-09-08 18:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950863104001,"66":13559,"49":206,"85":15104,"24":41,"16":130027506366414848,"45":-9041257701812109312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-08 18:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950863104001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-08 18:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130027506366414848,"km_value":130027506366414.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041257701812109312,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950863104001,"power":13559,"unknown_49":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9041257701812109312}} 
[2026-09-08 18:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":174923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:45] local.INFO: GPS data processed {"connection_id":174923,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:45] local.INFO: Acknowledgment sent {"connection_id":174923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:46] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:46] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:46] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:01:48] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:48] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:48] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:01:51] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:51] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:01:51] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:01:54] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ff9a70012d4d53c0068acfa0005a01172e..."} 
[2026-09-08 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ff9a70012d4d53c0068acfa0005a01172e..."} 
[2026-09-08 18:01:54] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ff9a70012d4d53c0068acfa0005a01172e..."} 
[2026-09-08 18:01:54] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:54] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760042432,"raw_latitude":109760416,"longitude_deg":76.0042432,"latitude_deg":10.9760416,"altitude":90,"angle":279,"satellites":46,"speed":49,"hex_longitude":"2d4d53c0","hex_latitude":"068acfa0","is_valid_coordinates":true} 
[2026-09-08 18:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950879232001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402960093773037568,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5582704347433152512,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788870630000,"timestamp_ms":1788870630000,"timestamp_seconds":1788870630,"priority":1,"record_length":96,"hex_timestamp":"000001a080ff9a70"} 
[2026-09-08 18:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950879232001,"66":27626,"68":206,"19":48128,"24":49,"16":402960093773037568,"45":5582704347433152512},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 18:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950879232001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:54] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402960093773037568,"km_value":402960093773037.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5582704347433152512,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950879232001,"power":27626,"unknown_68":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":5582704347433152512}} 
[2026-09-08 18:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:54] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:54] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:56] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ffb9b0012d4d2d40068ad5980056011631..."} 
[2026-09-08 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ffb9b0012d4d2d40068ad5980056011631..."} 
[2026-09-08 18:01:56] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ffb9b0012d4d2d40068ad5980056011631..."} 
[2026-09-08 18:01:56] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:56] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":760032576,"raw_latitude":109761944,"longitude_deg":76.0032576,"latitude_deg":10.9761944,"altitude":86,"angle":278,"satellites":49,"speed":48,"hex_longitude":"2d4d2d40","hex_latitude":"068ad598","is_valid_coordinates":true} 
[2026-09-08 18:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950881280001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402960570514407424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572008298318635008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788870638000,"timestamp_ms":1788870638000,"timestamp_seconds":1788870638,"priority":1,"record_length":96,"hex_timestamp":"000001a080ffb9b0"} 
[2026-09-08 18:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950881280001,"66":27767,"68":206,"19":48128,"24":48,"16":402960570514407424,"45":5572008298318635008},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 18:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950881280001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402960570514407424,"km_value":402960570514407.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572008298318635008,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950881280001,"power":27767,"unknown_68":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":5572008298318635008}} 
[2026-09-08 18:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:56] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:56] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:01:57] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080ffd8f0012d4d0700068adbd00052011630..."} 
[2026-09-08 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080ffd8f0012d4d0700068adbd00052011630..."} 
[2026-09-08 18:01:57] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080ffd8f0012d4d0700068adbd00052011630..."} 
[2026-09-08 18:01:57] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:57] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":760022784,"raw_latitude":109763536,"longitude_deg":76.0022784,"latitude_deg":10.9763536,"altitude":82,"angle":278,"satellites":48,"speed":48,"hex_longitude":"2d4d0700","hex_latitude":"068adbd0","is_valid_coordinates":true} 
[2026-09-08 18:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950883328001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402961042960809984,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5561171511715665920,"note":"Value kept but may cause issues"} 
[2026-09-08 18:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788870646000,"timestamp_ms":1788870646000,"timestamp_seconds":1788870646,"priority":1,"record_length":96,"hex_timestamp":"000001a080ffd8f0"} 
[2026-09-08 18:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950883328001,"66":27821,"68":206,"19":48128,"24":48,"16":402961042960809984,"45":5561171511715665920},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 18:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950883328001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:01:57] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:01:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402961042960809984,"km_value":402961042960810.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5561171511715665920,"description":"Unknown IO ID 45"} 
[2026-09-08 18:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950883328001,"power":27821,"unknown_68":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":5561171511715665920}} 
[2026-09-08 18:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:01:57] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:01:57] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:02:00] local.INFO: TCP Data received {"connection_id":174641,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:02:00] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:02:00] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:02:05] local.INFO: TCP Data received {"connection_id":174641,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:02:06] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:02:06] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:02:07] local.INFO: TCP Data received {"connection_id":174641,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080fd0e18012d1a6f40072417e0002e013229..."} 
[2026-09-08 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fd0e18012d1a6f40072417e0002e013229..."} 
[2026-09-08 18:02:07] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fd0e18012d1a6f40072417e0002e013229..."} 
[2026-09-08 18:02:07] local.INFO: Packet analysis {"connection_id":174641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:02:07] local.INFO: Extracted packet for processing {"connection_id":174641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756707136,"raw_latitude":119805920,"longitude_deg":75.6707136,"latitude_deg":11.980592,"altitude":46,"angle":306,"satellites":41,"speed":7,"hex_longitude":"2d1a6f40","hex_latitude":"072417e0","is_valid_coordinates":true} 
[2026-09-08 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950836992001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818888833695744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905937466722082816,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870463000,"timestamp_ms":1788870463000,"timestamp_seconds":1788870463,"priority":1,"record_length":96,"hex_timestamp":"000001a080fd0e18"} 
[2026-09-08 18:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 18:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950836992001,"66":13319,"112":206,"28":31744,"24":7,"16":18818888833695744,"45":1905937466722082816},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950836992001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:02:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818888833695744,"km_value":18818888833695.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905937466722082816,"description":"Unknown IO ID 45"} 
[2026-09-08 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950836992001,"power":13319,"unknown_112":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1905937466722082816}} 
[2026-09-08 18:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":174641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:02:07] local.INFO: GPS data processed {"connection_id":174641,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:02:07] local.INFO: Acknowledgment sent {"connection_id":174641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:02:08] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:02:08] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:02:08] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:02:14] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:02:14] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:02:14] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:02:14] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810080e8012d82ac4005d74470000400ad26..."} 
[2026-09-08 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810080e8012d82ac4005d74470000400ad26..."} 
[2026-09-08 18:02:14] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810080e8012d82ac4005d74470000400ad26..."} 
[2026-09-08 18:02:14] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:02:14] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763538496,"raw_latitude":97993840,"longitude_deg":76.3538496,"latitude_deg":9.799384,"altitude":4,"angle":173,"satellites":38,"speed":30,"hex_longitude":"2d82ac40","hex_latitude":"05d74470","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950893312001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130031754089070592,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031898658858526720,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870689000,"timestamp_ms":1788870689000,"timestamp_seconds":1788870689,"priority":1,"record_length":96,"hex_timestamp":"000001a0810080e8"} 
[2026-09-08 18:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":24576,"corrected_to":0} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164219864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191507461,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4290871297,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4182245382,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4105633792,"corrected_to":0} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2281778562,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147866655,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278046,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3628337152,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57805926195680571,"corrected_to":0} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3247096626310643717,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5053038807690716672,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,155,85,24,241,157,16,246,160,46,45,128,140,4,38,10,66,7,178,245,224,1,240,78,227,215,113,205,42,150,158,80,239,52,47,2,5,6,203,255,216],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":246,"original":24576,"validated":0},{"io_id":205,"original":4105633792,"validated":0},{"io_id":203,"original":57805926195680571,"validated":0}]} 
[2026-09-08 18:02:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216365355564859392,"timestamp_seconds":216365355564859.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950893312001,"66":13450,"155":206,"85":15104,"24":30,"16":130031754089070592,"45":-9031898658858526720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-08 18:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950893312001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:02:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-08 18:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130031754089070592,"km_value":130031754089070.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031898658858526720,"description":"Unknown IO ID 45"} 
[2026-09-08 18:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950893312001,"power":13450,"unknown_155":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9031898658858526720}} 
[2026-09-08 18:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:02:14] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:02:14] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:02:39] local.INFO: TCP Data received {"connection_id":174641,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080fd6020012d1a6e8007241908002e013427..."} 
[2026-09-08 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fd6020012d1a6e8007241908002e013427..."} 
[2026-09-08 18:02:39] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fd6020012d1a6e8007241908002e013427..."} 
[2026-09-08 18:02:39] local.INFO: Packet analysis {"connection_id":174641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:02:39] local.INFO: Extracted packet for processing {"connection_id":174641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950838528001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904811566815502336,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788870484000,"timestamp_ms":1788870484000,"timestamp_seconds":1788870484,"priority":1,"record_length":96,"hex_timestamp":"000001a080fd6020"} 
[2026-09-08 18:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164047864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":43009,"corrected_to":0} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3683713024,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4242743297,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3221693455,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57956838461545596,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":252,"raw_value":-6584261361988091897,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-191402799476823808,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,219,160,246,45,64,19,44,41,10,66,234,192,17,43,231,1,240,7,128,36,4,113,205,223,116,42,239,52,2,62,252,35],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":246,"original":43009,"validated":0},{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 18:02:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314985952396902400,"timestamp_seconds":3314985952396902.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950838528001,"66":13102,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904811566815502336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950838528001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904811566815502336,"description":"Unknown IO ID 45"} 
[2026-09-08 18:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950838528001,"power":13102,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904811566815502336}} 
[2026-09-08 18:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":174641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:02:39] local.INFO: GPS data processed {"connection_id":174641,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:02:39] local.INFO: Acknowledgment sent {"connection_id":174641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:02:44] local.INFO: TCP Data received {"connection_id":174642,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:02:44] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:02:44] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:02:45] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08100bb80012d82b20005d720c8000700aa27..."} 
[2026-09-08 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08100bb80012d82b20005d720c8000700aa27..."} 
[2026-09-08 18:02:45] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08100bb80012d82b20005d720c8000700aa27..."} 
[2026-09-08 18:02:45] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:02:45] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763539968,"raw_latitude":97984712,"longitude_deg":76.3539968,"latitude_deg":9.7984712,"altitude":7,"angle":170,"satellites":39,"speed":19,"hex_longitude":"2d82b200","hex_latitude":"05d720c8","is_valid_coordinates":true} 
[2026-09-08 18:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950896384001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032205060636672,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030772758954086400,"note":"Value kept but may cause issues"} 
[2026-09-08 18:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788870704000,"timestamp_ms":1788870704000,"timestamp_seconds":1788870704,"priority":1,"record_length":96,"hex_timestamp":"000001a08100bb80"} 
[2026-09-08 18:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 18:02: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-09-08 18:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950896384001,"66":13363,"155":206,"85":15104,"24":19,"16":130032205060636672,"45":-9030772758954086400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-08 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950896384001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:02:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-08 18:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032205060636672,"km_value":130032205060636.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030772758954086400,"description":"Unknown IO ID 45"} 
[2026-09-08 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950896384001,"power":13363,"unknown_155":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9030772758954086400}} 
[2026-09-08 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:02:45] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:02:45] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:02:45] local.INFO: TCP Data received {"connection_id":174642,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:02:45] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:02:45] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:03:00] local.INFO: TCP Data received {"connection_id":174644,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:03:00] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:03:00] local.INFO: IMEI packet received {"connection_id":174644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":174644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:03:05] local.INFO: TCP Data received {"connection_id":174642,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a080fff448012d4ce440068ae168004f01172c..."} 
[2026-09-08 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fff448012d4ce440068ae168004f01172c..."} 
[2026-09-08 18:03:05] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fff448012d4ce440068ae168004f01172c..."} 
[2026-09-08 18:03:05] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:03:05] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080ff"} 
[2026-09-08 18:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760013888,"raw_latitude":109764968,"longitude_deg":76.0013888,"latitude_deg":10.9764968,"altitude":79,"angle":279,"satellites":44,"speed":52,"hex_longitude":"2d4ce440","hex_latitude":"068ae168","is_valid_coordinates":true} 
[2026-09-08 18:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950885376001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402961472457539584,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5550405093856890880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788870653000,"timestamp_ms":1788870653000,"timestamp_seconds":1788870653,"priority":1,"record_length":96,"hex_timestamp":"000001a080fff448"} 
[2026-09-08 18:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950885376001,"66":27800,"68":206,"19":48128,"24":52,"16":402961472457539584,"45":5550405093856890880},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 18:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950885376001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402961472457539584,"km_value":402961472457539.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5550405093856890880,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950885376001,"power":27800,"unknown_68":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5550405093856890880}} 
[2026-09-08 18:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:05] local.INFO: GPS data processed {"connection_id":174642,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:05] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:05] local.INFO: TCP Data received {"connection_id":174644,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:03:05] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:03:05] local.INFO: IMEI packet received {"connection_id":174644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":174644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:03:06] local.INFO: TCP Data received {"connection_id":174644,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a080fdb228012d1a6e8007241908002e013421..."} 
[2026-09-08 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a080fdb228012d1a6e8007241908002e013421..."} 
[2026-09-08 18:03:06] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a080fdb228012d1a6e8007241908002e013421..."} 
[2026-09-08 18:03:06] local.INFO: Packet analysis {"connection_id":174644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:03:06] local.INFO: Extracted packet for processing {"connection_id":174644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a080fd"} 
[2026-09-08 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950843904001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788870505000,"timestamp_ms":1788870505000,"timestamp_seconds":1788870505,"priority":1,"record_length":96,"hex_timestamp":"000001a080fdb228"} 
[2026-09-08 18:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950843904001,"66":13167,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950843904001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950843904001,"power":13167,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":174644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:06] local.INFO: GPS data processed {"connection_id":174644,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:06] local.INFO: Acknowledgment sent {"connection_id":174644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:08] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:03:08] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:03:08] local.INFO: IMEI packet received {"connection_id":177451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":177451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:03:14] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:03:14] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:03:14] local.INFO: IMEI packet received {"connection_id":177451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":177451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:03:14] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08100fde8012d82b74005d6fe60000800ac27..."} 
[2026-09-08 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08100fde8012d82b74005d6fe60000800ac27..."} 
[2026-09-08 18:03:14] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08100fde8012d82b74005d6fe60000800ac27..."} 
[2026-09-08 18:03:14] local.INFO: Packet analysis {"connection_id":177451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:03:14] local.INFO: Extracted packet for processing {"connection_id":177451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97975904,"longitude_deg":76.3541312,"latitude_deg":9.7975904,"altitude":8,"angle":172,"satellites":39,"speed":20,"hex_longitude":"2d82b740","hex_latitude":"05d6fe60","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950900224001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032638852333568,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029154277840336896,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870721000,"timestamp_ms":1788870721000,"timestamp_seconds":1788870721,"priority":1,"record_length":96,"hex_timestamp":"000001a08100fde8"} 
[2026-09-08 18:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950900224001,"66":12689,"155":206,"85":15104,"24":20,"16":130032638852333568,"45":-9029154277840336896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-08 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950900224001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-08 18:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032638852333568,"km_value":130032638852333.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029154277840336896,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950900224001,"power":12689,"unknown_155":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9029154277840336896}} 
[2026-09-08 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":177451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:14] local.INFO: GPS data processed {"connection_id":177451,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:14] local.INFO: Acknowledgment sent {"connection_id":177451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:17] local.INFO: TCP Data received {"connection_id":174642,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081000fa0012d4cc100068ae720004d011729..."} 
[2026-09-08 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081000fa0012d4cc100068ae720004d011729..."} 
[2026-09-08 18:03:17] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081000fa0012d4cc100068ae720004d011729..."} 
[2026-09-08 18:03:17] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:03:17] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08100"} 
[2026-09-08 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":760004864,"raw_latitude":109766432,"longitude_deg":76.0004864,"latitude_deg":10.9766432,"altitude":77,"angle":279,"satellites":41,"speed":50,"hex_longitude":"2d4cc100","hex_latitude":"068ae720","is_valid_coordinates":true} 
[2026-09-08 18:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950887168001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402961906249236480,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540623838416562176,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788870660000,"timestamp_ms":1788870660000,"timestamp_seconds":1788870660,"priority":1,"record_length":96,"hex_timestamp":"000001a081000fa0"} 
[2026-09-08 18:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950887168001,"66":27843,"68":206,"19":48128,"24":50,"16":402961906249236480,"45":5540623838416562176},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-09-08 18:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950887168001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:17] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:03:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402961906249236480,"km_value":402961906249236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540623838416562176,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950887168001,"power":27843,"unknown_68":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":5540623838416562176}} 
[2026-09-08 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:17] local.INFO: GPS data processed {"connection_id":174642,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:17] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:38] local.INFO: TCP Data received {"connection_id":174644,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081013880012d1a6e8007241908002e013426..."} 
[2026-09-08 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081013880012d1a6e8007241908002e013426..."} 
[2026-09-08 18:03:38] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081013880012d1a6e8007241908002e013426..."} 
[2026-09-08 18:03:38] local.INFO: Packet analysis {"connection_id":174644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:38] local.INFO: Extracted packet for processing {"connection_id":174644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950903040001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788870736000,"timestamp_ms":1788870736000,"timestamp_seconds":1788870736,"priority":1,"record_length":96,"hex_timestamp":"000001a081013880"} 
[2026-09-08 18:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950903040001,"66":12863,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950903040001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950903040001,"power":12863,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":174644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:38] local.INFO: GPS data processed {"connection_id":174644,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:38] local.INFO: Acknowledgment sent {"connection_id":174644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:40] local.INFO: TCP Data received {"connection_id":175991,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:03:40] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:03:40] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:03:42] local.INFO: TCP Data received {"connection_id":175991,"ip":"117.225.171.207","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:03:42] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:03:42] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:03:45] local.INFO: TCP Data received {"connection_id":177451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081014c08012d82b9c005d6f3b8000b00aa27..."} 
[2026-09-08 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081014c08012d82b9c005d6f3b8000b00aa27..."} 
[2026-09-08 18:03:45] local.INFO: Processing buffer {"connection_id":177451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081014c08012d82b9c005d6f3b8000b00aa27..."} 
[2026-09-08 18:03:45] local.INFO: Packet analysis {"connection_id":177451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:45] local.INFO: Extracted packet for processing {"connection_id":177451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97973176,"longitude_deg":76.3541952,"latitude_deg":9.7973176,"altitude":11,"angle":170,"satellites":39,"speed":0,"hex_longitude":"2d82b9c0","hex_latitude":"05d6f3b8","is_valid_coordinates":true} 
[2026-09-08 18:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950904576001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032771996319744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534214860800,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788870741000,"timestamp_ms":1788870741000,"timestamp_seconds":1788870741,"priority":1,"record_length":96,"hex_timestamp":"000001a081014c08"} 
[2026-09-08 18:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950904576001,"66":13189,"156":206,"85":15104,"24":0,"16":130032771996319744,"45":-9027676534214860800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950904576001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032771996319744,"km_value":130032771996319.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534214860800,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950904576001,"power":13189,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027676534214860800}} 
[2026-09-08 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":177451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:45] local.INFO: GPS data processed {"connection_id":177451,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:45] local.INFO: Acknowledgment sent {"connection_id":177451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:47] local.INFO: TCP Data received {"connection_id":175991,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:03:47] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:03:47] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:03:54] local.INFO: TCP Data received {"connection_id":175991,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081019a28012d4ac1c0068b3d080011012130..."} 
[2026-09-08 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081019a28012d4ac1c0068b3d080011012130..."} 
[2026-09-08 18:03:54] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a081..."} 
[2026-09-08 18:03:54] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:03:58] local.INFO: TCP Data received {"connection_id":175991,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08101b580012d4aa1c0068b4bb80011012c30..."} 
[2026-09-08 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08101b580012d4aa1c0068b4bb80011012c30..."} 
[2026-09-08 18:03:58] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a081019a28012d4ac1c0068b3d080011012130..."} 
[2026-09-08 18:03:58] local.INFO: Packet analysis {"connection_id":175991,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:58] local.INFO: Extracted packet for processing {"connection_id":175991,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":759873984,"raw_latitude":109788424,"longitude_deg":75.9873984,"latitude_deg":10.9788424,"altitude":17,"angle":289,"satellites":48,"speed":52,"hex_longitude":"2d4ac1c0","hex_latitude":"068b3d08","is_valid_coordinates":true} 
[2026-09-08 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950913024001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402968228441096192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5397071600299546624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788870761000,"timestamp_ms":1788870761000,"timestamp_seconds":1788870761,"priority":1,"record_length":96,"hex_timestamp":"000001a081019a28"} 
[2026-09-08 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950913024001,"66":27865,"128":206,"19":48128,"24":52,"16":402968228441096192,"45":5397071600299546624},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950913024001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402968228441096192,"km_value":402968228441096.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5397071600299546624,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950913024001,"power":27865,"unknown_128":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5397071600299546624}} 
[2026-09-08 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":175991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:58] local.INFO: GPS data processed {"connection_id":175991,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:58] local.INFO: Acknowledgment sent {"connection_id":175991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:03:58] local.INFO: Packet analysis {"connection_id":175991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:58] local.INFO: Extracted packet for processing {"connection_id":175991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":759865792,"raw_latitude":109792184,"longitude_deg":75.9865792,"latitude_deg":10.9792184,"altitude":17,"angle":300,"satellites":48,"speed":51,"hex_longitude":"2d4aa1c0","hex_latitude":"068b4bb8","is_valid_coordinates":true} 
[2026-09-08 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950914816001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402968657937825792,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5386797763650193408,"note":"Value kept but may cause issues"} 
[2026-09-08 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788870768000,"timestamp_ms":1788870768000,"timestamp_seconds":1788870768,"priority":1,"record_length":96,"hex_timestamp":"000001a08101b580"} 
[2026-09-08 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950914816001,"66":27767,"128":206,"19":48128,"24":51,"16":402968657937825792,"45":5386797763650193408},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-09-08 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950914816001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402968657937825792,"km_value":402968657937825.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5386797763650193408,"description":"Unknown IO ID 45"} 
[2026-09-08 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950914816001,"power":27767,"unknown_128":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":5386797763650193408}} 
[2026-09-08 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":175991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:03:58] local.INFO: GPS data processed {"connection_id":175991,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:03:58] local.INFO: Acknowledgment sent {"connection_id":175991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:04:00] local.INFO: TCP Data received {"connection_id":174926,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:04:00] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:04:00] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:04:05] local.INFO: TCP Data received {"connection_id":174926,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:04:05] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:04:05] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:04:07] local.INFO: TCP Data received {"connection_id":174926,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081018a88012d1a6e8007241908002e013427..."} 
[2026-09-08 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081018a88012d1a6e8007241908002e013427..."} 
[2026-09-08 18:04:07] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081018a88012d1a6e8007241908002e013427..."} 
[2026-09-08 18:04:07] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:07] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950908416001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870757000,"timestamp_ms":1788870757000,"timestamp_seconds":1788870757,"priority":1,"record_length":96,"hex_timestamp":"000001a081018a88"} 
[2026-09-08 18:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 18:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950908416001,"66":12809,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950908416001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:04:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950908416001,"power":12809,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:04:07] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:04:07] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:04:08] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:04:08] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:04:08] local.INFO: IMEI packet received {"connection_id":174645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":174645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:04:13] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:04:13] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:04:13] local.INFO: IMEI packet received {"connection_id":174645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":174645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:04:14] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081019e10012d82b9c005d6f3b8000b00aa26..."} 
[2026-09-08 18:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081019e10012d82b9c005d6f3b8000b00aa26..."} 
[2026-09-08 18:04:14] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081019e10012d82b9c005d6f3b8000b00aa26..."} 
[2026-09-08 18:04:14] local.INFO: Packet analysis {"connection_id":174645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:14] local.INFO: Extracted packet for processing {"connection_id":174645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97973176,"longitude_deg":76.3541952,"latitude_deg":9.7973176,"altitude":11,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d82b9c0","hex_latitude":"05d6f3b8","is_valid_coordinates":true} 
[2026-09-08 18:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950909696001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032771996319744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846773782528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870762000,"timestamp_ms":1788870762000,"timestamp_seconds":1788870762,"priority":1,"record_length":96,"hex_timestamp":"000001a081019e10"} 
[2026-09-08 18:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-08 18:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950909696001,"66":13472,"156":206,"85":15104,"24":0,"16":130032771996319744,"45":-9026972846773782528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950909696001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:04:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032771996319744,"km_value":130032771996319.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846773782528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950909696001,"power":13472,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9026972846773782528}} 
[2026-09-08 18:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":174645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:04:15] local.INFO: GPS data processed {"connection_id":174645,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:04:15] local.INFO: Acknowledgment sent {"connection_id":174645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:04:38] local.INFO: TCP Data received {"connection_id":174926,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08101dc90012d1a6e8007241908002e013426..."} 
[2026-09-08 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08101dc90012d1a6e8007241908002e013426..."} 
[2026-09-08 18:04:38] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08101dc90012d1a6e8007241908002e013426..."} 
[2026-09-08 18:04:38] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:38] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950913792001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788870778000,"timestamp_ms":1788870778000,"timestamp_seconds":1788870778,"priority":1,"record_length":96,"hex_timestamp":"000001a08101dc90"} 
[2026-09-08 18:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164235864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-50577529826021760,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3685875712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2147951641,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223145642954535396,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2601119056648025126,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,112,28,24,241,158,16,219,160,56,45,128,25,46,38,10,66,230,148,1,240,85,129,36,4,113,205,110,8,34,239,50,2,7,124,178],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 18:04:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314988142829764608,"timestamp_seconds":3314988142829764.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950913792001,"66":12841,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950913792001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:04:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950913792001,"power":12841,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:04:38] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:04:38] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:04:41] local.INFO: TCP Data received {"connection_id":175992,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:04:41] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:04:41] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:04:46] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08101f018012d82b9c005d6f3b8000b00aa25..."} 
[2026-09-08 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08101f018012d82b9c005d6f3b8000b00aa25..."} 
[2026-09-08 18:04:46] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08101f018012d82b9c005d6f3b8000b00aa25..."} 
[2026-09-08 18:04:46] local.INFO: Packet analysis {"connection_id":174645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:46] local.INFO: Extracted packet for processing {"connection_id":174645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08101"} 
[2026-09-08 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97973176,"longitude_deg":76.3541952,"latitude_deg":9.7973176,"altitude":11,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d82b9c0","hex_latitude":"05d6f3b8","is_valid_coordinates":true} 
[2026-09-08 18:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950915072001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032771996319744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846773782528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788870783000,"timestamp_ms":1788870783000,"timestamp_seconds":1788870783,"priority":1,"record_length":96,"hex_timestamp":"000001a08101f018"} 
[2026-09-08 18:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 18:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950915072001,"66":13102,"156":206,"85":15104,"24":0,"16":130032771996319744,"45":-9026972846773782528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950915072001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:04:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032771996319744,"km_value":130032771996319.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846773782528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950915072001,"power":13102,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9026972846773782528}} 
[2026-09-08 18:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":174645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:04:46] local.INFO: GPS data processed {"connection_id":174645,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:04:46] local.INFO: Acknowledgment sent {"connection_id":174645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:04:47] local.INFO: TCP Data received {"connection_id":175992,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:04:47] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:04:47] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:04:49] local.INFO: TCP Data received {"connection_id":175992,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810274e8012d4a07c0068c11400010013633..."} 
[2026-09-08 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810274e8012d4a07c0068c11400010013633..."} 
[2026-09-08 18:04:49] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810274e8012d4a07c0068c11400010013633..."} 
[2026-09-08 18:04:49] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:04:49] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":759826368,"raw_latitude":109842752,"longitude_deg":75.9826368,"latitude_deg":10.9842752,"altitude":16,"angle":310,"satellites":51,"speed":52,"hex_longitude":"2d4a07c0","hex_latitude":"068c1140","is_valid_coordinates":true} 
[2026-09-08 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950929152001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402971780379049984,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5334443417995919360,"note":"Value kept but may cause issues"} 
[2026-09-08 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788870817000,"timestamp_ms":1788870817000,"timestamp_seconds":1788870817,"priority":1,"record_length":96,"hex_timestamp":"000001a0810274e8"} 
[2026-09-08 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 18:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950929152001,"66":27876,"36":206,"19":48128,"24":52,"16":402971780379049984,"45":5334443417995919360},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950929152001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:04:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 18:04:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402971780379049984,"km_value":402971780379050.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5334443417995919360,"description":"Unknown IO ID 45"} 
[2026-09-08 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950929152001,"power":27876,"unknown_36":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5334443417995919360}} 
[2026-09-08 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:04:49] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:04:49] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:05:00] local.INFO: TCP Data received {"connection_id":174927,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:00] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:00] local.INFO: IMEI packet received {"connection_id":174927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":174927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:05:01] local.INFO: TCP Data received {"connection_id":174927,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:01] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:01] local.INFO: IMEI packet received {"connection_id":174927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":174927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:05:05] local.INFO: TCP Data received {"connection_id":174927,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:05] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:05:05] local.INFO: IMEI packet received {"connection_id":174927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":174927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:05:06] local.INFO: TCP Data received {"connection_id":174927,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081022e98012d1a6e8007241908002e013424..."} 
[2026-09-08 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081022e98012d1a6e8007241908002e013424..."} 
[2026-09-08 18:05:06] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081022e98012d1a6e8007241908002e013424..."} 
[2026-09-08 18:05:06] local.INFO: Packet analysis {"connection_id":174927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:06] local.INFO: Extracted packet for processing {"connection_id":174927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950919168001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788870799000,"timestamp_ms":1788870799000,"timestamp_seconds":1788870799,"priority":1,"record_length":96,"hex_timestamp":"000001a081022e98"} 
[2026-09-08 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950919168001,"66":12765,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950919168001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:05:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950919168001,"power":12765,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":174927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:05:06] local.INFO: GPS data processed {"connection_id":174927,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:05:06] local.INFO: Acknowledgment sent {"connection_id":174927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:05:11] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:11] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:11] local.INFO: IMEI packet received {"connection_id":177453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":177453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:05:13] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:13] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:13] local.INFO: IMEI packet received {"connection_id":177453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":177453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:05:18] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:18] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:05:18] local.INFO: IMEI packet received {"connection_id":177453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":177453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:05:19] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081024220012d82b9c005d6f3b8000b00aa25..."} 
[2026-09-08 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081024220012d82b9c005d6f3b8000b00aa25..."} 
[2026-09-08 18:05:19] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081024220012d82b9c005d6f3b8000b00aa25..."} 
[2026-09-08 18:05:19] local.INFO: Packet analysis {"connection_id":177453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:19] local.INFO: Extracted packet for processing {"connection_id":177453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97973176,"longitude_deg":76.3541952,"latitude_deg":9.7973176,"altitude":11,"angle":170,"satellites":37,"speed":0,"hex_longitude":"2d82b9c0","hex_latitude":"05d6f3b8","is_valid_coordinates":true} 
[2026-09-08 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950920448001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032771996319744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846773782528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788870804000,"timestamp_ms":1788870804000,"timestamp_seconds":1788870804,"priority":1,"record_length":96,"hex_timestamp":"000001a081024220"} 
[2026-09-08 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 18:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950920448001,"66":12906,"156":206,"85":15104,"24":0,"16":130032771996319744,"45":-9026972846773782528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950920448001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:05:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032771996319744,"km_value":130032771996319.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846773782528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950920448001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9026972846773782528}} 
[2026-09-08 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":177453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:05:19] local.INFO: GPS data processed {"connection_id":177453,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:05:19] local.INFO: Acknowledgment sent {"connection_id":177453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:05:22] local.INFO: TCP Data received {"connection_id":175992,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081029040012d49eac0068c2538000f012c30..."} 
[2026-09-08 18:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081029040012d49eac0068c2538000f012c30..."} 
[2026-09-08 18:05:22] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081029040012d49eac0068c2538000f012c30..."} 
[2026-09-08 18:05:22] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:22] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:22] local.INFO: GPS Element Parsed {"raw_longitude":759818944,"raw_latitude":109847864,"longitude_deg":75.9818944,"latitude_deg":10.9847864,"altitude":15,"angle":300,"satellites":48,"speed":49,"hex_longitude":"2d49eac0","hex_latitude":"068c2538","is_valid_coordinates":true} 
[2026-09-08 18:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950929152001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402972209875779584,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5334443417995919360,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788870824000,"timestamp_ms":1788870824000,"timestamp_seconds":1788870824,"priority":1,"record_length":96,"hex_timestamp":"000001a081029040"} 
[2026-09-08 18:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 18:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950929152001,"66":27767,"36":206,"19":48128,"24":49,"16":402972209875779584,"45":5334443417995919360},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 18:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950929152001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:05:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 18:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402972209875779584,"km_value":402972209875779.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5334443417995919360,"description":"Unknown IO ID 45"} 
[2026-09-08 18:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950929152001,"power":27767,"unknown_36":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":5334443417995919360}} 
[2026-09-08 18:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:05:22] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:05:22] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:05:24] local.INFO: TCP Data received {"connection_id":177453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081029428012d82b9c005d6f3b8000b00aa26..."} 
[2026-09-08 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081029428012d82b9c005d6f3b8000b00aa26..."} 
[2026-09-08 18:05:24] local.INFO: Processing buffer {"connection_id":177453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081029428012d82b9c005d6f3b8000b00aa26..."} 
[2026-09-08 18:05:24] local.INFO: Packet analysis {"connection_id":177453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:24] local.INFO: Extracted packet for processing {"connection_id":177453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97973176,"longitude_deg":76.3541952,"latitude_deg":9.7973176,"altitude":11,"angle":170,"satellites":38,"speed":0,"hex_longitude":"2d82b9c0","hex_latitude":"05d6f3b8","is_valid_coordinates":true} 
[2026-09-08 18:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950925824001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032771996319744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846773782528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788870825000,"timestamp_ms":1788870825000,"timestamp_seconds":1788870825,"priority":1,"record_length":96,"hex_timestamp":"000001a081029428"} 
[2026-09-08 18:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-08 18:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950925824001,"66":12526,"156":206,"85":15104,"24":0,"16":130032771996319744,"45":-9026972846773782528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950925824001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:05:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032771996319744,"km_value":130032771996319.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846773782528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950925824001,"power":12526,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9026972846773782528}} 
[2026-09-08 18:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":177453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:05:24] local.INFO: GPS data processed {"connection_id":177453,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:05:24] local.INFO: Acknowledgment sent {"connection_id":177453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:05:37] local.INFO: TCP Data received {"connection_id":174927,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0810280a0012d1a6e8007241908002e013424..."} 
[2026-09-08 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810280a0012d1a6e8007241908002e013424..."} 
[2026-09-08 18:05:37] local.INFO: Processing buffer {"connection_id":174927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810280a0012d1a6e8007241908002e013424..."} 
[2026-09-08 18:05:37] local.INFO: Packet analysis {"connection_id":174927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:37] local.INFO: Extracted packet for processing {"connection_id":174927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950924544001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788870820000,"timestamp_ms":1788870820000,"timestamp_seconds":1788870820,"priority":1,"record_length":96,"hex_timestamp":"000001a0810280a0"} 
[2026-09-08 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-08 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950924544001,"66":11993,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950924544001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950924544001,"power":11993,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":174927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:05:37] local.INFO: GPS data processed {"connection_id":174927,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:05:37] local.INFO: Acknowledgment sent {"connection_id":174927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:05:41] local.INFO: TCP Data received {"connection_id":174646,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:05:41] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:05:41] local.INFO: IMEI packet received {"connection_id":174646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":174646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:05:47] local.INFO: TCP Data received {"connection_id":174646,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:05:47] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:05:47] local.INFO: IMEI packet received {"connection_id":174646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:05:48] local.INFO: TCP Data received {"connection_id":174646,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08102af80012d49c880068c35b8000f01252f..."} 
[2026-09-08 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08102af80012d49c880068c35b8000f01252f..."} 
[2026-09-08 18:05:48] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08102af80012d49c880068c35b8000f01252f..."} 
[2026-09-08 18:05:48] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:48] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":759810176,"raw_latitude":109852088,"longitude_deg":75.9810176,"latitude_deg":10.9852088,"altitude":15,"angle":293,"satellites":47,"speed":47,"hex_longitude":"2d49c880","hex_latitude":"068c35b8","is_valid_coordinates":true} 
[2026-09-08 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950930944001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402972673732247552,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5326280643672619008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788870832000,"timestamp_ms":1788870832000,"timestamp_seconds":1788870832,"priority":1,"record_length":96,"hex_timestamp":"000001a08102af80"} 
[2026-09-08 18:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950930944001,"66":27484,"36":206,"19":48128,"24":47,"16":402972673732247552,"45":5326280643672619008},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-09-08 18:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950930944001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:05:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-08 18:05:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402972673732247552,"km_value":402972673732247.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5326280643672619008,"description":"Unknown IO ID 45"} 
[2026-09-08 18:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950930944001,"power":27484,"unknown_36":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":5326280643672619008}} 
[2026-09-08 18:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:05:48] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:05:48] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:06:03] local.INFO: TCP Data received {"connection_id":175993,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:03] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:03] local.INFO: IMEI packet received {"connection_id":175993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":175993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:06:05] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:05] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:05] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:06:06] local.INFO: TCP Data received {"connection_id":175993,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:06] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:06] local.INFO: IMEI packet received {"connection_id":175993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":175993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:06:08] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:08] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:08] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:06:10] local.INFO: TCP Data received {"connection_id":175993,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:10] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:06:10] local.INFO: IMEI packet received {"connection_id":175993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":175993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:06:12] local.INFO: TCP Data received {"connection_id":175993,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08102d2a8012d1a6e8007241908002e013423..."} 
[2026-09-08 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08102d2a8012d1a6e8007241908002e013423..."} 
[2026-09-08 18:06:12] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08102d2a8012d1a6e8007241908002e013423..."} 
[2026-09-08 18:06:12] local.INFO: Packet analysis {"connection_id":175993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:06:12] local.INFO: Extracted packet for processing {"connection_id":175993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950929920001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788870841000,"timestamp_ms":1788870841000,"timestamp_seconds":1788870841,"priority":1,"record_length":96,"hex_timestamp":"000001a08102d2a8"} 
[2026-09-08 18:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950929920001,"66":12722,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950929920001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950929920001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":175993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:06:12] local.INFO: GPS data processed {"connection_id":175993,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:06:12] local.INFO: Acknowledgment sent {"connection_id":175993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:06:13] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:13] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:06:13] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:06:14] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08102e630012d82b9c005d6f3b8000b00aa29..."} 
[2026-09-08 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08102e630012d82b9c005d6f3b8000b00aa29..."} 
[2026-09-08 18:06:14] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08102e630012d82b9c005d6f3b8000b00aa29..."} 
[2026-09-08 18:06:14] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:06:14] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08102"} 
[2026-09-08 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97973176,"longitude_deg":76.3541952,"latitude_deg":9.7973176,"altitude":11,"angle":170,"satellites":41,"speed":0,"hex_longitude":"2d82b9c0","hex_latitude":"05d6f3b8","is_valid_coordinates":true} 
[2026-09-08 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950931200001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130032771996319744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846773782528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870846000,"timestamp_ms":1788870846000,"timestamp_seconds":1788870846,"priority":1,"record_length":96,"hex_timestamp":"000001a08102e630"} 
[2026-09-08 18:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 18:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950931200001,"66":13059,"156":206,"85":15104,"24":0,"16":130032771996319744,"45":-9026972846773782528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950931200001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:06:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130032771996319744,"km_value":130032771996319.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846773782528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950931200001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9026972846773782528}} 
[2026-09-08 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:06:14] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:06:14] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:06:16] local.INFO: TCP Data received {"connection_id":175993,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0810324b0012d1a6e8007241908002e013422..."} 
[2026-09-08 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810324b0012d1a6e8007241908002e013422..."} 
[2026-09-08 18:06:16] local.INFO: Processing buffer {"connection_id":175993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810324b0012d1a6e8007241908002e013422..."} 
[2026-09-08 18:06:16] local.INFO: Packet analysis {"connection_id":175993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:06:16] local.INFO: Extracted packet for processing {"connection_id":175993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950935296001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788870862000,"timestamp_ms":1788870862000,"timestamp_seconds":1788870862,"priority":1,"record_length":96,"hex_timestamp":"000001a0810324b0"} 
[2026-09-08 18:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 18:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950935296001,"66":12776,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950935296001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:06:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950935296001,"power":12776,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":175993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:06:16] local.INFO: GPS data processed {"connection_id":175993,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:06:16] local.INFO: Acknowledgment sent {"connection_id":175993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:06:21] local.INFO: TCP Data received {"connection_id":174646,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08103f7a0012d48e1c0068d62400016014f31..."} 
[2026-09-08 18:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08103f7a0012d48e1c0068d62400016014f31..."} 
[2026-09-08 18:06:21] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08103f7a0012d48e1c0068d62400016014f31..."} 
[2026-09-08 18:06:21] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:06:21] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:06:21] local.INFO: GPS Element Parsed {"raw_longitude":759751104,"raw_latitude":109929024,"longitude_deg":75.9751104,"latitude_deg":10.9929024,"altitude":22,"angle":335,"satellites":49,"speed":45,"hex_longitude":"2d48e1c0","hex_latitude":"068d6240","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950952448001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402977587174834176,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5255841530769301504,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788870916000,"timestamp_ms":1788870916000,"timestamp_seconds":1788870916,"priority":1,"record_length":96,"hex_timestamp":"000001a08103f7a0"} 
[2026-09-08 18:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950952448001,"66":27767,"128":206,"19":48128,"24":45,"16":402977587174834176,"45":5255841530769301504},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-09-08 18:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950952448001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:06:21] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-08 18:06:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402977587174834176,"km_value":402977587174834.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5255841530769301504,"description":"Unknown IO ID 45"} 
[2026-09-08 18:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950952448001,"power":27767,"unknown_128":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":5255841530769301504}} 
[2026-09-08 18:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:06:21] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:06:21] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:06:46] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081053020012d82be8005d694100008008d29..."} 
[2026-09-08 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081053020012d82be8005d694100008008d29..."} 
[2026-09-08 18:06:46] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081053020012d82be8005d694100008008d29..."} 
[2026-09-08 18:06:46] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:06:46] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763543168,"raw_latitude":97948688,"longitude_deg":76.3543168,"latitude_deg":9.7948688,"altitude":8,"angle":141,"satellites":41,"speed":31,"hex_longitude":"2d82be80","hex_latitude":"05d69410","is_valid_coordinates":true} 
[2026-09-08 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950974464001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130033978882129920,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026550634314637312,"note":"Value kept but may cause issues"} 
[2026-09-08 18:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788870996000,"timestamp_ms":1788870996000,"timestamp_seconds":1788870996,"priority":1,"record_length":96,"hex_timestamp":"000001a081053020"} 
[2026-09-08 18:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-08 18:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950974464001,"66":12711,"156":206,"85":15104,"24":31,"16":130033978882129920,"45":-9026550634314637312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950974464001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:06:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130033978882129920,"km_value":130033978882129.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026550634314637312,"description":"Unknown IO ID 45"} 
[2026-09-08 18:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950974464001,"power":12711,"unknown_156":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9026550634314637312}} 
[2026-09-08 18:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:06:46] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:06:46] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:07:01] local.INFO: TCP Data received {"connection_id":175995,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:07:01] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:07:01] local.INFO: IMEI packet received {"connection_id":175995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":175995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:07:05] local.INFO: TCP Data received {"connection_id":175995,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:07:05] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:07:05] local.INFO: IMEI packet received {"connection_id":175995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":175995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:07:06] local.INFO: TCP Data received {"connection_id":175996,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:07:06] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:07:06] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:07:07] local.INFO: TCP Data received {"connection_id":175995,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0810376b8012d1a6e8007241908002e013426..."} 
[2026-09-08 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810376b8012d1a6e8007241908002e013426..."} 
[2026-09-08 18:07:07] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810376b8012d1a6e8007241908002e013426..."} 
[2026-09-08 18:07:07] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:07:07] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950940672001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870883000,"timestamp_ms":1788870883000,"timestamp_seconds":1788870883,"priority":1,"record_length":96,"hex_timestamp":"000001a0810376b8"} 
[2026-09-08 18:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 18:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950940672001,"66":12722,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950940672001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:07:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950940672001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:07:07] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:07:07] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:07:08] local.INFO: TCP Data received {"connection_id":175995,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08103c8c0012d1a6e8007241908002e013429..."} 
[2026-09-08 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08103c8c0012d1a6e8007241908002e013429..."} 
[2026-09-08 18:07:08] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08103c8c0012d1a6e8007241908002e013429..."} 
[2026-09-08 18:07:08] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:07:08] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08103"} 
[2026-09-08 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950946048001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788870904000,"timestamp_ms":1788870904000,"timestamp_seconds":1788870904,"priority":1,"record_length":96,"hex_timestamp":"000001a08103c8c0"} 
[2026-09-08 18:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 18:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950946048001,"66":12722,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950946048001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:07:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950946048001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:07:08] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:07:08] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:07:09] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:07:09] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:07:09] local.INFO: IMEI packet received {"connection_id":175997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":175997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:07:12] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:07:12] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:07:12] local.INFO: IMEI packet received {"connection_id":175997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":175997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:07:12] local.INFO: TCP Data received {"connection_id":175996,"ip":"117.225.171.207","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:07:12] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 18:07:12] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:07:14] local.INFO: TCP Data received {"connection_id":175994,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:07:14] local.INFO: Processing buffer {"connection_id":175994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:07:14] local.INFO: IMEI packet received {"connection_id":175994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":175994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:07:14] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081053bd8012d82c54005d68da80007008029..."} 
[2026-09-08 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081053bd8012d82c54005d68da80007008029..."} 
[2026-09-08 18:07:14] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081053bd8012d82c54005d68da80007008029..."} 
[2026-09-08 18:07:14] local.INFO: Packet analysis {"connection_id":175997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:07:14] local.INFO: Extracted packet for processing {"connection_id":175997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763544896,"raw_latitude":97947048,"longitude_deg":76.3544896,"latitude_deg":9.7947048,"altitude":7,"angle":128,"satellites":41,"speed":28,"hex_longitude":"2d82c540","hex_latitude":"05d68da8","is_valid_coordinates":true} 
[2026-09-08 18:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950974976001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130034094846246912,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025635840640675840,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788870999000,"timestamp_ms":1788870999000,"timestamp_seconds":1788870999,"priority":1,"record_length":96,"hex_timestamp":"000001a081053bd8"} 
[2026-09-08 18:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 18:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950974976001,"66":12917,"156":206,"85":15104,"24":28,"16":130034094846246912,"45":-9025635840640675840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950974976001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:07:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130034094846246912,"km_value":130034094846246.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025635840640675840,"description":"Unknown IO ID 45"} 
[2026-09-08 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950974976001,"power":12917,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9025635840640675840}} 
[2026-09-08 18:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":175997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:07:14] local.INFO: GPS data processed {"connection_id":175997,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:07:14] local.INFO: Acknowledgment sent {"connection_id":175997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:07:40] local.INFO: TCP Data received {"connection_id":175995,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081041ac8012d1a6e8007241908002e013427..."} 
[2026-09-08 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081041ac8012d1a6e8007241908002e013427..."} 
[2026-09-08 18:07:40] local.INFO: Processing buffer {"connection_id":175995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081041ac8012d1a6e8007241908002e013427..."} 
[2026-09-08 18:07:40] local.INFO: Packet analysis {"connection_id":175995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08104"} 
[2026-09-08 18:07:40] local.INFO: Extracted packet for processing {"connection_id":175995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08104"} 
[2026-09-08 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950951424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788870925000,"timestamp_ms":1788870925000,"timestamp_seconds":1788870925,"priority":1,"record_length":96,"hex_timestamp":"000001a081041ac8"} 
[2026-09-08 18:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 18:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950951424001,"66":12711,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950951424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950951424001,"power":12711,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":175995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:07:40] local.INFO: GPS data processed {"connection_id":175995,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:07:40] local.INFO: Acknowledgment sent {"connection_id":175995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:07:44] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:07:44] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:07:44] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:07:52] local.INFO: TCP Data received {"connection_id":175997,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081061e68012d829dc005d61458000400e726..."} 
[2026-09-08 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081061e68012d829dc005d61458000400e726..."} 
[2026-09-08 18:07:52] local.INFO: Processing buffer {"connection_id":175997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081061e68012d829dc005d61458000400e726..."} 
[2026-09-08 18:07:52] local.INFO: Packet analysis {"connection_id":175997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:07:52] local.INFO: Extracted packet for processing {"connection_id":175997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":97915992,"longitude_deg":76.3534784,"latitude_deg":9.7915992,"altitude":4,"angle":231,"satellites":38,"speed":14,"hex_longitude":"2d829dc0","hex_latitude":"05d61458","is_valid_coordinates":true} 
[2026-09-08 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950989568001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130035885847609344,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032743083810850816,"note":"Value kept but may cause issues"} 
[2026-09-08 18:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788871057000,"timestamp_ms":1788871057000,"timestamp_seconds":1788871057,"priority":1,"record_length":96,"hex_timestamp":"000001a081061e68"} 
[2026-09-08 18:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-08 18:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950989568001,"66":13015,"156":206,"85":15104,"24":14,"16":130035885847609344,"45":-9032743083810850816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950989568001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:07:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130035885847609344,"km_value":130035885847609.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032743083810850816,"description":"Unknown IO ID 45"} 
[2026-09-08 18:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950989568001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9032743083810850816}} 
[2026-09-08 18:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":175997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:07:52] local.INFO: GPS data processed {"connection_id":175997,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:07:52] local.INFO: Acknowledgment sent {"connection_id":175997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:08:00] local.INFO: TCP Data received {"connection_id":174930,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:08:00] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:08:00] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:08:06] local.INFO: TCP Data received {"connection_id":174930,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:08:06] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:08:06] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:08:07] local.INFO: TCP Data received {"connection_id":174930,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081046cd0012d1a6e8007241908002e013427..."} 
[2026-09-08 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081046cd0012d1a6e8007241908002e013427..."} 
[2026-09-08 18:08:07] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081046cd0012d1a6e8007241908002e013427..."} 
[2026-09-08 18:08:07] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08104"} 
[2026-09-08 18:08:07] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08104"} 
[2026-09-08 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950956800001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788870946000,"timestamp_ms":1788870946000,"timestamp_seconds":1788870946,"priority":1,"record_length":96,"hex_timestamp":"000001a081046cd0"} 
[2026-09-08 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 18:08: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-09-08 18:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950956800001,"66":12711,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950956800001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:08:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950956800001,"power":12711,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:08:07] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:08:07] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:08:08] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:08:08] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:08:08] local.INFO: IMEI packet received {"connection_id":177456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":177456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:08:13] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:08:13] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:08:13] local.INFO: IMEI packet received {"connection_id":177456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":177456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:08:14] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081062250012d829d0005d61338000400cc26..."} 
[2026-09-08 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081062250012d829d0005d61338000400cc26..."} 
[2026-09-08 18:08:14] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081062250012d829d0005d61338000400cc26..."} 
[2026-09-08 18:08:14] local.INFO: Packet analysis {"connection_id":177456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:08:14] local.INFO: Extracted packet for processing {"connection_id":177456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763534592,"raw_latitude":97915704,"longitude_deg":76.3534592,"latitude_deg":9.7915704,"altitude":4,"angle":204,"satellites":38,"speed":12,"hex_longitude":"2d829d00","hex_latitude":"05d61338","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950990592001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130035898732511232,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146136320000,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788871058000,"timestamp_ms":1788871058000,"timestamp_seconds":1788871058,"priority":1,"record_length":96,"hex_timestamp":"000001a081062250"} 
[2026-09-08 18:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 18:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950990592001,"66":13015,"156":206,"85":15104,"24":12,"16":130035898732511232,"45":-9034854146136320000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950990592001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:08:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130035898732511232,"km_value":130035898732511.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146136320000,"description":"Unknown IO ID 45"} 
[2026-09-08 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950990592001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034854146136320000}} 
[2026-09-08 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":177456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:08:14] local.INFO: GPS data processed {"connection_id":177456,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:08:14] local.INFO: Acknowledgment sent {"connection_id":177456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:08:38] local.INFO: TCP Data received {"connection_id":174930,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08104bed8012d1a6e8007241908002e013427..."} 
[2026-09-08 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08104bed8012d1a6e8007241908002e013427..."} 
[2026-09-08 18:08:38] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08104bed8012d1a6e8007241908002e013427..."} 
[2026-09-08 18:08:38] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08104"} 
[2026-09-08 18:08:38] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08104"} 
[2026-09-08 18:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950962176001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788870967000,"timestamp_ms":1788870967000,"timestamp_seconds":1788870967,"priority":1,"record_length":96,"hex_timestamp":"000001a08104bed8"} 
[2026-09-08 18:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 18:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950962176001,"66":12689,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950962176001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:08:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950962176001,"power":12689,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:08:38] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:08:38] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:08:45] local.INFO: TCP Data received {"connection_id":177456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081062638012d829d8005d611d8000400b026..."} 
[2026-09-08 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081062638012d829d8005d611d8000400b026..."} 
[2026-09-08 18:08:45] local.INFO: Processing buffer {"connection_id":177456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081062638012d829d8005d611d8000400b026..."} 
[2026-09-08 18:08:45] local.INFO: Packet analysis {"connection_id":177456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:08:45] local.INFO: Extracted packet for processing {"connection_id":177456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":97915352,"longitude_deg":76.353472,"latitude_deg":9.7915352,"altitude":4,"angle":176,"satellites":38,"speed":13,"hex_longitude":"2d829d80","hex_latitude":"05d611d8","is_valid_coordinates":true} 
[2026-09-08 18:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950990848001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130035915912380416,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035065252368926720,"note":"Value kept but may cause issues"} 
[2026-09-08 18:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788871059000,"timestamp_ms":1788871059000,"timestamp_seconds":1788871059,"priority":1,"record_length":96,"hex_timestamp":"000001a081062638"} 
[2026-09-08 18:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 18:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950990848001,"66":12667,"156":206,"85":15104,"24":13,"16":130035915912380416,"45":-9035065252368926720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-08 18:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950990848001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:08:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-08 18:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130035915912380416,"km_value":130035915912380.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035065252368926720,"description":"Unknown IO ID 45"} 
[2026-09-08 18:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950990848001,"power":12667,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9035065252368926720}} 
[2026-09-08 18:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":177456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:08:46] local.INFO: GPS data processed {"connection_id":177456,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:08:46] local.INFO: Acknowledgment sent {"connection_id":177456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:09:00] local.INFO: TCP Data received {"connection_id":174933,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:09:00] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:09:00] local.INFO: IMEI packet received {"connection_id":174933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:09:05] local.INFO: TCP Data received {"connection_id":174933,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:09:05] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:09:05] local.INFO: IMEI packet received {"connection_id":174933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":174933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:09:06] local.INFO: TCP Data received {"connection_id":174933,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0810510e0012d1a6e8007241908002e013429..."} 
[2026-09-08 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810510e0012d1a6e8007241908002e013429..."} 
[2026-09-08 18:09:06] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810510e0012d1a6e8007241908002e013429..."} 
[2026-09-08 18:09:06] local.INFO: Packet analysis {"connection_id":174933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:09:06] local.INFO: Extracted packet for processing {"connection_id":174933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950967552001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788870988000,"timestamp_ms":1788870988000,"timestamp_seconds":1788870988,"priority":1,"record_length":96,"hex_timestamp":"000001a0810510e0"} 
[2026-09-08 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950967552001,"66":12667,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950967552001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950967552001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":174933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:09:06] local.INFO: GPS data processed {"connection_id":174933,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:09:06] local.INFO: Acknowledgment sent {"connection_id":174933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:09:10] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:10] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:10] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:09:11] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:11] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:11] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:09:12] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:12] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:12] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:09:13] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:13] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:09:13] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:09:38] local.INFO: TCP Data received {"connection_id":174933,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0810562e8012d1a6e8007241908002e013428..."} 
[2026-09-08 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810562e8012d1a6e8007241908002e013428..."} 
[2026-09-08 18:09:38] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810562e8012d1a6e8007241908002e013428..."} 
[2026-09-08 18:09:38] local.INFO: Packet analysis {"connection_id":174933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:09:38] local.INFO: Extracted packet for processing {"connection_id":174933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950972928001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871009000,"timestamp_ms":1788871009000,"timestamp_seconds":1788871009,"priority":1,"record_length":96,"hex_timestamp":"000001a0810562e8"} 
[2026-09-08 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 18:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950972928001,"66":12678,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950972928001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:09:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950972928001,"power":12678,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":174933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:09:38] local.INFO: GPS data processed {"connection_id":174933,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:09:38] local.INFO: Acknowledgment sent {"connection_id":174933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:10:00] local.INFO: TCP Data received {"connection_id":175998,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:10:00] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:10:00] local.INFO: IMEI packet received {"connection_id":175998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":175998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:10:05] local.INFO: TCP Data received {"connection_id":175998,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:10:05] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:10:05] local.INFO: IMEI packet received {"connection_id":175998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":175998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:10:07] local.INFO: TCP Data received {"connection_id":175998,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08105b4f0012d1a6e8007241908002e013427..."} 
[2026-09-08 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08105b4f0012d1a6e8007241908002e013427..."} 
[2026-09-08 18:10:07] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08105b4f0012d1a6e8007241908002e013427..."} 
[2026-09-08 18:10:07] local.INFO: Packet analysis {"connection_id":175998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:10:07] local.INFO: Extracted packet for processing {"connection_id":175998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08105"} 
[2026-09-08 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950978304001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788871030000,"timestamp_ms":1788871030000,"timestamp_seconds":1788871030,"priority":1,"record_length":96,"hex_timestamp":"000001a08105b4f0"} 
[2026-09-08 18:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 18:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950978304001,"66":12645,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950978304001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:10:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950978304001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":175998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:10:07] local.INFO: GPS data processed {"connection_id":175998,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:10:07] local.INFO: Acknowledgment sent {"connection_id":175998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:10:38] local.INFO: TCP Data received {"connection_id":175998,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0810606f8012d1a6e8007241908002e013429..."} 
[2026-09-08 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810606f8012d1a6e8007241908002e013429..."} 
[2026-09-08 18:10:38] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810606f8012d1a6e8007241908002e013429..."} 
[2026-09-08 18:10:38] local.INFO: Packet analysis {"connection_id":175998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:10:38] local.INFO: Extracted packet for processing {"connection_id":175998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950983680001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871051000,"timestamp_ms":1788871051000,"timestamp_seconds":1788871051,"priority":1,"record_length":96,"hex_timestamp":"000001a0810606f8"} 
[2026-09-08 18:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-08 18:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950983680001,"66":12613,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950983680001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:10:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950983680001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":175998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:10:38] local.INFO: GPS data processed {"connection_id":175998,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:10:38] local.INFO: Acknowledgment sent {"connection_id":175998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:11:00] local.INFO: TCP Data received {"connection_id":177460,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:11:00] local.INFO: Processing buffer {"connection_id":177460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:11:00] local.INFO: IMEI packet received {"connection_id":177460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":177460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:11:05] local.INFO: TCP Data received {"connection_id":177460,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:11:05] local.INFO: Processing buffer {"connection_id":177460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:11:05] local.INFO: IMEI packet received {"connection_id":177460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":177460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:11:07] local.INFO: TCP Data received {"connection_id":177460,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081065900012d1a6e8007241908002e013429..."} 
[2026-09-08 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081065900012d1a6e8007241908002e013429..."} 
[2026-09-08 18:11:07] local.INFO: Processing buffer {"connection_id":177460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081065900012d1a6e8007241908002e013429..."} 
[2026-09-08 18:11:07] local.INFO: Packet analysis {"connection_id":177460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:11:07] local.INFO: Extracted packet for processing {"connection_id":177460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950989056001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788871072000,"timestamp_ms":1788871072000,"timestamp_seconds":1788871072,"priority":1,"record_length":96,"hex_timestamp":"000001a081065900"} 
[2026-09-08 18:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 18:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950989056001,"66":12667,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950989056001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:11:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950989056001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":177460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:11:07] local.INFO: GPS data processed {"connection_id":177460,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:11:07] local.INFO: Acknowledgment sent {"connection_id":177460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:11:38] local.INFO: TCP Data received {"connection_id":177460,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08106ab08012d1a6e8007241908002e013427..."} 
[2026-09-08 18:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08106ab08012d1a6e8007241908002e013427..."} 
[2026-09-08 18:11:38] local.INFO: Processing buffer {"connection_id":177460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08106ab08012d1a6e8007241908002e013427..."} 
[2026-09-08 18:11:38] local.INFO: Packet analysis {"connection_id":177460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:11:38] local.INFO: Extracted packet for processing {"connection_id":177460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950994432001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871093000,"timestamp_ms":1788871093000,"timestamp_seconds":1788871093,"priority":1,"record_length":96,"hex_timestamp":"000001a08106ab08"} 
[2026-09-08 18:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 18:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950994432001,"66":12645,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950994432001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:11:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950994432001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":177460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:11:38] local.INFO: GPS data processed {"connection_id":177460,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:11:38] local.INFO: Acknowledgment sent {"connection_id":177460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:12:00] local.INFO: TCP Data received {"connection_id":176000,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:00] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:00] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:12:01] local.INFO: TCP Data received {"connection_id":176000,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:01] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:01] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:12:05] local.INFO: TCP Data received {"connection_id":176000,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:05] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:12:05] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:12:07] local.INFO: TCP Data received {"connection_id":176000,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08106fd10012d1a6e8007241908002e013429..."} 
[2026-09-08 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08106fd10012d1a6e8007241908002e013429..."} 
[2026-09-08 18:12:07] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08106fd10012d1a6e8007241908002e013429..."} 
[2026-09-08 18:12:07] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:12:07] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08106"} 
[2026-09-08 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457950999808001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788871114000,"timestamp_ms":1788871114000,"timestamp_seconds":1788871114,"priority":1,"record_length":96,"hex_timestamp":"000001a08106fd10"} 
[2026-09-08 18:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-08 18:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457950999808001,"66":12613,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457950999808001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:12:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457950999808001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:12:07] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:12:07] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:12:14] local.INFO: TCP Data received {"connection_id":177461,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:14] local.INFO: Processing buffer {"connection_id":177461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:14] local.INFO: IMEI packet received {"connection_id":177461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":177461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:12:19] local.INFO: TCP Data received {"connection_id":177461,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08108ba60012d461940068f5d48004801582f..."} 
[2026-09-08 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08108ba60012d461940068f5d48004801582f..."} 
[2026-09-08 18:12:19] local.INFO: Processing buffer {"connection_id":177461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08108ba60012d461940068f5d48004801582f..."} 
[2026-09-08 18:12:19] local.INFO: Packet analysis {"connection_id":177461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:12:19] local.INFO: Extracted packet for processing {"connection_id":177461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":759568704,"raw_latitude":110058824,"longitude_deg":75.9568704,"latitude_deg":11.0058824,"altitude":72,"angle":344,"satellites":47,"speed":44,"hex_longitude":"2d461940","hex_latitude":"068f5d48","is_valid_coordinates":true} 
[2026-09-08 18:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951032320001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402990596630773760,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5053883235012622336,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788871228000,"timestamp_ms":1788871228000,"timestamp_seconds":1788871228,"priority":1,"record_length":96,"hex_timestamp":"000001a08108ba60"} 
[2026-09-08 18:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 18:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951032320001,"66":27745,"178":206,"19":48128,"24":44,"16":402990596630773760,"45":5053883235012622336},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-09-08 18:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951032320001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:12:19] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 18:12:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402990596630773760,"km_value":402990596630773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5053883235012622336,"description":"Unknown IO ID 45"} 
[2026-09-08 18:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951032320001,"power":27745,"unknown_178":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":5053883235012622336}} 
[2026-09-08 18:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":177461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:12:19] local.INFO: GPS data processed {"connection_id":177461,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:12:19] local.INFO: Acknowledgment sent {"connection_id":177461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:12:38] local.INFO: TCP Data received {"connection_id":176000,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081074f18012d1a6e8007241908002e013428..."} 
[2026-09-08 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081074f18012d1a6e8007241908002e013428..."} 
[2026-09-08 18:12:38] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081074f18012d1a6e8007241908002e013428..."} 
[2026-09-08 18:12:38] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08107"} 
[2026-09-08 18:12:38] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08107"} 
[2026-09-08 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951005184001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871135000,"timestamp_ms":1788871135000,"timestamp_seconds":1788871135,"priority":1,"record_length":96,"hex_timestamp":"000001a081074f18"} 
[2026-09-08 18:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 18:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951005184001,"66":12613,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951005184001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:12:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951005184001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:12:38] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:12:38] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:12:41] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:41] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:41] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:12:41] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:41] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:41] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:12:47] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:47] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:12:47] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:12:49] local.INFO: TCP Data received {"connection_id":174649,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:12:49] local.INFO: Processing buffer {"connection_id":174649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:12:49] local.INFO: IMEI packet received {"connection_id":174649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:12:51] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08108d9a0012d460f80068f7f78004801582d..."} 
[2026-09-08 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08108d9a0012d460f80068f7f78004801582d..."} 
[2026-09-08 18:12:51] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08108d9a0012d460f80068f7f78004801582d..."} 
[2026-09-08 18:12:51] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:12:51] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":759566208,"raw_latitude":110067576,"longitude_deg":75.9566208,"latitude_deg":11.0067576,"altitude":72,"angle":344,"satellites":45,"speed":46,"hex_longitude":"2d460f80","hex_latitude":"068f7f78","is_valid_coordinates":true} 
[2026-09-08 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951034368001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402991039012405248,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5051138853991958528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788871236000,"timestamp_ms":1788871236000,"timestamp_seconds":1788871236,"priority":1,"record_length":96,"hex_timestamp":"000001a08108d9a0"} 
[2026-09-08 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951034368001,"66":27865,"178":206,"19":48128,"24":46,"16":402991039012405248,"45":5051138853991958528},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-09-08 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951034368001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:12:51] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 18:12:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402991039012405248,"km_value":402991039012405.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5051138853991958528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951034368001,"power":27865,"unknown_178":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":5051138853991958528}} 
[2026-09-08 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:12:51] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:12:51] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:12:53] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":1360,"data_hex":"000000000000030f8e0a000001a08108f8e0012d460580068fa278004701572e..."} 
[2026-09-08 18:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a08108f8e0012d460580068fa278004701572e..."} 
[2026-09-08 18:12:53] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a08108f8e0012d460580068fa278004701572e..."} 
[2026-09-08 18:12:53] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:12:53] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:12:53] local.INFO: GPS Element Parsed {"raw_longitude":759563648,"raw_latitude":110076536,"longitude_deg":75.9563648,"latitude_deg":11.0076536,"altitude":71,"angle":343,"satellites":46,"speed":45,"hex_longitude":"2d460580","hex_latitude":"068fa278","is_valid_coordinates":true} 
[2026-09-08 18:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951036416001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402991485689004032,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5048394472971270144,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788871244000,"timestamp_ms":1788871244000,"timestamp_seconds":1788871244,"priority":1,"record_length":96,"hex_timestamp":"000001a08108f8e0"} 
[2026-09-08 18:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951036416001,"66":27800,"178":206,"19":48128,"24":45,"16":402991485689004032,"45":5048394472971270144},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-09-08 18:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951036416001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:12:53] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 18:12:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402991485689004032,"km_value":402991485689004.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5048394472971270144,"description":"Unknown IO ID 45"} 
[2026-09-08 18:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951036416001,"power":27800,"unknown_178":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":5048394472971270144}} 
[2026-09-08 18:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:12:53] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:12:53] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:12:53] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08109"} 
[2026-09-08 18:12:53] local.INFO: Incomplete packet, waiting for more data {"connection_id":174648,"needed":795,"available":565} 
[2026-09-08 18:12:54] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":230,"data_hex":"2d463c80068ecf88004801633000340000000a000400ef0100715e00f0010045..."} 
[2026-09-08 18:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":230,"packet_hex":"2d463c80068ecf88004801633000340000000a000400ef0100715e00f0010045..."} 
[2026-09-08 18:12:54] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081091050012d45fb40068fbb900046014b2f..."} 
[2026-09-08 18:12:54] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08109"} 
[2026-09-08 18:12:54] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08109"} 
[2026-09-08 18:12:54] local.INFO: GPS Element Parsed {"raw_longitude":759561024,"raw_latitude":110082960,"longitude_deg":75.9561024,"latitude_deg":11.008296,"altitude":70,"angle":331,"satellites":47,"speed":46,"hex_longitude":"2d45fb40","hex_latitude":"068fbb90","is_valid_coordinates":true} 
[2026-09-08 18:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951038464001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402991824991420416,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5045579723206457344,"note":"Value kept but may cause issues"} 
[2026-09-08 18:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788871250000,"timestamp_ms":1788871250000,"timestamp_seconds":1788871250,"priority":1,"record_length":96,"hex_timestamp":"000001a081091050"} 
[2026-09-08 18:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951038464001,"66":27745,"178":206,"19":48128,"24":46,"16":402991824991420416,"45":5045579723206457344},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-09-08 18:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951038464001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:12:54] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-08 18:12:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402991824991420416,"km_value":402991824991420.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5045579723206457344,"description":"Unknown IO ID 45"} 
[2026-09-08 18:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951038464001,"power":27745,"unknown_178":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":5045579723206457344}} 
[2026-09-08 18:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:12:54] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:12:54] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:13:00] local.INFO: TCP Data received {"connection_id":174936,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:00] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:00] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:13:03] local.INFO: TCP Data received {"connection_id":174936,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:03] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:03] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:13:05] local.INFO: TCP Data received {"connection_id":174936,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:05] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:13:05] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:13:06] local.INFO: TCP Data received {"connection_id":174936,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08107a120012d1a6e8007241908002e013427..."} 
[2026-09-08 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08107a120012d1a6e8007241908002e013427..."} 
[2026-09-08 18:13:06] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08107a120012d1a6e8007241908002e013427..."} 
[2026-09-08 18:13:06] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08107"} 
[2026-09-08 18:13:06] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08107"} 
[2026-09-08 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951010560001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788871156000,"timestamp_ms":1788871156000,"timestamp_seconds":1788871156,"priority":1,"record_length":96,"hex_timestamp":"000001a08107a120"} 
[2026-09-08 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 18:13: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-09-08 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951010560001,"66":12591,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951010560001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:13:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951010560001,"power":12591,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:13:06] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:13:06] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:13:37] local.INFO: TCP Data received {"connection_id":174936,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08107f328012d1a6e8007241908002e013428..."} 
[2026-09-08 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08107f328012d1a6e8007241908002e013428..."} 
[2026-09-08 18:13:37] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08107f328012d1a6e8007241908002e013428..."} 
[2026-09-08 18:13:37] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08107"} 
[2026-09-08 18:13:37] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08107"} 
[2026-09-08 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951015936001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788871177000,"timestamp_ms":1788871177000,"timestamp_seconds":1788871177,"priority":1,"record_length":96,"hex_timestamp":"000001a08107f328"} 
[2026-09-08 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 18:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951015936001,"66":12580,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951015936001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951015936001,"power":12580,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:13:38] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:13:38] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:13:48] local.INFO: TCP Data received {"connection_id":174648,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810a8750012d44e98006911b18003b014a2f..."} 
[2026-09-08 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810a8750012d44e98006911b18003b014a2f..."} 
[2026-09-08 18:13:48] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810a8750012d44e98006911b18003b014a2f..."} 
[2026-09-08 18:13:48] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810a"} 
[2026-09-08 18:13:48] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810a"} 
[2026-09-08 18:13:48] local.INFO: GPS Element Parsed {"raw_longitude":759490944,"raw_latitude":110172952,"longitude_deg":75.9490944,"latitude_deg":11.0172952,"altitude":59,"angle":330,"satellites":47,"speed":47,"hex_longitude":"2d44e980","hex_latitude":"06911b18","is_valid_coordinates":true} 
[2026-09-08 18:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951062528001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402997352614330368,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4970918485656543232,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788871346000,"timestamp_ms":1788871346000,"timestamp_seconds":1788871346,"priority":1,"record_length":96,"hex_timestamp":"000001a0810a8750"} 
[2026-09-08 18:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 18:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951062528001,"66":27865,"179":206,"19":48128,"24":47,"16":402997352614330368,"45":4970918485656543232},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-09-08 18:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951062528001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:13:48] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-08 18:13:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402997352614330368,"km_value":402997352614330.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4970918485656543232,"description":"Unknown IO ID 45"} 
[2026-09-08 18:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951062528001,"power":27865,"unknown_179":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4970918485656543232}} 
[2026-09-08 18:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:13:48] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:13:48] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:13:52] local.INFO: TCP Data received {"connection_id":177464,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:52] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:52] local.INFO: IMEI packet received {"connection_id":177464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":177464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:13:53] local.INFO: TCP Data received {"connection_id":177464,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:53] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:53] local.INFO: IMEI packet received {"connection_id":177464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":177464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:13:56] local.INFO: TCP Data received {"connection_id":177464,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:56] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:13:56] local.INFO: IMEI packet received {"connection_id":177464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":177464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:13:59] local.INFO: TCP Data received {"connection_id":177464,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810aa690012d44d78006913ad8003a014c2f..."} 
[2026-09-08 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810aa690012d44d78006913ad8003a014c2f..."} 
[2026-09-08 18:13:59] local.INFO: Processing buffer {"connection_id":177464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810aa690012d44d78006913ad8003a014c2f..."} 
[2026-09-08 18:13:59] local.INFO: Packet analysis {"connection_id":177464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810a"} 
[2026-09-08 18:13:59] local.INFO: Extracted packet for processing {"connection_id":177464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810a"} 
[2026-09-08 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":759486336,"raw_latitude":110181080,"longitude_deg":75.9486336,"latitude_deg":11.018108,"altitude":58,"angle":332,"satellites":47,"speed":46,"hex_longitude":"2d44d780","hex_latitude":"06913ad8","is_valid_coordinates":true} 
[2026-09-08 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951064576001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402997803585896448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4965640829845313536,"note":"Value kept but may cause issues"} 
[2026-09-08 18:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788871354000,"timestamp_ms":1788871354000,"timestamp_seconds":1788871354,"priority":1,"record_length":96,"hex_timestamp":"000001a0810aa690"} 
[2026-09-08 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951064576001,"66":27767,"179":206,"19":48128,"24":46,"16":402997803585896448,"45":4965640829845313536},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-09-08 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951064576001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402997803585896448,"km_value":402997803585896.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4965640829845313536,"description":"Unknown IO ID 45"} 
[2026-09-08 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951064576001,"power":27767,"unknown_179":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4965640829845313536}} 
[2026-09-08 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":177464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:13:59] local.INFO: GPS data processed {"connection_id":177464,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:13:59] local.INFO: Acknowledgment sent {"connection_id":177464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:14:00] local.INFO: TCP Data received {"connection_id":174938,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:14:00] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:14:00] local.INFO: IMEI packet received {"connection_id":174938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":174938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:14:05] local.INFO: TCP Data received {"connection_id":174938,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:14:05] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:14:05] local.INFO: IMEI packet received {"connection_id":174938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":174938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:14:06] local.INFO: TCP Data received {"connection_id":174938,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081084530012d1a6e8007241908002e013427..."} 
[2026-09-08 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081084530012d1a6e8007241908002e013427..."} 
[2026-09-08 18:14:06] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081084530012d1a6e8007241908002e013427..."} 
[2026-09-08 18:14:06] local.INFO: Packet analysis {"connection_id":174938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:14:06] local.INFO: Extracted packet for processing {"connection_id":174938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951021312001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788871198000,"timestamp_ms":1788871198000,"timestamp_seconds":1788871198,"priority":1,"record_length":96,"hex_timestamp":"000001a081084530"} 
[2026-09-08 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":36,"data_length":795,"current_offset":136} 
[2026-09-08 18:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951021312001,"66":12558,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951021312001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951021312001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":174938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:14:06] local.INFO: GPS data processed {"connection_id":174938,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:14:06] local.INFO: Acknowledgment sent {"connection_id":174938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:14:14] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:14:14] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:14:14] local.INFO: IMEI packet received {"connection_id":176001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":176001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:14:15] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810c11d8012d827b4005d349f00007004a25..."} 
[2026-09-08 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810c11d8012d827b4005d349f00007004a25..."} 
[2026-09-08 18:14:15] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810c11d8012d827b4005d349f00007004a25..."} 
[2026-09-08 18:14:15] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:14:15] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763525952,"raw_latitude":97733104,"longitude_deg":76.3525952,"latitude_deg":9.7733104,"altitude":7,"angle":74,"satellites":37,"speed":17,"hex_longitude":"2d827b40","hex_latitude":"05d349f0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951090432001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130050205268574208,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044565032879656960,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788871447000,"timestamp_ms":1788871447000,"timestamp_seconds":1788871447,"priority":1,"record_length":96,"hex_timestamp":"000001a0810c11d8"} 
[2026-09-08 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-09-08 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 18:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951090432001,"66":12841,"68":206,"85":15104,"24":17,"16":130050205268574208,"45":-9044565032879656960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951090432001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130050205268574208,"km_value":130050205268574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044565032879656960,"description":"Unknown IO ID 45"} 
[2026-09-08 18:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951090432001,"power":12841,"unknown_68":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9044565032879656960}} 
[2026-09-08 18:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:14:15] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:14:15] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:14:38] local.INFO: TCP Data received {"connection_id":174938,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081089738012d1a6e8007241908002e01342a..."} 
[2026-09-08 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081089738012d1a6e8007241908002e01342a..."} 
[2026-09-08 18:14:38] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081089738012d1a6e8007241908002e01342a..."} 
[2026-09-08 18:14:38] local.INFO: Packet analysis {"connection_id":174938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:14:38] local.INFO: Extracted packet for processing {"connection_id":174938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08108"} 
[2026-09-08 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119806216,"longitude_deg":75.6706944,"latitude_deg":11.9806216,"altitude":46,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d1a6e80","hex_latitude":"07241908","is_valid_coordinates":true} 
[2026-09-08 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951026688001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18818906013564928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460583045120,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871219000,"timestamp_ms":1788871219000,"timestamp_seconds":1788871219,"priority":1,"record_length":96,"hex_timestamp":"000001a081089738"} 
[2026-09-08 18:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164676864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3685875712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250031577255909640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2147951641,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,219,160,243,45,128,25,46,40,10,66,161,39,79,1,240,69,129,36,4,113,205,171,110,8,239,49,2,7,231,88,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-08 18:14:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314988142829764608,"timestamp_seconds":3314988142829764.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951026688001,"66":12558,"112":206,"28":31744,"24":0,"16":18818906013564928,"45":1904600460583045120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-08 18:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951026688001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18818906013564928,"km_value":18818906013564.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460583045120,"description":"Unknown IO ID 45"} 
[2026-09-08 18:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951026688001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1904600460583045120}} 
[2026-09-08 18:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":174938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:14:38] local.INFO: GPS data processed {"connection_id":174938,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:14:38] local.INFO: Acknowledgment sent {"connection_id":174938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:14:46] local.INFO: TCP Data received {"connection_id":177466,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:14:46] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:14:46] local.INFO: IMEI packet received {"connection_id":177466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":177466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:14:46] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810c1d90012d82800005d34af80007006126..."} 
[2026-09-08 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810c1d90012d82800005d34af80007006126..."} 
[2026-09-08 18:14:46] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810c1d90012d82800005d34af80007006126..."} 
[2026-09-08 18:14:46] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:14:46] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763527168,"raw_latitude":97733368,"longitude_deg":76.3527168,"latitude_deg":9.7733368,"altitude":7,"angle":97,"satellites":38,"speed":14,"hex_longitude":"2d828000","hex_latitude":"05d34af8","is_valid_coordinates":true} 
[2026-09-08 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951090432001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130050265398116352,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044565032879656960,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788871450000,"timestamp_ms":1788871450000,"timestamp_seconds":1788871450,"priority":1,"record_length":96,"hex_timestamp":"000001a0810c1d90"} 
[2026-09-08 18:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 18:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951090432001,"66":12504,"68":206,"85":15104,"24":14,"16":130050265398116352,"45":-9044565032879656960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951090432001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:14:46] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130050265398116352,"km_value":130050265398116.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044565032879656960,"description":"Unknown IO ID 45"} 
[2026-09-08 18:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951090432001,"power":12504,"unknown_68":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9044565032879656960}} 
[2026-09-08 18:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:14:46] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:14:46] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:14:50] local.INFO: TCP Data received {"connection_id":177466,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:14:50] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:14:50] local.INFO: IMEI packet received {"connection_id":177466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":177466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:14:55] local.INFO: TCP Data received {"connection_id":177466,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810bcf70012d4484c006928b38002a01322f..."} 
[2026-09-08 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810bcf70012d4484c006928b38002a01322f..."} 
[2026-09-08 18:14:55] local.INFO: Processing buffer {"connection_id":177466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810bcf70012d4484c006928b38002a01322f..."} 
[2026-09-08 18:14:55] local.INFO: Packet analysis {"connection_id":177466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810b"} 
[2026-09-08 18:14:55] local.INFO: Extracted packet for processing {"connection_id":177466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810b"} 
[2026-09-08 18:14:55] local.INFO: GPS Element Parsed {"raw_longitude":759465152,"raw_latitude":110267192,"longitude_deg":75.9465152,"latitude_deg":11.0267192,"altitude":42,"angle":306,"satellites":47,"speed":46,"hex_longitude":"2d4484c0","hex_latitude":"06928b38","is_valid_coordinates":true} 
[2026-09-08 18:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951084800001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403002214517309440,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4941996931824746496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788871430000,"timestamp_ms":1788871430000,"timestamp_seconds":1788871430,"priority":1,"record_length":96,"hex_timestamp":"000001a0810bcf70"} 
[2026-09-08 18:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":177466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":177466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":177466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951084800001,"66":27789,"177":206,"19":48128,"24":46,"16":403002214517309440,"45":4941996931824746496},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-09-08 18:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951084800001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:14:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 18:14:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403002214517309440,"km_value":403002214517309.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4941996931824746496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951084800001,"power":27789,"unknown_177":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4941996931824746496}} 
[2026-09-08 18:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":177466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:14:55] local.INFO: GPS data processed {"connection_id":177466,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:14:55] local.INFO: Acknowledgment sent {"connection_id":177466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:15:02] local.INFO: TCP Data received {"connection_id":177467,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:02] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:02] local.INFO: IMEI packet received {"connection_id":177467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":177467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:15:03] local.INFO: TCP Data received {"connection_id":177467,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:03] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:03] local.INFO: IMEI packet received {"connection_id":177467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":177467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:15:04] local.INFO: TCP Data received {"connection_id":177467,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:04] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:04] local.INFO: IMEI packet received {"connection_id":177467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":177467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:15:05] local.INFO: TCP Data received {"connection_id":177467,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:05] local.INFO: Processing buffer {"connection_id":177467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:15:05] local.INFO: IMEI packet received {"connection_id":177467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":177467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:15:08] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:15:08] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:15:08] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:15:13] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:15:13] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:15:13] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:15:14] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810c2178012d82810005d34ab80007007826..."} 
[2026-09-08 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810c2178012d82810005d34ab80007007826..."} 
[2026-09-08 18:15:14] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810c2178012d82810005d34ab80007007826..."} 
[2026-09-08 18:15:14] local.INFO: Packet analysis {"connection_id":174651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:15:14] local.INFO: Extracted packet for processing {"connection_id":174651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":763527424,"raw_latitude":97733304,"longitude_deg":76.3527424,"latitude_deg":9.7733304,"altitude":7,"angle":120,"satellites":38,"speed":13,"hex_longitude":"2d828100","hex_latitude":"05d34ab8","is_valid_coordinates":true} 
[2026-09-08 18:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130050282577985536,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043228026740213760,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788871451000,"timestamp_ms":1788871451000,"timestamp_seconds":1788871451,"priority":1,"record_length":96,"hex_timestamp":"000001a0810c2178"} 
[2026-09-08 18:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 18:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951091200001,"66":12504,"68":206,"85":15104,"24":13,"16":130050282577985536,"45":-9043228026740213760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:15:14] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:15:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130050282577985536,"km_value":130050282577985.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043228026740213760,"description":"Unknown IO ID 45"} 
[2026-09-08 18:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951091200001,"power":12504,"unknown_68":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9043228026740213760}} 
[2026-09-08 18:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":174651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:15:14] local.INFO: GPS data processed {"connection_id":174651,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:15:14] local.INFO: Acknowledgment sent {"connection_id":174651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:15:41] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:15:41] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:15:41] local.INFO: IMEI packet received {"connection_id":174652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":174652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:15:45] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810c2560012d8281c005d349e80007008c27..."} 
[2026-09-08 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810c2560012d8281c005d349e80007008c27..."} 
[2026-09-08 18:15:45] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810c2560012d8281c005d349e80007008c27..."} 
[2026-09-08 18:15:45] local.INFO: Packet analysis {"connection_id":174651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:15:45] local.INFO: Extracted packet for processing {"connection_id":174651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810c"} 
[2026-09-08 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":763527616,"raw_latitude":97733096,"longitude_deg":76.3527616,"latitude_deg":9.7733096,"altitude":7,"angle":140,"satellites":39,"speed":11,"hex_longitude":"2d8281c0","hex_latitude":"05d349e8","is_valid_coordinates":true} 
[2026-09-08 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951091456001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130050295462887424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042946551763519488,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788871452000,"timestamp_ms":1788871452000,"timestamp_seconds":1788871452,"priority":1,"record_length":96,"hex_timestamp":"000001a0810c2560"} 
[2026-09-08 18:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951091456001,"66":12504,"68":206,"85":15104,"24":11,"16":130050295462887424,"45":-9042946551763519488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951091456001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:15:45] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130050295462887424,"km_value":130050295462887.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042946551763519488,"description":"Unknown IO ID 45"} 
[2026-09-08 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951091456001,"power":12504,"unknown_68":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9042946551763519488}} 
[2026-09-08 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":174651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:15:45] local.INFO: GPS data processed {"connection_id":174651,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:15:45] local.INFO: Acknowledgment sent {"connection_id":174651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:15:53] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:15:53] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:15:53] local.INFO: IMEI packet received {"connection_id":174652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":174652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:15:56] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810be2f8012d447100069296f00029012730..."} 
[2026-09-08 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810be2f8012d447100069296f00029012730..."} 
[2026-09-08 18:15:56] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810be2f8012d447100069296f00029012730..."} 
[2026-09-08 18:15:56] local.INFO: Packet analysis {"connection_id":174652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810b"} 
[2026-09-08 18:15:56] local.INFO: Extracted packet for processing {"connection_id":174652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810b"} 
[2026-09-08 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":759460096,"raw_latitude":110270192,"longitude_deg":75.9460096,"latitude_deg":11.0270192,"altitude":41,"angle":295,"satellites":48,"speed":46,"hex_longitude":"2d447100","hex_latitude":"069296f0","is_valid_coordinates":true} 
[2026-09-08 18:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951086080001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403002497985150976,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4937282225965840384,"note":"Value kept but may cause issues"} 
[2026-09-08 18:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788871435000,"timestamp_ms":1788871435000,"timestamp_seconds":1788871435,"priority":1,"record_length":96,"hex_timestamp":"000001a0810be2f8"} 
[2026-09-08 18:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-08 18:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951086080001,"66":27745,"177":206,"19":48128,"24":46,"16":403002497985150976,"45":4937282225965840384},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-09-08 18:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951086080001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:15:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-08 18:15:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403002497985150976,"km_value":403002497985151.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4937282225965840384,"description":"Unknown IO ID 45"} 
[2026-09-08 18:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951086080001,"power":27745,"unknown_177":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4937282225965840384}} 
[2026-09-08 18:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":174652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:15:56] local.INFO: GPS data processed {"connection_id":174652,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:15:56] local.INFO: Acknowledgment sent {"connection_id":174652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:16:13] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:16:13] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:16:13] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:16:18] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:16:18] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:16:18] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:16:19] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810d61c8012d82880005d2ea20000400b027..."} 
[2026-09-08 18:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810d61c8012d82880005d2ea20000400b027..."} 
[2026-09-08 18:16:19] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810d61c8012d82880005d2ea20000400b027..."} 
[2026-09-08 18:16:19] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:19] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763529216,"raw_latitude":97708576,"longitude_deg":76.3529216,"latitude_deg":9.7708576,"altitude":4,"angle":176,"satellites":39,"speed":9,"hex_longitude":"2d828800","hex_latitude":"05d2ea20","is_valid_coordinates":true} 
[2026-09-08 18:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951110400001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130051498053730304,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040976226932676608,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788871533000,"timestamp_ms":1788871533000,"timestamp_seconds":1788871533,"priority":1,"record_length":96,"hex_timestamp":"000001a0810d61c8"} 
[2026-09-08 18:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 18:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951110400001,"66":13200,"68":206,"85":15104,"24":9,"16":130051498053730304,"45":-9040976226932676608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951110400001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:16:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130051498053730304,"km_value":130051498053730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040976226932676608,"description":"Unknown IO ID 45"} 
[2026-09-08 18:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951110400001,"power":13200,"unknown_68":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9040976226932676608}} 
[2026-09-08 18:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:16:19] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:16:19] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:16:22] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810dac00012d828d4005d2c6f8000500ac26..."} 
[2026-09-08 18:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810dac00012d828d4005d2c6f8000500ac26..."} 
[2026-09-08 18:16:22] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810dac00012d828d4005d2c6f8000500ac26..."} 
[2026-09-08 18:16:22] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:22] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763530560,"raw_latitude":97699576,"longitude_deg":76.353056,"latitude_deg":9.7699576,"altitude":5,"angle":172,"satellites":38,"speed":30,"hex_longitude":"2d828d40","hex_latitude":"05d2c6f8","is_valid_coordinates":true} 
[2026-09-08 18:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951112448001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130051940435361792,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040976226932875264,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788871552000,"timestamp_ms":1788871552000,"timestamp_seconds":1788871552,"priority":1,"record_length":96,"hex_timestamp":"000001a0810dac00"} 
[2026-09-08 18:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-08 18:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951112448001,"66":13406,"68":206,"85":15104,"24":30,"16":130051940435361792,"45":-9040976226932875264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951112448001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:16:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130051940435361792,"km_value":130051940435361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040976226932875264,"description":"Unknown IO ID 45"} 
[2026-09-08 18:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951112448001,"power":13406,"unknown_68":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9040976226932875264}} 
[2026-09-08 18:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:16:22] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:16:22] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:16:41] local.INFO: TCP Data received {"connection_id":176002,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:41] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:41] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:16:41] local.INFO: TCP Data received {"connection_id":176002,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:41] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:41] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:16:46] local.INFO: TCP Data received {"connection_id":176002,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:46] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:16:46] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:16:47] local.INFO: TCP Data received {"connection_id":176002,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810d7938012d4330000693e190002101492f..."} 
[2026-09-08 18:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810d7938012d4330000693e190002101492f..."} 
[2026-09-08 18:16:47] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810d7938012d4330000693e190002101492f..."} 
[2026-09-08 18:16:47] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:47] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:47] local.INFO: GPS Element Parsed {"raw_longitude":759377920,"raw_latitude":110354832,"longitude_deg":75.937792,"latitude_deg":11.0354832,"altitude":33,"angle":329,"satellites":47,"speed":50,"hex_longitude":"2d433000","hex_latitude":"0693e190","is_valid_coordinates":true} 
[2026-09-08 18:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951112192001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403008356320542720,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4846858389718079488,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788871539000,"timestamp_ms":1788871539000,"timestamp_seconds":1788871539,"priority":1,"record_length":96,"hex_timestamp":"000001a0810d7938"} 
[2026-09-08 18:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 18:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951112192001,"66":27843,"238":206,"19":48128,"24":50,"16":403008356320542720,"45":4846858389718079488},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-09-08 18:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951112192001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:16:47] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-08 18:16:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403008356320542720,"km_value":403008356320542.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4846858389718079488,"description":"Unknown IO ID 45"} 
[2026-09-08 18:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951112192001,"power":27843,"unknown_238":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4846858389718079488}} 
[2026-09-08 18:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:16:47] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:16:47] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:16:53] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810dcf28012d82900005d2ab20000400bc27..."} 
[2026-09-08 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810dcf28012d82900005d2ab20000400bc27..."} 
[2026-09-08 18:16:53] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810dcf28012d82900005d2ab20000400bc27..."} 
[2026-09-08 18:16:53] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:53] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763531264,"raw_latitude":97692448,"longitude_deg":76.3531264,"latitude_deg":9.7692448,"altitude":4,"angle":188,"satellites":39,"speed":30,"hex_longitude":"2d829000","hex_latitude":"05d2ab20","is_valid_coordinates":true} 
[2026-09-08 18:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951117312001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130052288327712768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039498483307448320,"note":"Value kept but may cause issues"} 
[2026-09-08 18:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788871561000,"timestamp_ms":1788871561000,"timestamp_seconds":1788871561,"priority":1,"record_length":96,"hex_timestamp":"000001a0810dcf28"} 
[2026-09-08 18:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 18:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951117312001,"66":13689,"68":206,"85":15104,"24":30,"16":130052288327712768,"45":-9039498483307448320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951117312001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:16:53] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130052288327712768,"km_value":130052288327712.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039498483307448320,"description":"Unknown IO ID 45"} 
[2026-09-08 18:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951117312001,"power":13689,"unknown_68":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9039498483307448320}} 
[2026-09-08 18:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:16:53] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:16:53] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:17:08] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:17:08] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:17:08] local.INFO: IMEI packet received {"connection_id":176005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":176005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:17:13] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:17:13] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:17:13] local.INFO: IMEI packet received {"connection_id":176005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":176005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:17:14] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810de2b0012d828f0005d29b80000500ae28..."} 
[2026-09-08 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810de2b0012d828f0005d29b80000500ae28..."} 
[2026-09-08 18:17:14] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810de2b0012d828f0005d29b80000500ae28..."} 
[2026-09-08 18:17:14] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:14] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763531008,"raw_latitude":97688448,"longitude_deg":76.3531008,"latitude_deg":9.7688448,"altitude":5,"angle":174,"satellites":40,"speed":32,"hex_longitude":"2d828f00","hex_latitude":"05d29b80","is_valid_coordinates":true} 
[2026-09-08 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951119616001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130052481601241088,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038724427123318784,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788871566000,"timestamp_ms":1788871566000,"timestamp_seconds":1788871566,"priority":1,"record_length":96,"hex_timestamp":"000001a0810de2b0"} 
[2026-09-08 18:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 18:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951119616001,"66":13222,"68":206,"85":15104,"24":32,"16":130052481601241088,"45":-9038724427123318784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951119616001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:17:14] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130052481601241088,"km_value":130052481601241.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038724427123318784,"description":"Unknown IO ID 45"} 
[2026-09-08 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951119616001,"power":13222,"unknown_68":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9038724427123318784}} 
[2026-09-08 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:17:14] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:17:14] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:17:15] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810e1960012d82930005d27688000500ad27..."} 
[2026-09-08 18:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810e1960012d82930005d27688000500ad27..."} 
[2026-09-08 18:17:15] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810e1960012d82930005d27688000500ad27..."} 
[2026-09-08 18:17:15] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810e"} 
[2026-09-08 18:17:15] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810e"} 
[2026-09-08 18:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763532032,"raw_latitude":97678984,"longitude_deg":76.3532032,"latitude_deg":9.7678984,"altitude":5,"angle":173,"satellites":39,"speed":28,"hex_longitude":"2d829300","hex_latitude":"05d27688","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951120896001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130052945457709056,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039005902101053440,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788871580000,"timestamp_ms":1788871580000,"timestamp_seconds":1788871580,"priority":1,"record_length":96,"hex_timestamp":"000001a0810e1960"} 
[2026-09-08 18:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-08 18:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951120896001,"66":13559,"68":206,"85":15104,"24":28,"16":130052945457709056,"45":-9039005902101053440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951120896001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:17:15] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130052945457709056,"km_value":130052945457709.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039005902101053440,"description":"Unknown IO ID 45"} 
[2026-09-08 18:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951120896001,"power":13559,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9039005902101053440}} 
[2026-09-08 18:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:17:15] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:17:15] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:17:18] local.INFO: TCP Data received {"connection_id":176002,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810d88d8012d4327800693f390001f01552c..."} 
[2026-09-08 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810d88d8012d4327800693f390001f01552c..."} 
[2026-09-08 18:17:18] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810d88d8012d4327800693f390001f01552c..."} 
[2026-09-08 18:17:18] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:18] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":759375744,"raw_latitude":110359440,"longitude_deg":75.9375744,"latitude_deg":11.035944,"altitude":31,"angle":341,"satellites":44,"speed":50,"hex_longitude":"2d432780","hex_latitude":"0693f390","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951113984001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403008601133678592,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4841369627674120192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788871543000,"timestamp_ms":1788871543000,"timestamp_seconds":1788871543,"priority":1,"record_length":96,"hex_timestamp":"000001a0810d88d8"} 
[2026-09-08 18:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 18:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951113984001,"66":27745,"238":206,"19":48128,"24":50,"16":403008601133678592,"45":4841369627674120192},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-09-08 18:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951113984001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:17:18] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-08 18:17:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403008601133678592,"km_value":403008601133678.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4841369627674120192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951113984001,"power":27745,"unknown_238":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4841369627674120192}} 
[2026-09-08 18:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:17:18] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:17:18] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:17:41] local.INFO: TCP Data received {"connection_id":176006,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:41] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:41] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:17:46] local.INFO: TCP Data received {"connection_id":176006,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:46] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:46] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:17:46] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0810e4840012d8297c005d25180000600b127..."} 
[2026-09-08 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810e4840012d8297c005d25180000600b127..."} 
[2026-09-08 18:17:46] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810e4840012d8297c005d25180000600b127..."} 
[2026-09-08 18:17:46] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810e"} 
[2026-09-08 18:17:46] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810e"} 
[2026-09-08 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97669504,"longitude_deg":76.3533248,"latitude_deg":9.7669504,"altitude":6,"angle":177,"satellites":39,"speed":33,"hex_longitude":"2d8297c0","hex_latitude":"05d25180","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951124480001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130053409314177024,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037880002196633600,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788871592000,"timestamp_ms":1788871592000,"timestamp_seconds":1788871592,"priority":1,"record_length":96,"hex_timestamp":"000001a0810e4840"} 
[2026-09-08 18:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 18:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951124480001,"66":13276,"68":206,"85":15104,"24":33,"16":130053409314177024,"45":-9037880002196633600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-08 18:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951124480001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:17:46] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-08 18:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130053409314177024,"km_value":130053409314177.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037880002196633600,"description":"Unknown IO ID 45"} 
[2026-09-08 18:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951124480001,"power":13276,"unknown_68":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9037880002196633600}} 
[2026-09-08 18:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:17:46] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:17:46] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:17:46] local.INFO: TCP Data received {"connection_id":176006,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:46] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:17:46] local.INFO: IMEI packet received {"connection_id":176006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":176006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:17:48] local.INFO: TCP Data received {"connection_id":176006,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810d9878012d432380069406d0001e016124..."} 
[2026-09-08 18:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810d9878012d432380069406d0001e016124..."} 
[2026-09-08 18:17:48] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810d9878012d432380069406d0001e016124..."} 
[2026-09-08 18:17:48] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:48] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:48] local.INFO: GPS Element Parsed {"raw_longitude":759374720,"raw_latitude":110364368,"longitude_deg":75.937472,"latitude_deg":11.0364368,"altitude":30,"angle":353,"satellites":36,"speed":51,"hex_longitude":"2d432380","hex_latitude":"069406d0","is_valid_coordinates":true} 
[2026-09-08 18:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951115008001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403008845946814464,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838977090373259264,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788871547000,"timestamp_ms":1788871547000,"timestamp_seconds":1788871547,"priority":1,"record_length":96,"hex_timestamp":"000001a0810d9878"} 
[2026-09-08 18:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951115008001,"66":27800,"238":206,"19":48128,"24":51,"16":403008845946814464,"45":4838977090373259264},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-09-08 18:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951115008001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:17:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-08 18:17:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403008845946814464,"km_value":403008845946814.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838977090373259264,"description":"Unknown IO ID 45"} 
[2026-09-08 18:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951115008001,"power":27800,"unknown_238":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4838977090373259264}} 
[2026-09-08 18:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:17:48] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:17:48] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:17:51] local.INFO: TCP Data received {"connection_id":176006,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810da818012d432300069419f8001d000427..."} 
[2026-09-08 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810da818012d432300069419f8001d000427..."} 
[2026-09-08 18:17:51] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810da818012d432300069419f8001d000427..."} 
[2026-09-08 18:17:51] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:51] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810d"} 
[2026-09-08 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":759374592,"raw_latitude":110369272,"longitude_deg":75.9374592,"latitude_deg":11.0369272,"altitude":29,"angle":4,"satellites":39,"speed":47,"hex_longitude":"2d432300","hex_latitude":"069419f8","is_valid_coordinates":true} 
[2026-09-08 18:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951116032001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403009086464983040,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837851190467678208,"note":"Value kept but may cause issues"} 
[2026-09-08 18:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788871551000,"timestamp_ms":1788871551000,"timestamp_seconds":1788871551,"priority":1,"record_length":96,"hex_timestamp":"000001a0810da818"} 
[2026-09-08 18:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951116032001,"66":27821,"238":206,"19":48128,"24":47,"16":403009086464983040,"45":4837851190467678208},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-09-08 18:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951116032001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:17:51] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-08 18:17:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403009086464983040,"km_value":403009086464983.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837851190467678208,"description":"Unknown IO ID 45"} 
[2026-09-08 18:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951116032001,"power":27821,"unknown_238":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4837851190467678208}} 
[2026-09-08 18:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:17:51] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:17:51] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:18:05] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:05] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:05] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:18:08] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:08] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:08] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:18:08] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:08] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:08] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:18:09] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:09] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:18:09] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:18:23] local.INFO: TCP Data received {"connection_id":176006,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810f0b90012d438900069596680017015430..."} 
[2026-09-08 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810f0b90012d438900069596680017015430..."} 
[2026-09-08 18:18:23] local.INFO: Processing buffer {"connection_id":176006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810f0b90012d438900069596680017015430..."} 
[2026-09-08 18:18:23] local.INFO: Packet analysis {"connection_id":176006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:18:23] local.INFO: Extracted packet for processing {"connection_id":176006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:18:23] local.INFO: GPS Element Parsed {"raw_longitude":759400704,"raw_latitude":110466664,"longitude_deg":75.9400704,"latitude_deg":11.0466664,"altitude":23,"angle":340,"satellites":48,"speed":41,"hex_longitude":"2d438900","hex_latitude":"06959668","is_valid_coordinates":true} 
[2026-09-08 18:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951138304001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403014060037111808,"note":"Value kept but may cause issues"} 
[2026-09-08 18:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868672700441618432,"note":"Value kept but may cause issues"} 
[2026-09-08 18:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788871642000,"timestamp_ms":1788871642000,"timestamp_seconds":1788871642,"priority":1,"record_length":96,"hex_timestamp":"000001a0810f0b90"} 
[2026-09-08 18:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951138304001,"66":27832,"28":206,"19":48128,"24":41,"16":403014060037111808,"45":4868672700441618432},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-09-08 18:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951138304001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-08 18:18:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403014060037111808,"km_value":403014060037111.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868672700441618432,"description":"Unknown IO ID 45"} 
[2026-09-08 18:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951138304001,"power":27832,"unknown_28":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4868672700441618432}} 
[2026-09-08 18:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":176006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:18:23] local.INFO: GPS data processed {"connection_id":176006,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:18:23] local.INFO: Acknowledgment sent {"connection_id":176006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:18:24] local.INFO: TCP Data received {"connection_id":174940,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:18:24] local.INFO: Processing buffer {"connection_id":174940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:18:24] local.INFO: IMEI packet received {"connection_id":174940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":174940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:18:41] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:18:41] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:18:41] local.INFO: IMEI packet received {"connection_id":174655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":174655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:18:44] local.INFO: TCP Data received {"connection_id":174656,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:18:44] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:18:44] local.INFO: IMEI packet received {"connection_id":174656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":174656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:18:46] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:18:46] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:18:46] local.INFO: IMEI packet received {"connection_id":174655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":174655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:18:48] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810f26e8012d437c000695b078001801482f..."} 
[2026-09-08 18:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810f26e8012d437c000695b078001801482f..."} 
[2026-09-08 18:18:48] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810f26e8012d437c000695b078001801482f..."} 
[2026-09-08 18:18:48] local.INFO: Packet analysis {"connection_id":174655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:18:48] local.INFO: Extracted packet for processing {"connection_id":174655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:18:48] local.INFO: GPS Element Parsed {"raw_longitude":759397376,"raw_latitude":110473336,"longitude_deg":75.9397376,"latitude_deg":11.0473336,"altitude":24,"angle":328,"satellites":47,"speed":43,"hex_longitude":"2d437c00","hex_latitude":"0695b078","is_valid_coordinates":true} 
[2026-09-08 18:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951140352001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403014420814364672,"note":"Value kept but may cause issues"} 
[2026-09-08 18:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866420900629997568,"note":"Value kept but may cause issues"} 
[2026-09-08 18:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788871649000,"timestamp_ms":1788871649000,"timestamp_seconds":1788871649,"priority":1,"record_length":96,"hex_timestamp":"000001a0810f26e8"} 
[2026-09-08 18:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 18:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951140352001,"66":27800,"28":206,"19":48128,"24":43,"16":403014420814364672,"45":4866420900629997568},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-09-08 18:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951140352001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-08 18:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403014420814364672,"km_value":403014420814364.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866420900629997568,"description":"Unknown IO ID 45"} 
[2026-09-08 18:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951140352001,"power":27800,"unknown_28":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4866420900629997568}} 
[2026-09-08 18:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":174655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:18:48] local.INFO: GPS data processed {"connection_id":174655,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:18:48] local.INFO: Acknowledgment sent {"connection_id":174655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:19:20] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810f4628012d4367000695cd780018014430..."} 
[2026-09-08 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810f4628012d4367000695cd780018014430..."} 
[2026-09-08 18:19:20] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810f4628012d4367000695cd780018014430..."} 
[2026-09-08 18:19:20] local.INFO: Packet analysis {"connection_id":174655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:19:20] local.INFO: Extracted packet for processing {"connection_id":174655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:19:20] local.INFO: GPS Element Parsed {"raw_longitude":759392000,"raw_latitude":110480760,"longitude_deg":75.9392,"latitude_deg":11.048076,"altitude":24,"angle":324,"satellites":48,"speed":47,"hex_longitude":"2d436700","hex_latitude":"0695cd78","is_valid_coordinates":true} 
[2026-09-08 18:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951142144001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403014858901028864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4862761725934467072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788871657000,"timestamp_ms":1788871657000,"timestamp_seconds":1788871657,"priority":1,"record_length":96,"hex_timestamp":"000001a0810f4628"} 
[2026-09-08 18:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951142144001,"66":27800,"28":206,"19":48128,"24":47,"16":403014858901028864,"45":4862761725934467072},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-09-08 18:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951142144001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:19:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-08 18:19:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403014858901028864,"km_value":403014858901028.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4862761725934467072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951142144001,"power":27800,"unknown_28":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4862761725934467072}} 
[2026-09-08 18:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":174655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:19:21] local.INFO: GPS data processed {"connection_id":174655,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:19:21] local.INFO: Acknowledgment sent {"connection_id":174655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:19:46] local.INFO: TCP Data received {"connection_id":177470,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:19:46] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:19:46] local.INFO: IMEI packet received {"connection_id":177470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":177470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:19:51] local.INFO: TCP Data received {"connection_id":177470,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:19:51] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:19:51] local.INFO: IMEI packet received {"connection_id":177470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":177470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:19:52] local.INFO: TCP Data received {"connection_id":177470,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810f6568012d4350000695ebe80017014230..."} 
[2026-09-08 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810f6568012d4350000695ebe80017014230..."} 
[2026-09-08 18:19:52] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810f6568012d4350000695ebe80017014230..."} 
[2026-09-08 18:19:52] local.INFO: Packet analysis {"connection_id":177470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:19:52] local.INFO: Extracted packet for processing {"connection_id":177470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:19:52] local.INFO: GPS Element Parsed {"raw_longitude":759386112,"raw_latitude":110488552,"longitude_deg":75.9386112,"latitude_deg":11.0488552,"altitude":23,"angle":322,"satellites":48,"speed":48,"hex_longitude":"2d435000","hex_latitude":"0695ebe8","is_valid_coordinates":true} 
[2026-09-08 18:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951144192001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403015331347431424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4856850751425443840,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788871665000,"timestamp_ms":1788871665000,"timestamp_seconds":1788871665,"priority":1,"record_length":96,"hex_timestamp":"000001a0810f6568"} 
[2026-09-08 18:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951144192001,"66":27821,"28":206,"19":48128,"24":48,"16":403015331347431424,"45":4856850751425443840},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-09-08 18:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951144192001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:19:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-08 18:19:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403015331347431424,"km_value":403015331347431.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4856850751425443840,"description":"Unknown IO ID 45"} 
[2026-09-08 18:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951144192001,"power":27821,"unknown_28":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4856850751425443840}} 
[2026-09-08 18:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":177470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:19:52] local.INFO: GPS data processed {"connection_id":177470,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:19:52] local.INFO: Acknowledgment sent {"connection_id":177470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:19:53] local.INFO: TCP Data received {"connection_id":177470,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0810f84a8012d43388006960ab0001401432e..."} 
[2026-09-08 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0810f84a8012d43388006960ab0001401432e..."} 
[2026-09-08 18:19:53] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0810f84a8012d43388006960ab0001401432e..."} 
[2026-09-08 18:19:53] local.INFO: Packet analysis {"connection_id":177470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:19:53] local.INFO: Extracted packet for processing {"connection_id":177470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0810f"} 
[2026-09-08 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":759380096,"raw_latitude":110496432,"longitude_deg":75.9380096,"latitude_deg":11.0496432,"altitude":20,"angle":323,"satellites":46,"speed":49,"hex_longitude":"2d433880","hex_latitude":"06960ab0","is_valid_coordinates":true} 
[2026-09-08 18:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951146240001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403015808088801280,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4850376826963093504,"note":"Value kept but may cause issues"} 
[2026-09-08 18:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788871673000,"timestamp_ms":1788871673000,"timestamp_seconds":1788871673,"priority":1,"record_length":96,"hex_timestamp":"000001a0810f84a8"} 
[2026-09-08 18:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951146240001,"66":27821,"28":206,"19":48128,"24":49,"16":403015808088801280,"45":4850376826963093504},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-09-08 18:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951146240001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:19:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-08 18:19:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403015808088801280,"km_value":403015808088801.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4850376826963093504,"description":"Unknown IO ID 45"} 
[2026-09-08 18:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951146240001,"power":27821,"unknown_28":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4850376826963093504}} 
[2026-09-08 18:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":177470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:19:53] local.INFO: GPS data processed {"connection_id":177470,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:19:53] local.INFO: Acknowledgment sent {"connection_id":177470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:20:10] local.INFO: TCP Data received {"connection_id":174944,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:20:10] local.INFO: Processing buffer {"connection_id":174944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:20:10] local.INFO: IMEI packet received {"connection_id":174944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":174944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:20:11] local.INFO: TCP Data received {"connection_id":174944,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081107ea8012d18a2800722bde0006800ad2b..."} 
[2026-09-08 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081107ea8012d18a2800722bde0006800ad2b..."} 
[2026-09-08 18:20:11] local.INFO: Processing buffer {"connection_id":174944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081107ea8012d18a2800722bde0006800ad2b..."} 
[2026-09-08 18:20:11] local.INFO: Packet analysis {"connection_id":174944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:20:11] local.INFO: Extracted packet for processing {"connection_id":174944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119717344,"longitude_deg":75.6589184,"latitude_deg":11.9717344,"altitude":104,"angle":173,"satellites":43,"speed":32,"hex_longitude":"2d18a280","hex_latitude":"0722bde0","is_valid_coordinates":true} 
[2026-09-08 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951164160001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18827036386656256,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273826304,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:11] 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-09-08 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788871737000,"timestamp_ms":1788871737000,"timestamp_seconds":1788871737,"priority":1,"record_length":96,"hex_timestamp":"000001a081107ea8"} 
[2026-09-08 18:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 18:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951164160001,"66":13852,"120":206,"28":31744,"24":32,"16":18827036386656256,"45":1775121971273826304},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951164160001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:20:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18827036386656256,"km_value":18827036386656.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273826304,"description":"Unknown IO ID 45"} 
[2026-09-08 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951164160001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1775121971273826304}} 
[2026-09-08 18:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":174944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:20:11] local.INFO: GPS data processed {"connection_id":174944,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:20:11] local.INFO: Acknowledgment sent {"connection_id":174944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:20:24] local.INFO: TCP Data received {"connection_id":177470,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08110e820012d42d1c0069767d8002901632f..."} 
[2026-09-08 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08110e820012d42d1c0069767d8002901632f..."} 
[2026-09-08 18:20:24] local.INFO: Processing buffer {"connection_id":177470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08110e820012d42d1c0069767d8002901632f..."} 
[2026-09-08 18:20:24] local.INFO: Packet analysis {"connection_id":177470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:20:24] local.INFO: Extracted packet for processing {"connection_id":177470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":759353792,"raw_latitude":110585816,"longitude_deg":75.9353792,"latitude_deg":11.0585816,"altitude":41,"angle":355,"satellites":47,"speed":32,"hex_longitude":"2d42d1c0","hex_latitude":"069767d8","is_valid_coordinates":true} 
[2026-09-08 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951168768001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403020416588709888,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4815544298617698304,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788871764000,"timestamp_ms":1788871764000,"timestamp_seconds":1788871764,"priority":1,"record_length":96,"hex_timestamp":"000001a08110e820"} 
[2026-09-08 18:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951168768001,"66":27800,"29":206,"19":48128,"24":32,"16":403020416588709888,"45":4815544298617698304},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951168768001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:20:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:20:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403020416588709888,"km_value":403020416588709.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4815544298617698304,"description":"Unknown IO ID 45"} 
[2026-09-08 18:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951168768001,"power":27800,"unknown_29":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4815544298617698304}} 
[2026-09-08 18:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":177470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:20:24] local.INFO: GPS data processed {"connection_id":177470,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:20:24] local.INFO: Acknowledgment sent {"connection_id":177470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:20:40] local.INFO: TCP Data received {"connection_id":177471,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:40] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:40] local.INFO: IMEI packet received {"connection_id":177471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":177471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:20:41] local.INFO: TCP Data received {"connection_id":177471,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:41] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:41] local.INFO: IMEI packet received {"connection_id":177471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":177471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:20:43] local.INFO: TCP Data received {"connection_id":174944,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08110a9a0012d18a8c007229bb0006d00af28..."} 
[2026-09-08 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08110a9a0012d18a8c007229bb0006d00af28..."} 
[2026-09-08 18:20:43] local.INFO: Processing buffer {"connection_id":174944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08110a9a0012d18a8c007229bb0006d00af28..."} 
[2026-09-08 18:20:43] local.INFO: Packet analysis {"connection_id":174944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:20:43] local.INFO: Extracted packet for processing {"connection_id":174944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119708592,"longitude_deg":75.6590784,"latitude_deg":11.9708592,"altitude":109,"angle":175,"satellites":40,"speed":33,"hex_longitude":"2d18a8c0","hex_latitude":"07229bb0","is_valid_coordinates":true} 
[2026-09-08 18:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951164672001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18827470178353152,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273392128,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:43] 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-09-08 18:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788871748000,"timestamp_ms":1788871748000,"timestamp_seconds":1788871748,"priority":1,"record_length":96,"hex_timestamp":"000001a08110a9a0"} 
[2026-09-08 18:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-08 18:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951164672001,"66":13928,"120":206,"28":31744,"24":33,"16":18827470178353152,"45":1775121971273392128},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951164672001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:20:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18827470178353152,"km_value":18827470178353.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273392128,"description":"Unknown IO ID 45"} 
[2026-09-08 18:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951164672001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1775121971273392128}} 
[2026-09-08 18:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":174944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:20:43] local.INFO: GPS data processed {"connection_id":174944,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:20:43] local.INFO: Acknowledgment sent {"connection_id":174944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:20:46] local.INFO: TCP Data received {"connection_id":177471,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:46] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:20:46] local.INFO: IMEI packet received {"connection_id":177471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":177471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:20:48] local.INFO: TCP Data received {"connection_id":177471,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081111318012d42cf4006978c68002c016230..."} 
[2026-09-08 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081111318012d42cf4006978c68002c016230..."} 
[2026-09-08 18:20:48] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081111318012d42cf4006978c68002c016230..."} 
[2026-09-08 18:20:48] local.INFO: Packet analysis {"connection_id":177471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08111"} 
[2026-09-08 18:20:48] local.INFO: Extracted packet for processing {"connection_id":177471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08111"} 
[2026-09-08 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":759353152,"raw_latitude":110595176,"longitude_deg":75.9353152,"latitude_deg":11.0595176,"altitude":44,"angle":354,"satellites":48,"speed":34,"hex_longitude":"2d42cf40","hex_latitude":"06978c68","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951171584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403020871855243264,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814840611178272768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788871775000,"timestamp_ms":1788871775000,"timestamp_seconds":1788871775,"priority":1,"record_length":96,"hex_timestamp":"000001a081111318"} 
[2026-09-08 18:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951171584001,"66":27691,"29":206,"19":48128,"24":34,"16":403020871855243264,"45":4814840611178272768},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951171584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:20:48] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403020871855243264,"km_value":403020871855243.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814840611178272768,"description":"Unknown IO ID 45"} 
[2026-09-08 18:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951171584001,"power":27691,"unknown_29":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":4814840611178272768}} 
[2026-09-08 18:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":177471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:20:48] local.INFO: GPS data processed {"connection_id":177471,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:20:48] local.INFO: Acknowledgment sent {"connection_id":177471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:21:00] local.INFO: TCP Data received {"connection_id":176007,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:21:00] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:21:00] local.INFO: IMEI packet received {"connection_id":176007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":176007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:21:05] local.INFO: TCP Data received {"connection_id":176007,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:21:05] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:21:05] local.INFO: IMEI packet received {"connection_id":176007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":176007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:21:06] local.INFO: TCP Data received {"connection_id":176007,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08110bd28012d18a88007228ab8006d00bc25..."} 
[2026-09-08 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08110bd28012d18a88007228ab8006d00bc25..."} 
[2026-09-08 18:21:06] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08110bd28012d18a88007228ab8006d00bc25..."} 
[2026-09-08 18:21:06] local.INFO: Packet analysis {"connection_id":176007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:21:06] local.INFO: Extracted packet for processing {"connection_id":176007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119704248,"longitude_deg":75.659072,"latitude_deg":11.9704248,"altitude":109,"angle":188,"satellites":37,"speed":34,"hex_longitude":"2d18a880","hex_latitude":"07228ab8","is_valid_coordinates":true} 
[2026-09-08 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951167488001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18827680631750656,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189875593216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:06] 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-09-08 18:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788871753000,"timestamp_ms":1788871753000,"timestamp_seconds":1788871753,"priority":1,"record_length":96,"hex_timestamp":"000001a08110bd28"} 
[2026-09-08 18:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 18:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951167488001,"66":14135,"120":206,"28":31744,"24":34,"16":18827680631750656,"45":1776881189875593216},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951167488001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:21:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18827680631750656,"km_value":18827680631750.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189875593216,"description":"Unknown IO ID 45"} 
[2026-09-08 18:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951167488001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1776881189875593216}} 
[2026-09-08 18:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":176007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:21:06] local.INFO: GPS data processed {"connection_id":176007,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:21:06] local.INFO: Acknowledgment sent {"connection_id":176007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:21:20] local.INFO: TCP Data received {"connection_id":177471,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081113a28012d42c8400697ad48003001541e..."} 
[2026-09-08 18:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081113a28012d42c8400697ad48003001541e..."} 
[2026-09-08 18:21:20] local.INFO: Processing buffer {"connection_id":177471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081113a28012d42c8400697ad48003001541e..."} 
[2026-09-08 18:21:20] local.INFO: Packet analysis {"connection_id":177471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08111"} 
[2026-09-08 18:21:20] local.INFO: Extracted packet for processing {"connection_id":177471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08111"} 
[2026-09-08 18:21:20] local.INFO: GPS Element Parsed {"raw_longitude":759351360,"raw_latitude":110603592,"longitude_deg":75.935136,"latitude_deg":11.0603592,"altitude":48,"angle":340,"satellites":30,"speed":37,"hex_longitude":"2d42c840","hex_latitude":"0697ad48","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951174400001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403021288467070976,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814136923738892288,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788871785000,"timestamp_ms":1788871785000,"timestamp_seconds":1788871785,"priority":1,"record_length":96,"hex_timestamp":"000001a081113a28"} 
[2026-09-08 18:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 18:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951174400001,"66":27745,"29":206,"19":48128,"24":37,"16":403021288467070976,"45":4814136923738892288},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951174400001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:21:20] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:21:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403021288467070976,"km_value":403021288467071.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814136923738892288,"description":"Unknown IO ID 45"} 
[2026-09-08 18:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951174400001,"power":27745,"unknown_29":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":4814136923738892288}} 
[2026-09-08 18:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":177471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:21:20] local.INFO: GPS data processed {"connection_id":177471,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:21:20] local.INFO: Acknowledgment sent {"connection_id":177471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:21:37] local.INFO: TCP Data received {"connection_id":176007,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08110d498012d18a38007227638006b00c823..."} 
[2026-09-08 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08110d498012d18a38007227638006b00c823..."} 
[2026-09-08 18:21:38] local.INFO: Processing buffer {"connection_id":176007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08110d498012d18a38007227638006b00c823..."} 
[2026-09-08 18:21:38] local.INFO: Packet analysis {"connection_id":176007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:21:38] local.INFO: Extracted packet for processing {"connection_id":176007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08110"} 
[2026-09-08 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119699000,"longitude_deg":75.658944,"latitude_deg":11.9699,"altitude":107,"angle":200,"satellites":35,"speed":39,"hex_longitude":"2d18a380","hex_latitude":"07227638","is_valid_coordinates":true} 
[2026-09-08 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951168768001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18827942624755712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821130303488,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:38] 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-09-08 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871759000,"timestamp_ms":1788871759000,"timestamp_seconds":1788871759,"priority":1,"record_length":96,"hex_timestamp":"000001a08110d498"} 
[2026-09-08 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-08 18:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951168768001,"66":14352,"120":206,"28":31744,"24":39,"16":18827942624755712,"45":1776810821130303488},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951168768001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:21:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18827942624755712,"km_value":18827942624755.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821130303488,"description":"Unknown IO ID 45"} 
[2026-09-08 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951168768001,"power":14352,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1776810821130303488}} 
[2026-09-08 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":176007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:21:38] local.INFO: GPS data processed {"connection_id":176007,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:21:38] local.INFO: Acknowledgment sent {"connection_id":176007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:21:38] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:38] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:38] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:21:41] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:41] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:41] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:21:45] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:45] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:21:45] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:21:47] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081114db0012d42c1400697bb400031014828..."} 
[2026-09-08 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081114db0012d42c1400697bb400031014828..."} 
[2026-09-08 18:21:47] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081114db0012d42c1400697bb400031014828..."} 
[2026-09-08 18:21:47] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08111"} 
[2026-09-08 18:21:47] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08111"} 
[2026-09-08 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":759349568,"raw_latitude":110607168,"longitude_deg":75.9349568,"latitude_deg":11.0607168,"altitude":49,"angle":328,"satellites":40,"speed":33,"hex_longitude":"2d42c140","hex_latitude":"0697bb40","is_valid_coordinates":true} 
[2026-09-08 18:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951176960001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403021481740599296,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4812166598904072192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788871790000,"timestamp_ms":1788871790000,"timestamp_seconds":1788871790,"priority":1,"record_length":96,"hex_timestamp":"000001a081114db0"} 
[2026-09-08 18:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951176960001,"66":27821,"29":206,"19":48128,"24":33,"16":403021481740599296,"45":4812166598904072192},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951176960001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:21:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:21:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403021481740599296,"km_value":403021481740599.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4812166598904072192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951176960001,"power":27821,"unknown_29":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4812166598904072192}} 
[2026-09-08 18:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:21:47] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:21:47] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:22:00] local.INFO: TCP Data received {"connection_id":174947,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:22:00] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:22:00] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:22:05] local.INFO: TCP Data received {"connection_id":174947,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:22:05] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:22:05] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:22:06] local.INFO: TCP Data received {"connection_id":174947,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081125368012d1827000721a0b0004b006f26..."} 
[2026-09-08 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081125368012d1827000721a0b0004b006f26..."} 
[2026-09-08 18:22:06] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081125368012d1827000721a0b0004b006f26..."} 
[2026-09-08 18:22:06] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:06] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644336,"longitude_deg":75.6557568,"latitude_deg":11.9644336,"altitude":75,"angle":111,"satellites":38,"speed":9,"hex_longitude":"2d182700","hex_latitude":"0721a0b0","is_valid_coordinates":true} 
[2026-09-08 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951193600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831133785456640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515179520,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:06] 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-09-08 18:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788871857000,"timestamp_ms":1788871857000,"timestamp_seconds":1788871857,"priority":1,"record_length":96,"hex_timestamp":"000001a081125368"} 
[2026-09-08 18:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 18:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951193600001,"66":13080,"120":206,"28":31744,"24":9,"16":18831133785456640,"45":1738741330515179520},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951193600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:22:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831133785456640,"km_value":18831133785456.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515179520,"description":"Unknown IO ID 45"} 
[2026-09-08 18:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951193600001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738741330515179520}} 
[2026-09-08 18:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:22:06] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:22:06] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:22:23] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08112b510012d4156c006987aa8001d01302f..."} 
[2026-09-08 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08112b510012d4156c006987aa8001d01302f..."} 
[2026-09-08 18:22:23] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08112b510012d4156c006987aa8001d01302f..."} 
[2026-09-08 18:22:23] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:23] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:23] local.INFO: GPS Element Parsed {"raw_longitude":759256768,"raw_latitude":110656168,"longitude_deg":75.9256768,"latitude_deg":11.0656168,"altitude":29,"angle":304,"satellites":47,"speed":47,"hex_longitude":"2d4156c0","hex_latitude":"06987aa8","is_valid_coordinates":true} 
[2026-09-08 18:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951199744001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403026549802008576,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4717168794276282368,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788871882000,"timestamp_ms":1788871882000,"timestamp_seconds":1788871882,"priority":1,"record_length":96,"hex_timestamp":"000001a08112b510"} 
[2026-09-08 18:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951199744001,"66":27800,"29":206,"19":48128,"24":47,"16":403026549802008576,"45":4717168794276282368},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951199744001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:22:23] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403026549802008576,"km_value":403026549802008.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4717168794276282368,"description":"Unknown IO ID 45"} 
[2026-09-08 18:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951199744001,"power":27800,"unknown_29":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4717168794276282368}} 
[2026-09-08 18:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:22:23] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:22:23] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:22:38] local.INFO: TCP Data received {"connection_id":174947,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081125f20012d1828c007219fa0004c008827..."} 
[2026-09-08 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081125f20012d1828c007219fa0004c008827..."} 
[2026-09-08 18:22:38] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081125f20012d1828c007219fa0004c008827..."} 
[2026-09-08 18:22:38] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:38] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119644064,"longitude_deg":75.6558016,"latitude_deg":11.9644064,"altitude":76,"angle":136,"satellites":39,"speed":5,"hex_longitude":"2d1828c0","hex_latitude":"07219fa0","is_valid_coordinates":true} 
[2026-09-08 18:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951195392001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831159555260416,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630936064,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:38] 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-09-08 18:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871860000,"timestamp_ms":1788871860000,"timestamp_seconds":1788871860,"priority":1,"record_length":96,"hex_timestamp":"000001a081125f20"} 
[2026-09-08 18:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 18:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951195392001,"66":13037,"120":206,"28":31744,"24":5,"16":18831159555260416,"45":1740359811630936064},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951195392001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:22:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831159555260416,"km_value":18831159555260.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630936064,"description":"Unknown IO ID 45"} 
[2026-09-08 18:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951195392001,"power":13037,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1740359811630936064}} 
[2026-09-08 18:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:22:38] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:22:38] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:22:41] local.INFO: TCP Data received {"connection_id":176010,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:41] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:41] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:22:43] local.INFO: TCP Data received {"connection_id":176010,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:43] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:43] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:22:46] local.INFO: TCP Data received {"connection_id":176010,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:46] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:22:46] local.INFO: IMEI packet received {"connection_id":176010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":176010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:22:51] local.INFO: TCP Data received {"connection_id":176010,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08112d450012d4138c006988eb8001f013030..."} 
[2026-09-08 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08112d450012d4138c006988eb8001f013030..."} 
[2026-09-08 18:22:51] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08112d450012d4138c006988eb8001f013030..."} 
[2026-09-08 18:22:51] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:51] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:51] local.INFO: GPS Element Parsed {"raw_longitude":759249088,"raw_latitude":110661304,"longitude_deg":75.9249088,"latitude_deg":11.0661304,"altitude":31,"angle":304,"satellites":48,"speed":44,"hex_longitude":"2d4138c0","hex_latitude":"06988eb8","is_valid_coordinates":true} 
[2026-09-08 18:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951201792001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403026987888672768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4708161595022944256,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788871890000,"timestamp_ms":1788871890000,"timestamp_seconds":1788871890,"priority":1,"record_length":96,"hex_timestamp":"000001a08112d450"} 
[2026-09-08 18:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951201792001,"66":27865,"29":206,"19":48128,"24":44,"16":403026987888672768,"45":4708161595022944256},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951201792001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:22:51] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:22:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403026987888672768,"km_value":403026987888672.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4708161595022944256,"description":"Unknown IO ID 45"} 
[2026-09-08 18:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951201792001,"power":27865,"unknown_29":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4708161595022944256}} 
[2026-09-08 18:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:22:51] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:22:51] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:22:52] local.INFO: TCP Data received {"connection_id":176010,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08112f778012d4118c00698a3a00020012e30..."} 
[2026-09-08 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08112f778012d4118c00698a3a00020012e30..."} 
[2026-09-08 18:22:52] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08112f778012d4118c00698a3a00020012e30..."} 
[2026-09-08 18:22:52] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:52] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":759240896,"raw_latitude":110666656,"longitude_deg":75.9240896,"latitude_deg":11.0666656,"altitude":32,"angle":302,"satellites":48,"speed":42,"hex_longitude":"2d4118c0","hex_latitude":"0698a3a0","is_valid_coordinates":true} 
[2026-09-08 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951203840001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403027460335075328,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4699717345722939392,"note":"Value kept but may cause issues"} 
[2026-09-08 18:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788871899000,"timestamp_ms":1788871899000,"timestamp_seconds":1788871899,"priority":1,"record_length":96,"hex_timestamp":"000001a08112f778"} 
[2026-09-08 18:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951203840001,"66":27843,"29":206,"19":48128,"24":42,"16":403027460335075328,"45":4699717345722939392},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951203840001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:22:52] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:22:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403027460335075328,"km_value":403027460335075.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4699717345722939392,"description":"Unknown IO ID 45"} 
[2026-09-08 18:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951203840001,"power":27843,"unknown_29":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4699717345722939392}} 
[2026-09-08 18:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:22:52] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:22:52] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:03] local.INFO: TCP Data received {"connection_id":177472,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:03] local.INFO: Processing buffer {"connection_id":177472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:03] local.INFO: IMEI packet received {"connection_id":177472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":177472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:23:05] local.INFO: TCP Data received {"connection_id":177472,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:05] local.INFO: Processing buffer {"connection_id":177472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:05] local.INFO: IMEI packet received {"connection_id":177472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":177472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:23:10] local.INFO: TCP Data received {"connection_id":177472,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:10] local.INFO: Processing buffer {"connection_id":177472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:23:10] local.INFO: IMEI packet received {"connection_id":177472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":177472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:23:12] local.INFO: TCP Data received {"connection_id":177472,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08112b128012d18290007219f10004c008527..."} 
[2026-09-08 18:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08112b128012d18290007219f10004c008527..."} 
[2026-09-08 18:23:12] local.INFO: Processing buffer {"connection_id":177472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08112b128012d18290007219f10004c008527..."} 
[2026-09-08 18:23:12] local.INFO: Packet analysis {"connection_id":177472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:23:12] local.INFO: Extracted packet for processing {"connection_id":177472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08112"} 
[2026-09-08 18:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643920,"longitude_deg":75.655808,"latitude_deg":11.964392,"altitude":76,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219f10","is_valid_coordinates":true} 
[2026-09-08 18:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951196160001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831168145195008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392840110080,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23: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-09-08 18:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788871881000,"timestamp_ms":1788871881000,"timestamp_seconds":1788871881,"priority":1,"record_length":96,"hex_timestamp":"000001a08112b128"} 
[2026-09-08 18:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951196160001,"66":13004,"120":206,"28":31744,"24":0,"16":18831168145195008,"45":1740852392840110080},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951196160001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831168145195008,"km_value":18831168145195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392840110080,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951196160001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740852392840110080}} 
[2026-09-08 18:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":177472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:12] local.INFO: GPS data processed {"connection_id":177472,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:12] local.INFO: Acknowledgment sent {"connection_id":177472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:13] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:23:13] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:23:13] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:23:18] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:23:18] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:23:18] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:23:19] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0811364d8012d81ce0005d182a8000d011927..."} 
[2026-09-08 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811364d8012d81ce0005d182a8000d011927..."} 
[2026-09-08 18:23:19] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811364d8012d81ce0005d182a8000d011927..."} 
[2026-09-08 18:23:19] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:19] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763481600,"raw_latitude":97616552,"longitude_deg":76.34816,"latitude_deg":9.7616552,"altitude":13,"angle":281,"satellites":39,"speed":26,"hex_longitude":"2d81ce00","hex_latitude":"05d182a8","is_valid_coordinates":true} 
[2026-09-08 18:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951212288001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130062978501312512,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090304716625332224,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788871927000,"timestamp_ms":1788871927000,"timestamp_seconds":1788871927,"priority":1,"record_length":96,"hex_timestamp":"000001a0811364d8"} 
[2026-09-08 18:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951212288001,"66":13319,"65":206,"85":15104,"24":26,"16":130062978501312512,"45":-9090304716625332224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951212288001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130062978501312512,"km_value":130062978501312.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090304716625332224,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951212288001,"power":13319,"unknown_65":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9090304716625332224}} 
[2026-09-08 18:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:19] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:19] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:19] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a081137090012d81c7c005d18328000d010d27..."} 
[2026-09-08 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081137090012d81c7c005d18328000d010d27..."} 
[2026-09-08 18:23:19] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081137090012d81c7c005d18328000d010d27..."} 
[2026-09-08 18:23:19] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:19] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763480000,"raw_latitude":97616680,"longitude_deg":76.348,"latitude_deg":9.761668,"altitude":13,"angle":269,"satellites":39,"speed":12,"hex_longitude":"2d81c7c0","hex_latitude":"05d18328","is_valid_coordinates":true} 
[2026-09-08 18:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951213312001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130063055810723840,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093330572624615424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788871930000,"timestamp_ms":1788871930000,"timestamp_seconds":1788871930,"priority":1,"record_length":96,"hex_timestamp":"000001a081137090"} 
[2026-09-08 18:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2165499864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181513221,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":209,"raw_value":8205558559742305536,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":18,"raw_value":-4273914751405916155,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252750,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514316800,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,65,85,24,241,157,16,19,160,45,192,125,12,38,10,66,81,123,39,73,64,1,240,198,227,129,209,4,113,205,18,251,14,224,239,50,2,206,5,11,6,215],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0}]} 
[2026-09-08 18:23:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937057852765896704,"timestamp_seconds":937057852765896.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951213312001,"66":13135,"65":206,"85":15104,"24":12,"16":130063055810723840,"45":-9093330572624615424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-08 18:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951213312001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130063055810723840,"km_value":130063055810723.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093330572624615424,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951213312001,"power":13135,"unknown_65":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9093330572624615424}} 
[2026-09-08 18:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:19] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:19] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:25] local.INFO: TCP Data received {"connection_id":176010,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081131aa0012d40f8000698b8880022012e30..."} 
[2026-09-08 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081131aa0012d40f8000698b8880022012e30..."} 
[2026-09-08 18:23:25] local.INFO: Processing buffer {"connection_id":176010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081131aa0012d40f8000698b8880022012e30..."} 
[2026-09-08 18:23:25] local.INFO: Packet analysis {"connection_id":176010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:25] local.INFO: Extracted packet for processing {"connection_id":176010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":759232512,"raw_latitude":110672008,"longitude_deg":75.9232512,"latitude_deg":11.0672008,"altitude":34,"angle":302,"satellites":48,"speed":44,"hex_longitude":"2d40f800","hex_latitude":"0698b888","is_valid_coordinates":true} 
[2026-09-08 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951206144001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403027937076445184,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4690710146469568512,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788871908000,"timestamp_ms":1788871908000,"timestamp_seconds":1788871908,"priority":1,"record_length":96,"hex_timestamp":"000001a081131aa0"} 
[2026-09-08 18:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951206144001,"66":27843,"29":206,"19":48128,"24":44,"16":403027937076445184,"45":4690710146469568512},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-09-08 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951206144001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-08 18:23:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403027937076445184,"km_value":403027937076445.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4690710146469568512,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951206144001,"power":27843,"unknown_29":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4690710146469568512}} 
[2026-09-08 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":176010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:25] local.INFO: GPS data processed {"connection_id":176010,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:25] local.INFO: Acknowledgment sent {"connection_id":176010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:41] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:23:41] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:23:41] local.INFO: IMEI packet received {"connection_id":174660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":174660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:23:43] local.INFO: TCP Data received {"connection_id":177472,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081130330012d18290007219f10004c008528..."} 
[2026-09-08 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081130330012d18290007219f10004c008528..."} 
[2026-09-08 18:23:43] local.INFO: Processing buffer {"connection_id":177472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081130330012d18290007219f10004c008528..."} 
[2026-09-08 18:23:43] local.INFO: Packet analysis {"connection_id":177472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:43] local.INFO: Extracted packet for processing {"connection_id":177472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643920,"longitude_deg":75.655808,"latitude_deg":11.964392,"altitude":76,"angle":133,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219f10","is_valid_coordinates":true} 
[2026-09-08 18:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951201536001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831168145195008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584250880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:43] 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-09-08 18:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788871902000,"timestamp_ms":1788871902000,"timestamp_seconds":1788871902,"priority":1,"record_length":96,"hex_timestamp":"000001a081130330"} 
[2026-09-08 18:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951201536001,"66":12961,"120":206,"28":31744,"24":0,"16":18831168145195008,"45":1740922761584250880},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951201536001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831168145195008,"km_value":18831168145195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584250880,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951201536001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584250880}} 
[2026-09-08 18:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":177472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:43] local.INFO: GPS data processed {"connection_id":177472,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:43] local.INFO: Acknowledgment sent {"connection_id":177472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:44] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:23:44] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:23:44] local.INFO: IMEI packet received {"connection_id":174660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":174660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:23:46] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811339e0012d40d9400698cc300023012e30..."} 
[2026-09-08 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811339e0012d40d9400698cc300023012e30..."} 
[2026-09-08 18:23:46] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811339e0012d40d9400698cc300023012e30..."} 
[2026-09-08 18:23:46] local.INFO: Packet analysis {"connection_id":174660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:46] local.INFO: Extracted packet for processing {"connection_id":174660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":759224640,"raw_latitude":110677040,"longitude_deg":75.922464,"latitude_deg":11.067704,"altitude":35,"angle":302,"satellites":48,"speed":46,"hex_longitude":"2d40d940","hex_latitude":"0698cc30","is_valid_coordinates":true} 
[2026-09-08 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951208448001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403028383753043968,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4681491840983664640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788871916000,"timestamp_ms":1788871916000,"timestamp_seconds":1788871916,"priority":1,"record_length":96,"hex_timestamp":"000001a0811339e0"} 
[2026-09-08 18:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951208448001,"66":27767,"79":206,"19":48128,"24":46,"16":403028383753043968,"45":4681491840983664640},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-09-08 18:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951208448001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-08 18:23:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403028383753043968,"km_value":403028383753043.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4681491840983664640,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951208448001,"power":27767,"unknown_79":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4681491840983664640}} 
[2026-09-08 18:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":174660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:47] local.INFO: GPS data processed {"connection_id":174660,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:47] local.INFO: Acknowledgment sent {"connection_id":174660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:23:51] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08114d020012d8111c005d18cc8000b014828..."} 
[2026-09-08 18:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08114d020012d8111c005d18cc8000b014828..."} 
[2026-09-08 18:23:51] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08114d020012d8111c005d18cc8000b014828..."} 
[2026-09-08 18:23:51] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:23:51] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:23:51] local.INFO: GPS Element Parsed {"raw_longitude":763433408,"raw_latitude":97619144,"longitude_deg":76.3433408,"latitude_deg":9.7619144,"altitude":11,"angle":328,"satellites":40,"speed":9,"hex_longitude":"2d8111c0","hex_latitude":"05d18cc8","is_valid_coordinates":true} 
[2026-09-08 18:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951236864001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130065327848423424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146177499501424640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788872020000,"timestamp_ms":1788872020000,"timestamp_seconds":1788872020,"priority":1,"record_length":96,"hex_timestamp":"000001a08114d020"} 
[2026-09-08 18:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 18:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951236864001,"66":12722,"65":206,"85":15104,"24":9,"16":130065327848423424,"45":-9146177499501424640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-08 18:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951236864001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:23:51] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-08 18:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130065327848423424,"km_value":130065327848423.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146177499501424640,"description":"Unknown IO ID 45"} 
[2026-09-08 18:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951236864001,"power":12722,"unknown_65":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9146177499501424640}} 
[2026-09-08 18:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:23:51] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:23:51] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:00] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:00] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:00] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:24:05] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:05] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:05] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:24:06] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081135538012d18290007219f10004c008527..."} 
[2026-09-08 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081135538012d18290007219f10004c008527..."} 
[2026-09-08 18:24:06] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081135538012d18290007219f10004c008527..."} 
[2026-09-08 18:24:06] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:24:06] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643920,"longitude_deg":75.655808,"latitude_deg":11.964392,"altitude":76,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219f10","is_valid_coordinates":true} 
[2026-09-08 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951206912001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831168145195008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584250880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:06] 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-09-08 18:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788871923000,"timestamp_ms":1788871923000,"timestamp_seconds":1788871923,"priority":1,"record_length":96,"hex_timestamp":"000001a081135538"} 
[2026-09-08 18:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951206912001,"66":12885,"120":206,"28":31744,"24":0,"16":18831168145195008,"45":1740922761584250880},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951206912001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831168145195008,"km_value":18831168145195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584250880,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951206912001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584250880}} 
[2026-09-08 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:06] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:06] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:08] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:24:08] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:24:08] local.INFO: IMEI packet received {"connection_id":176012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":176012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:24:12] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:24:12] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:24:12] local.INFO: IMEI packet received {"connection_id":176012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":176012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:24:12] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08114d408012d81114005d18d88000b015827..."} 
[2026-09-08 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08114d408012d81114005d18d88000b015827..."} 
[2026-09-08 18:24:12] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08114d408012d81114005d18d88000b015827..."} 
[2026-09-08 18:24:12] local.INFO: Packet analysis {"connection_id":176012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:12] local.INFO: Extracted packet for processing {"connection_id":176012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763433280,"raw_latitude":97619336,"longitude_deg":76.343328,"latitude_deg":9.7619336,"altitude":11,"angle":344,"satellites":39,"speed":8,"hex_longitude":"2d811140","hex_latitude":"05d18d88","is_valid_coordinates":true} 
[2026-09-08 18:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951237120001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130065336438358016,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146318236989732864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788872021000,"timestamp_ms":1788872021000,"timestamp_seconds":1788872021,"priority":1,"record_length":96,"hex_timestamp":"000001a08114d408"} 
[2026-09-08 18:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951237120001,"66":13015,"65":206,"85":15104,"24":8,"16":130065336438358016,"45":-9146318236989732864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-08 18:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951237120001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:12] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-08 18:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130065336438358016,"km_value":130065336438358.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146318236989732864,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951237120001,"power":13015,"unknown_65":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9146318236989732864}} 
[2026-09-08 18:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":176012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:12] local.INFO: GPS data processed {"connection_id":176012,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:12] local.INFO: Acknowledgment sent {"connection_id":176012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:14] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:24:14] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:24:14] local.INFO: IMEI packet received {"connection_id":176011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":176011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:24:19] local.INFO: TCP Data received {"connection_id":174660,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081146e78012d3f934006994960001600f82f..."} 
[2026-09-08 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081146e78012d3f934006994960001600f82f..."} 
[2026-09-08 18:24:19] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081146e78012d3f934006994960001600f82f..."} 
[2026-09-08 18:24:19] local.INFO: Packet analysis {"connection_id":174660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:19] local.INFO: Extracted packet for processing {"connection_id":174660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":759141184,"raw_latitude":110709088,"longitude_deg":75.9141184,"latitude_deg":11.0709088,"altitude":22,"angle":248,"satellites":47,"speed":43,"hex_longitude":"2d3f9340","hex_latitude":"06994960","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951228416001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403032923533475840,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4591630954679068672,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788871995000,"timestamp_ms":1788871995000,"timestamp_seconds":1788871995,"priority":1,"record_length":96,"hex_timestamp":"000001a081146e78"} 
[2026-09-08 18:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951228416001,"66":27865,"79":206,"19":48128,"24":43,"16":403032923533475840,"45":4591630954679068672},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-09-08 18:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951228416001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-08 18:24:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403032923533475840,"km_value":403032923533475.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4591630954679068672,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951228416001,"power":27865,"unknown_79":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4591630954679068672}} 
[2026-09-08 18:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":174660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:19] local.INFO: GPS data processed {"connection_id":174660,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:19] local.INFO: Acknowledgment sent {"connection_id":174660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:38] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08113a740012d18290007219f10004c008528..."} 
[2026-09-08 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08113a740012d18290007219f10004c008528..."} 
[2026-09-08 18:24:38] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08113a740012d18290007219f10004c008528..."} 
[2026-09-08 18:24:38] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:24:38] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643920,"longitude_deg":75.655808,"latitude_deg":11.964392,"altitude":76,"angle":133,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219f10","is_valid_coordinates":true} 
[2026-09-08 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951212288001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831168145195008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584250880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:38] 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-09-08 18:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788871944000,"timestamp_ms":1788871944000,"timestamp_seconds":1788871944,"priority":1,"record_length":96,"hex_timestamp":"000001a08113a740"} 
[2026-09-08 18:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951212288001,"66":12841,"120":206,"28":31744,"24":0,"16":18831168145195008,"45":1740922761584250880},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951212288001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831168145195008,"km_value":18831168145195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584250880,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951212288001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584250880}} 
[2026-09-08 18:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:38] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:38] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:41] local.INFO: TCP Data received {"connection_id":176013,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:41] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:41] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:24:43] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a08114d7f0012d81110005d18e48000b016627..."} 
[2026-09-08 18:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08114d7f0012d81110005d18e48000b016627..."} 
[2026-09-08 18:24:43] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08114d7f0012d81110005d18e48000b016627..."} 
[2026-09-08 18:24:43] local.INFO: Packet analysis {"connection_id":176012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:43] local.INFO: Extracted packet for processing {"connection_id":176012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763433216,"raw_latitude":97619528,"longitude_deg":76.3433216,"latitude_deg":9.7619528,"altitude":11,"angle":358,"satellites":39,"speed":9,"hex_longitude":"2d811100","hex_latitude":"05d18e48","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951237376001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130065349323259904,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146458974478039040,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788872022000,"timestamp_ms":1788872022000,"timestamp_seconds":1788872022,"priority":1,"record_length":96,"hex_timestamp":"000001a08114d7f0"} 
[2026-09-08 18:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951237376001,"66":13015,"65":206,"85":15104,"24":9,"16":130065349323259904,"45":-9146458974478039040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-08 18:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951237376001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-08 18:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130065349323259904,"km_value":130065349323259.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146458974478039040,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951237376001,"power":13015,"unknown_65":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9146458974478039040}} 
[2026-09-08 18:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":176012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:43] local.INFO: GPS data processed {"connection_id":176012,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:43] local.INFO: Acknowledgment sent {"connection_id":176012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:44] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:24:44] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:24:44] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:24:45] local.INFO: TCP Data received {"connection_id":176013,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:45] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:45] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:24:46] local.INFO: TCP Data received {"connection_id":176013,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:46] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:24:46] local.INFO: IMEI packet received {"connection_id":176013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":176013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:24:48] local.INFO: TCP Data received {"connection_id":176013,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811491a0012d3f6f0006993ab0001600f72f..."} 
[2026-09-08 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811491a0012d3f6f0006993ab0001600f72f..."} 
[2026-09-08 18:24:48] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811491a0012d3f6f0006993ab0001600f72f..."} 
[2026-09-08 18:24:48] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:48] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:48] local.INFO: GPS Element Parsed {"raw_longitude":759131904,"raw_latitude":110705328,"longitude_deg":75.9131904,"latitude_deg":11.0705328,"altitude":22,"angle":247,"satellites":47,"speed":43,"hex_longitude":"2d3f6f00","hex_latitude":"06993ab0","is_valid_coordinates":true} 
[2026-09-08 18:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951230720001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403033400274845696,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4581075643051630592,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788872004000,"timestamp_ms":1788872004000,"timestamp_seconds":1788872004,"priority":1,"record_length":96,"hex_timestamp":"000001a0811491a0"} 
[2026-09-08 18:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951230720001,"66":27767,"79":206,"19":48128,"24":43,"16":403033400274845696,"45":4581075643051630592},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-09-08 18:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951230720001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-08 18:24:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403033400274845696,"km_value":403033400274845.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4581075643051630592,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951230720001,"power":27767,"unknown_79":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4581075643051630592}} 
[2026-09-08 18:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:48] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:48] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:53] local.INFO: TCP Data received {"connection_id":176013,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08114b4c8012d3f4b4006992cc8001600fa32..."} 
[2026-09-08 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08114b4c8012d3f4b4006992cc8001600fa32..."} 
[2026-09-08 18:24:53] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08114b4c8012d3f4b4006992cc8001600fa32..."} 
[2026-09-08 18:24:53] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:53] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:24:53] local.INFO: GPS Element Parsed {"raw_longitude":759122752,"raw_latitude":110701768,"longitude_deg":75.9122752,"latitude_deg":11.0701768,"altitude":22,"angle":250,"satellites":50,"speed":42,"hex_longitude":"2d3f4b40","hex_latitude":"06992cc8","is_valid_coordinates":true} 
[2026-09-08 18:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951233024001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403033868426280960,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4570872175144906752,"note":"Value kept but may cause issues"} 
[2026-09-08 18:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788872013000,"timestamp_ms":1788872013000,"timestamp_seconds":1788872013,"priority":1,"record_length":96,"hex_timestamp":"000001a08114b4c8"} 
[2026-09-08 18:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951233024001,"66":27865,"79":206,"19":48128,"24":42,"16":403033868426280960,"45":4570872175144906752},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-09-08 18:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951233024001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:24:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-08 18:24:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403033868426280960,"km_value":403033868426280.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4570872175144906752,"description":"Unknown IO ID 45"} 
[2026-09-08 18:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951233024001,"power":27865,"unknown_79":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4570872175144906752}} 
[2026-09-08 18:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:24:53] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:24:53] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:24:59] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:59] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:24:59] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:25:00] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:25:00] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:25:00] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:03] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:25:03] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:25:03] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:04] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08113f948012d18290007219f10004c008527..."} 
[2026-09-08 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08113f948012d18290007219f10004c008527..."} 
[2026-09-08 18:25:04] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08113f948012d18290007219f10004c008527..."} 
[2026-09-08 18:25:04] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:25:04] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08113"} 
[2026-09-08 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643920,"longitude_deg":75.655808,"latitude_deg":11.964392,"altitude":76,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219f10","is_valid_coordinates":true} 
[2026-09-08 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951217664001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18831168145195008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584250880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:04] 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-09-08 18:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788871965000,"timestamp_ms":1788871965000,"timestamp_seconds":1788871965,"priority":1,"record_length":96,"hex_timestamp":"000001a08113f948"} 
[2026-09-08 18:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 18:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951217664001,"66":12819,"120":206,"28":31744,"24":0,"16":18831168145195008,"45":1740922761584250880},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-08 18:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951217664001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18831168145195008,"km_value":18831168145195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584250880,"description":"Unknown IO ID 45"} 
[2026-09-08 18:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951217664001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584250880}} 
[2026-09-08 18:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:25:04] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:25:04] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:25:05] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:05] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:05] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:25:06] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:06] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:06] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:07] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:07] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:07] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:08] local.INFO: TCP Data received {"connection_id":177473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:08] local.INFO: Processing buffer {"connection_id":177473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:25:08] local.INFO: IMEI packet received {"connection_id":177473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":177473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:24] local.INFO: TCP Data received {"connection_id":176013,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08114d408012d3f2a80069924980015010531..."} 
[2026-09-08 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08114d408012d3f2a80069924980015010531..."} 
[2026-09-08 18:25:24] local.INFO: Processing buffer {"connection_id":176013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08114d408012d3f2a80069924980015010531..."} 
[2026-09-08 18:25:24] local.INFO: Packet analysis {"connection_id":176013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:25:24] local.INFO: Extracted packet for processing {"connection_id":176013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08114"} 
[2026-09-08 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":759114368,"raw_latitude":110699672,"longitude_deg":75.9114368,"latitude_deg":11.0699672,"altitude":21,"angle":261,"satellites":49,"speed":43,"hex_longitude":"2d3f2a80","hex_latitude":"06992498","is_valid_coordinates":true} 
[2026-09-08 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951235328001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403034280743141376,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4560809444726589440,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788872021000,"timestamp_ms":1788872021000,"timestamp_seconds":1788872021,"priority":1,"record_length":96,"hex_timestamp":"000001a08114d408"} 
[2026-09-08 18:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951235328001,"66":27821,"79":206,"19":48128,"24":43,"16":403034280743141376,"45":4560809444726589440},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-09-08 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951235328001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:25:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-08 18:25:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403034280743141376,"km_value":403034280743141.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4560809444726589440,"description":"Unknown IO ID 45"} 
[2026-09-08 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951235328001,"power":27821,"unknown_79":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4560809444726589440}} 
[2026-09-08 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":176013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:25:24] local.INFO: GPS data processed {"connection_id":176013,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:25:24] local.INFO: Acknowledgment sent {"connection_id":176013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:25:36] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08115dda8012d18c440072151d0004400a027..."} 
[2026-09-08 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08115dda8012d18c440072151d0004400a027..."} 
[2026-09-08 18:25:36] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08115dda8012d18c440072151d0004400a027..."} 
[2026-09-08 18:25:36] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:25:36] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119624144,"longitude_deg":75.6597824,"latitude_deg":11.9624144,"altitude":68,"angle":160,"satellites":39,"speed":34,"hex_longitude":"2d18c440","hex_latitude":"072151d0","is_valid_coordinates":true} 
[2026-09-08 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951252480001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833401528188928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779273727157862400,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25: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-09-08 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788872089000,"timestamp_ms":1788872089000,"timestamp_seconds":1788872089,"priority":1,"record_length":96,"hex_timestamp":"000001a08115dda8"} 
[2026-09-08 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951252480001,"66":14396,"121":206,"28":31744,"24":34,"16":18833401528188928,"45":1779273727157862400},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951252480001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:25:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833401528188928,"km_value":18833401528188.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779273727157862400,"description":"Unknown IO ID 45"} 
[2026-09-08 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951252480001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1779273727157862400}} 
[2026-09-08 18:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:25:36] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:25:36] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:25:41] local.INFO: TCP Data received {"connection_id":177474,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:41] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:41] local.INFO: IMEI packet received {"connection_id":177474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":177474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:25:42] local.INFO: TCP Data received {"connection_id":177474,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:42] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:42] local.INFO: IMEI packet received {"connection_id":177474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":177474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:46] local.INFO: TCP Data received {"connection_id":177474,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:46] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:25:46] local.INFO: IMEI packet received {"connection_id":177474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":177474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:25:47] local.INFO: TCP Data received {"connection_id":177474,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08115ed48012d3df900069969a80012014531..."} 
[2026-09-08 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08115ed48012d3df900069969a80012014531..."} 
[2026-09-08 18:25:47] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08115ed48012d3df900069969a80012014531..."} 
[2026-09-08 18:25:47] local.INFO: Packet analysis {"connection_id":177474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:25:47] local.INFO: Extracted packet for processing {"connection_id":177474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":759036160,"raw_latitude":110717352,"longitude_deg":75.903616,"latitude_deg":11.0717352,"altitude":18,"angle":325,"satellites":49,"speed":40,"hex_longitude":"2d3df900","hex_latitude":"069969a8","is_valid_coordinates":true} 
[2026-09-08 18:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951254784001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403038193458348032,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4468556021112872960,"note":"Value kept but may cause issues"} 
[2026-09-08 18:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788872093000,"timestamp_ms":1788872093000,"timestamp_seconds":1788872093,"priority":1,"record_length":96,"hex_timestamp":"000001a08115ed48"} 
[2026-09-08 18:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951254784001,"66":27821,"80":206,"19":48128,"24":40,"16":403038193458348032,"45":4468556021112872960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,19,24,16,45]} 
[2026-09-08 18:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951254784001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:25:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-08 18:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403038193458348032,"km_value":403038193458348.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4468556021112872960,"description":"Unknown IO ID 45"} 
[2026-09-08 18:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951254784001,"power":27821,"unknown_80":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":4468556021112872960}} 
[2026-09-08 18:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":177474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:25:47] local.INFO: GPS data processed {"connection_id":177474,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:25:47] local.INFO: Acknowledgment sent {"connection_id":177474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:26:00] local.INFO: TCP Data received {"connection_id":176015,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:26:00] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:26:00] local.INFO: IMEI packet received {"connection_id":176015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":176015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:26:05] local.INFO: TCP Data received {"connection_id":176015,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:26:05] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:26:05] local.INFO: IMEI packet received {"connection_id":176015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":176015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:26:07] local.INFO: TCP Data received {"connection_id":176015,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08115e578012d18c58007214af0004300b22a..."} 
[2026-09-08 18:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08115e578012d18c58007214af0004300b22a..."} 
[2026-09-08 18:26:07] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08115e578012d18c58007214af0004300b22a..."} 
[2026-09-08 18:26:07] local.INFO: Packet analysis {"connection_id":176015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:26:07] local.INFO: Extracted packet for processing {"connection_id":176015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119622384,"longitude_deg":75.6598144,"latitude_deg":11.9622384,"altitude":67,"angle":178,"satellites":42,"speed":35,"hex_longitude":"2d18c580","hex_latitude":"07214af0","is_valid_coordinates":true} 
[2026-09-08 18:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951254784001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833487427534848,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713517568,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26: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-09-08 18:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872091000,"timestamp_ms":1788872091000,"timestamp_seconds":1788872091,"priority":1,"record_length":96,"hex_timestamp":"000001a08115e578"} 
[2026-09-08 18:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-08 18:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951254784001,"66":14483,"121":206,"28":31744,"24":35,"16":18833487427534848,"45":1784621751713517568},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951254784001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:26:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833487427534848,"km_value":18833487427534.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713517568,"description":"Unknown IO ID 45"} 
[2026-09-08 18:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951254784001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1784621751713517568}} 
[2026-09-08 18:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":176015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:26:07] local.INFO: GPS data processed {"connection_id":176015,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:26:07] local.INFO: Acknowledgment sent {"connection_id":176015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:26:18] local.INFO: TCP Data received {"connection_id":177474,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811604b8012d3ded8006997ea00013015230..."} 
[2026-09-08 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811604b8012d3ded8006997ea00013015230..."} 
[2026-09-08 18:26:18] local.INFO: Processing buffer {"connection_id":177474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811604b8012d3ded8006997ea00013015230..."} 
[2026-09-08 18:26:18] local.INFO: Packet analysis {"connection_id":177474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08116"} 
[2026-09-08 18:26:18] local.INFO: Extracted packet for processing {"connection_id":177474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08116"} 
[2026-09-08 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":759033216,"raw_latitude":110722720,"longitude_deg":75.9033216,"latitude_deg":11.072272,"altitude":19,"angle":338,"satellites":48,"speed":40,"hex_longitude":"2d3ded80","hex_latitude":"06997ea0","is_valid_coordinates":true} 
[2026-09-08 18:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951255808001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403038489811091456,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4465600533858199552,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788872099000,"timestamp_ms":1788872099000,"timestamp_seconds":1788872099,"priority":1,"record_length":96,"hex_timestamp":"000001a0811604b8"} 
[2026-09-08 18:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951255808001,"66":27865,"81":206,"19":48128,"24":40,"16":403038489811091456,"45":4465600533858199552},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 18:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951255808001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 18:26:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403038489811091456,"km_value":403038489811091.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4465600533858199552,"description":"Unknown IO ID 45"} 
[2026-09-08 18:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951255808001,"power":27865,"unknown_81":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":4465600533858199552}} 
[2026-09-08 18:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":177474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:26:18] local.INFO: GPS data processed {"connection_id":177474,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:26:18] local.INFO: Acknowledgment sent {"connection_id":177474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:26:43] local.INFO: TCP Data received {"connection_id":176015,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08115f518012d18c74007213cc0004200a023..."} 
[2026-09-08 18:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08115f518012d18c74007213cc0004200a023..."} 
[2026-09-08 18:26:43] local.INFO: Processing buffer {"connection_id":176015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08115f518012d18c74007213cc0004200a023..."} 
[2026-09-08 18:26:43] local.INFO: Packet analysis {"connection_id":176015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:26:43] local.INFO: Extracted packet for processing {"connection_id":176015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08115"} 
[2026-09-08 18:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618752,"longitude_deg":75.6598592,"latitude_deg":11.9618752,"altitude":66,"angle":160,"satellites":35,"speed":35,"hex_longitude":"2d18c740","hex_latitude":"07213cc0","is_valid_coordinates":true} 
[2026-09-08 18:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951255296001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18833663521193984,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433955328,"note":"Value kept but may cause issues"} 
[2026-09-08 18:26:43] 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-09-08 18:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788872095000,"timestamp_ms":1788872095000,"timestamp_seconds":1788872095,"priority":1,"record_length":96,"hex_timestamp":"000001a08115f518"} 
[2026-09-08 18:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-08 18:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951255296001,"66":14265,"121":206,"28":31744,"24":35,"16":18833663521193984,"45":1784973595433955328},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951255296001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18833663521193984,"km_value":18833663521193.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433955328,"description":"Unknown IO ID 45"} 
[2026-09-08 18:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951255296001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1784973595433955328}} 
[2026-09-08 18:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":176015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:26:43] local.INFO: GPS data processed {"connection_id":176015,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:26:43] local.INFO: Acknowledgment sent {"connection_id":176015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:27:00] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:27:00] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:27:00] local.INFO: IMEI packet received {"connection_id":177475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":177475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:27:05] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:27:05] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:27:05] local.INFO: IMEI packet received {"connection_id":177475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":177475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:27:06] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08116f6e8012d194ec00720acf8002e006824..."} 
[2026-09-08 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08116f6e8012d194ec00720acf8002e006824..."} 
[2026-09-08 18:27:06] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08116f6e8012d194ec00720acf8002e006824..."} 
[2026-09-08 18:27:06] local.INFO: Packet analysis {"connection_id":177475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08116"} 
[2026-09-08 18:27:06] local.INFO: Extracted packet for processing {"connection_id":177475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08116"} 
[2026-09-08 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119581944,"longitude_deg":75.663328,"latitude_deg":11.9581944,"altitude":46,"angle":104,"satellites":36,"speed":32,"hex_longitude":"2d194ec0","hex_latitude":"0720acf8","is_valid_coordinates":true} 
[2026-09-08 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951271168001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18836304926081024,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815795105374312448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] 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-09-08 18:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788872161000,"timestamp_ms":1788872161000,"timestamp_seconds":1788872161,"priority":1,"record_length":96,"hex_timestamp":"000001a08116f6e8"} 
[2026-09-08 18:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2165716864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3924033536,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3742892088,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,235,160,184,45,192,201,50,38,10,66,234,157,128,215,55,37,145,64,1,240,185,129,32,4,113,205,35,63,217,239,54,2,7,60,36],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 18:27:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314777023715278848,"timestamp_seconds":3314777023715279.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951271168001,"66":13559,"121":206,"28":31744,"24":32,"16":18836304926081024,"45":1815795105374312448},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951271168001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18836304926081024,"km_value":18836304926081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815795105374312448,"description":"Unknown IO ID 45"} 
[2026-09-08 18:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951271168001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1815795105374312448}} 
[2026-09-08 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":177475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:27:06] local.INFO: GPS data processed {"connection_id":177475,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:27:06] local.INFO: Acknowledgment sent {"connection_id":177475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:27:16] local.INFO: TCP Data received {"connection_id":174952,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:16] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:16] local.INFO: IMEI packet received {"connection_id":174952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":174952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:27:17] local.INFO: TCP Data received {"connection_id":174952,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:17] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:17] local.INFO: IMEI packet received {"connection_id":174952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":174952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:27:21] local.INFO: TCP Data received {"connection_id":174952,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:21] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:21] local.INFO: IMEI packet received {"connection_id":174952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":174952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:27:39] local.INFO: TCP Data received {"connection_id":177475,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08117a2c8012d19ae0007208fb0002b00b824..."} 
[2026-09-08 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117a2c8012d19ae0007208fb0002b00b824..."} 
[2026-09-08 18:27:39] local.INFO: Processing buffer {"connection_id":177475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117a2c8012d19ae0007208fb0002b00b824..."} 
[2026-09-08 18:27:39] local.INFO: Packet analysis {"connection_id":177475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:27:39] local.INFO: Extracted packet for processing {"connection_id":177475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574448,"longitude_deg":75.6657664,"latitude_deg":11.9574448,"altitude":43,"angle":184,"satellites":36,"speed":29,"hex_longitude":"2d19ae00","hex_latitude":"07208fb0","is_valid_coordinates":true} 
[2026-09-08 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951284224001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838022912999424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995457024,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27: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-09-08 18:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788872205000,"timestamp_ms":1788872205000,"timestamp_seconds":1788872205,"priority":1,"record_length":96,"hex_timestamp":"000001a08117a2c8"} 
[2026-09-08 18:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-08 18:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951284224001,"66":13015,"121":206,"28":31744,"24":29,"16":18838022912999424,"45":1850557264995457024},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951284224001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:27:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838022912999424,"km_value":18838022912999.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995457024,"description":"Unknown IO ID 45"} 
[2026-09-08 18:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951284224001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1850557264995457024}} 
[2026-09-08 18:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":177475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:27:39] local.INFO: GPS data processed {"connection_id":177475,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:27:39] local.INFO: Acknowledgment sent {"connection_id":177475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:27:47] local.INFO: TCP Data received {"connection_id":174952,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081161840012d3de880069992080013015e2f..."} 
[2026-09-08 18:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081161840012d3de880069992080013015e2f..."} 
[2026-09-08 18:27:47] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081161840012d3de880069992080013015e2f..."} 
[2026-09-08 18:27:47] local.INFO: Packet analysis {"connection_id":174952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08116"} 
[2026-09-08 18:27:47] local.INFO: Extracted packet for processing {"connection_id":174952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08116"} 
[2026-09-08 18:27:47] local.INFO: GPS Element Parsed {"raw_longitude":759031936,"raw_latitude":110727688,"longitude_deg":75.9031936,"latitude_deg":11.0727688,"altitude":19,"angle":350,"satellites":47,"speed":41,"hex_longitude":"2d3de880","hex_latitude":"06999208","is_valid_coordinates":true} 
[2026-09-08 18:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951257344001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403038738919194624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4462363571627401216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788872104000,"timestamp_ms":1788872104000,"timestamp_seconds":1788872104,"priority":1,"record_length":96,"hex_timestamp":"000001a081161840"} 
[2026-09-08 18:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951257344001,"66":27767,"81":206,"19":48128,"24":41,"16":403038738919194624,"45":4462363571627401216},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 18:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951257344001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 18:27:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403038738919194624,"km_value":403038738919194.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4462363571627401216,"description":"Unknown IO ID 45"} 
[2026-09-08 18:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951257344001,"power":27767,"unknown_81":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4462363571627401216}} 
[2026-09-08 18:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":174952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:27:47] local.INFO: GPS data processed {"connection_id":174952,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:27:47] local.INFO: Acknowledgment sent {"connection_id":174952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:27:56] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:56] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:56] local.INFO: IMEI packet received {"connection_id":177477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":177477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:27:58] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:58] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:27:58] local.INFO: IMEI packet received {"connection_id":177477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":177477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:28:01] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:01] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:01] local.INFO: IMEI packet received {"connection_id":177477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":177477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:28:02] local.INFO: TCP Data received {"connection_id":177477,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08117ae80012d3d9f40069b1060002701532f..."} 
[2026-09-08 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117ae80012d3d9f40069b1060002701532f..."} 
[2026-09-08 18:28:02] local.INFO: Processing buffer {"connection_id":177477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117ae80012d3d9f40069b1060002701532f..."} 
[2026-09-08 18:28:02] local.INFO: Packet analysis {"connection_id":177477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:02] local.INFO: Extracted packet for processing {"connection_id":177477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":759013184,"raw_latitude":110825568,"longitude_deg":75.9013184,"latitude_deg":11.0825568,"altitude":39,"angle":339,"satellites":47,"speed":44,"hex_longitude":"2d3d9f40","hex_latitude":"069b1060","is_valid_coordinates":true} 
[2026-09-08 18:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951282944001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403043643771846656,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4444419541886144512,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788872208000,"timestamp_ms":1788872208000,"timestamp_seconds":1788872208,"priority":1,"record_length":96,"hex_timestamp":"000001a08117ae80"} 
[2026-09-08 18:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 18:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951282944001,"66":27800,"81":206,"19":48128,"24":44,"16":403043643771846656,"45":4444419541886144512},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 18:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951282944001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 18:28:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403043643771846656,"km_value":403043643771846.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4444419541886144512,"description":"Unknown IO ID 45"} 
[2026-09-08 18:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951282944001,"power":27800,"unknown_81":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4444419541886144512}} 
[2026-09-08 18:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":177477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:28:02] local.INFO: GPS data processed {"connection_id":177477,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:28:02] local.INFO: Acknowledgment sent {"connection_id":177477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:28:05] local.INFO: TCP Data received {"connection_id":176018,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:28:05] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:28:05] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:28:10] local.INFO: TCP Data received {"connection_id":176018,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:28:10] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:28:10] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:28:11] local.INFO: TCP Data received {"connection_id":176018,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08117a6b0012d19ae4007208cb0002a00ad24..."} 
[2026-09-08 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117a6b0012d19ae4007208cb0002a00ad24..."} 
[2026-09-08 18:28:11] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117a6b0012d19ae4007208cb0002a00ad24..."} 
[2026-09-08 18:28:11] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:11] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119573680,"longitude_deg":75.6657728,"latitude_deg":11.957368,"altitude":42,"angle":173,"satellites":36,"speed":30,"hex_longitude":"2d19ae40","hex_latitude":"07208cb0","is_valid_coordinates":true} 
[2026-09-08 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951284480001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838061567705088,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506911232,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28: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-09-08 18:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788872206000,"timestamp_ms":1788872206000,"timestamp_seconds":1788872206,"priority":1,"record_length":96,"hex_timestamp":"000001a08117a6b0"} 
[2026-09-08 18:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 18:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951284480001,"66":13015,"121":206,"28":31744,"24":30,"16":18838061567705088,"45":1850416527506911232},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951284480001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838061567705088,"km_value":18838061567705.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506911232,"description":"Unknown IO ID 45"} 
[2026-09-08 18:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951284480001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850416527506911232}} 
[2026-09-08 18:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:28:11] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:28:11] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:28:12] local.INFO: TCP Data received {"connection_id":176018,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08117be20012d19b2c0072077d8002800a223..."} 
[2026-09-08 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117be20012d19b2c0072077d8002800a223..."} 
[2026-09-08 18:28:12] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117be20012d19b2c0072077d8002800a223..."} 
[2026-09-08 18:28:12] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:12] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756658880,"raw_latitude":119568344,"longitude_deg":75.665888,"latitude_deg":11.9568344,"altitude":40,"angle":162,"satellites":35,"speed":40,"hex_longitude":"2d19b2c0","hex_latitude":"072077d8","is_valid_coordinates":true} 
[2026-09-08 18:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951284736001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838323560710144,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250892288,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28: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-09-08 18:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788872212000,"timestamp_ms":1788872212000,"timestamp_seconds":1788872212,"priority":1,"record_length":96,"hex_timestamp":"000001a08117be20"} 
[2026-09-08 18:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 18:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951284736001,"66":14048,"121":206,"28":31744,"24":40,"16":18838323560710144,"45":1850486896250892288},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951284736001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:28:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838323560710144,"km_value":18838323560710.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250892288,"description":"Unknown IO ID 45"} 
[2026-09-08 18:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951284736001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1850486896250892288}} 
[2026-09-08 18:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:28:12] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:28:12] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:28:44] local.INFO: TCP Data received {"connection_id":176018,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08117e148012d19bc80072055d0002600a829..."} 
[2026-09-08 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117e148012d19bc80072055d0002600a829..."} 
[2026-09-08 18:28:44] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117e148012d19bc80072055d0002600a829..."} 
[2026-09-08 18:28:44] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:44] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119559632,"longitude_deg":75.6661376,"latitude_deg":11.9559632,"altitude":38,"angle":168,"satellites":41,"speed":37,"hex_longitude":"2d19bc80","hex_latitude":"072055d0","is_valid_coordinates":true} 
[2026-09-08 18:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951286272001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18838765942341632,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851753533644724224,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28: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-09-08 18:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788872221000,"timestamp_ms":1788872221000,"timestamp_seconds":1788872221,"priority":1,"record_length":96,"hex_timestamp":"000001a08117e148"} 
[2026-09-08 18:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 18:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951286272001,"66":14428,"121":206,"28":31744,"24":37,"16":18838765942341632,"45":1851753533644724224},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951286272001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:28:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:28:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18838765942341632,"km_value":18838765942341.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851753533644724224,"description":"Unknown IO ID 45"} 
[2026-09-08 18:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951286272001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1851753533644724224}} 
[2026-09-08 18:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:28:44] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:28:44] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:28:47] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:47] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:47] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:28:47] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:47] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:28:47] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:28:49] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08117cdc0012d3d95c0069b31f00027015d2d..."} 
[2026-09-08 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117cdc0012d3d95c0069b31f00027015d2d..."} 
[2026-09-08 18:28:49] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117cdc0012d3d95c0069b31f00027015d2d..."} 
[2026-09-08 18:28:49] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:49] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":759010752,"raw_latitude":110834160,"longitude_deg":75.9010752,"latitude_deg":11.083416,"altitude":39,"angle":349,"satellites":45,"speed":45,"hex_longitude":"2d3d95c0","hex_latitude":"069b31f0","is_valid_coordinates":true} 
[2026-09-08 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951285248001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403044077563543552,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4440338154726121472,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788872216000,"timestamp_ms":1788872216000,"timestamp_seconds":1788872216,"priority":1,"record_length":96,"hex_timestamp":"000001a08117cdc0"} 
[2026-09-08 18:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951285248001,"66":27800,"81":206,"19":48128,"24":45,"16":403044077563543552,"45":4440338154726121472},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 18:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951285248001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 18:28:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403044077563543552,"km_value":403044077563543.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4440338154726121472,"description":"Unknown IO ID 45"} 
[2026-09-08 18:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951285248001,"power":27800,"unknown_81":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4440338154726121472}} 
[2026-09-08 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:28:49] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:28:49] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:28:52] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08117ed00012d3d9240069b5568002701632a..."} 
[2026-09-08 18:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08117ed00012d3d9240069b5568002701632a..."} 
[2026-09-08 18:28:52] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08117ed00012d3d9240069b5568002701632a..."} 
[2026-09-08 18:28:52] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:52] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08117"} 
[2026-09-08 18:28:52] local.INFO: GPS Element Parsed {"raw_longitude":759009856,"raw_latitude":110843240,"longitude_deg":75.9009856,"latitude_deg":11.084324,"altitude":39,"angle":355,"satellites":42,"speed":46,"hex_longitude":"2d3d9240","hex_latitude":"069b5568","is_valid_coordinates":true} 
[2026-09-08 18:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951287296001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403044519945175040,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4437664142449569792,"note":"Value kept but may cause issues"} 
[2026-09-08 18:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788872224000,"timestamp_ms":1788872224000,"timestamp_seconds":1788872224,"priority":1,"record_length":96,"hex_timestamp":"000001a08117ed00"} 
[2026-09-08 18:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951287296001,"66":27865,"81":206,"19":48128,"24":46,"16":403044519945175040,"45":4437664142449569792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-09-08 18:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951287296001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-08 18:28:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403044519945175040,"km_value":403044519945175.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4437664142449569792,"description":"Unknown IO ID 45"} 
[2026-09-08 18:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951287296001,"power":27865,"unknown_81":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4437664142449569792}} 
[2026-09-08 18:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:28:52] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:28:52] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:29:00] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:29:00] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:29:00] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:29:05] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:29:05] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:29:05] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:29:06] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081180470012d19c100072036e00028009d26..."} 
[2026-09-08 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081180470012d19c100072036e00028009d26..."} 
[2026-09-08 18:29:06] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081180470012d19c100072036e00028009d26..."} 
[2026-09-08 18:29:06] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08118"} 
[2026-09-08 18:29:06] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08118"} 
[2026-09-08 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119551712,"longitude_deg":75.6662528,"latitude_deg":11.9551712,"altitude":40,"angle":157,"satellites":38,"speed":27,"hex_longitude":"2d19c100","hex_latitude":"072036e0","is_valid_coordinates":true} 
[2026-09-08 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951288576001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18839156784365568,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914665422848,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:06] 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-09-08 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788872230000,"timestamp_ms":1788872230000,"timestamp_seconds":1788872230,"priority":1,"record_length":96,"hex_timestamp":"000001a081180470"} 
[2026-09-08 18:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 18:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951288576001,"66":14080,"121":206,"28":31744,"24":27,"16":18839156784365568,"45":1854497914665422848},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951288576001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:29:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18839156784365568,"km_value":18839156784365.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914665422848,"description":"Unknown IO ID 45"} 
[2026-09-08 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951288576001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1854497914665422848}} 
[2026-09-08 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:29:06] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:29:06] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:29:24] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081180c40012d3d9080069b7958002801652b..."} 
[2026-09-08 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081180c40012d3d9080069b7958002801652b..."} 
[2026-09-08 18:29:24] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081180c40012d3d9080069b7958002801652b..."} 
[2026-09-08 18:29:24] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08118"} 
[2026-09-08 18:29:24] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08118"} 
[2026-09-08 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":759009408,"raw_latitude":110852440,"longitude_deg":75.9009408,"latitude_deg":11.085244,"altitude":40,"angle":357,"satellites":43,"speed":45,"hex_longitude":"2d3d9080","hex_latitude":"069b7958","is_valid_coordinates":true} 
[2026-09-08 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951289344001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403044966621773824,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4436678980033406976,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788872232000,"timestamp_ms":1788872232000,"timestamp_seconds":1788872232,"priority":1,"record_length":96,"hex_timestamp":"000001a081180c40"} 
[2026-09-08 18:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951289344001,"66":27767,"19":48128,"24":45,"16":403044966621773824,"45":4436678980033406976},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951289344001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403044966621773824,"km_value":403044966621773.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4436678980033406976,"description":"Unknown IO ID 45"} 
[2026-09-08 18:29:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951289344001,"power":27767,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4436678980033406976}} 
[2026-09-08 18:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:29:24] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:29:24] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:29:37] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081185678012d19cc4007201d88002b009926..."} 
[2026-09-08 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081185678012d19cc4007201d88002b009926..."} 
[2026-09-08 18:29:37] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081185678012d19cc4007201d88002b009926..."} 
[2026-09-08 18:29:37] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08118"} 
[2026-09-08 18:29:37] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08118"} 
[2026-09-08 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119545224,"longitude_deg":75.6665408,"latitude_deg":11.9545224,"altitude":43,"angle":153,"satellites":38,"speed":0,"hex_longitude":"2d19cc40","hex_latitude":"07201d88","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951290880001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18839504676716544,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855764552058593280,"note":"Value kept but may cause issues"} 
[2026-09-08 18: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-09-08 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788872251000,"timestamp_ms":1788872251000,"timestamp_seconds":1788872251,"priority":1,"record_length":96,"hex_timestamp":"000001a081185678"} 
[2026-09-08 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2165802864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3976986624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2410676267,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2147950738,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911143,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,238,160,225,45,128,85,38,41,10,66,237,190,192,119,40,35,166,64,1,240,215,129,32,4,113,205,29,174,152,36,239,53,2,7,46,25],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 18:29:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882476548053204992,"timestamp_seconds":2882476548053205.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951290880001,"66":14048,"121":206,"28":31744,"24":0,"16":18839504676716544,"45":1855764552058593280},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951290880001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18839504676716544,"km_value":18839504676716.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855764552058593280,"description":"Unknown IO ID 45"} 
[2026-09-08 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951290880001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1855764552058593280}} 
[2026-09-08 18:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:29:38] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:29:38] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:29:39] local.INFO: TCP Data received {"connection_id":176019,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:39] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:39] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:29:41] local.INFO: TCP Data received {"connection_id":176019,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:41] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:41] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:29:47] local.INFO: TCP Data received {"connection_id":176019,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:47] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:29:47] local.INFO: IMEI packet received {"connection_id":176019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":176019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:29:48] local.INFO: TCP Data received {"connection_id":176019,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811973a0012d3d0e00069ced88003601592e..."} 
[2026-09-08 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811973a0012d3d0e00069ced88003601592e..."} 
[2026-09-08 18:29:48] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811973a0012d3d0e00069ced88003601592e..."} 
[2026-09-08 18:29:48] local.INFO: Packet analysis {"connection_id":176019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:29:48] local.INFO: Extracted packet for processing {"connection_id":176019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758976000,"raw_latitude":110947720,"longitude_deg":75.8976,"latitude_deg":11.094772,"altitude":54,"angle":345,"satellites":46,"speed":41,"hex_longitude":"2d3d0e00","hex_latitude":"069ced88","is_valid_coordinates":true} 
[2026-09-08 18:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951312896001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403049888654295040,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4402690876620406784,"note":"Value kept but may cause issues"} 
[2026-09-08 18:29:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788872324000,"timestamp_ms":1788872324000,"timestamp_seconds":1788872324,"priority":1,"record_length":96,"hex_timestamp":"000001a0811973a0"} 
[2026-09-08 18:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951312896001,"66":27767,"19":48128,"24":41,"16":403049888654295040,"45":4402690876620406784},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951312896001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:29:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403049888654295040,"km_value":403049888654295.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4402690876620406784,"description":"Unknown IO ID 45"} 
[2026-09-08 18:29:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951312896001,"power":27767,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4402690876620406784}} 
[2026-09-08 18:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":176019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:29:48] local.INFO: GPS data processed {"connection_id":176019,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:29:48] local.INFO: Acknowledgment sent {"connection_id":176019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:29:49] local.INFO: TCP Data received {"connection_id":174669,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:29:49] local.INFO: Processing buffer {"connection_id":174669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:29:49] local.INFO: IMEI packet received {"connection_id":174669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:30:00] local.INFO: TCP Data received {"connection_id":177478,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:00] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:00] local.INFO: IMEI packet received {"connection_id":177478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":177478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:30:01] local.INFO: TCP Data received {"connection_id":177478,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:01] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:01] local.INFO: IMEI packet received {"connection_id":177478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":177478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:30:05] local.INFO: TCP Data received {"connection_id":177478,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:05] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:30:05] local.INFO: IMEI packet received {"connection_id":177478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":177478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:30:14] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:14] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:14] local.INFO: IMEI packet received {"connection_id":177479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":177479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:30:15] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:15] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:15] local.INFO: IMEI packet received {"connection_id":177479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":177479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:30:17] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:17] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:30:17] local.INFO: IMEI packet received {"connection_id":177479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":177479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:30:18] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0811a2368012d7f1d8005d34a70000400d92b..."} 
[2026-09-08 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811a2368012d7f1d8005d34a70000400d92b..."} 
[2026-09-08 18:30:18] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811a2368012d7f1d8005d34a70000400d92b..."} 
[2026-09-08 18:30:18] local.INFO: Packet analysis {"connection_id":177479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:18] local.INFO: Extracted packet for processing {"connection_id":177479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763305344,"raw_latitude":97733232,"longitude_deg":76.3305344,"latitude_deg":9.7733232,"altitude":4,"angle":217,"satellites":43,"speed":49,"hex_longitude":"2d7f1d80","hex_latitude":"05d34a70","is_valid_coordinates":true} 
[2026-09-08 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951324672001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130077727419006976,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165106741697361920,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788872369000,"timestamp_ms":1788872369000,"timestamp_seconds":1788872369,"priority":1,"record_length":96,"hex_timestamp":"000001a0811a2368"} 
[2026-09-08 18:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:30: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":138,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951324672001,"66":13298,"167":206,"85":15104,"24":49,"16":130077727419006976,"45":9165106741697361920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-08 18:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951324672001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 18:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130077727419006976,"km_value":130077727419006.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165106741697361920,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951324672001,"power":13298,"unknown_167":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9165106741697361920}} 
[2026-09-08 18:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":177479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:18] local.INFO: GPS data processed {"connection_id":177479,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:18] local.INFO: Acknowledgment sent {"connection_id":177479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:30:20] local.INFO: TCP Data received {"connection_id":176019,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811996c8012d3d0600069d12180035015b2c..."} 
[2026-09-08 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811996c8012d3d0600069d12180035015b2c..."} 
[2026-09-08 18:30:20] local.INFO: Processing buffer {"connection_id":176019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811996c8012d3d0600069d12180035015b2c..."} 
[2026-09-08 18:30:20] local.INFO: Packet analysis {"connection_id":176019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:20] local.INFO: Extracted packet for processing {"connection_id":176019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758973952,"raw_latitude":110957080,"longitude_deg":75.8973952,"latitude_deg":11.095708,"altitude":53,"angle":347,"satellites":44,"speed":43,"hex_longitude":"2d3d0600","hex_latitude":"069d1218","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951314944001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403050352510763008,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4399453914390169600,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788872333000,"timestamp_ms":1788872333000,"timestamp_seconds":1788872333,"priority":1,"record_length":96,"hex_timestamp":"000001a0811996c8"} 
[2026-09-08 18:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951314944001,"66":27376,"19":48128,"24":43,"16":403050352510763008,"45":4399453914390169600},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951314944001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403050352510763008,"km_value":403050352510763.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4399453914390169600,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951314944001,"power":27376,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4399453914390169600}} 
[2026-09-08 18:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":176019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:20] local.INFO: GPS data processed {"connection_id":176019,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:20] local.INFO: Acknowledgment sent {"connection_id":176019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:30:21] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.5","data_length":1340,"data_hex":"000000000000030f8e0a000001a0811a42a8012d7f0bc005d33608000200e42b..."} 
[2026-09-08 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0811a42a8012d7f0bc005d33608000200e42b..."} 
[2026-09-08 18:30:21] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0811a42a8012d7f0bc005d33608000200e42b..."} 
[2026-09-08 18:30:21] local.INFO: Packet analysis {"connection_id":177479,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:21] local.INFO: Extracted packet for processing {"connection_id":177479,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763300800,"raw_latitude":97728008,"longitude_deg":76.33008,"latitude_deg":9.7728008,"altitude":2,"angle":228,"satellites":43,"speed":15,"hex_longitude":"2d7f0bc0","hex_latitude":"05d33608","is_valid_coordinates":true} 
[2026-09-08 18:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951326464001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130078062426456064,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159617979649519616,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788872377000,"timestamp_ms":1788872377000,"timestamp_seconds":1788872377,"priority":1,"record_length":96,"hex_timestamp":"000001a0811a42a8"} 
[2026-09-08 18:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951326464001,"66":13374,"167":206,"85":15104,"24":15,"16":130078062426456064,"45":9159617979649519616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-08 18:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951326464001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-08 18:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130078062426456064,"km_value":130078062426456.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159617979649519616,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951326464001,"power":13374,"unknown_167":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9159617979649519616}} 
[2026-09-08 18:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":177479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:21] local.INFO: GPS data processed {"connection_id":177479,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:21] local.INFO: Acknowledgment sent {"connection_id":177479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:30:21] local.INFO: Packet analysis {"connection_id":177479,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":177479,"needed":795,"available":545} 
[2026-09-08 18:30:22] local.INFO: TCP Data received {"connection_id":177478,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08119e8d0012d1a4480071fe830002d006629..."} 
[2026-09-08 18:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08119e8d0012d1a4480071fe830002d006629..."} 
[2026-09-08 18:30:22] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08119e8d0012d1a4480071fe830002d006629..."} 
[2026-09-08 18:30:22] local.INFO: Packet analysis {"connection_id":177478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:22] local.INFO: Extracted packet for processing {"connection_id":177478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756696192,"raw_latitude":119531568,"longitude_deg":75.6696192,"latitude_deg":11.9531568,"altitude":45,"angle":102,"satellites":41,"speed":38,"hex_longitude":"2d1a4480","hex_latitude":"071fe830","is_valid_coordinates":true} 
[2026-09-08 18:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951320064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18841192598863872,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882152831120721920,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:22] 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-09-08 18:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788872354000,"timestamp_ms":1788872354000,"timestamp_seconds":1788872354,"priority":1,"record_length":96,"hex_timestamp":"000001a08119e8d0"} 
[2026-09-08 18:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951320064001,"66":14080,"121":206,"28":31744,"24":38,"16":18841192598863872,"45":1882152831120721920},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951320064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:30:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18841192598863872,"km_value":18841192598863.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882152831120721920,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951320064001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1882152831120721920}} 
[2026-09-08 18:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":177478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:22] local.INFO: GPS data processed {"connection_id":177478,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:22] local.INFO: Acknowledgment sent {"connection_id":177478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:30:32] local.INFO: TCP Data received {"connection_id":177478,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08119f488012d1a4ec0071fe468002e007927..."} 
[2026-09-08 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08119f488012d1a4ec0071fe468002e007927..."} 
[2026-09-08 18:30:32] local.INFO: Processing buffer {"connection_id":177478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08119f488012d1a4ec0071fe468002e007927..."} 
[2026-09-08 18:30:32] local.INFO: Packet analysis {"connection_id":177478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:32] local.INFO: Extracted packet for processing {"connection_id":177478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756698816,"raw_latitude":119530600,"longitude_deg":75.6698816,"latitude_deg":11.95306,"altitude":46,"angle":121,"satellites":39,"speed":35,"hex_longitude":"2d1a4ec0","hex_latitude":"071fe468","is_valid_coordinates":true} 
[2026-09-08 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951322624001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18841325742850048,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892778511490887680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30: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-09-08 18:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788872357000,"timestamp_ms":1788872357000,"timestamp_seconds":1788872357,"priority":1,"record_length":96,"hex_timestamp":"000001a08119f488"} 
[2026-09-08 18:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2165923864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4008771584,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":238,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4245159981,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 18:30:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,239,160,193,45,192,242,43,42,10,66,150,253,44,41,135,1,240,38,238,129,31,4,113,205,22,127,235,168,40,56,2,7,9],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 18:30:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242704057988939776,"timestamp_seconds":3242704057988940.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":177478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":177478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":177478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951322624001,"66":13374,"121":206,"28":31744,"24":35,"16":18841325742850048,"45":1892778511490887680},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951322624001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18841325742850048,"km_value":18841325742850.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892778511490887680,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951322624001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1892778511490887680}} 
[2026-09-08 18:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":177478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:32] local.INFO: GPS data processed {"connection_id":177478,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:32] local.INFO: Acknowledgment sent {"connection_id":177478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:30:42] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:30:42] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:30:42] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:30:45] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:30:45] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:30:45] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:30:46] local.INFO: TCP Data received {"connection_id":177479,"ip":"42.109.136.5","data_length":250,"data_hex":"e3001001ce1fe200000000000001a08119b220012d7f7cc005d391a80007010b..."} 
[2026-09-08 18:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177479,"packet_length":250,"packet_hex":"e3001001ce1fe200000000000001a08119b220012d7f7cc005d391a80007010b..."} 
[2026-09-08 18:30:46] local.INFO: Processing buffer {"connection_id":177479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811a5a18012d7f064005d331d0000100f728..."} 
[2026-09-08 18:30:46] local.INFO: Packet analysis {"connection_id":177479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:46] local.INFO: Extracted packet for processing {"connection_id":177479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763299392,"raw_latitude":97726928,"longitude_deg":76.3299392,"latitude_deg":9.7726928,"altitude":1,"angle":247,"satellites":40,"speed":14,"hex_longitude":"2d7f0640","hex_latitude":"05d331d0","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951328512001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130078144030834688,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154621798811568128,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788872383000,"timestamp_ms":1788872383000,"timestamp_seconds":1788872383,"priority":1,"record_length":96,"hex_timestamp":"000001a0811a5a18"} 
[2026-09-08 18:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951328512001,"66":12939,"209":206,"85":15104,"24":14,"16":130078144030834688,"45":9154621798811568128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951328512001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130078144030834688,"km_value":130078144030834.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154621798811568128,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951328512001,"power":12939,"unknown_209":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9154621798811568128}} 
[2026-09-08 18:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":177479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:46] local.INFO: GPS data processed {"connection_id":177479,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:46] local.INFO: Acknowledgment sent {"connection_id":177479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:30:46] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08119b608012d3cfec0069d34c00035015b2d..."} 
[2026-09-08 18:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08119b608012d3cfec0069d34c00035015b2d..."} 
[2026-09-08 18:30:46] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08119b608012d3cfec0069d34c00035015b2d..."} 
[2026-09-08 18:30:46] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:46] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08119"} 
[2026-09-08 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758972096,"raw_latitude":110965952,"longitude_deg":75.8972096,"latitude_deg":11.0965952,"altitude":53,"angle":347,"satellites":45,"speed":45,"hex_longitude":"2d3cfec0","hex_latitude":"069d34c0","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951317248001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403050790597427200,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4397202114578880512,"note":"Value kept but may cause issues"} 
[2026-09-08 18:30:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788872341000,"timestamp_ms":1788872341000,"timestamp_seconds":1788872341,"priority":1,"record_length":96,"hex_timestamp":"000001a08119b608"} 
[2026-09-08 18:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 18:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951317248001,"66":27767,"19":48128,"24":45,"16":403050790597427200,"45":4397202114578880512},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951317248001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403050790597427200,"km_value":403050790597427.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4397202114578880512,"description":"Unknown IO ID 45"} 
[2026-09-08 18:30:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951317248001,"power":27767,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4397202114578880512}} 
[2026-09-08 18:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:30:46] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:30:46] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:31:00] local.INFO: TCP Data received {"connection_id":177480,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:00] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:00] local.INFO: IMEI packet received {"connection_id":177480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":177480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:31:04] local.INFO: TCP Data received {"connection_id":177480,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:04] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:04] local.INFO: IMEI packet received {"connection_id":177480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":177480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:05] local.INFO: TCP Data received {"connection_id":177480,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:05] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:31:05] local.INFO: IMEI packet received {"connection_id":177480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":177480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:06] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:06] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:06] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:31:07] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:07] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:07] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:07] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:07] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:07] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:07] local.INFO: TCP Data received {"connection_id":177480,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0811aac20012d1ac640071f8cb8003a00a522..."} 
[2026-09-08 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811aac20012d1ac640071f8cb8003a00a522..."} 
[2026-09-08 18:31:07] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811aac20012d1ac640071f8cb8003a00a522..."} 
[2026-09-08 18:31:07] local.INFO: Packet analysis {"connection_id":177480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:07] local.INFO: Extracted packet for processing {"connection_id":177480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119508152,"longitude_deg":75.6729408,"latitude_deg":11.9508152,"altitude":58,"angle":165,"satellites":34,"speed":29,"hex_longitude":"2d1ac640","hex_latitude":"071f8cb8","is_valid_coordinates":true} 
[2026-09-08 18:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951335168001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843241298264064,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480754176,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31: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-09-08 18:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872404000,"timestamp_ms":1788872404000,"timestamp_seconds":1788872404,"priority":1,"record_length":96,"hex_timestamp":"000001a0811aac20"} 
[2026-09-08 18:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 18:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951335168001,"66":14276,"121":206,"28":31744,"24":29,"16":18843241298264064,"45":1929088783480754176},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951335168001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:31:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843241298264064,"km_value":18843241298264.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480754176,"description":"Unknown IO ID 45"} 
[2026-09-08 18:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951335168001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1929088783480754176}} 
[2026-09-08 18:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":177480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:31:08] local.INFO: GPS data processed {"connection_id":177480,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:31:08] local.INFO: Acknowledgment sent {"connection_id":177480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:31:08] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:08] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:31:08] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:15] local.INFO: TCP Data received {"connection_id":177480,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0811ab008012d1ac640071f8968003a00b622..."} 
[2026-09-08 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811ab008012d1ac640071f8968003a00b622..."} 
[2026-09-08 18:31:15] local.INFO: Processing buffer {"connection_id":177480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811ab008012d1ac640071f8968003a00b622..."} 
[2026-09-08 18:31:15] local.INFO: Packet analysis {"connection_id":177480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:15] local.INFO: Extracted packet for processing {"connection_id":177480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119507304,"longitude_deg":75.6729408,"latitude_deg":11.9507304,"altitude":58,"angle":182,"satellites":34,"speed":32,"hex_longitude":"2d1ac640","hex_latitude":"071f8968","is_valid_coordinates":true} 
[2026-09-08 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951335424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18843279952969728,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889713100800,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:15] 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-09-08 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788872405000,"timestamp_ms":1788872405000,"timestamp_seconds":1788872405,"priority":1,"record_length":96,"hex_timestamp":"000001a0811ab008"} 
[2026-09-08 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 18:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951335424001,"66":13287,"121":206,"28":31744,"24":32,"16":18843279952969728,"45":1929299889713100800},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951335424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:31:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18843279952969728,"km_value":18843279952969.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889713100800,"description":"Unknown IO ID 45"} 
[2026-09-08 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951335424001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1929299889713100800}} 
[2026-09-08 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":177480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:31:15] local.INFO: GPS data processed {"connection_id":177480,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:31:15] local.INFO: Acknowledgment sent {"connection_id":177480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:31:19] local.INFO: TCP Data received {"connection_id":174670,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811adb00012d3c4780069e3d200038014b2c..."} 
[2026-09-08 18:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811adb00012d3c4780069e3d200038014b2c..."} 
[2026-09-08 18:31:19] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811adb00012d3c4780069e3d200038014b2c..."} 
[2026-09-08 18:31:19] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:19] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758925184,"raw_latitude":111033632,"longitude_deg":75.8925184,"latitude_deg":11.1033632,"altitude":56,"angle":331,"satellites":44,"speed":42,"hex_longitude":"2d3c4780","hex_latitude":"069e3d20","is_valid_coordinates":true} 
[2026-09-08 18:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951336192001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403054870816358400,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4348506943625367552,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788872416000,"timestamp_ms":1788872416000,"timestamp_seconds":1788872416,"priority":1,"record_length":96,"hex_timestamp":"000001a0811adb00"} 
[2026-09-08 18:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-08 18:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951336192001,"66":27865,"19":48128,"24":42,"16":403054870816358400,"45":4348506943625367552},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951336192001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:31:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403054870816358400,"km_value":403054870816358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4348506943625367552,"description":"Unknown IO ID 45"} 
[2026-09-08 18:31:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951336192001,"power":27865,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4348506943625367552}} 
[2026-09-08 18:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:31:19] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:31:19] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:31:39] local.INFO: TCP Data received {"connection_id":176020,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:39] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:39] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:31:41] local.INFO: TCP Data received {"connection_id":176020,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:41] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:41] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:47] local.INFO: TCP Data received {"connection_id":176020,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:47] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:31:47] local.INFO: IMEI packet received {"connection_id":176020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":176020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:31:53] local.INFO: TCP Data received {"connection_id":176020,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811afe28012d3c3580069e5ee0003b014c2c..."} 
[2026-09-08 18:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811afe28012d3c3580069e5ee0003b014c2c..."} 
[2026-09-08 18:31:53] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811afe28012d3c3580069e5ee0003b014c2c..."} 
[2026-09-08 18:31:53] local.INFO: Packet analysis {"connection_id":176020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:53] local.INFO: Extracted packet for processing {"connection_id":176020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811a"} 
[2026-09-08 18:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758920576,"raw_latitude":111042272,"longitude_deg":75.8920576,"latitude_deg":11.1042272,"altitude":59,"angle":332,"satellites":44,"speed":44,"hex_longitude":"2d3c3580","hex_latitude":"069e5ee0","is_valid_coordinates":true} 
[2026-09-08 18:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951338496001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403055343262760960,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343581131535097856,"note":"Value kept but may cause issues"} 
[2026-09-08 18:31:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788872425000,"timestamp_ms":1788872425000,"timestamp_seconds":1788872425,"priority":1,"record_length":96,"hex_timestamp":"000001a0811afe28"} 
[2026-09-08 18:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951338496001,"66":27821,"19":48128,"24":44,"16":403055343262760960,"45":4343581131535097856},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951338496001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:31:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403055343262760960,"km_value":403055343262760.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343581131535097856,"description":"Unknown IO ID 45"} 
[2026-09-08 18:31:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951338496001,"power":27821,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4343581131535097856}} 
[2026-09-08 18:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":176020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:31:53] local.INFO: GPS data processed {"connection_id":176020,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:31:53] local.INFO: Acknowledgment sent {"connection_id":176020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:32:02] local.INFO: TCP Data received {"connection_id":174954,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:02] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:02] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:32:03] local.INFO: TCP Data received {"connection_id":174954,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:03] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:03] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:32:04] local.INFO: TCP Data received {"connection_id":174954,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:04] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:04] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:32:05] local.INFO: TCP Data received {"connection_id":174954,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:05] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:32:05] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:32:26] local.INFO: TCP Data received {"connection_id":176020,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811b2150012d3c2380069e8128003c014c2e..."} 
[2026-09-08 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811b2150012d3c2380069e8128003c014c2e..."} 
[2026-09-08 18:32:26] local.INFO: Processing buffer {"connection_id":176020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811b2150012d3c2380069e8128003c014c2e..."} 
[2026-09-08 18:32:26] local.INFO: Packet analysis {"connection_id":176020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811b"} 
[2026-09-08 18:32:26] local.INFO: Extracted packet for processing {"connection_id":176020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811b"} 
[2026-09-08 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758915968,"raw_latitude":111051048,"longitude_deg":75.8915968,"latitude_deg":11.1051048,"altitude":60,"angle":332,"satellites":46,"speed":42,"hex_longitude":"2d3c2380","hex_latitude":"069e8128","is_valid_coordinates":true} 
[2026-09-08 18:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951340800001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403055824299098112,"note":"Value kept but may cause issues"} 
[2026-09-08 18:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4338514581956517888,"note":"Value kept but may cause issues"} 
[2026-09-08 18:32:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788872434000,"timestamp_ms":1788872434000,"timestamp_seconds":1788872434,"priority":1,"record_length":96,"hex_timestamp":"000001a0811b2150"} 
[2026-09-08 18:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951340800001,"66":27876,"19":48128,"24":42,"16":403055824299098112,"45":4338514581956517888},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951340800001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:32:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403055824299098112,"km_value":403055824299098.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4338514581956517888,"description":"Unknown IO ID 45"} 
[2026-09-08 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951340800001,"power":27876,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4338514581956517888}} 
[2026-09-08 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":176020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:32:26] local.INFO: GPS data processed {"connection_id":176020,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:32:26] local.INFO: Acknowledgment sent {"connection_id":176020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:32:40] local.INFO: TCP Data received {"connection_id":174955,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:40] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:40] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:32:41] local.INFO: TCP Data received {"connection_id":174955,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:41] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:41] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:32:46] local.INFO: TCP Data received {"connection_id":174955,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:46] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:32:46] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:32:48] local.INFO: TCP Data received {"connection_id":174955,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811b4478012d3c11c0069ea238003d014c2e..."} 
[2026-09-08 18:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811b4478012d3c11c0069ea238003d014c2e..."} 
[2026-09-08 18:32:48] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811b4478012d3c11c0069ea238003d014c2e..."} 
[2026-09-08 18:32:48] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811b"} 
[2026-09-08 18:32:48] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811b"} 
[2026-09-08 18:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758911424,"raw_latitude":111059512,"longitude_deg":75.8911424,"latitude_deg":11.1059512,"altitude":61,"angle":332,"satellites":46,"speed":42,"hex_longitude":"2d3c11c0","hex_latitude":"069ea238","is_valid_coordinates":true} 
[2026-09-08 18:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951343104001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403056283860598784,"note":"Value kept but may cause issues"} 
[2026-09-08 18:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4333448032377972736,"note":"Value kept but may cause issues"} 
[2026-09-08 18:32:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 18:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788872443000,"timestamp_ms":1788872443000,"timestamp_seconds":1788872443,"priority":1,"record_length":96,"hex_timestamp":"000001a0811b4478"} 
[2026-09-08 18:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 18:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951343104001,"66":27745,"19":48128,"24":42,"16":403056283860598784,"45":4333448032377972736},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-09-08 18:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951343104001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:32:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403056283860598784,"km_value":403056283860598.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4333448032377972736,"description":"Unknown IO ID 45"} 
[2026-09-08 18:32:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457951343104001,"power":27745,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4333448032377972736}} 
[2026-09-08 18:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:32:48] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:32:48] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:33:20] local.INFO: TCP Data received {"connection_id":174955,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811cc348012d3c438006a05090003100252e..."} 
[2026-09-08 18:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811cc348012d3c438006a05090003100252e..."} 
[2026-09-08 18:33:20] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811cc348012d3c438006a05090003100252e..."} 
[2026-09-08 18:33:20] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:33:20] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758924160,"raw_latitude":111169680,"longitude_deg":75.892416,"latitude_deg":11.116968,"altitude":49,"angle":37,"satellites":46,"speed":53,"hex_longitude":"2d3c4380","hex_latitude":"06a05090","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951368704001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403061987577167872,"note":"Value kept but may cause issues"} 
[2026-09-08 18:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4336122044685193216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788872541000,"timestamp_ms":1788872541000,"timestamp_seconds":1788872541,"priority":1,"record_length":96,"hex_timestamp":"000001a0811cc348"} 
[2026-09-08 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-09-08 18:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951368704001,"66":27908,"17":206,"19":48128,"24":53,"16":403061987577167872,"45":4336122044685193216},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-09-08 18:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951368704001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:33:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403061987577167872,"km_value":403061987577167.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4336122044685193216,"description":"Unknown IO ID 45"} 
[2026-09-08 18:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951368704001,"power":27908,"axis_x":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4336122044685193216}} 
[2026-09-08 18:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:33:20] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:33:20] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:33:41] local.INFO: TCP Data received {"connection_id":177484,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:41] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:41] local.INFO: IMEI packet received {"connection_id":177484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":177484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:33:43] local.INFO: TCP Data received {"connection_id":177484,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:43] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:43] local.INFO: IMEI packet received {"connection_id":177484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":177484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:33:46] local.INFO: TCP Data received {"connection_id":177484,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:46] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:33:46] local.INFO: IMEI packet received {"connection_id":177484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":177484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:33:48] local.INFO: TCP Data received {"connection_id":177484,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811cdab8012d3c544006a06a78002f001a2f..."} 
[2026-09-08 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811cdab8012d3c544006a06a78002f001a2f..."} 
[2026-09-08 18:33:48] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811cdab8012d3c544006a06a78002f001a2f..."} 
[2026-09-08 18:33:48] local.INFO: Packet analysis {"connection_id":177484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:33:48] local.INFO: Extracted packet for processing {"connection_id":177484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758928448,"raw_latitude":111176312,"longitude_deg":75.8928448,"latitude_deg":11.1176312,"altitude":47,"angle":26,"satellites":47,"speed":51,"hex_longitude":"2d3c5440","hex_latitude":"06a06a78","is_valid_coordinates":true} 
[2026-09-08 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951370496001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403062369829257216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4342455231663083520,"note":"Value kept but may cause issues"} 
[2026-09-08 18:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788872547000,"timestamp_ms":1788872547000,"timestamp_seconds":1788872547,"priority":1,"record_length":96,"hex_timestamp":"000001a0811cdab8"} 
[2026-09-08 18:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 18:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951370496001,"66":27843,"17":206,"19":48128,"24":51,"16":403062369829257216,"45":4342455231663083520},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-09-08 18:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951370496001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:33:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403062369829257216,"km_value":403062369829257.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4342455231663083520,"description":"Unknown IO ID 45"} 
[2026-09-08 18:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951370496001,"power":27843,"axis_x":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4342455231663083520}} 
[2026-09-08 18:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":177484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:33:48] local.INFO: GPS data processed {"connection_id":177484,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:33:48] local.INFO: Acknowledgment sent {"connection_id":177484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:34:21] local.INFO: TCP Data received {"connection_id":177484,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811cf610012d3c610006a08b90002b00112f..."} 
[2026-09-08 18:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811cf610012d3c610006a08b90002b00112f..."} 
[2026-09-08 18:34:21] local.INFO: Processing buffer {"connection_id":177484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811cf610012d3c610006a08b90002b00112f..."} 
[2026-09-08 18:34:21] local.INFO: Packet analysis {"connection_id":177484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:34:21] local.INFO: Extracted packet for processing {"connection_id":177484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758931712,"raw_latitude":111184784,"longitude_deg":75.8931712,"latitude_deg":11.1184784,"altitude":43,"angle":17,"satellites":47,"speed":51,"hex_longitude":"2d3c6100","hex_latitude":"06a08b90","is_valid_coordinates":true} 
[2026-09-08 18:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951372032001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403062807915921408,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4347169937524684800,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788872554000,"timestamp_ms":1788872554000,"timestamp_seconds":1788872554,"priority":1,"record_length":96,"hex_timestamp":"000001a0811cf610"} 
[2026-09-08 18:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 18:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":177484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":177484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951372032001,"66":27821,"17":206,"19":48128,"24":51,"16":403062807915921408,"45":4347169937524684800},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-09-08 18:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951372032001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:34:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403062807915921408,"km_value":403062807915921.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4347169937524684800,"description":"Unknown IO ID 45"} 
[2026-09-08 18:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951372032001,"power":27821,"axis_x":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4347169937524684800}} 
[2026-09-08 18:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":177484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:34:21] local.INFO: GPS data processed {"connection_id":177484,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:34:21] local.INFO: Acknowledgment sent {"connection_id":177484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:34:46] local.INFO: TCP Data received {"connection_id":174675,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:34:46] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:34:46] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:34:48] local.INFO: TCP Data received {"connection_id":174675,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:34:48] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:34:48] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:34:52] local.INFO: TCP Data received {"connection_id":174675,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811d1168012d3c6c8006a0adf0002a00112d..."} 
[2026-09-08 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811d1168012d3c6c8006a0adf0002a00112d..."} 
[2026-09-08 18:34:52] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811d1168012d3c6c8006a0adf0002a00112d..."} 
[2026-09-08 18:34:52] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:34:52] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758934656,"raw_latitude":111193584,"longitude_deg":75.8934656,"latitude_deg":11.1193584,"altitude":42,"angle":17,"satellites":45,"speed":53,"hex_longitude":"2d3c6c80","hex_latitude":"06a0adf0","is_valid_coordinates":true} 
[2026-09-08 18:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951373824001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403063254592520192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350758743479914496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788872561000,"timestamp_ms":1788872561000,"timestamp_seconds":1788872561,"priority":1,"record_length":96,"hex_timestamp":"000001a0811d1168"} 
[2026-09-08 18:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951373824001,"66":27865,"17":206,"19":48128,"24":53,"16":403063254592520192,"45":4350758743479914496},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-09-08 18:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951373824001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:34:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403063254592520192,"km_value":403063254592520.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350758743479914496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951373824001,"power":27865,"axis_x":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4350758743479914496}} 
[2026-09-08 18:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:34:52] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:34:52] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:34:53] local.INFO: TCP Data received {"connection_id":174675,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811d2cc0012d3c778006a0d050002b001130..."} 
[2026-09-08 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811d2cc0012d3c778006a0d050002b001130..."} 
[2026-09-08 18:34:53] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811d2cc0012d3c778006a0d050002b001130..."} 
[2026-09-08 18:34:53] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:34:53] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758937472,"raw_latitude":111202384,"longitude_deg":75.8937472,"latitude_deg":11.1202384,"altitude":43,"angle":17,"satellites":48,"speed":50,"hex_longitude":"2d3c7780","hex_latitude":"06a0d050","is_valid_coordinates":true} 
[2026-09-08 18:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951375616001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403063705564086272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4353995705714339840,"note":"Value kept but may cause issues"} 
[2026-09-08 18:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788872568000,"timestamp_ms":1788872568000,"timestamp_seconds":1788872568,"priority":1,"record_length":96,"hex_timestamp":"000001a0811d2cc0"} 
[2026-09-08 18:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951375616001,"66":27876,"17":206,"19":48128,"24":50,"16":403063705564086272,"45":4353995705714339840},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-09-08 18:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951375616001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:34:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403063705564086272,"km_value":403063705564086.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4353995705714339840,"description":"Unknown IO ID 45"} 
[2026-09-08 18:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951375616001,"power":27876,"axis_x":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4353995705714339840}} 
[2026-09-08 18:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:34:53] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:34:53] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:35:24] local.INFO: TCP Data received {"connection_id":177486,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:35:24] local.INFO: Processing buffer {"connection_id":177486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:35:24] local.INFO: IMEI packet received {"connection_id":177486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":177486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:35:25] local.INFO: TCP Data received {"connection_id":174675,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811d4c00012d3c830006a0f3d8002e001130..."} 
[2026-09-08 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811d4c00012d3c830006a0f3d8002e001130..."} 
[2026-09-08 18:35:25] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811d4c00012d3c830006a0f3d8002e001130..."} 
[2026-09-08 18:35:25] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:35:25] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758940416,"raw_latitude":111211480,"longitude_deg":75.8940416,"latitude_deg":11.121148,"altitude":46,"angle":17,"satellites":48,"speed":42,"hex_longitude":"2d3c8300","hex_latitude":"06a0f3d8","is_valid_coordinates":true} 
[2026-09-08 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951377408001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403064165125586944,"note":"Value kept but may cause issues"} 
[2026-09-08 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357091930460409856,"note":"Value kept but may cause issues"} 
[2026-09-08 18:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788872576000,"timestamp_ms":1788872576000,"timestamp_seconds":1788872576,"priority":1,"record_length":96,"hex_timestamp":"000001a0811d4c00"} 
[2026-09-08 18:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 18:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951377408001,"66":27745,"17":206,"19":48128,"24":42,"16":403064165125586944,"45":4357091930460409856},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-09-08 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951377408001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:35:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403064165125586944,"km_value":403064165125586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357091930460409856,"description":"Unknown IO ID 45"} 
[2026-09-08 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951377408001,"power":27745,"axis_x":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4357091930460409856}} 
[2026-09-08 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:35:25] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:35:25] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:35:42] local.INFO: TCP Data received {"connection_id":174676,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:35:42] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:35:42] local.INFO: IMEI packet received {"connection_id":174676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":174676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:35:44] local.INFO: TCP Data received {"connection_id":174676,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:35:44] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:35:44] local.INFO: IMEI packet received {"connection_id":174676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":174676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:35:45] local.INFO: TCP Data received {"connection_id":174676,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811ee240012d3c964006a25558004b01582e..."} 
[2026-09-08 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811ee240012d3c964006a25558004b01582e..."} 
[2026-09-08 18:35:45] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811ee240012d3c964006a25558004b01582e..."} 
[2026-09-08 18:35:45] local.INFO: Packet analysis {"connection_id":174676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811e"} 
[2026-09-08 18:35:45] local.INFO: Extracted packet for processing {"connection_id":174676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811e"} 
[2026-09-08 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758945344,"raw_latitude":111301976,"longitude_deg":75.8945344,"latitude_deg":11.1301976,"altitude":75,"angle":344,"satellites":46,"speed":34,"hex_longitude":"2d3c9640","hex_latitude":"06a25558","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951403520001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403068631891574784,"note":"Value kept but may cause issues"} 
[2026-09-08 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367999085831141376,"note":"Value kept but may cause issues"} 
[2026-09-08 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788872680000,"timestamp_ms":1788872680000,"timestamp_seconds":1788872680,"priority":1,"record_length":96,"hex_timestamp":"000001a0811ee240"} 
[2026-09-08 18:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-08 18:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951403520001,"66":27876,"56":206,"19":48128,"24":34,"16":403068631891574784,"45":4367999085831141376},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-09-08 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951403520001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:35:45] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-08 18:35:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403068631891574784,"km_value":403068631891574.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367999085831141376,"description":"Unknown IO ID 45"} 
[2026-09-08 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951403520001,"power":27876,"unknown_56":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":4367999085831141376}} 
[2026-09-08 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":174676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:35:45] local.INFO: GPS data processed {"connection_id":174676,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:35:45] local.INFO: Acknowledgment sent {"connection_id":174676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:35:49] local.INFO: TCP Data received {"connection_id":177488,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:35:49] local.INFO: Processing buffer {"connection_id":177488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:35:49] local.INFO: IMEI packet received {"connection_id":177488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":177488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:36:13] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:36:13] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:36:13] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:36:14] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0811c4648012d7e370005d34e38000500582b..."} 
[2026-09-08 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811c4648012d7e370005d34e38000500582b..."} 
[2026-09-08 18:36:14] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811c4648012d7e370005d34e38000500582b..."} 
[2026-09-08 18:36:14] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:36:14] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97734200,"longitude_deg":76.3246336,"latitude_deg":9.77342,"altitude":5,"angle":88,"satellites":43,"speed":11,"hex_longitude":"2d7e3700","hex_latitude":"05d34e38","is_valid_coordinates":true} 
[2026-09-08 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951362048001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130081915012120576,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797083136,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788872509000,"timestamp_ms":1788872509000,"timestamp_seconds":1788872509,"priority":1,"record_length":96,"hex_timestamp":"000001a0811c4648"} 
[2026-09-08 18:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-08 18:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951362048001,"66":13276,"109":206,"85":15104,"24":11,"16":130081915012120576,"45":9094386153797083136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951362048001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130081915012120576,"km_value":130081915012120.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797083136,"description":"Unknown IO ID 45"} 
[2026-09-08 18:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951362048001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9094386153797083136}} 
[2026-09-08 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:36:14] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:36:14] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:36:16] local.INFO: TCP Data received {"connection_id":174676,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811f0950012d3c8c0006a27838004c01572c..."} 
[2026-09-08 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811f0950012d3c8c0006a27838004c01572c..."} 
[2026-09-08 18:36:16] local.INFO: Processing buffer {"connection_id":174676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811f0950012d3c8c0006a27838004c01572c..."} 
[2026-09-08 18:36:16] local.INFO: Packet analysis {"connection_id":174676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811f"} 
[2026-09-08 18:36:16] local.INFO: Extracted packet for processing {"connection_id":174676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811f"} 
[2026-09-08 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758942720,"raw_latitude":111310904,"longitude_deg":75.894272,"latitude_deg":11.1310904,"altitude":76,"angle":343,"satellites":44,"speed":39,"hex_longitude":"2d3c8c00","hex_latitude":"06a27838","is_valid_coordinates":true} 
[2026-09-08 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951406080001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403069082863140864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365747286019758080,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788872690000,"timestamp_ms":1788872690000,"timestamp_seconds":1788872690,"priority":1,"record_length":96,"hex_timestamp":"000001a0811f0950"} 
[2026-09-08 18:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-08 18:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951406080001,"66":27745,"56":206,"19":48128,"24":39,"16":403069082863140864,"45":4365747286019758080},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-09-08 18:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951406080001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:36:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-08 18:36:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403069082863140864,"km_value":403069082863140.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365747286019758080,"description":"Unknown IO ID 45"} 
[2026-09-08 18:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951406080001,"power":27745,"unknown_56":206,"unknown_19":48128,"ignition":39,"odometer":null,"unknown_45":4365747286019758080}} 
[2026-09-08 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":174676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:36:16] local.INFO: GPS data processed {"connection_id":174676,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:36:16] local.INFO: Acknowledgment sent {"connection_id":174676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:36:41] local.INFO: TCP Data received {"connection_id":174958,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:36:41] local.INFO: Processing buffer {"connection_id":174958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:36:41] local.INFO: IMEI packet received {"connection_id":174958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:36:45] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0811c4a30012d7e37c005d34e80000500472b..."} 
[2026-09-08 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811c4a30012d7e37c005d34e80000500472b..."} 
[2026-09-08 18:36:45] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811c4a30012d7e37c005d34e80000500472b..."} 
[2026-09-08 18:36:45] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:36:45] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734272,"longitude_deg":76.3246528,"latitude_deg":9.7734272,"altitude":5,"angle":71,"satellites":43,"speed":9,"hex_longitude":"2d7e37c0","hex_latitude":"05d34e80","is_valid_coordinates":true} 
[2026-09-08 18:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951362304001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130081927897022464,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517961216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788872510000,"timestamp_ms":1788872510000,"timestamp_seconds":1788872510,"priority":1,"record_length":96,"hex_timestamp":"000001a0811c4a30"} 
[2026-09-08 18:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 18:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:36:45] local.INFO: TCP Data received {"connection_id":174958,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951362304001,"66":13276,"109":206,"85":15104,"24":9,"16":130081927897022464,"45":9094737997517961216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951362304001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130081927897022464,"km_value":130081927897022.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517961216,"description":"Unknown IO ID 45"} 
[2026-09-08 18:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951362304001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9094737997517961216}} 
[2026-09-08 18:36:45] local.INFO: Processing buffer {"connection_id":174958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:36:45] local.INFO: IMEI packet received {"connection_id":174958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":174958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:36:45] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:36:45] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:36:46] local.INFO: TCP Data received {"connection_id":174958,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0811f2c78012d3c81c006a29ad8004c01572b..."} 
[2026-09-08 18:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811f2c78012d3c81c006a29ad8004c01572b..."} 
[2026-09-08 18:36:46] local.INFO: Processing buffer {"connection_id":174958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811f2c78012d3c81c006a29ad8004c01572b..."} 
[2026-09-08 18:36:46] local.INFO: Packet analysis {"connection_id":174958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811f"} 
[2026-09-08 18:36:46] local.INFO: Extracted packet for processing {"connection_id":174958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811f"} 
[2026-09-08 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758940096,"raw_latitude":111319768,"longitude_deg":75.8940096,"latitude_deg":11.1319768,"altitude":76,"angle":343,"satellites":43,"speed":40,"hex_longitude":"2d3c81c0","hex_latitude":"06a29ad8","is_valid_coordinates":true} 
[2026-09-08 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951408640001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403069529539739648,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362862167510759424,"note":"Value kept but may cause issues"} 
[2026-09-08 18:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788872699000,"timestamp_ms":1788872699000,"timestamp_seconds":1788872699,"priority":1,"record_length":96,"hex_timestamp":"000001a0811f2c78"} 
[2026-09-08 18:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951408640001,"66":27887,"56":206,"19":48128,"24":40,"16":403069529539739648,"45":4362862167510759424},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-09-08 18:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951408640001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:36:46] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-08 18:36:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403069529539739648,"km_value":403069529539739.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362862167510759424,"description":"Unknown IO ID 45"} 
[2026-09-08 18:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951408640001,"power":27887,"unknown_56":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":4362862167510759424}} 
[2026-09-08 18:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":174958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:36:46] local.INFO: GPS data processed {"connection_id":174958,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:36:46] local.INFO: Acknowledgment sent {"connection_id":174958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:37:05] local.INFO: TCP Data received {"connection_id":177489,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:37:05] local.INFO: Processing buffer {"connection_id":177489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:37:05] local.INFO: IMEI packet received {"connection_id":177489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":177489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:37:06] local.INFO: TCP Data received {"connection_id":177489,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0811fe410012d1b9400071e9e080065015225..."} 
[2026-09-08 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811fe410012d1b9400071e9e080065015225..."} 
[2026-09-08 18:37:06] local.INFO: Processing buffer {"connection_id":177489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811fe410012d1b9400071e9e080065015225..."} 
[2026-09-08 18:37:06] local.INFO: Packet analysis {"connection_id":177489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811f"} 
[2026-09-08 18:37:06] local.INFO: Extracted packet for processing {"connection_id":177489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811f"} 
[2026-09-08 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756782080,"raw_latitude":119447048,"longitude_deg":75.678208,"latitude_deg":11.9447048,"altitude":101,"angle":338,"satellites":37,"speed":24,"hex_longitude":"2d1b9400","hex_latitude":"071e9e08","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951419392001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18852269319520256,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989817009688033280,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:06] 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-09-08 18:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788872746000,"timestamp_ms":1788872746000,"timestamp_seconds":1788872746,"priority":1,"record_length":96,"hex_timestamp":"000001a0811fe410"} 
[2026-09-08 18:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-08 18:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951419392001,"66":14483,"121":206,"28":31744,"24":24,"16":18852269319520256,"45":1989817009688033280},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951419392001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18852269319520256,"km_value":18852269319520.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989817009688033280,"description":"Unknown IO ID 45"} 
[2026-09-08 18:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951419392001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1989817009688033280}} 
[2026-09-08 18:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":177489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:37:07] local.INFO: GPS data processed {"connection_id":177489,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:37:07] local.INFO: Acknowledgment sent {"connection_id":177489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:37:08] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:37:08] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:37:08] local.INFO: IMEI packet received {"connection_id":174678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":174678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:37:13] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:37:13] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:37:13] local.INFO: IMEI packet received {"connection_id":174678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":174678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:37:14] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0811c6588012d7e370005d34ee0000500f12a..."} 
[2026-09-08 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811c6588012d7e370005d34ee0000500f12a..."} 
[2026-09-08 18:37:14] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811c6588012d7e370005d34ee0000500f12a..."} 
[2026-09-08 18:37:14] local.INFO: Packet analysis {"connection_id":174678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:37:14] local.INFO: Extracted packet for processing {"connection_id":174678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97734368,"longitude_deg":76.3246336,"latitude_deg":9.7734368,"altitude":5,"angle":241,"satellites":42,"speed":7,"hex_longitude":"2d7e3700","hex_latitude":"05d34ee0","is_valid_coordinates":true} 
[2026-09-08 18:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951362560001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130081962256760832,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750512640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788872517000,"timestamp_ms":1788872517000,"timestamp_seconds":1788872517,"priority":1,"record_length":96,"hex_timestamp":"000001a0811c6588"} 
[2026-09-08 18:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-08 18:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951362560001,"66":13428,"109":206,"85":15104,"24":7,"16":130081962256760832,"45":9094949103750512640},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951362560001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:37:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130081962256760832,"km_value":130081962256760.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750512640,"description":"Unknown IO ID 45"} 
[2026-09-08 18:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951362560001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094949103750512640}} 
[2026-09-08 18:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":174678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:37:14] local.INFO: GPS data processed {"connection_id":174678,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:37:14] local.INFO: Acknowledgment sent {"connection_id":174678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:37:19] local.INFO: TCP Data received {"connection_id":174958,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081208438012d3c9fc006a444b8003a000e2b..."} 
[2026-09-08 18:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081208438012d3c9fc006a444b8003a000e2b..."} 
[2026-09-08 18:37:19] local.INFO: Processing buffer {"connection_id":174958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081208438012d3c9fc006a444b8003a000e2b..."} 
[2026-09-08 18:37:19] local.INFO: Packet analysis {"connection_id":174958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:37:19] local.INFO: Extracted packet for processing {"connection_id":174958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758947776,"raw_latitude":111428792,"longitude_deg":75.8947776,"latitude_deg":11.1428792,"altitude":58,"angle":14,"satellites":43,"speed":50,"hex_longitude":"2d3c9fc0","hex_latitude":"06a444b8","is_valid_coordinates":true} 
[2026-09-08 18:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951432192001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403074851004219392,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367365767166711808,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788872787000,"timestamp_ms":1788872787000,"timestamp_seconds":1788872787,"priority":1,"record_length":96,"hex_timestamp":"000001a081208438"} 
[2026-09-08 18:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951432192001,"66":27821,"12":206,"19":48128,"24":50,"16":403074851004219392,"45":4367365767166711808},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951432192001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:37:19] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:37:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403074851004219392,"km_value":403074851004219.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367365767166711808,"description":"Unknown IO ID 45"} 
[2026-09-08 18:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951432192001,"power":27821,"unknown_12":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4367365767166711808}} 
[2026-09-08 18:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":174958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:37:19] local.INFO: GPS data processed {"connection_id":174958,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:37:19] local.INFO: Acknowledgment sent {"connection_id":174958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:37:38] local.INFO: TCP Data received {"connection_id":177489,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08120f968012d1b04c0071eea10004b012f27..."} 
[2026-09-08 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08120f968012d1b04c0071eea10004b012f27..."} 
[2026-09-08 18:37:38] local.INFO: Processing buffer {"connection_id":177489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08120f968012d1b04c0071eea10004b012f27..."} 
[2026-09-08 18:37:38] local.INFO: Packet analysis {"connection_id":177489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:37:38] local.INFO: Extracted packet for processing {"connection_id":177489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756745408,"raw_latitude":119466512,"longitude_deg":75.6745408,"latitude_deg":11.9466512,"altitude":75,"angle":303,"satellites":39,"speed":17,"hex_longitude":"2d1b04c0","hex_latitude":"071eea10","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951440896001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854476932710400,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947243919467685888,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37: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-09-08 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788872817000,"timestamp_ms":1788872817000,"timestamp_seconds":1788872817,"priority":1,"record_length":96,"hex_timestamp":"000001a08120f968"} 
[2026-09-08 18:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951440896001,"66":14211,"121":206,"28":31744,"24":17,"16":18854476932710400,"45":1947243919467685888},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951440896001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854476932710400,"km_value":18854476932710.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947243919467685888,"description":"Unknown IO ID 45"} 
[2026-09-08 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951440896001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1947243919467685888}} 
[2026-09-08 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":177489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:37:38] local.INFO: GPS data processed {"connection_id":177489,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:37:38] local.INFO: Acknowledgment sent {"connection_id":177489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:37:41] local.INFO: TCP Data received {"connection_id":176024,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:41] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:41] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:37:42] local.INFO: TCP Data received {"connection_id":176024,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:42] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:42] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:37:45] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0811cb3a8012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811cb3a8012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:37:45] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811cb3a8012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:37:45] local.INFO: Packet analysis {"connection_id":174678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:37:45] local.INFO: Extracted packet for processing {"connection_id":174678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811c"} 
[2026-09-08 18:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951364352001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997518004224,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788872537000,"timestamp_ms":1788872537000,"timestamp_seconds":1788872537,"priority":1,"record_length":96,"hex_timestamp":"000001a0811cb3a8"} 
[2026-09-08 18:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 18:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951364352001,"66":13243,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094737997518004224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951364352001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:37:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997518004224,"description":"Unknown IO ID 45"} 
[2026-09-08 18:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951364352001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997518004224}} 
[2026-09-08 18:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":174678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:37:45] local.INFO: GPS data processed {"connection_id":174678,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:37:45] local.INFO: Acknowledgment sent {"connection_id":174678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:37:47] local.INFO: TCP Data received {"connection_id":176024,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:47] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:37:47] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:37:50] local.INFO: TCP Data received {"connection_id":176024,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812097c0012d3ca90006a45c300038001b2e..."} 
[2026-09-08 18:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812097c0012d3ca90006a45c300038001b2e..."} 
[2026-09-08 18:37:50] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812097c0012d3ca90006a45c300038001b2e..."} 
[2026-09-08 18:37:50] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:37:50] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:37:50] local.INFO: GPS Element Parsed {"raw_longitude":758950144,"raw_latitude":111434800,"longitude_deg":75.8950144,"latitude_deg":11.14348,"altitude":56,"angle":27,"satellites":46,"speed":52,"hex_longitude":"2d3ca900","hex_latitude":"06a45c30","is_valid_coordinates":true} 
[2026-09-08 18:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951433472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403075164536832000,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368421298330974208,"note":"Value kept but may cause issues"} 
[2026-09-08 18:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788872792000,"timestamp_ms":1788872792000,"timestamp_seconds":1788872792,"priority":1,"record_length":96,"hex_timestamp":"000001a0812097c0"} 
[2026-09-08 18:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 18:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951433472001,"66":27767,"12":206,"19":48128,"24":52,"16":403075164536832000,"45":4368421298330974208},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951433472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:37:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:37:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403075164536832000,"km_value":403075164536832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368421298330974208,"description":"Unknown IO ID 45"} 
[2026-09-08 18:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951433472001,"power":27767,"unknown_12":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4368421298330974208}} 
[2026-09-08 18:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:37:50] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:37:50] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:38:00] local.INFO: TCP Data received {"connection_id":177490,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:38:00] local.INFO: Processing buffer {"connection_id":177490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:38:00] local.INFO: IMEI packet received {"connection_id":177490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":177490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:38:06] local.INFO: TCP Data received {"connection_id":177490,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:38:06] local.INFO: Processing buffer {"connection_id":177490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:38:06] local.INFO: IMEI packet received {"connection_id":177490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":177490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:38:07] local.INFO: TCP Data received {"connection_id":177490,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08120fd50012d1b0380071eeb60004b014228..."} 
[2026-09-08 18:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08120fd50012d1b0380071eeb60004b014228..."} 
[2026-09-08 18:38:07] local.INFO: Processing buffer {"connection_id":177490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08120fd50012d1b0380071eeb60004b014228..."} 
[2026-09-08 18:38:07] local.INFO: Packet analysis {"connection_id":177490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:38:07] local.INFO: Extracted packet for processing {"connection_id":177490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756745088,"raw_latitude":119466848,"longitude_deg":75.6745088,"latitude_deg":11.9466848,"altitude":75,"angle":322,"satellites":40,"speed":16,"hex_longitude":"2d1b0380","hex_latitude":"071eeb60","is_valid_coordinates":true} 
[2026-09-08 18:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951441152001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18854498407546880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946892075746856960,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38: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-09-08 18:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872818000,"timestamp_ms":1788872818000,"timestamp_seconds":1788872818,"priority":1,"record_length":96,"hex_timestamp":"000001a08120fd50"} 
[2026-09-08 18:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-08 18:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951441152001,"66":14211,"121":206,"28":31744,"24":16,"16":18854498407546880,"45":1946892075746856960},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951441152001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:38:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18854498407546880,"km_value":18854498407546.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946892075746856960,"description":"Unknown IO ID 45"} 
[2026-09-08 18:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951441152001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1946892075746856960}} 
[2026-09-08 18:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":177490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:38:07] local.INFO: GPS data processed {"connection_id":177490,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:38:07] local.INFO: Acknowledgment sent {"connection_id":177490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:38:08] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:38:08] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:38:08] local.INFO: IMEI packet received {"connection_id":177491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":177491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:38:14] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:38:14] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:38:14] local.INFO: IMEI packet received {"connection_id":177491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":177491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:38:15] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0811d05b0012d7e358005d34cd0000100f12b..."} 
[2026-09-08 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811d05b0012d7e358005d34cd0000100f12b..."} 
[2026-09-08 18:38:15] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811d05b0012d7e358005d34cd0000100f12b..."} 
[2026-09-08 18:38:15] local.INFO: Packet analysis {"connection_id":177491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:38:15] local.INFO: Extracted packet for processing {"connection_id":177491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951369472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788872558000,"timestamp_ms":1788872558000,"timestamp_seconds":1788872558,"priority":1,"record_length":96,"hex_timestamp":"000001a0811d05b0"} 
[2026-09-08 18:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-08 18:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951369472001,"66":13537,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951369472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:38:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951369472001,"power":13537,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":177491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:38:15] local.INFO: GPS data processed {"connection_id":177491,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:38:15] local.INFO: Acknowledgment sent {"connection_id":177491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:38:22] local.INFO: TCP Data received {"connection_id":176024,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08120b318012d3cbb0006a47bf00033001c30..."} 
[2026-09-08 18:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08120b318012d3cbb0006a47bf00033001c30..."} 
[2026-09-08 18:38:22] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08120b318012d3cbb0006a47bf00033001c30..."} 
[2026-09-08 18:38:22] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:38:22] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758954752,"raw_latitude":111442928,"longitude_deg":75.8954752,"latitude_deg":11.1442928,"altitude":51,"angle":28,"satellites":48,"speed":54,"hex_longitude":"2d3cbb00","hex_latitude":"06a47bf0","is_valid_coordinates":true} 
[2026-09-08 18:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951434752001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403075615508398080,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371024941867085824,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788872799000,"timestamp_ms":1788872799000,"timestamp_seconds":1788872799,"priority":1,"record_length":96,"hex_timestamp":"000001a08120b318"} 
[2026-09-08 18:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951434752001,"66":27767,"12":206,"19":48128,"24":54,"16":403075615508398080,"45":4371024941867085824},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951434752001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:38:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:38:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403075615508398080,"km_value":403075615508398.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371024941867085824,"description":"Unknown IO ID 45"} 
[2026-09-08 18:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951434752001,"power":27767,"unknown_12":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":4371024941867085824}} 
[2026-09-08 18:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:38:22] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:38:22] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:38:39] local.INFO: TCP Data received {"connection_id":177490,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08121d810012d1abb00071f43b0003c013923..."} 
[2026-09-08 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08121d810012d1abb00071f43b0003c013923..."} 
[2026-09-08 18:38:39] local.INFO: Processing buffer {"connection_id":177490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08121d810012d1abb00071f43b0003c013923..."} 
[2026-09-08 18:38:39] local.INFO: Packet analysis {"connection_id":177490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08121"} 
[2026-09-08 18:38:39] local.INFO: Extracted packet for processing {"connection_id":177490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08121"} 
[2026-09-08 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756726528,"raw_latitude":119489456,"longitude_deg":75.6726528,"latitude_deg":11.9489456,"altitude":60,"angle":313,"satellites":35,"speed":17,"hex_longitude":"2d1abb00","hex_latitude":"071f43b0","is_valid_coordinates":true} 
[2026-09-08 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951455488001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18856319473680384,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139941140480,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38: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-09-08 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788872874000,"timestamp_ms":1788872874000,"timestamp_seconds":1788872874,"priority":1,"record_length":96,"hex_timestamp":"000001a08121d810"} 
[2026-09-08 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-08 18:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951455488001,"66":14428,"121":206,"28":31744,"24":17,"16":18856319473680384,"45":1926485139941140480},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951455488001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:38:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18856319473680384,"km_value":18856319473680.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139941140480,"description":"Unknown IO ID 45"} 
[2026-09-08 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951455488001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1926485139941140480}} 
[2026-09-08 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":177490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:38:39] local.INFO: GPS data processed {"connection_id":177490,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:38:39] local.INFO: Acknowledgment sent {"connection_id":177490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:38:46] local.INFO: TCP Data received {"connection_id":177491,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0811d57b8012d7e358005d34cd0000100f12a..."} 
[2026-09-08 18:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811d57b8012d7e358005d34cd0000100f12a..."} 
[2026-09-08 18:38:46] local.INFO: Processing buffer {"connection_id":177491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811d57b8012d7e358005d34cd0000100f12a..."} 
[2026-09-08 18:38:46] local.INFO: Packet analysis {"connection_id":177491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:38:46] local.INFO: Extracted packet for processing {"connection_id":177491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951374848001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788872579000,"timestamp_ms":1788872579000,"timestamp_seconds":1788872579,"priority":1,"record_length":96,"hex_timestamp":"000001a0811d57b8"} 
[2026-09-08 18:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 18:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951374848001,"66":13472,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951374848001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:38:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951374848001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":177491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:38:46] local.INFO: GPS data processed {"connection_id":177491,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:38:46] local.INFO: Acknowledgment sent {"connection_id":177491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:01] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:01] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:01] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:39:05] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:05] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:05] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:39:06] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:06] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:39:06] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:39:07] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081224188012d1abcc0071f9510003a012424..."} 
[2026-09-08 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081224188012d1abcc0071f9510003a012424..."} 
[2026-09-08 18:39:07] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081224188012d1abcc0071f9510003a012424..."} 
[2026-09-08 18:39:07] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:07] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756726976,"raw_latitude":119510288,"longitude_deg":75.6726976,"latitude_deg":11.9510288,"altitude":58,"angle":292,"satellites":36,"speed":33,"hex_longitude":"2d1abcc0","hex_latitude":"071f9510","is_valid_coordinates":true} 
[2026-09-08 18:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951462400001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18857410395373568,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540671109130240,"note":"Value kept but may cause issues"} 
[2026-09-08 18: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-09-08 18:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872901000,"timestamp_ms":1788872901000,"timestamp_seconds":1788872901,"priority":1,"record_length":96,"hex_timestamp":"000001a081224188"} 
[2026-09-08 18:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:07] 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-09-08 18:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951462400001,"66":12906,"121":206,"28":31744,"24":33,"16":18857410395373568,"45":1927540671109130240},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951462400001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18857410395373568,"km_value":18857410395373.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540671109130240,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951462400001,"power":12906,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1927540671109130240}} 
[2026-09-08 18:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:07] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:07] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:08] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:39:08] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:39:08] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:39:10] local.INFO: TCP Data received {"connection_id":177492,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:10] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:10] local.INFO: IMEI packet received {"connection_id":177492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":177492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:39:13] local.INFO: TCP Data received {"connection_id":177492,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:13] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:13] local.INFO: IMEI packet received {"connection_id":177492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":177492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:39:13] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:39:13] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:39:13] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:39:14] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0811da9c0012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811da9c0012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:39:14] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811da9c0012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:39:14] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:39:14] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951380224001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788872600000,"timestamp_ms":1788872600000,"timestamp_seconds":1788872600,"priority":1,"record_length":96,"hex_timestamp":"000001a0811da9c0"} 
[2026-09-08 18:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951380224001,"66":13472,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951380224001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951380224001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:14] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:14] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:15] local.INFO: TCP Data received {"connection_id":177492,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08120ca88012d3cc84006a499b80030000f30..."} 
[2026-09-08 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08120ca88012d3cc84006a499b80030000f30..."} 
[2026-09-08 18:39:15] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08120ca88012d3cc84006a499b80030000f30..."} 
[2026-09-08 18:39:15] local.INFO: Packet analysis {"connection_id":177492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:39:15] local.INFO: Extracted packet for processing {"connection_id":177492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08120"} 
[2026-09-08 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758958144,"raw_latitude":111450552,"longitude_deg":75.8958144,"latitude_deg":11.1450552,"altitude":48,"angle":15,"satellites":48,"speed":55,"hex_longitude":"2d3cc840","hex_latitude":"06a499b8","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951436544001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403076019235323904,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4376091491449958400,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788872805000,"timestamp_ms":1788872805000,"timestamp_seconds":1788872805,"priority":1,"record_length":96,"hex_timestamp":"000001a08120ca88"} 
[2026-09-08 18:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951436544001,"66":27821,"12":206,"19":48128,"24":55,"16":403076019235323904,"45":4376091491449958400},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951436544001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:39:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403076019235323904,"km_value":403076019235323.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4376091491449958400,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951436544001,"power":27821,"unknown_12":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":4376091491449958400}} 
[2026-09-08 18:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":177492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:15] local.INFO: GPS data processed {"connection_id":177492,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:15] local.INFO: Acknowledgment sent {"connection_id":177492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:17] local.INFO: TCP Data received {"connection_id":177492,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812239b8012d3c2f4006a60d70004f014127..."} 
[2026-09-08 18:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812239b8012d3c2f4006a60d70004f014127..."} 
[2026-09-08 18:39:17] local.INFO: Processing buffer {"connection_id":177492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812239b8012d3c2f4006a60d70004f014127..."} 
[2026-09-08 18:39:17] local.INFO: Packet analysis {"connection_id":177492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:17] local.INFO: Extracted packet for processing {"connection_id":177492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758918976,"raw_latitude":111545712,"longitude_deg":75.8918976,"latitude_deg":11.1545712,"altitude":79,"angle":321,"satellites":39,"speed":49,"hex_longitude":"2d3c2f40","hex_latitude":"06a60d70","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951460096001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403081173196079104,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343370025431771136,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788872899000,"timestamp_ms":1788872899000,"timestamp_seconds":1788872899,"priority":1,"record_length":96,"hex_timestamp":"000001a0812239b8"} 
[2026-09-08 18:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951460096001,"66":27626,"12":206,"19":48128,"24":49,"16":403081173196079104,"45":4343370025431771136},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951460096001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:17] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:39:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403081173196079104,"km_value":403081173196079.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343370025431771136,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951460096001,"power":27626,"unknown_12":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4343370025431771136}} 
[2026-09-08 18:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":177492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:17] local.INFO: GPS data processed {"connection_id":177492,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:17] local.INFO: Acknowledgment sent {"connection_id":177492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:39] local.INFO: TCP Data received {"connection_id":174679,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081224958012d1ab600071f96c0003a011525..."} 
[2026-09-08 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081224958012d1ab600071f96c0003a011525..."} 
[2026-09-08 18:39:39] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081224958012d1ab600071f96c0003a011525..."} 
[2026-09-08 18:39:39] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:39] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756725248,"raw_latitude":119510720,"longitude_deg":75.6725248,"latitude_deg":11.951072,"altitude":58,"angle":277,"satellites":37,"speed":35,"hex_longitude":"2d1ab600","hex_latitude":"071f96c0","is_valid_coordinates":true} 
[2026-09-08 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951462656001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18857496294719488,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926625877434896384,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39: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-09-08 18:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788872903000,"timestamp_ms":1788872903000,"timestamp_seconds":1788872903,"priority":1,"record_length":96,"hex_timestamp":"000001a081224958"} 
[2026-09-08 18:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951462656001,"66":12863,"121":206,"28":31744,"24":35,"16":18857496294719488,"45":1926625877434896384},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951462656001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18857496294719488,"km_value":18857496294719.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926625877434896384,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951462656001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1926625877434896384}} 
[2026-09-08 18:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:39] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:39] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:42] local.INFO: TCP Data received {"connection_id":174680,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:42] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:42] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:39:43] local.INFO: TCP Data received {"connection_id":174680,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:43] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:43] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:39:45] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0811dd0d0012d7e358005d34cd0000100f128..."} 
[2026-09-08 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811dd0d0012d7e358005d34cd0000100f128..."} 
[2026-09-08 18:39:45] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811dd0d0012d7e358005d34cd0000100f128..."} 
[2026-09-08 18:39:45] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:39:45] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":40,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951385600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788872610000,"timestamp_ms":1788872610000,"timestamp_seconds":1788872610,"priority":1,"record_length":96,"hex_timestamp":"000001a0811dd0d0"} 
[2026-09-08 18:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951385600001,"66":13580,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951385600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951385600001,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:45] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:45] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:47] local.INFO: TCP Data received {"connection_id":174680,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:47] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:39:47] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:39:48] local.INFO: TCP Data received {"connection_id":174680,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812258f8012d3c16c006a62c10004e014329..."} 
[2026-09-08 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812258f8012d3c16c006a62c10004e014329..."} 
[2026-09-08 18:39:48] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812258f8012d3c16c006a62c10004e014329..."} 
[2026-09-08 18:39:48] local.INFO: Packet analysis {"connection_id":174680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:48] local.INFO: Extracted packet for processing {"connection_id":174680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758912704,"raw_latitude":111553552,"longitude_deg":75.8912704,"latitude_deg":11.1553552,"altitude":78,"angle":323,"satellites":41,"speed":48,"hex_longitude":"2d3c16c0","hex_latitude":"06a62c10","is_valid_coordinates":true} 
[2026-09-08 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951462144001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403081658527383552,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4336755363480956928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788872907000,"timestamp_ms":1788872907000,"timestamp_seconds":1788872907,"priority":1,"record_length":96,"hex_timestamp":"000001a0812258f8"} 
[2026-09-08 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951462144001,"66":27745,"12":206,"19":48128,"24":48,"16":403081658527383552,"45":4336755363480956928},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951462144001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:39:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403081658527383552,"km_value":403081658527383.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4336755363480956928,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951462144001,"power":27745,"unknown_12":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4336755363480956928}} 
[2026-09-08 18:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":174680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:48] local.INFO: GPS data processed {"connection_id":174680,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:48] local.INFO: Acknowledgment sent {"connection_id":174680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:39:50] local.INFO: TCP Data received {"connection_id":174680,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081227838012d3c004006a64bf8004e01452b..."} 
[2026-09-08 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081227838012d3c004006a64bf8004e01452b..."} 
[2026-09-08 18:39:50] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081227838012d3c004006a64bf8004e01452b..."} 
[2026-09-08 18:39:50] local.INFO: Packet analysis {"connection_id":174680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:50] local.INFO: Extracted packet for processing {"connection_id":174680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758906944,"raw_latitude":111561720,"longitude_deg":75.8906944,"latitude_deg":11.156172,"altitude":78,"angle":325,"satellites":43,"speed":50,"hex_longitude":"2d3c0040","hex_latitude":"06a64bf8","is_valid_coordinates":true} 
[2026-09-08 18:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951464192001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403082139563720704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4329859226553552896,"note":"Value kept but may cause issues"} 
[2026-09-08 18:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788872915000,"timestamp_ms":1788872915000,"timestamp_seconds":1788872915,"priority":1,"record_length":96,"hex_timestamp":"000001a081227838"} 
[2026-09-08 18:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951464192001,"66":27658,"12":206,"19":48128,"24":50,"16":403082139563720704,"45":4329859226553552896},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-09-08 18:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951464192001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:39:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 18:39:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403082139563720704,"km_value":403082139563720.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4329859226553552896,"description":"Unknown IO ID 45"} 
[2026-09-08 18:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951464192001,"power":27658,"unknown_12":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4329859226553552896}} 
[2026-09-08 18:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":174680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:39:50] local.INFO: GPS data processed {"connection_id":174680,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:39:50] local.INFO: Acknowledgment sent {"connection_id":174680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:40:00] local.INFO: TCP Data received {"connection_id":174961,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:40:00] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:40:00] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:40:05] local.INFO: TCP Data received {"connection_id":174961,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:40:05] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:40:05] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:40:07] local.INFO: TCP Data received {"connection_id":174961,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081225ce0012d1aa3c0071f9aa00039012625..."} 
[2026-09-08 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081225ce0012d1aa3c0071f9aa00039012625..."} 
[2026-09-08 18:40:07] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081225ce0012d1aa3c0071f9aa00039012625..."} 
[2026-09-08 18:40:07] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:40:07] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756720576,"raw_latitude":119511712,"longitude_deg":75.6720576,"latitude_deg":11.9511712,"altitude":57,"angle":294,"satellites":37,"speed":38,"hex_longitude":"2d1aa3c0","hex_latitude":"071f9aa0","is_valid_coordinates":true} 
[2026-09-08 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951463168001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18857719633018880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921342210048,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40: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-09-08 18:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872908000,"timestamp_ms":1788872908000,"timestamp_seconds":1788872908,"priority":1,"record_length":96,"hex_timestamp":"000001a081225ce0"} 
[2026-09-08 18:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 18:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951463168001,"66":12798,"121":206,"28":31744,"24":38,"16":18857719633018880,"45":1924725921342210048},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951463168001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18857719633018880,"km_value":18857719633018.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921342210048,"description":"Unknown IO ID 45"} 
[2026-09-08 18:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951463168001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1924725921342210048}} 
[2026-09-08 18:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:40:07] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:40:07] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:40:13] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:40:13] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:40:13] local.INFO: IMEI packet received {"connection_id":177494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":177494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:40:18] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:40:18] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:40:18] local.INFO: IMEI packet received {"connection_id":177494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":177494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:40:19] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0811dd0d0012d7e358005d34cd0000100f128..."} 
[2026-09-08 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811dd0d0012d7e358005d34cd0000100f128..."} 
[2026-09-08 18:40:19] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811dd0d0012d7e358005d34cd0000100f128..."} 
[2026-09-08 18:40:19] local.INFO: Packet analysis {"connection_id":177494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:40:19] local.INFO: Extracted packet for processing {"connection_id":177494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":40,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951388160001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788872610000,"timestamp_ms":1788872610000,"timestamp_seconds":1788872610,"priority":1,"record_length":96,"hex_timestamp":"000001a0811dd0d0"} 
[2026-09-08 18:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631908,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2166114864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3592514605781352448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462179693,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3963174077194567685,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847652940460459,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,36,160,169,45,128,76,1,41,10,66,87,42,5,240,225,227,129,211,4,113,205,101,55,224,239,52,2,206,9,126,51,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-08 18:40:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72322748138914031,"timestamp_seconds":72322748138914.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951388160001,"66":13580,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951388160001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:40:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951388160001,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":177494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:40:19] local.INFO: GPS data processed {"connection_id":177494,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:40:19] local.INFO: Acknowledgment sent {"connection_id":177494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:40:38] local.INFO: TCP Data received {"connection_id":174961,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812264b0012d1a9d00071f9ee80039013624..."} 
[2026-09-08 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812264b0012d1a9d00071f9ee80039013624..."} 
[2026-09-08 18:40:38] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812264b0012d1a9d00071f9ee80039013624..."} 
[2026-09-08 18:40:38] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:40:38] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756718848,"raw_latitude":119512808,"longitude_deg":75.6718848,"latitude_deg":11.9512808,"altitude":57,"angle":310,"satellites":36,"speed":40,"hex_longitude":"2d1a9d00","hex_latitude":"071f9ee8","is_valid_coordinates":true} 
[2026-09-08 18:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951464448001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18857818417266688,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919589003017494528,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40: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-09-08 18:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788872910000,"timestamp_ms":1788872910000,"timestamp_seconds":1788872910,"priority":1,"record_length":96,"hex_timestamp":"000001a0812264b0"} 
[2026-09-08 18:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 18:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951464448001,"66":12798,"121":206,"28":31744,"24":40,"16":18857818417266688,"45":1919589003017494528},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951464448001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18857818417266688,"km_value":18857818417266.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919589003017494528,"description":"Unknown IO ID 45"} 
[2026-09-08 18:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951464448001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1919589003017494528}} 
[2026-09-08 18:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:40:38] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:40:38] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:40:50] local.INFO: TCP Data received {"connection_id":177494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0811de458012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811de458012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:40:50] local.INFO: Processing buffer {"connection_id":177494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811de458012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:40:50] local.INFO: Packet analysis {"connection_id":177494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:40:50] local.INFO: Extracted packet for processing {"connection_id":177494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951388160001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788872615000,"timestamp_ms":1788872615000,"timestamp_seconds":1788872615,"priority":1,"record_length":96,"hex_timestamp":"000001a0811de458"} 
[2026-09-08 18:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631908,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2166121864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3592505809688330240,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297208685,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2147865420,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847652940460459,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272727732229,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,85,24,241,157,16,36,160,208,45,128,76,1,40,10,66,169,41,87,240,227,129,211,4,113,205,179,53,239,51,2,206,5,7,126,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-08 18:40:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72322748138914032,"timestamp_seconds":72322748138914.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":177494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":177494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951388160001,"66":13406,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951388160001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:40:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951388160001,"power":13406,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":177494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:40:50] local.INFO: GPS data processed {"connection_id":177494,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:40:50] local.INFO: Acknowledgment sent {"connection_id":177494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:40:51] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:51] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:51] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:40:53] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:53] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:53] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:40:53] local.INFO: TCP Data received {"connection_id":174680,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081229390012d3bed8006a66990004a01482a..."} 
[2026-09-08 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081229390012d3bed8006a66990004a01482a..."} 
[2026-09-08 18:40:53] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081229390012d3bed8006a66990004a01482a..."} 
[2026-09-08 18:40:53] local.INFO: Packet analysis {"connection_id":174680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:40:53] local.INFO: Extracted packet for processing {"connection_id":174680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758902144,"raw_latitude":111569296,"longitude_deg":75.8902144,"latitude_deg":11.1569296,"altitude":74,"angle":328,"satellites":42,"speed":51,"hex_longitude":"2d3bed80","hex_latitude":"06a66990","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951466240001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403082573355417600,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4323526039579654144,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788872922000,"timestamp_ms":1788872922000,"timestamp_seconds":1788872922,"priority":1,"record_length":96,"hex_timestamp":"000001a081229390"} 
[2026-09-08 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-09-08 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 18:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 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-09-08 18:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951466240001,"66":27658,"192":206,"19":48128,"24":51,"16":403082573355417600,"45":4323526039579654144},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,19,24,16,45]} 
[2026-09-08 18:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951466240001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:40:53] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-08 18:40:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-08 18:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403082573355417600,"km_value":403082573355417.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4323526039579654144,"description":"Unknown IO ID 45"} 
[2026-09-08 18:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951466240001,"power":27658,"unknown_192":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4323526039579654144}} 
[2026-09-08 18:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":174680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:40:53] local.INFO: GPS data processed {"connection_id":174680,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:40:53] local.INFO: Acknowledgment sent {"connection_id":174680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:40:56] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:56] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:40:56] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:40:58] local.INFO: TCP Data received {"connection_id":176028,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08123a8e8012d3af18006a732c80031011828..."} 
[2026-09-08 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08123a8e8012d3af18006a732c80031011828..."} 
[2026-09-08 18:40:58] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08123a8e8012d3af18006a732c80031011828..."} 
[2026-09-08 18:40:58] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:40:58] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758837632,"raw_latitude":111620808,"longitude_deg":75.8837632,"latitude_deg":11.1620808,"altitude":49,"angle":280,"satellites":40,"speed":49,"hex_longitude":"2d3af180","hex_latitude":"06a732c8","is_valid_coordinates":true} 
[2026-09-08 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951484160001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403086885502582784,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4258012738764904448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788872993000,"timestamp_ms":1788872993000,"timestamp_seconds":1788872993,"priority":1,"record_length":96,"hex_timestamp":"000001a08123a8e8"} 
[2026-09-08 18:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951484160001,"66":27745,"154":206,"28":21760,"24":49,"16":403086885502582784,"45":4258012738764904448},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,28,24,16,45]} 
[2026-09-08 18:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951484160001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403086885502582784,"km_value":403086885502582.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4258012738764904448,"description":"Unknown IO ID 45"} 
[2026-09-08 18:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951484160001,"power":27745,"unknown_154":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":4258012738764904448}} 
[2026-09-08 18:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:40:58] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:40:58] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:41:00] local.INFO: TCP Data received {"connection_id":177495,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:41:00] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:41:00] local.INFO: IMEI packet received {"connection_id":177495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":177495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:41:05] local.INFO: TCP Data received {"connection_id":177495,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:41:05] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:41:05] local.INFO: IMEI packet received {"connection_id":177495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":177495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:41:07] local.INFO: TCP Data received {"connection_id":177495,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08122b6b8012d1a8b40071faff00036013226..."} 
[2026-09-08 18:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08122b6b8012d1a8b40071faff00036013226..."} 
[2026-09-08 18:41:07] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08122b6b8012d1a8b40071faff00036013226..."} 
[2026-09-08 18:41:07] local.INFO: Packet analysis {"connection_id":177495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:41:07] local.INFO: Extracted packet for processing {"connection_id":177495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951464960001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917689046924978176,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41: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-09-08 18:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872931000,"timestamp_ms":1788872931000,"timestamp_seconds":1788872931,"priority":1,"record_length":96,"hex_timestamp":"000001a08122b6b8"} 
[2026-09-08 18:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 18:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951464960001,"66":11993,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1917689046924978176},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951464960001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917689046924978176,"description":"Unknown IO ID 45"} 
[2026-09-08 18:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951464960001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1917689046924978176}} 
[2026-09-08 18:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":177495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:41:07] local.INFO: GPS data processed {"connection_id":177495,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:41:07] local.INFO: Acknowledgment sent {"connection_id":177495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:41:08] local.INFO: TCP Data received {"connection_id":177496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:41:08] local.INFO: Processing buffer {"connection_id":177496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:41:08] local.INFO: IMEI packet received {"connection_id":177496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":177496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:41:13] local.INFO: TCP Data received {"connection_id":177496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:41:13] local.INFO: Processing buffer {"connection_id":177496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:41:13] local.INFO: IMEI packet received {"connection_id":177496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":177496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:41:14] local.INFO: TCP Data received {"connection_id":177496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0811de458012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0811de458012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:41:14] local.INFO: Processing buffer {"connection_id":177496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0811de458012d7e358005d34cd0000100f129..."} 
[2026-09-08 18:41:14] local.INFO: Packet analysis {"connection_id":177496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:41:14] local.INFO: Extracted packet for processing {"connection_id":177496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0811d"} 
[2026-09-08 18:41:14] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97733840,"longitude_deg":76.3245952,"latitude_deg":9.773384,"altitude":1,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-09-08 18:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951389440001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788872615000,"timestamp_ms":1788872615000,"timestamp_seconds":1788872615,"priority":1,"record_length":96,"hex_timestamp":"000001a0811de458"} 
[2026-09-08 18:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:41: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-09-08 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 18:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951389440001,"66":13406,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951389440001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:41:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951389440001,"power":13406,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":177496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:41:14] local.INFO: GPS data processed {"connection_id":177496,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:41:14] local.INFO: Acknowledgment sent {"connection_id":177496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:41:19] local.INFO: TCP Data received {"connection_id":176027,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:41:19] local.INFO: Processing buffer {"connection_id":176027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:41:19] local.INFO: IMEI packet received {"connection_id":176027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":176027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:41:38] local.INFO: TCP Data received {"connection_id":177495,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812308c0012d1a8b40071faff00036013228..."} 
[2026-09-08 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812308c0012d1a8b40071faff00036013228..."} 
[2026-09-08 18:41:38] local.INFO: Processing buffer {"connection_id":177495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812308c0012d1a8b40071faff00036013228..."} 
[2026-09-08 18:41:38] local.INFO: Packet analysis {"connection_id":177495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:41:38] local.INFO: Extracted packet for processing {"connection_id":177495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951470336001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089480192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41: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-09-08 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788872952000,"timestamp_ms":1788872952000,"timestamp_seconds":1788872952,"priority":1,"record_length":96,"hex_timestamp":"000001a0812308c0"} 
[2026-09-08 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-08 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951470336001,"66":12265,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1912692866089480192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951470336001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089480192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951470336001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912692866089480192}} 
[2026-09-08 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":177495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:41:38] local.INFO: GPS data processed {"connection_id":177495,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:41:38] local.INFO: Acknowledgment sent {"connection_id":177495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:41:43] local.INFO: TCP Data received {"connection_id":174681,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:41:43] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:41:43] local.INFO: IMEI packet received {"connection_id":174681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":174681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:41:44] local.INFO: TCP Data received {"connection_id":174962,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:44] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:44] local.INFO: IMEI packet received {"connection_id":174962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:41:45] local.INFO: TCP Data received {"connection_id":177496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:41:45] local.INFO: Processing buffer {"connection_id":177496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:41:45] local.INFO: Packet analysis {"connection_id":177496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:41:45] local.INFO: Extracted packet for processing {"connection_id":177496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951389440001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788872912000,"timestamp_ms":1788872912000,"timestamp_seconds":1788872912,"priority":1,"record_length":96,"hex_timestamp":"000001a081226c80"} 
[2026-09-08 18:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 18:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951389440001,"66":2231,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951389440001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:41:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951389440001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":177496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:41:45] local.INFO: GPS data processed {"connection_id":177496,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:41:45] local.INFO: Acknowledgment sent {"connection_id":177496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:41:46] local.INFO: TCP Data received {"connection_id":174962,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:46] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:46] local.INFO: IMEI packet received {"connection_id":174962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:41:51] local.INFO: TCP Data received {"connection_id":174962,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:51] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:41:51] local.INFO: IMEI packet received {"connection_id":174962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":174962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:41:52] local.INFO: TCP Data received {"connection_id":174962,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08124a2e8012d39d88006a7a538001501542c..."} 
[2026-09-08 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08124a2e8012d39d88006a7a538001501542c..."} 
[2026-09-08 18:41:52] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08124a2e8012d39d88006a7a538001501542c..."} 
[2026-09-08 18:41:52] local.INFO: Packet analysis {"connection_id":174962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:41:52] local.INFO: Extracted packet for processing {"connection_id":174962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758765696,"raw_latitude":111650104,"longitude_deg":75.8765696,"latitude_deg":11.1650104,"altitude":21,"angle":340,"satellites":44,"speed":43,"hex_longitude":"2d39d880","hex_latitude":"06a7a538","is_valid_coordinates":true} 
[2026-09-08 18:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951500544001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403090823987593216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4172303608362305536,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788873057000,"timestamp_ms":1788873057000,"timestamp_seconds":1788873057,"priority":1,"record_length":96,"hex_timestamp":"000001a08124a2e8"} 
[2026-09-08 18:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 18:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951500544001,"66":27767,"250":206,"28":21760,"24":43,"16":403090823987593216,"45":4172303608362305536},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-09-08 18:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951500544001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:41:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 18:41:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403090823987593216,"km_value":403090823987593.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4172303608362305536,"description":"Unknown IO ID 45"} 
[2026-09-08 18:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951500544001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":4172303608362305536}} 
[2026-09-08 18:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":174962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:41:52] local.INFO: GPS data processed {"connection_id":174962,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:41:52] local.INFO: Acknowledgment sent {"connection_id":174962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:41:55] local.INFO: TCP Data received {"connection_id":174962,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08124a2e8012d39d88006a7a538001501542c..."} 
[2026-09-08 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08124a2e8012d39d88006a7a538001501542c..."} 
[2026-09-08 18:41:55] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08124a2e8012d39d88006a7a538001501542c..."} 
[2026-09-08 18:41:55] local.INFO: Packet analysis {"connection_id":174962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:41:55] local.INFO: Extracted packet for processing {"connection_id":174962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758765696,"raw_latitude":111650104,"longitude_deg":75.8765696,"latitude_deg":11.1650104,"altitude":21,"angle":340,"satellites":44,"speed":43,"hex_longitude":"2d39d880","hex_latitude":"06a7a538","is_valid_coordinates":true} 
[2026-09-08 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951502592001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403090823987593216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4168222221202176000,"note":"Value kept but may cause issues"} 
[2026-09-08 18:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788873057000,"timestamp_ms":1788873057000,"timestamp_seconds":1788873057,"priority":1,"record_length":96,"hex_timestamp":"000001a08124a2e8"} 
[2026-09-08 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951502592001,"66":27767,"250":206,"28":21760,"24":43,"16":403090823987593216,"45":4168222221202176000},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-09-08 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951502592001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:41:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 18:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403090823987593216,"km_value":403090823987593.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4168222221202176000,"description":"Unknown IO ID 45"} 
[2026-09-08 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951502592001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":4168222221202176000}} 
[2026-09-08 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:41:55] local.INFO: GPS data processed {"connection_id":174962,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:41:55] local.INFO: Acknowledgment sent {"connection_id":174962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:42:00] local.INFO: TCP Data received {"connection_id":174963,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:42:00] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:42:00] local.INFO: IMEI packet received {"connection_id":174963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":174963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:42:05] local.INFO: TCP Data received {"connection_id":174963,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:42:05] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:42:05] local.INFO: IMEI packet received {"connection_id":174963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":174963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:42:07] local.INFO: TCP Data received {"connection_id":174963,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081235ac8012d1a8b40071faff00036013228..."} 
[2026-09-08 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081235ac8012d1a8b40071faff00036013228..."} 
[2026-09-08 18:42:07] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081235ac8012d1a8b40071faff00036013228..."} 
[2026-09-08 18:42:07] local.INFO: Packet analysis {"connection_id":174963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:42:07] local.INFO: Extracted packet for processing {"connection_id":174963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951475712001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089480192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42: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-09-08 18:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788872973000,"timestamp_ms":1788872973000,"timestamp_seconds":1788872973,"priority":1,"record_length":96,"hex_timestamp":"000001a081235ac8"} 
[2026-09-08 18:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-08 18:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951475712001,"66":12211,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1912692866089480192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951475712001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089480192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951475712001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912692866089480192}} 
[2026-09-08 18:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":174963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:42:07] local.INFO: GPS data processed {"connection_id":174963,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:42:07] local.INFO: Acknowledgment sent {"connection_id":174963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:42:08] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:42:08] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:42:08] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:42:13] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:42:13] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:42:13] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:42:14] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:42:14] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:42:14] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:42:14] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951389440001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788872912000,"timestamp_ms":1788872912000,"timestamp_seconds":1788872912,"priority":1,"record_length":96,"hex_timestamp":"000001a081226c80"} 
[2026-09-08 18:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:42: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-09-08 18:42: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":94,"data_length":795,"current_offset":136} 
[2026-09-08 18:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951389440001,"66":2231,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951389440001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:42:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951389440001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:42:14] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:42:14] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:42:26] local.INFO: TCP Data received {"connection_id":174962,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08124c610012d39cb4006a7c8880013015429..."} 
[2026-09-08 18:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08124c610012d39cb4006a7c8880013015429..."} 
[2026-09-08 18:42:26] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08124c610012d39cb4006a7c8880013015429..."} 
[2026-09-08 18:42:26] local.INFO: Packet analysis {"connection_id":174962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:42:26] local.INFO: Extracted packet for processing {"connection_id":174962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758762304,"raw_latitude":111659144,"longitude_deg":75.8762304,"latitude_deg":11.1659144,"altitude":19,"angle":340,"satellites":41,"speed":41,"hex_longitude":"2d39cb40","hex_latitude":"06a7c888","is_valid_coordinates":true} 
[2026-09-08 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951502592001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403091292139028480,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4168222221202176000,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788873066000,"timestamp_ms":1788873066000,"timestamp_seconds":1788873066,"priority":1,"record_length":96,"hex_timestamp":"000001a08124c610"} 
[2026-09-08 18:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951502592001,"66":26930,"250":206,"28":21760,"24":41,"16":403091292139028480,"45":4168222221202176000},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-09-08 18:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951502592001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:42:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 18:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403091292139028480,"km_value":403091292139028.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4168222221202176000,"description":"Unknown IO ID 45"} 
[2026-09-08 18:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951502592001,"power":26930,"unknown_250":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":4168222221202176000}} 
[2026-09-08 18:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:42:26] local.INFO: GPS data processed {"connection_id":174962,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:42:26] local.INFO: Acknowledgment sent {"connection_id":174962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:42:38] local.INFO: TCP Data received {"connection_id":174963,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08123acd0012d1a8b40071faff00036013224..."} 
[2026-09-08 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08123acd0012d1a8b40071faff00036013224..."} 
[2026-09-08 18:42:38] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08123acd0012d1a8b40071faff00036013224..."} 
[2026-09-08 18:42:38] local.INFO: Packet analysis {"connection_id":174963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:42:38] local.INFO: Extracted packet for processing {"connection_id":174963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08123"} 
[2026-09-08 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951481088001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089480192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42: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-09-08 18:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788872994000,"timestamp_ms":1788872994000,"timestamp_seconds":1788872994,"priority":1,"record_length":96,"hex_timestamp":"000001a08123acd0"} 
[2026-09-08 18:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 18:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951481088001,"66":12287,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1912692866089480192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951481088001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089480192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951481088001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912692866089480192}} 
[2026-09-08 18:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":174963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:42:39] local.INFO: GPS data processed {"connection_id":174963,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:42:39] local.INFO: Acknowledgment sent {"connection_id":174963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:42:41] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:41] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:41] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:42:41] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:41] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:41] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:42:43] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:43] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:42:43] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:42:44] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08124e938012d39bf4006a7e9c8001001542b..."} 
[2026-09-08 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08124e938012d39bf4006a7e9c8001001542b..."} 
[2026-09-08 18:42:44] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08124e938012d39bf4006a7e9c8001001542b..."} 
[2026-09-08 18:42:44] local.INFO: Packet analysis {"connection_id":174682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:42:44] local.INFO: Extracted packet for processing {"connection_id":174682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758759232,"raw_latitude":111667656,"longitude_deg":75.8759232,"latitude_deg":11.1667656,"altitude":16,"angle":340,"satellites":43,"speed":38,"hex_longitude":"2d39bf40","hex_latitude":"06a7e9c8","is_valid_coordinates":true} 
[2026-09-08 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951504896001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403091730225692672,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4164492677763074048,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788873075000,"timestamp_ms":1788873075000,"timestamp_seconds":1788873075,"priority":1,"record_length":96,"hex_timestamp":"000001a08124e938"} 
[2026-09-08 18:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-08 18:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951504896001,"66":27571,"250":206,"28":21760,"24":38,"16":403091730225692672,"45":4164492677763074048},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-09-08 18:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951504896001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:42:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 18:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403091730225692672,"km_value":403091730225692.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4164492677763074048,"description":"Unknown IO ID 45"} 
[2026-09-08 18:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951504896001,"power":27571,"unknown_250":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":4164492677763074048}} 
[2026-09-08 18:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":174682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:42:44] local.INFO: GPS data processed {"connection_id":174682,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:42:44] local.INFO: Acknowledgment sent {"connection_id":174682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:42:45] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:42:45] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:42:45] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:42:45] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951389440001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788872912000,"timestamp_ms":1788872912000,"timestamp_seconds":1788872912,"priority":1,"record_length":96,"hex_timestamp":"000001a081226c80"} 
[2026-09-08 18:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 18:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951389440001,"66":2231,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951389440001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:42:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951389440001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:42:45] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:42:45] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:43:05] local.INFO: TCP Data received {"connection_id":174684,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:43:05] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:43:05] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:43:08] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:43:08] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:43:08] local.INFO: IMEI packet received {"connection_id":177497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":177497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:43:10] local.INFO: TCP Data received {"connection_id":174684,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:43:10] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:43:10] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:43:11] local.INFO: TCP Data received {"connection_id":174684,"ip":"117.224.142.89","data_length":93,"data_hex":"00000000000000518e01000001a08123fed8012d1a8b40071faff00036013225..."} 
[2026-09-08 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":93,"packet_hex":"00000000000000518e01000001a08123fed8012d1a8b40071faff00036013225..."} 
[2026-09-08 18:43:11] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a08123fed8012d1a8b40071faff00036013225..."} 
[2026-09-08 18:43:11] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a08123"} 
[2026-09-08 18:43:11] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a08123"} 
[2026-09-08 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":37,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-08 18:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:43:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:43:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-08 18:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-08 18:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-08 18:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-08 18:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-08 18:43:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-08 18:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-08 18:43:11] local.ERROR: GPS data processing failed {"connection_id":174684,"error":"No valid data to process"} 
[2026-09-08 18:43:11] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-08 18:43:13] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:43:13] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:43:13] local.INFO: IMEI packet received {"connection_id":177497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":177497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:43:14] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:43:14] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081226c80012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:43:14] local.INFO: Packet analysis {"connection_id":177497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:43:14] local.INFO: Extracted packet for processing {"connection_id":177497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08122"} 
[2026-09-08 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951389440001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052803072,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788872912000,"timestamp_ms":1788872912000,"timestamp_seconds":1788872912,"priority":1,"record_length":96,"hex_timestamp":"000001a081226c80"} 
[2026-09-08 18:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:43: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-09-08 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-08 18:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951389440001,"66":2231,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094315785052803072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951389440001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:43:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052803072,"description":"Unknown IO ID 45"} 
[2026-09-08 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951389440001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052803072}} 
[2026-09-08 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":177497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:43:14] local.INFO: GPS data processed {"connection_id":177497,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:43:14] local.INFO: Acknowledgment sent {"connection_id":177497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:43:15] local.INFO: TCP Data received {"connection_id":174684,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812450e0012d1a8b40071faff00036013224..."} 
[2026-09-08 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812450e0012d1a8b40071faff00036013224..."} 
[2026-09-08 18:43:15] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812450e0012d1a8b40071faff00036013224..."} 
[2026-09-08 18:43:15] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:43:15] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":36,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951491840001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089480192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:15] 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-09-08 18:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788873036000,"timestamp_ms":1788873036000,"timestamp_seconds":1788873036,"priority":1,"record_length":96,"hex_timestamp":"000001a0812450e0"} 
[2026-09-08 18:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 18:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951491840001,"66":12341,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1912692866089480192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951491840001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:43:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089480192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951491840001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912692866089480192}} 
[2026-09-08 18:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:43:15] local.INFO: GPS data processed {"connection_id":174684,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:43:16] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:43:16] local.INFO: TCP Data received {"connection_id":174682,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081252f88012d39b14006a80af8000c01592e..."} 
[2026-09-08 18:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081252f88012d39b14006a80af8000c01592e..."} 
[2026-09-08 18:43:16] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081252f88012d39b14006a80af8000c01592e..."} 
[2026-09-08 18:43:16] local.INFO: Packet analysis {"connection_id":174682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08125"} 
[2026-09-08 18:43:16] local.INFO: Extracted packet for processing {"connection_id":174682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08125"} 
[2026-09-08 18:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758755648,"raw_latitude":111676152,"longitude_deg":75.8755648,"latitude_deg":11.1676152,"altitude":12,"angle":345,"satellites":46,"speed":23,"hex_longitude":"2d39b140","hex_latitude":"06a80af8","is_valid_coordinates":true} 
[2026-09-08 18:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951507200001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403092176902291456,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4161114978044725248,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788873093000,"timestamp_ms":1788873093000,"timestamp_seconds":1788873093,"priority":1,"record_length":96,"hex_timestamp":"000001a081252f88"} 
[2026-09-08 18:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-08 18:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951507200001,"66":27767,"250":206,"28":21760,"24":23,"16":403092176902291456,"45":4161114978044725248},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-09-08 18:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951507200001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:43:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-08 18:43:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403092176902291456,"km_value":403092176902291.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4161114978044725248,"description":"Unknown IO ID 45"} 
[2026-09-08 18:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951507200001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":4161114978044725248}} 
[2026-09-08 18:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":174682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:43:16] local.INFO: GPS data processed {"connection_id":174682,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:43:16] local.INFO: Acknowledgment sent {"connection_id":174682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:43:38] local.INFO: TCP Data received {"connection_id":177498,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:38] local.INFO: Processing buffer {"connection_id":177498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:38] local.INFO: IMEI packet received {"connection_id":177498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":177498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:43:41] local.INFO: TCP Data received {"connection_id":177498,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:41] local.INFO: Processing buffer {"connection_id":177498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:41] local.INFO: IMEI packet received {"connection_id":177498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":177498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:43:45] local.INFO: TCP Data received {"connection_id":177497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:43:45] local.INFO: Processing buffer {"connection_id":177497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:43:45] local.INFO: Packet analysis {"connection_id":177497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:43:45] local.INFO: Extracted packet for processing {"connection_id":177497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:43:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":177497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:43:45] local.INFO: GPS data processed {"connection_id":177497,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:43:45] local.INFO: Acknowledgment sent {"connection_id":177497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:43:46] local.INFO: TCP Data received {"connection_id":177498,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:46] local.INFO: Processing buffer {"connection_id":177498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:43:46] local.INFO: IMEI packet received {"connection_id":177498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":177498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:43:47] local.INFO: TCP Data received {"connection_id":177498,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812619e8012d39654006a88c40000e00032b..."} 
[2026-09-08 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812619e8012d39654006a88c40000e00032b..."} 
[2026-09-08 18:43:47] local.INFO: Processing buffer {"connection_id":177498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812619e8012d39654006a88c40000e00032b..."} 
[2026-09-08 18:43:47] local.INFO: Packet analysis {"connection_id":177498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:43:47] local.INFO: Extracted packet for processing {"connection_id":177498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758736192,"raw_latitude":111709248,"longitude_deg":75.8736192,"latitude_deg":11.1709248,"altitude":14,"angle":3,"satellites":43,"speed":34,"hex_longitude":"2d396540","hex_latitude":"06a88c40","is_valid_coordinates":true} 
[2026-09-08 18:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951526144001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403094195536920576,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135852598894694400,"note":"Value kept but may cause issues"} 
[2026-09-08 18:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873153000,"timestamp_ms":1788873153000,"timestamp_seconds":1788873153,"priority":1,"record_length":96,"hex_timestamp":"000001a0812619e8"} 
[2026-09-08 18:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-08 18:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951526144001,"66":27745,"90":206,"28":21760,"24":34,"16":403094195536920576,"45":4135852598894694400},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951526144001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:43:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:43:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403094195536920576,"km_value":403094195536920.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135852598894694400,"description":"Unknown IO ID 45"} 
[2026-09-08 18:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951526144001,"power":27745,"unknown_90":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":4135852598894694400}} 
[2026-09-08 18:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":177498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:43:47] local.INFO: GPS data processed {"connection_id":177498,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:43:47] local.INFO: Acknowledgment sent {"connection_id":177498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:00] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:00] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:00] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:44:01] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:01] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:01] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:44:02] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:02] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:02] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:44:05] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:05] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:44:05] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:44:06] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":1360,"data_hex":"000000000000030f8e0a000001a08124a2e8012d1a8b40071faff00036013227..."} 
[2026-09-08 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a08124a2e8012d1a8b40071faff00036013227..."} 
[2026-09-08 18:44:06] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a08124a2e8012d1a8b40071faff00036013227..."} 
[2026-09-08 18:44:06] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:44:06] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951497216001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089480192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] 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-09-08 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873057000,"timestamp_ms":1788873057000,"timestamp_seconds":1788873057,"priority":1,"record_length":96,"hex_timestamp":"000001a08124a2e8"} 
[2026-09-08 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951497216001,"66":12298,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1912692866089480192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951497216001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089480192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951497216001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912692866089480192}} 
[2026-09-08 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:06] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:06] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:06] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:44:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":174964,"needed":795,"available":565} 
[2026-09-08 18:44:06] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":230,"data_hex":"2d1a8b40071faff0003601322600000000000a000400ef0100715c00f0010045..."} 
[2026-09-08 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":230,"packet_hex":"2d1a8b40071faff0003601322600000000000a000400ef0100715c00f0010045..."} 
[2026-09-08 18:44:06] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08124f4f0012d1a8b40071faff00036013226..."} 
[2026-09-08 18:44:06] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:44:06] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08124"} 
[2026-09-08 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119517168,"longitude_deg":75.6714304,"latitude_deg":11.9517168,"altitude":54,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071faff0","is_valid_coordinates":true} 
[2026-09-08 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951502592001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18858123359944704,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089480192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] 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-09-08 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873078000,"timestamp_ms":1788873078000,"timestamp_seconds":1788873078,"priority":1,"record_length":96,"hex_timestamp":"000001a08124f4f0"} 
[2026-09-08 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513303601816863030,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452354,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":255,"raw_value":6701356245527298049,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-9141633586511930723,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":86173124315316224,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":11258999069081604,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3375730280042660046,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2951741494,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909144039,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:06] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,255,160,80,45,64,175,54,36,10,66,254,37,172,1,240,129,31,4,113,205,8,139,40,239,47,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 18:44:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891446696109932544,"timestamp_seconds":3891446696109932.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951502592001,"66":12374,"121":206,"28":31744,"24":0,"16":18858123359944704,"45":1912692866089480192},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951502592001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18858123359944704,"km_value":18858123359944.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089480192,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951502592001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912692866089480192}} 
[2026-09-08 18:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:07] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:07] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:13] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:44:13] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:44:13] local.INFO: IMEI packet received {"connection_id":174685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":174685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:44:18] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:44:18] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:44:18] local.INFO: IMEI packet received {"connection_id":174685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":174685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:44:18] local.INFO: TCP Data received {"connection_id":177498,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081263540012d39650006a8a210000e015f29..."} 
[2026-09-08 18:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081263540012d39650006a8a210000e015f29..."} 
[2026-09-08 18:44:18] local.INFO: Processing buffer {"connection_id":177498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081263540012d39650006a8a210000e015f29..."} 
[2026-09-08 18:44:18] local.INFO: Packet analysis {"connection_id":177498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:44:18] local.INFO: Extracted packet for processing {"connection_id":177498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758736128,"raw_latitude":111714832,"longitude_deg":75.8736128,"latitude_deg":11.1714832,"altitude":14,"angle":351,"satellites":41,"speed":32,"hex_longitude":"2d396500","hex_latitude":"06a8a210","is_valid_coordinates":true} 
[2026-09-08 18:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951527168001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403094466119860224,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135782230151413760,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788873160000,"timestamp_ms":1788873160000,"timestamp_seconds":1788873160,"priority":1,"record_length":96,"hex_timestamp":"000001a081263540"} 
[2026-09-08 18:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951527168001,"66":27745,"90":206,"28":21760,"24":32,"16":403094466119860224,"45":4135782230151413760},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951527168001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:18] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:44:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403094466119860224,"km_value":403094466119860.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135782230151413760,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951527168001,"power":27745,"unknown_90":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":4135782230151413760}} 
[2026-09-08 18:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":177498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:18] local.INFO: GPS data processed {"connection_id":177498,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:18] local.INFO: Acknowledgment sent {"connection_id":177498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:19] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:44:19] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:44:19] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:44:19] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:44:19] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 18:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:19] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:19] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:24] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:44:24] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:44:24] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:44:24] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44: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-09-08 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:24] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:24] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:38] local.INFO: TCP Data received {"connection_id":174964,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081271bb8012d1a4300071fe7800032011d29..."} 
[2026-09-08 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081271bb8012d1a4300071fe7800032011d29..."} 
[2026-09-08 18:44:38] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081271bb8012d1a4300071fe7800032011d29..."} 
[2026-09-08 18:44:38] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:44:38] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756695808,"raw_latitude":119531392,"longitude_deg":75.6695808,"latitude_deg":11.9531392,"altitude":50,"angle":285,"satellites":41,"speed":37,"hex_longitude":"2d1a4300","hex_latitude":"071fe780","is_valid_coordinates":true} 
[2026-09-08 18:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951542528001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859325950787584,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897985798559391744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44: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-09-08 18:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873219000,"timestamp_ms":1788873219000,"timestamp_seconds":1788873219,"priority":1,"record_length":96,"hex_timestamp":"000001a081271bb8"} 
[2026-09-08 18:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951542528001,"66":14265,"121":206,"28":31744,"24":37,"16":18859325950787584,"45":1897985798559391744},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951542528001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859325950787584,"km_value":18859325950787.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897985798559391744,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951542528001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1897985798559391744}} 
[2026-09-08 18:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:38] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:38] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:44:41] local.INFO: TCP Data received {"connection_id":177499,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:44:41] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:44:41] local.INFO: IMEI packet received {"connection_id":177499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":177499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:44:46] local.INFO: TCP Data received {"connection_id":177499,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:44:46] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:44:46] local.INFO: IMEI packet received {"connection_id":177499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":177499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:44:47] local.INFO: TCP Data received {"connection_id":177499,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812648c8012d3960c006a8b1c0000c01512b..."} 
[2026-09-08 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812648c8012d3960c006a8b1c0000c01512b..."} 
[2026-09-08 18:44:47] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812648c8012d3960c006a8b1c0000c01512b..."} 
[2026-09-08 18:44:47] local.INFO: Packet analysis {"connection_id":177499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:44:47] local.INFO: Extracted packet for processing {"connection_id":177499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758735040,"raw_latitude":111718848,"longitude_deg":75.873504,"latitude_deg":11.1718848,"altitude":12,"angle":337,"satellites":43,"speed":33,"hex_longitude":"2d3960c0","hex_latitude":"06a8b1c0","is_valid_coordinates":true} 
[2026-09-08 18:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951528960001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403094667983323136,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135711861408665600,"note":"Value kept but may cause issues"} 
[2026-09-08 18:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873165000,"timestamp_ms":1788873165000,"timestamp_seconds":1788873165,"priority":1,"record_length":96,"hex_timestamp":"000001a0812648c8"} 
[2026-09-08 18:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951528960001,"66":27658,"90":206,"28":21760,"24":33,"16":403094667983323136,"45":4135711861408665600},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951528960001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:44:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403094667983323136,"km_value":403094667983323.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135711861408665600,"description":"Unknown IO ID 45"} 
[2026-09-08 18:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951528960001,"power":27658,"unknown_90":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":4135711861408665600}} 
[2026-09-08 18:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":177499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:44:47] local.INFO: GPS data processed {"connection_id":177499,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:44:47] local.INFO: Acknowledgment sent {"connection_id":177499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:45:00] local.INFO: TCP Data received {"connection_id":174686,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:45:00] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:45:00] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:45:02] local.INFO: TCP Data received {"connection_id":174686,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:45:02] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:45:02] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:45:03] local.INFO: TCP Data received {"connection_id":174686,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812742c8012d1a1dc0071ff168002e011e2a..."} 
[2026-09-08 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812742c8012d1a1dc0071ff168002e011e2a..."} 
[2026-09-08 18:45:03] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812742c8012d1a1dc0071ff168002e011e2a..."} 
[2026-09-08 18:45:03] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:03] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756686272,"raw_latitude":119533928,"longitude_deg":75.6686272,"latitude_deg":11.9533928,"altitude":46,"angle":286,"satellites":42,"speed":38,"hex_longitude":"2d1a1dc0","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-08 18:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951544064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18859798397190144,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892356299025776640,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45: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-09-08 18:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788873229000,"timestamp_ms":1788873229000,"timestamp_seconds":1788873229,"priority":1,"record_length":96,"hex_timestamp":"000001a0812742c8"} 
[2026-09-08 18:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 18:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951544064001,"66":13656,"121":206,"28":31744,"24":38,"16":18859798397190144,"45":1892356299025776640},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951544064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:45:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18859798397190144,"km_value":18859798397190.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892356299025776640,"description":"Unknown IO ID 45"} 
[2026-09-08 18:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951544064001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1892356299025776640}} 
[2026-09-08 18:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:45:04] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:45:04] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:45:08] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:45:08] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:45:08] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:45:13] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:45:13] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:45:13] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:45:14] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:45:14] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:45:14] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:14] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 18:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:45:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:45:14] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:45:14] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:45:19] local.INFO: TCP Data received {"connection_id":177499,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081265868012d395a8006a8bd48000b01452d..."} 
[2026-09-08 18:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081265868012d395a8006a8bd48000b01452d..."} 
[2026-09-08 18:45:19] local.INFO: Processing buffer {"connection_id":177499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081265868012d395a8006a8bd48000b01452d..."} 
[2026-09-08 18:45:19] local.INFO: Packet analysis {"connection_id":177499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:45:19] local.INFO: Extracted packet for processing {"connection_id":177499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758733440,"raw_latitude":111721800,"longitude_deg":75.873344,"latitude_deg":11.17218,"altitude":11,"angle":325,"satellites":45,"speed":33,"hex_longitude":"2d395a80","hex_latitude":"06a8bd48","is_valid_coordinates":true} 
[2026-09-08 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951530240001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403094831192080384,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134515592758673408,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788873169000,"timestamp_ms":1788873169000,"timestamp_seconds":1788873169,"priority":1,"record_length":96,"hex_timestamp":"000001a081265868"} 
[2026-09-08 18:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-08 18:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951530240001,"66":27767,"90":206,"28":21760,"24":33,"16":403094831192080384,"45":4134515592758673408},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951530240001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:45:19] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403094831192080384,"km_value":403094831192080.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134515592758673408,"description":"Unknown IO ID 45"} 
[2026-09-08 18:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951530240001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":4134515592758673408}} 
[2026-09-08 18:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":177499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:45:19] local.INFO: GPS data processed {"connection_id":177499,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:45:19] local.INFO: Acknowledgment sent {"connection_id":177499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:45:36] local.INFO: TCP Data received {"connection_id":174686,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812769d8012d19fa80071ffc70002b01182a..."} 
[2026-09-08 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812769d8012d19fa80071ffc70002b01182a..."} 
[2026-09-08 18:45:36] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812769d8012d19fa80071ffc70002b01182a..."} 
[2026-09-08 18:45:36] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:36] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756677248,"raw_latitude":119536752,"longitude_deg":75.6677248,"latitude_deg":11.9536752,"altitude":43,"angle":280,"satellites":42,"speed":31,"hex_longitude":"2d19fa80","hex_latitude":"071ffc70","is_valid_coordinates":true} 
[2026-09-08 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951546624001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860245073788928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881871356143953920,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45: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-09-08 18:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788873239000,"timestamp_ms":1788873239000,"timestamp_seconds":1788873239,"priority":1,"record_length":96,"hex_timestamp":"000001a0812769d8"} 
[2026-09-08 18:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 18:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951546624001,"66":13493,"121":206,"28":31744,"24":31,"16":18860245073788928,"45":1881871356143953920},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951546624001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:45:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860245073788928,"km_value":18860245073788.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881871356143953920,"description":"Unknown IO ID 45"} 
[2026-09-08 18:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951546624001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1881871356143953920}} 
[2026-09-08 18:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:45:36] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:45:36] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:45:41] local.INFO: TCP Data received {"connection_id":177501,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:45:41] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:45:41] local.INFO: IMEI packet received {"connection_id":177501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":177501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:45:45] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:45:45] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:45:45] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:45] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 18:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:45:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:45:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:45:45] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:45:45] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:45:46] local.INFO: TCP Data received {"connection_id":177501,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:45:46] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:45:46] local.INFO: IMEI packet received {"connection_id":177501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":177501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:45:48] local.INFO: TCP Data received {"connection_id":177501,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081268360012d39464006a8d488000901392e..."} 
[2026-09-08 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081268360012d39464006a8d488000901392e..."} 
[2026-09-08 18:45:48] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081268360012d39464006a8d488000901392e..."} 
[2026-09-08 18:45:48] local.INFO: Packet analysis {"connection_id":177501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:45:48] local.INFO: Extracted packet for processing {"connection_id":177501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758728256,"raw_latitude":111727752,"longitude_deg":75.8728256,"latitude_deg":11.1727752,"altitude":9,"angle":313,"satellites":46,"speed":22,"hex_longitude":"2d394640","hex_latitude":"06a8d488","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951531264001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403095209149202432,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4132756374154987520,"note":"Value kept but may cause issues"} 
[2026-09-08 18:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788873180000,"timestamp_ms":1788873180000,"timestamp_seconds":1788873180,"priority":1,"record_length":96,"hex_timestamp":"000001a081268360"} 
[2026-09-08 18:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951531264001,"66":27745,"90":206,"28":21760,"24":22,"16":403095209149202432,"45":4132756374154987520},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951531264001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403095209149202432,"km_value":403095209149202.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4132756374154987520,"description":"Unknown IO ID 45"} 
[2026-09-08 18:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951531264001,"power":27745,"unknown_90":206,"unknown_28":21760,"ignition":22,"odometer":null,"unknown_45":4132756374154987520}} 
[2026-09-08 18:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":177501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:45:48] local.INFO: GPS data processed {"connection_id":177501,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:45:48] local.INFO: Acknowledgment sent {"connection_id":177501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:46:00] local.INFO: TCP Data received {"connection_id":174688,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:46:00] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:46:00] local.INFO: IMEI packet received {"connection_id":174688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:46:05] local.INFO: TCP Data received {"connection_id":174688,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:46:05] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:46:05] local.INFO: IMEI packet received {"connection_id":174688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":174688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:46:06] local.INFO: TCP Data received {"connection_id":174688,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081276dc0012d19f780071ffca8002b010d29..."} 
[2026-09-08 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081276dc0012d19f780071ffca8002b010d29..."} 
[2026-09-08 18:46:06] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081276dc0012d19f780071ffca8002b010d29..."} 
[2026-09-08 18:46:06] local.INFO: Packet analysis {"connection_id":174688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:06] local.INFO: Extracted packet for processing {"connection_id":174688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756676480,"raw_latitude":119536808,"longitude_deg":75.667648,"latitude_deg":11.9536808,"altitude":43,"angle":269,"satellites":41,"speed":29,"hex_longitude":"2d19f780","hex_latitude":"071ffca8","is_valid_coordinates":true} 
[2026-09-08 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951549184001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860279433527296,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871949363215626240,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:06] 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-09-08 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873240000,"timestamp_ms":1788873240000,"timestamp_seconds":1788873240,"priority":1,"record_length":96,"hex_timestamp":"000001a081276dc0"} 
[2026-09-08 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 18:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951549184001,"66":13493,"121":206,"28":31744,"24":29,"16":18860279433527296,"45":1871949363215626240},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951549184001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860279433527296,"km_value":18860279433527.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871949363215626240,"description":"Unknown IO ID 45"} 
[2026-09-08 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951549184001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1871949363215626240}} 
[2026-09-08 18:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":174688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:46:07] local.INFO: GPS data processed {"connection_id":174688,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:46:07] local.INFO: Acknowledgment sent {"connection_id":174688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:46:08] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:46:08] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:46:08] local.INFO: IMEI packet received {"connection_id":174965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":174965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:46:13] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:46:13] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:46:13] local.INFO: IMEI packet received {"connection_id":174965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":174965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:46:15] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:46:15] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:46:15] local.INFO: Packet analysis {"connection_id":174965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:15] local.INFO: Extracted packet for processing {"connection_id":174965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 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-09-08 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:46:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":174965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:46:15] local.INFO: GPS data processed {"connection_id":174965,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:46:15] local.INFO: Acknowledgment sent {"connection_id":174965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:46:20] local.INFO: TCP Data received {"connection_id":177501,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08126c9b0012d392c0006a8ecb8000901332d..."} 
[2026-09-08 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08126c9b0012d392c0006a8ecb8000901332d..."} 
[2026-09-08 18:46:20] local.INFO: Processing buffer {"connection_id":177501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08126c9b0012d392c0006a8ecb8000901332d..."} 
[2026-09-08 18:46:20] local.INFO: Packet analysis {"connection_id":177501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:46:20] local.INFO: Extracted packet for processing {"connection_id":177501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08126"} 
[2026-09-08 18:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758721536,"raw_latitude":111733944,"longitude_deg":75.8721536,"latitude_deg":11.1733944,"altitude":9,"angle":307,"satellites":45,"speed":16,"hex_longitude":"2d392c00","hex_latitude":"06a8ecb8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951534080001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403095647235866624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4127056505878120448,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788873198000,"timestamp_ms":1788873198000,"timestamp_seconds":1788873198,"priority":1,"record_length":96,"hex_timestamp":"000001a08126c9b0"} 
[2026-09-08 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-09-08 18:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 18:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951534080001,"66":27713,"90":206,"28":21760,"24":16,"16":403095647235866624,"45":4127056505878120448},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951534080001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:46:20] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:46:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403095647235866624,"km_value":403095647235866.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4127056505878120448,"description":"Unknown IO ID 45"} 
[2026-09-08 18:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951534080001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":16,"odometer":null,"unknown_45":4127056505878120448}} 
[2026-09-08 18:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":177501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:46:20] local.INFO: GPS data processed {"connection_id":177501,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:46:20] local.INFO: Acknowledgment sent {"connection_id":177501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:46:38] local.INFO: TCP Data received {"connection_id":174688,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081278148012d19eac0071ffca8002b012528..."} 
[2026-09-08 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081278148012d19eac0071ffca8002b012528..."} 
[2026-09-08 18:46:38] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081278148012d19eac0071ffca8002b012528..."} 
[2026-09-08 18:46:38] local.INFO: Packet analysis {"connection_id":174688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:38] local.INFO: Extracted packet for processing {"connection_id":174688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756673216,"raw_latitude":119536808,"longitude_deg":75.6673216,"latitude_deg":11.9536808,"altitude":43,"angle":293,"satellites":40,"speed":21,"hex_longitude":"2d19eac0","hex_latitude":"071ffca8","is_valid_coordinates":true} 
[2026-09-08 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951549440001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860438347317248,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871104938285508608,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46: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-09-08 18:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873245000,"timestamp_ms":1788873245000,"timestamp_seconds":1788873245,"priority":1,"record_length":96,"hex_timestamp":"000001a081278148"} 
[2026-09-08 18:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 18:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951549440001,"66":13059,"121":206,"28":31744,"24":21,"16":18860438347317248,"45":1871104938285508608},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951549440001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860438347317248,"km_value":18860438347317.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871104938285508608,"description":"Unknown IO ID 45"} 
[2026-09-08 18:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951549440001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1871104938285508608}} 
[2026-09-08 18:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":174688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:46:38] local.INFO: GPS data processed {"connection_id":174688,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:46:38] local.INFO: Acknowledgment sent {"connection_id":174688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:46:41] local.INFO: TCP Data received {"connection_id":174966,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:46:41] local.INFO: Processing buffer {"connection_id":174966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:46:41] local.INFO: IMEI packet received {"connection_id":174966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":174966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:46:46] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:46:46] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081270448012d7e37c005d34c98000100f12e..."} 
[2026-09-08 18:46:46] local.INFO: Packet analysis {"connection_id":174965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:46] local.INFO: Extracted packet for processing {"connection_id":174965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951465472001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788873213000,"timestamp_ms":1788873213000,"timestamp_seconds":1788873213,"priority":1,"record_length":96,"hex_timestamp":"000001a081270448"} 
[2026-09-08 18:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-08 18:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951465472001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951465472001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:46:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:46:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951465472001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":174965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:46:46] local.INFO: GPS data processed {"connection_id":174965,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:46:46] local.INFO: Acknowledgment sent {"connection_id":174965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:46:46] local.INFO: TCP Data received {"connection_id":174966,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:46:46] local.INFO: Processing buffer {"connection_id":174966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:46:46] local.INFO: IMEI packet received {"connection_id":174966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":174966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:46:49] local.INFO: TCP Data received {"connection_id":174966,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081271bb8012d3914c006a8fdf8000a012c32..."} 
[2026-09-08 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081271bb8012d3914c006a8fdf8000a012c32..."} 
[2026-09-08 18:46:49] local.INFO: Processing buffer {"connection_id":174966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081271bb8012d3914c006a8fdf8000a012c32..."} 
[2026-09-08 18:46:49] local.INFO: Packet analysis {"connection_id":174966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:49] local.INFO: Extracted packet for processing {"connection_id":174966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758715584,"raw_latitude":111738360,"longitude_deg":75.8715584,"latitude_deg":11.173836,"altitude":10,"angle":300,"satellites":50,"speed":23,"hex_longitude":"2d3914c0","hex_latitude":"06a8fdf8","is_valid_coordinates":true} 
[2026-09-08 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951538688001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096003718152192,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4119667787741050880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788873219000,"timestamp_ms":1788873219000,"timestamp_seconds":1788873219,"priority":1,"record_length":96,"hex_timestamp":"000001a081271bb8"} 
[2026-09-08 18:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951538688001,"66":27713,"90":206,"28":21760,"24":23,"16":403096003718152192,"45":4119667787741050880},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951538688001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:46:49] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:46:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096003718152192,"km_value":403096003718152.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4119667787741050880,"description":"Unknown IO ID 45"} 
[2026-09-08 18:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951538688001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":4119667787741050880}} 
[2026-09-08 18:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":174966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:46:49] local.INFO: GPS data processed {"connection_id":174966,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:46:49] local.INFO: Acknowledgment sent {"connection_id":174966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:47:00] local.INFO: TCP Data received {"connection_id":177502,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:47:00] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:47:00] local.INFO: IMEI packet received {"connection_id":177502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":177502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:47:05] local.INFO: TCP Data received {"connection_id":177502,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:47:05] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:47:05] local.INFO: IMEI packet received {"connection_id":177502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":177502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:47:06] local.INFO: TCP Data received {"connection_id":177502,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081278530012d19e900071ffdb8002b01312a..."} 
[2026-09-08 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081278530012d19e900071ffdb8002b01312a..."} 
[2026-09-08 18:47:06] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081278530012d19e900071ffdb8002b01312a..."} 
[2026-09-08 18:47:06] local.INFO: Packet analysis {"connection_id":177502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:06] local.INFO: Extracted packet for processing {"connection_id":177502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756672768,"raw_latitude":119537080,"longitude_deg":75.6672768,"latitude_deg":11.953708,"altitude":43,"angle":305,"satellites":42,"speed":20,"hex_longitude":"2d19e900","hex_latitude":"071ffdb8","is_valid_coordinates":true} 
[2026-09-08 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951550720001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860464117121024,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867516132332447744,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] 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-09-08 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873246000,"timestamp_ms":1788873246000,"timestamp_seconds":1788873246,"priority":1,"record_length":96,"hex_timestamp":"000001a081278530"} 
[2026-09-08 18:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169019104743,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490458,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2166812864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3883925554,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 18:47:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,1,160,109,45,128,252,43,41,10,66,105,42,192,240,88,129,31,4,113,205,37,87,96,239,53,2,67,7,54,26],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 18:47:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098798872337907712,"timestamp_seconds":3098798872337907.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951550720001,"66":13059,"121":206,"28":31744,"24":20,"16":18860464117121024,"45":1867516132332447744},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951550720001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:47:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860464117121024,"km_value":18860464117121.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867516132332447744,"description":"Unknown IO ID 45"} 
[2026-09-08 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951550720001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1867516132332447744}} 
[2026-09-08 18:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":177502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:47:06] local.INFO: GPS data processed {"connection_id":177502,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:47:06] local.INFO: Acknowledgment sent {"connection_id":177502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:47:20] local.INFO: TCP Data received {"connection_id":174966,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:20] local.INFO: Processing buffer {"connection_id":174966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:20] local.INFO: Packet analysis {"connection_id":174966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:20] local.INFO: Extracted packet for processing {"connection_id":174966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758712128,"raw_latitude":111740248,"longitude_deg":75.8712128,"latitude_deg":11.1740248,"altitude":9,"angle":296,"satellites":45,"speed":25,"hex_longitude":"2d390740","hex_latitude":"06a90558","is_valid_coordinates":true} 
[2026-09-08 18:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951544064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113123494533658624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788873225000,"timestamp_ms":1788873225000,"timestamp_seconds":1788873225,"priority":1,"record_length":96,"hex_timestamp":"000001a081273328"} 
[2026-09-08 18:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951544064001,"66":27767,"90":206,"28":21760,"24":25,"16":403096192696713216,"45":4113123494533658624},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951544064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:47:20] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113123494533658624,"description":"Unknown IO ID 45"} 
[2026-09-08 18:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951544064001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":4113123494533658624}} 
[2026-09-08 18:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":174966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:47:20] local.INFO: GPS data processed {"connection_id":174966,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:47:20] local.INFO: Acknowledgment sent {"connection_id":174966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:47:24] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:47:24] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:47:24] local.INFO: IMEI packet received {"connection_id":174689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":174689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:47:38] local.INFO: TCP Data received {"connection_id":177502,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081278918012d19e780071fff20002b01402a..."} 
[2026-09-08 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081278918012d19e780071fff20002b01402a..."} 
[2026-09-08 18:47:38] local.INFO: Processing buffer {"connection_id":177502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081278918012d19e780071fff20002b01402a..."} 
[2026-09-08 18:47:38] local.INFO: Packet analysis {"connection_id":177502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:38] local.INFO: Extracted packet for processing {"connection_id":177502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756672384,"raw_latitude":119537440,"longitude_deg":75.6672384,"latitude_deg":11.953744,"altitude":43,"angle":320,"satellites":42,"speed":20,"hex_longitude":"2d19e780","hex_latitude":"071fff20","is_valid_coordinates":true} 
[2026-09-08 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951550976001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860489886924800,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867023551123273728,"note":"Value kept but may cause issues"} 
[2026-09-08 18: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-09-08 18:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873247000,"timestamp_ms":1788873247000,"timestamp_seconds":1788873247,"priority":1,"record_length":96,"hex_timestamp":"000001a081278918"} 
[2026-09-08 18:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173397958119,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490465,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2166817864,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050124846,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,1,160,129,45,192,252,43,40,10,66,109,128,41,105,240,181,31,4,113,205,38,27,67,239,55,2,7,51,33],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 18:47:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098812075067310080,"timestamp_seconds":3098812075067310.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 18:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951550976001,"66":13341,"121":206,"28":31744,"24":20,"16":18860489886924800,"45":1867023551123273728},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951550976001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860489886924800,"km_value":18860489886924.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867023551123273728,"description":"Unknown IO ID 45"} 
[2026-09-08 18:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951550976001,"power":13341,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1867023551123273728}} 
[2026-09-08 18:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":177502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:47:38] local.INFO: GPS data processed {"connection_id":177502,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:47:38] local.INFO: Acknowledgment sent {"connection_id":177502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:47:43] local.INFO: TCP Data received {"connection_id":176033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:47:43] local.INFO: Processing buffer {"connection_id":176033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:47:43] local.INFO: IMEI packet received {"connection_id":176033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":176033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:47:46] local.INFO: TCP Data received {"connection_id":176032,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:47:46] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:47:46] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:47:51] local.INFO: TCP Data received {"connection_id":176032,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:47:51] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:47:51] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:47:52] local.INFO: TCP Data received {"connection_id":176032,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:52] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:52] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:52] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758712128,"raw_latitude":111740248,"longitude_deg":75.8712128,"latitude_deg":11.1740248,"altitude":9,"angle":296,"satellites":45,"speed":25,"hex_longitude":"2d390740","hex_latitude":"06a90558","is_valid_coordinates":true} 
[2026-09-08 18:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951544064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113123494533658624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788873225000,"timestamp_ms":1788873225000,"timestamp_seconds":1788873225,"priority":1,"record_length":96,"hex_timestamp":"000001a081273328"} 
[2026-09-08 18:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951544064001,"66":27767,"90":206,"28":21760,"24":25,"16":403096192696713216,"45":4113123494533658624},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951544064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:47:52] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:47:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113123494533658624,"description":"Unknown IO ID 45"} 
[2026-09-08 18:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951544064001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":4113123494533658624}} 
[2026-09-08 18:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:47:52] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:47:52] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:47:57] local.INFO: TCP Data received {"connection_id":176032,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:57] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:47:57] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:57] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:47:57] local.INFO: GPS Element Parsed {"raw_longitude":758712128,"raw_latitude":111740248,"longitude_deg":75.8712128,"latitude_deg":11.1740248,"altitude":9,"angle":296,"satellites":45,"speed":25,"hex_longitude":"2d390740","hex_latitude":"06a90558","is_valid_coordinates":true} 
[2026-09-08 18:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951544064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113123494533658624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788873225000,"timestamp_ms":1788873225000,"timestamp_seconds":1788873225,"priority":1,"record_length":96,"hex_timestamp":"000001a081273328"} 
[2026-09-08 18:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951544064001,"66":27767,"90":206,"28":21760,"24":25,"16":403096192696713216,"45":4113123494533658624},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951544064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:47:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113123494533658624,"description":"Unknown IO ID 45"} 
[2026-09-08 18:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951544064001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":4113123494533658624}} 
[2026-09-08 18:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:47:57] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:47:57] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:48:00] local.INFO: TCP Data received {"connection_id":177504,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:48:00] local.INFO: Processing buffer {"connection_id":177504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:48:00] local.INFO: IMEI packet received {"connection_id":177504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":177504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:48:05] local.INFO: TCP Data received {"connection_id":177504,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:48:05] local.INFO: Processing buffer {"connection_id":177504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:48:05] local.INFO: IMEI packet received {"connection_id":177504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":177504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:48:06] local.INFO: TCP Data received {"connection_id":177504,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08127a858012d19dfc0072009f0002d013129..."} 
[2026-09-08 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08127a858012d19dfc0072009f0002d013129..."} 
[2026-09-08 18:48:06] local.INFO: Processing buffer {"connection_id":177504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08127a858012d19dfc0072009f0002d013129..."} 
[2026-09-08 18:48:06] local.INFO: Packet analysis {"connection_id":177504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:48:06] local.INFO: Extracted packet for processing {"connection_id":177504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":119540208,"longitude_deg":75.66704,"latitude_deg":11.9540208,"altitude":45,"angle":305,"satellites":41,"speed":14,"hex_longitude":"2d19dfc0","hex_latitude":"072009f0","is_valid_coordinates":true} 
[2026-09-08 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951551232001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860653095682048,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866601338658299904,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:06] 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-09-08 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873255000,"timestamp_ms":1788873255000,"timestamp_seconds":1788873255,"priority":1,"record_length":96,"hex_timestamp":"000001a08127a858"} 
[2026-09-08 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 18:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951551232001,"66":13396,"121":206,"28":31744,"24":14,"16":18860653095682048,"45":1866601338658299904},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951551232001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860653095682048,"km_value":18860653095682.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866601338658299904,"description":"Unknown IO ID 45"} 
[2026-09-08 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951551232001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1866601338658299904}} 
[2026-09-08 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":177504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:48:06] local.INFO: GPS data processed {"connection_id":177504,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:48:06] local.INFO: Acknowledgment sent {"connection_id":177504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:48:37] local.INFO: TCP Data received {"connection_id":177504,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08127cb80012d19d20007201300002e013f28..."} 
[2026-09-08 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08127cb80012d19d20007201300002e013f28..."} 
[2026-09-08 18:48:38] local.INFO: Processing buffer {"connection_id":177504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08127cb80012d19d20007201300002e013f28..."} 
[2026-09-08 18:48:38] local.INFO: Packet analysis {"connection_id":177504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:48:38] local.INFO: Extracted packet for processing {"connection_id":177504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542528,"longitude_deg":75.666688,"latitude_deg":11.9542528,"altitude":46,"angle":319,"satellites":40,"speed":16,"hex_longitude":"2d19d200","hex_latitude":"07201300","is_valid_coordinates":true} 
[2026-09-08 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951553280001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860859254112256,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589500928,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48: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-09-08 18:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873264000,"timestamp_ms":1788873264000,"timestamp_seconds":1788873264,"priority":1,"record_length":96,"hex_timestamp":"000001a08127cb80"} 
[2026-09-08 18:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 18:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951553280001,"66":13287,"121":206,"28":31744,"24":16,"16":18860859254112256,"45":1864419907589500928},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951553280001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860859254112256,"km_value":18860859254112.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589500928,"description":"Unknown IO ID 45"} 
[2026-09-08 18:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951553280001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1864419907589500928}} 
[2026-09-08 18:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":177504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:48:38] local.INFO: GPS data processed {"connection_id":177504,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:48:38] local.INFO: Acknowledgment sent {"connection_id":177504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:48:41] local.INFO: TCP Data received {"connection_id":174690,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:48:41] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:48:41] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:48:46] local.INFO: TCP Data received {"connection_id":174690,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:48:46] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:48:46] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:48:48] local.INFO: TCP Data received {"connection_id":174690,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:48:48] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:48:48] local.INFO: Packet analysis {"connection_id":174690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:48:48] local.INFO: Extracted packet for processing {"connection_id":174690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758712128,"raw_latitude":111740248,"longitude_deg":75.8712128,"latitude_deg":11.1740248,"altitude":9,"angle":296,"satellites":45,"speed":25,"hex_longitude":"2d390740","hex_latitude":"06a90558","is_valid_coordinates":true} 
[2026-09-08 18:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951544064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113123494533658624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788873225000,"timestamp_ms":1788873225000,"timestamp_seconds":1788873225,"priority":1,"record_length":96,"hex_timestamp":"000001a081273328"} 
[2026-09-08 18:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951544064001,"66":27767,"90":206,"28":21760,"24":25,"16":403096192696713216,"45":4113123494533658624},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951544064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:48:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113123494533658624,"description":"Unknown IO ID 45"} 
[2026-09-08 18:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951544064001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":4113123494533658624}} 
[2026-09-08 18:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":174690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:48:48] local.INFO: GPS data processed {"connection_id":174690,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:48:48] local.INFO: Acknowledgment sent {"connection_id":174690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:49:05] local.INFO: TCP Data received {"connection_id":174967,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:05] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:05] local.INFO: IMEI packet received {"connection_id":174967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":174967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:49:10] local.INFO: TCP Data received {"connection_id":174967,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:10] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:10] local.INFO: IMEI packet received {"connection_id":174967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":174967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:49:12] local.INFO: TCP Data received {"connection_id":174967,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08127d350012d19d04007201590002f014e28..."} 
[2026-09-08 18:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08127d350012d19d04007201590002f014e28..."} 
[2026-09-08 18:49:12] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08127d350012d19d04007201590002f014e28..."} 
[2026-09-08 18:49:12] local.INFO: Packet analysis {"connection_id":174967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:49:12] local.INFO: Extracted packet for processing {"connection_id":174967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543184,"longitude_deg":75.6666432,"latitude_deg":11.9543184,"altitude":47,"angle":334,"satellites":40,"speed":13,"hex_longitude":"2d19d040","hex_latitude":"07201590","is_valid_coordinates":true} 
[2026-09-08 18:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951555584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860897908817920,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660323328,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49: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-09-08 18:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788873266000,"timestamp_ms":1788873266000,"timestamp_seconds":1788873266,"priority":1,"record_length":96,"hex_timestamp":"000001a08127d350"} 
[2026-09-08 18:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-08 18:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951555584001,"66":12298,"121":206,"28":31744,"24":13,"16":18860897908817920,"45":1860549626660323328},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951555584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:49:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860897908817920,"km_value":18860897908817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660323328,"description":"Unknown IO ID 45"} 
[2026-09-08 18:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951555584001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1860549626660323328}} 
[2026-09-08 18:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":174967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:49:12] local.INFO: GPS data processed {"connection_id":174967,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:49:12] local.INFO: Acknowledgment sent {"connection_id":174967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:49:20] local.INFO: TCP Data received {"connection_id":174690,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:49:20] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081273328012d39074006a90558000901282d..."} 
[2026-09-08 18:49:20] local.INFO: Packet analysis {"connection_id":174690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:49:20] local.INFO: Extracted packet for processing {"connection_id":174690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08127"} 
[2026-09-08 18:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758712128,"raw_latitude":111740248,"longitude_deg":75.8712128,"latitude_deg":11.1740248,"altitude":9,"angle":296,"satellites":45,"speed":25,"hex_longitude":"2d390740","hex_latitude":"06a90558","is_valid_coordinates":true} 
[2026-09-08 18:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951544064001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113123494533658624,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788873225000,"timestamp_ms":1788873225000,"timestamp_seconds":1788873225,"priority":1,"record_length":96,"hex_timestamp":"000001a081273328"} 
[2026-09-08 18:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-08 18:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951544064001,"66":27767,"90":206,"28":21760,"24":25,"16":403096192696713216,"45":4113123494533658624},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951544064001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:49:20] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:49:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113123494533658624,"description":"Unknown IO ID 45"} 
[2026-09-08 18:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951544064001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":4113123494533658624}} 
[2026-09-08 18:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":174690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:49:20] local.INFO: GPS data processed {"connection_id":174690,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:49:20] local.INFO: Acknowledgment sent {"connection_id":174690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:49:41] local.INFO: TCP Data received {"connection_id":174968,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:49:41] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:49:41] local.INFO: IMEI packet received {"connection_id":174968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":174968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:49:43] local.INFO: TCP Data received {"connection_id":174967,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812b59a8012d19ce00072019600030014b2b..."} 
[2026-09-08 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812b59a8012d19ce00072019600030014b2b..."} 
[2026-09-08 18:49:43] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812b59a8012d19ce00072019600030014b2b..."} 
[2026-09-08 18:49:43] local.INFO: Packet analysis {"connection_id":174967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:49:43] local.INFO: Extracted packet for processing {"connection_id":174967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951609856001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:43] 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-09-08 18:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788873497000,"timestamp_ms":1788873497000,"timestamp_seconds":1788873497,"priority":1,"record_length":96,"hex_timestamp":"000001a0812b59a8"} 
[2026-09-08 18:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 18:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951609856001,"66":12939,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951609856001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:49:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951609856001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":174967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:49:43] local.INFO: GPS data processed {"connection_id":174967,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:49:43] local.INFO: Acknowledgment sent {"connection_id":174967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:49:46] local.INFO: TCP Data received {"connection_id":174968,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:49:46] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:49:46] local.INFO: IMEI packet received {"connection_id":174968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":174968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:49:47] local.INFO: TCP Data received {"connection_id":174968,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:49:47] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:49:47] local.INFO: Packet analysis {"connection_id":174968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:49:47] local.INFO: Extracted packet for processing {"connection_id":174968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:49:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":174968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:49:47] local.INFO: GPS data processed {"connection_id":174968,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:49:47] local.INFO: Acknowledgment sent {"connection_id":174968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:49:58] local.INFO: TCP Data received {"connection_id":174691,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:58] local.INFO: Processing buffer {"connection_id":174691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:49:58] local.INFO: IMEI packet received {"connection_id":174691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":174691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:50:00] local.INFO: TCP Data received {"connection_id":174691,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:50:00] local.INFO: Processing buffer {"connection_id":174691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:50:00] local.INFO: IMEI packet received {"connection_id":174691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":174691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:50:05] local.INFO: TCP Data received {"connection_id":174691,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:50:05] local.INFO: Processing buffer {"connection_id":174691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:50:05] local.INFO: IMEI packet received {"connection_id":174691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":174691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:50:06] local.INFO: TCP Data received {"connection_id":174691,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812babb0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812babb0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:50:06] local.INFO: Processing buffer {"connection_id":174691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812babb0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:50:06] local.INFO: Packet analysis {"connection_id":174691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:06] local.INFO: Extracted packet for processing {"connection_id":174691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951615232001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:06] 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-09-08 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873518000,"timestamp_ms":1788873518000,"timestamp_seconds":1788873518,"priority":1,"record_length":96,"hex_timestamp":"000001a0812babb0"} 
[2026-09-08 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 18:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951615232001,"66":12874,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951615232001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:50:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951615232001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":174691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:50:06] local.INFO: GPS data processed {"connection_id":174691,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:50:06] local.INFO: Acknowledgment sent {"connection_id":174691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:50:19] local.INFO: TCP Data received {"connection_id":174968,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:50:19] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:50:19] local.INFO: Packet analysis {"connection_id":174968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:19] local.INFO: Extracted packet for processing {"connection_id":174968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:50:19] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:50:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":174968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:50:19] local.INFO: GPS data processed {"connection_id":174968,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:50:19] local.INFO: Acknowledgment sent {"connection_id":174968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:50:38] local.INFO: TCP Data received {"connection_id":174691,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bfdb8012d19ce00072019600030014b29..."} 
[2026-09-08 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bfdb8012d19ce00072019600030014b29..."} 
[2026-09-08 18:50:38] local.INFO: Processing buffer {"connection_id":174691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bfdb8012d19ce00072019600030014b29..."} 
[2026-09-08 18:50:38] local.INFO: Packet analysis {"connection_id":174691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:38] local.INFO: Extracted packet for processing {"connection_id":174691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951620608001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50: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-09-08 18:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873539000,"timestamp_ms":1788873539000,"timestamp_seconds":1788873539,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bfdb8"} 
[2026-09-08 18:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-08 18:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951620608001,"66":12874,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951620608001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:50:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951620608001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":174691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:50:38] local.INFO: GPS data processed {"connection_id":174691,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:50:38] local.INFO: Acknowledgment sent {"connection_id":174691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:50:41] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:50:41] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:50:41] local.INFO: IMEI packet received {"connection_id":174692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":174692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:50:46] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:50:46] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:50:46] local.INFO: IMEI packet received {"connection_id":174692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":174692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:50:47] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:50:47] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:50:47] local.INFO: Packet analysis {"connection_id":174692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:47] local.INFO: Extracted packet for processing {"connection_id":174692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:50:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":174692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:50:47] local.INFO: GPS data processed {"connection_id":174692,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:50:47] local.INFO: Acknowledgment sent {"connection_id":174692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:51:00] local.INFO: TCP Data received {"connection_id":176035,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:00] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:00] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:51:01] local.INFO: TCP Data received {"connection_id":176035,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:01] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:01] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:51:05] local.INFO: TCP Data received {"connection_id":176035,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:05] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:51:05] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:51:06] local.INFO: TCP Data received {"connection_id":176035,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812c4fc0012d19ce00072019600030014b2d..."} 
[2026-09-08 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812c4fc0012d19ce00072019600030014b2d..."} 
[2026-09-08 18:51:06] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812c4fc0012d19ce00072019600030014b2d..."} 
[2026-09-08 18:51:06] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812c"} 
[2026-09-08 18:51:06] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812c"} 
[2026-09-08 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":45,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951625984001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:06] 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-09-08 18:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873560000,"timestamp_ms":1788873560000,"timestamp_seconds":1788873560,"priority":1,"record_length":96,"hex_timestamp":"000001a0812c4fc0"} 
[2026-09-08 18:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-08 18:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951625984001,"66":12841,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951625984001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951625984001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:51:06] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:51:06] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:51:19] local.INFO: TCP Data received {"connection_id":174692,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:19] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:19] local.INFO: Packet analysis {"connection_id":174692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:51:19] local.INFO: Extracted packet for processing {"connection_id":174692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:51:19] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":174692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:51:19] local.INFO: GPS data processed {"connection_id":174692,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:51:19] local.INFO: Acknowledgment sent {"connection_id":174692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:51:38] local.INFO: TCP Data received {"connection_id":176035,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812ca1c8012d19ce00072019600030014b2c..."} 
[2026-09-08 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812ca1c8012d19ce00072019600030014b2c..."} 
[2026-09-08 18:51:38] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812ca1c8012d19ce00072019600030014b2c..."} 
[2026-09-08 18:51:38] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812c"} 
[2026-09-08 18:51:38] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812c"} 
[2026-09-08 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951631360001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51: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-09-08 18:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873581000,"timestamp_ms":1788873581000,"timestamp_seconds":1788873581,"priority":1,"record_length":96,"hex_timestamp":"000001a0812ca1c8"} 
[2026-09-08 18:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 18:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951631360001,"66":12841,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951631360001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:51:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951631360001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:51:38] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:51:38] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:51:46] local.INFO: TCP Data received {"connection_id":177505,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:51:46] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:51:46] local.INFO: IMEI packet received {"connection_id":177505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":177505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:51:48] local.INFO: TCP Data received {"connection_id":176036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:51:48] local.INFO: Processing buffer {"connection_id":176036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:51:48] local.INFO: IMEI packet received {"connection_id":176036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":176036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:51:52] local.INFO: TCP Data received {"connection_id":177505,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:51:52] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:51:52] local.INFO: IMEI packet received {"connection_id":177505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":177505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:51:53] local.INFO: TCP Data received {"connection_id":177505,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:53] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:53] local.INFO: Packet analysis {"connection_id":177505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:51:53] local.INFO: Extracted packet for processing {"connection_id":177505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:51:53] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:51:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":177505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:51:53] local.INFO: GPS data processed {"connection_id":177505,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:51:53] local.INFO: Acknowledgment sent {"connection_id":177505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:51:57] local.INFO: TCP Data received {"connection_id":177505,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:57] local.INFO: Processing buffer {"connection_id":177505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:51:57] local.INFO: Packet analysis {"connection_id":177505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:51:57] local.INFO: Extracted packet for processing {"connection_id":177505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:51:57] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:51:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:51:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":177505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:51:57] local.INFO: GPS data processed {"connection_id":177505,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:51:57] local.INFO: Acknowledgment sent {"connection_id":177505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:52:00] local.INFO: TCP Data received {"connection_id":176037,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:52:00] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:52:00] local.INFO: IMEI packet received {"connection_id":176037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":176037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:52:04] local.INFO: TCP Data received {"connection_id":176037,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:52:04] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:52:04] local.INFO: IMEI packet received {"connection_id":176037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":176037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:52:06] local.INFO: TCP Data received {"connection_id":176037,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812cf3d0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812cf3d0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:52:06] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812cf3d0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:52:06] local.INFO: Packet analysis {"connection_id":176037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812c"} 
[2026-09-08 18:52:06] local.INFO: Extracted packet for processing {"connection_id":176037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812c"} 
[2026-09-08 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951636736001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:06] 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-09-08 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873602000,"timestamp_ms":1788873602000,"timestamp_seconds":1788873602,"priority":1,"record_length":96,"hex_timestamp":"000001a0812cf3d0"} 
[2026-09-08 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 18:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951636736001,"66":12798,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951636736001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:52:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951636736001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":176037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:52:06] local.INFO: GPS data processed {"connection_id":176037,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:52:06] local.INFO: Acknowledgment sent {"connection_id":176037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:52:37] local.INFO: TCP Data received {"connection_id":176037,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812d45d8012d19ce00072019600030014b28..."} 
[2026-09-08 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812d45d8012d19ce00072019600030014b28..."} 
[2026-09-08 18:52:37] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812d45d8012d19ce00072019600030014b28..."} 
[2026-09-08 18:52:37] local.INFO: Packet analysis {"connection_id":176037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812d"} 
[2026-09-08 18:52:37] local.INFO: Extracted packet for processing {"connection_id":176037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812d"} 
[2026-09-08 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951642112001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52: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-09-08 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788873623000,"timestamp_ms":1788873623000,"timestamp_seconds":1788873623,"priority":1,"record_length":96,"hex_timestamp":"000001a0812d45d8"} 
[2026-09-08 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 18:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951642112001,"66":11961,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951642112001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951642112001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":176037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:52:37] local.INFO: GPS data processed {"connection_id":176037,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:52:37] local.INFO: Acknowledgment sent {"connection_id":176037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:52:41] local.INFO: TCP Data received {"connection_id":176038,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:52:41] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:52:41] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:52:46] local.INFO: TCP Data received {"connection_id":176038,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:52:46] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:52:46] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:52:47] local.INFO: TCP Data received {"connection_id":176038,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:52:47] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:52:47] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:52:47] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:52:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:52:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:52:47] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:52:47] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:53:00] local.INFO: TCP Data received {"connection_id":176039,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:53:00] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:53:00] local.INFO: IMEI packet received {"connection_id":176039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":176039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:53:05] local.INFO: TCP Data received {"connection_id":176039,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:53:05] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:53:05] local.INFO: IMEI packet received {"connection_id":176039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":176039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:53:07] local.INFO: TCP Data received {"connection_id":176039,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812d97e0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812d97e0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:53:07] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812d97e0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:53:07] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812d"} 
[2026-09-08 18:53:07] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812d"} 
[2026-09-08 18:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951647488001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53: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-09-08 18:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788873644000,"timestamp_ms":1788873644000,"timestamp_seconds":1788873644,"priority":1,"record_length":96,"hex_timestamp":"000001a0812d97e0"} 
[2026-09-08 18:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 18:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951647488001,"66":12776,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951647488001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:53:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951647488001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:53:07] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:53:07] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:53:19] local.INFO: TCP Data received {"connection_id":176038,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:53:19] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:53:19] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:53:19] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:53:19] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:53:19] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:53:19] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:53:39] local.INFO: TCP Data received {"connection_id":176039,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812de9e8012d19ce00072019600030014b29..."} 
[2026-09-08 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812de9e8012d19ce00072019600030014b29..."} 
[2026-09-08 18:53:39] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812de9e8012d19ce00072019600030014b29..."} 
[2026-09-08 18:53:39] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812d"} 
[2026-09-08 18:53:39] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812d"} 
[2026-09-08 18:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951652864001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53: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-09-08 18:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788873665000,"timestamp_ms":1788873665000,"timestamp_seconds":1788873665,"priority":1,"record_length":96,"hex_timestamp":"000001a0812de9e8"} 
[2026-09-08 18:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 18:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951652864001,"66":12722,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951652864001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:53:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951652864001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:53:39] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:53:39] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:53:41] local.INFO: TCP Data received {"connection_id":177506,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:53:41] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:53:41] local.INFO: IMEI packet received {"connection_id":177506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":177506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:53:43] local.INFO: TCP Data received {"connection_id":174694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:53:43] local.INFO: Processing buffer {"connection_id":174694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:53:43] local.INFO: IMEI packet received {"connection_id":174694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":174694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:53:46] local.INFO: TCP Data received {"connection_id":177506,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:53:46] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:53:46] local.INFO: IMEI packet received {"connection_id":177506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":177506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:53:47] local.INFO: TCP Data received {"connection_id":177506,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:53:47] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:53:47] local.INFO: Packet analysis {"connection_id":177506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:53:47] local.INFO: Extracted packet for processing {"connection_id":177506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 18:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:53:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":177506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:53:47] local.INFO: GPS data processed {"connection_id":177506,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:53:47] local.INFO: Acknowledgment sent {"connection_id":177506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:54:05] local.INFO: TCP Data received {"connection_id":174973,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:54:05] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:54:05] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:54:11] local.INFO: TCP Data received {"connection_id":174973,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:54:11] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:54:11] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:54:13] local.INFO: TCP Data received {"connection_id":174973,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812e3bf0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812e3bf0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:54:13] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812e3bf0012d19ce00072019600030014b2a..."} 
[2026-09-08 18:54:13] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812e"} 
[2026-09-08 18:54:13] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812e"} 
[2026-09-08 18:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951658240001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54: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-09-08 18:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788873686000,"timestamp_ms":1788873686000,"timestamp_seconds":1788873686,"priority":1,"record_length":96,"hex_timestamp":"000001a0812e3bf0"} 
[2026-09-08 18:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 18:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951658240001,"66":12711,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951658240001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:54:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:54:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951658240001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:54:13] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:54:13] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:54:14] local.INFO: TCP Data received {"connection_id":174973,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812e8df8012d19ce00072019600030014b29..."} 
[2026-09-08 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812e8df8012d19ce00072019600030014b29..."} 
[2026-09-08 18:54:14] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812e8df8012d19ce00072019600030014b29..."} 
[2026-09-08 18:54:14] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812e"} 
[2026-09-08 18:54:14] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812e"} 
[2026-09-08 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951663616001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54: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-09-08 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788873707000,"timestamp_ms":1788873707000,"timestamp_seconds":1788873707,"priority":1,"record_length":96,"hex_timestamp":"000001a0812e8df8"} 
[2026-09-08 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 18:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951663616001,"66":12711,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951663616001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951663616001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:54:14] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:54:14] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:54:19] local.INFO: TCP Data received {"connection_id":177506,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:54:19] local.INFO: Processing buffer {"connection_id":177506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812bd6a8012d38e18006a915e8000901262c..."} 
[2026-09-08 18:54:19] local.INFO: Packet analysis {"connection_id":177506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:54:19] local.INFO: Extracted packet for processing {"connection_id":177506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951545600001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109323582348548096,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788873529000,"timestamp_ms":1788873529000,"timestamp_seconds":1788873529,"priority":1,"record_length":96,"hex_timestamp":"000001a0812bd6a8"} 
[2026-09-08 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-09-08 18:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 18:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951545600001,"66":26484,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4109323582348548096},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951545600001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:54:19] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109323582348548096,"description":"Unknown IO ID 45"} 
[2026-09-08 18:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951545600001,"power":26484,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4109323582348548096}} 
[2026-09-08 18:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":177506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:54:19] local.INFO: GPS data processed {"connection_id":177506,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:54:19] local.INFO: Acknowledgment sent {"connection_id":177506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:54:41] local.INFO: TCP Data received {"connection_id":176041,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:54:41] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:54:41] local.INFO: IMEI packet received {"connection_id":176041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":176041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:54:45] local.INFO: TCP Data received {"connection_id":174973,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812ee000012d19ce00072019600030014b27..."} 
[2026-09-08 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812ee000012d19ce00072019600030014b27..."} 
[2026-09-08 18:54:45] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812ee000012d19ce00072019600030014b27..."} 
[2026-09-08 18:54:45] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812e"} 
[2026-09-08 18:54:45] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812e"} 
[2026-09-08 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951668992001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54: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-09-08 18:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788873728000,"timestamp_ms":1788873728000,"timestamp_seconds":1788873728,"priority":1,"record_length":96,"hex_timestamp":"000001a0812ee000"} 
[2026-09-08 18:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 18:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951668992001,"66":12689,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951668992001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951668992001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:54:45] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:54:45] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:54:46] local.INFO: TCP Data received {"connection_id":176041,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:54:46] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:54:46] local.INFO: IMEI packet received {"connection_id":176041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":176041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:54:48] local.INFO: TCP Data received {"connection_id":176041,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:54:48] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:54:48] local.INFO: Packet analysis {"connection_id":176041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:54:48] local.INFO: Extracted packet for processing {"connection_id":176041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951623424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788873830000,"timestamp_ms":1788873830000,"timestamp_seconds":1788873830,"priority":1,"record_length":96,"hex_timestamp":"000001a081306e70"} 
[2026-09-08 18:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 18:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951623424001,"66":26169,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951623424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:54:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951623424001,"power":26169,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":176041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:54:48] local.INFO: GPS data processed {"connection_id":176041,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:54:48] local.INFO: Acknowledgment sent {"connection_id":176041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:55:00] local.INFO: TCP Data received {"connection_id":174976,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:55:00] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:55:00] local.INFO: IMEI packet received {"connection_id":174976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":174976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:55:05] local.INFO: TCP Data received {"connection_id":174976,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:55:05] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:55:05] local.INFO: IMEI packet received {"connection_id":174976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":174976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:55:07] local.INFO: TCP Data received {"connection_id":174976,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812f3208012d19ce00072019600030014b2a..."} 
[2026-09-08 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812f3208012d19ce00072019600030014b2a..."} 
[2026-09-08 18:55:07] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812f3208012d19ce00072019600030014b2a..."} 
[2026-09-08 18:55:07] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812f"} 
[2026-09-08 18:55:07] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812f"} 
[2026-09-08 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951674368001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55: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-09-08 18:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788873749000,"timestamp_ms":1788873749000,"timestamp_seconds":1788873749,"priority":1,"record_length":96,"hex_timestamp":"000001a0812f3208"} 
[2026-09-08 18:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 18:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951674368001,"66":12689,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951674368001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951674368001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:55:07] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:55:07] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:55:20] local.INFO: TCP Data received {"connection_id":176041,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:55:20] local.INFO: Processing buffer {"connection_id":176041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:55:20] local.INFO: Packet analysis {"connection_id":176041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:55:20] local.INFO: Extracted packet for processing {"connection_id":176041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951623424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788873830000,"timestamp_ms":1788873830000,"timestamp_seconds":1788873830,"priority":1,"record_length":96,"hex_timestamp":"000001a081306e70"} 
[2026-09-08 18:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 18:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951623424001,"66":26169,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951623424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:55:20] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951623424001,"power":26169,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":176041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:55:20] local.INFO: GPS data processed {"connection_id":176041,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:55:20] local.INFO: Acknowledgment sent {"connection_id":176041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:55:39] local.INFO: TCP Data received {"connection_id":174976,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812f8410012d19ce00072019600030014b2c..."} 
[2026-09-08 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812f8410012d19ce00072019600030014b2c..."} 
[2026-09-08 18:55:39] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812f8410012d19ce00072019600030014b2c..."} 
[2026-09-08 18:55:39] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812f"} 
[2026-09-08 18:55:39] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812f"} 
[2026-09-08 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951679744001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55: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-09-08 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788873770000,"timestamp_ms":1788873770000,"timestamp_seconds":1788873770,"priority":1,"record_length":96,"hex_timestamp":"000001a0812f8410"} 
[2026-09-08 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 18:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951679744001,"66":11678,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951679744001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:55:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951679744001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:55:39] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:55:39] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:55:41] local.INFO: TCP Data received {"connection_id":176042,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:55:41] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:55:41] local.INFO: IMEI packet received {"connection_id":176042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":176042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:55:46] local.INFO: TCP Data received {"connection_id":176042,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:55:46] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:55:46] local.INFO: IMEI packet received {"connection_id":176042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":176042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:55:48] local.INFO: TCP Data received {"connection_id":176042,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:55:48] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:55:48] local.INFO: Packet analysis {"connection_id":176042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:55:48] local.INFO: Extracted packet for processing {"connection_id":176042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951623424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788873830000,"timestamp_ms":1788873830000,"timestamp_seconds":1788873830,"priority":1,"record_length":96,"hex_timestamp":"000001a081306e70"} 
[2026-09-08 18:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 18:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951623424001,"66":26169,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951623424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:55:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951623424001,"power":26169,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":176042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:55:48] local.INFO: GPS data processed {"connection_id":176042,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:55:48] local.INFO: Acknowledgment sent {"connection_id":176042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:56:02] local.INFO: TCP Data received {"connection_id":176043,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:56:02] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:56:02] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:56:05] local.INFO: TCP Data received {"connection_id":176043,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:56:05] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:56:05] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:56:06] local.INFO: TCP Data received {"connection_id":176043,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0812fd618012d19ce00072019600030014b2a..."} 
[2026-09-08 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812fd618012d19ce00072019600030014b2a..."} 
[2026-09-08 18:56:06] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812fd618012d19ce00072019600030014b2a..."} 
[2026-09-08 18:56:06] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812f"} 
[2026-09-08 18:56:06] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812f"} 
[2026-09-08 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951685120001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:06] 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-09-08 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873791000,"timestamp_ms":1788873791000,"timestamp_seconds":1788873791,"priority":1,"record_length":96,"hex_timestamp":"000001a0812fd618"} 
[2026-09-08 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-08 18:56:06] 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-09-08 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951685120001,"66":12667,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951685120001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951685120001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:56:06] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:56:06] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:56:11] local.INFO: TCP Data received {"connection_id":176043,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081302820012d19ce00072019600030014b2c..."} 
[2026-09-08 18:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081302820012d19ce00072019600030014b2c..."} 
[2026-09-08 18:56:11] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081302820012d19ce00072019600030014b2c..."} 
[2026-09-08 18:56:11] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:11] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951690496001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56: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-09-08 18:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788873812000,"timestamp_ms":1788873812000,"timestamp_seconds":1788873812,"priority":1,"record_length":96,"hex_timestamp":"000001a081302820"} 
[2026-09-08 18:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 18:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951690496001,"66":12689,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951690496001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:56:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951690496001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:56:11] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:56:11] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:56:23] local.INFO: TCP Data received {"connection_id":176042,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:56:23] local.INFO: Processing buffer {"connection_id":176042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:56:23] local.INFO: Packet analysis {"connection_id":176042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:23] local.INFO: Extracted packet for processing {"connection_id":176042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951623424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788873830000,"timestamp_ms":1788873830000,"timestamp_seconds":1788873830,"priority":1,"record_length":96,"hex_timestamp":"000001a081306e70"} 
[2026-09-08 18:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 18:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951623424001,"66":26169,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951623424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:56:23] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:56:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951623424001,"power":26169,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":176042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:56:23] local.INFO: GPS data processed {"connection_id":176042,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:56:23] local.INFO: Acknowledgment sent {"connection_id":176042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:56:42] local.INFO: TCP Data received {"connection_id":174977,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:56:42] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:56:42] local.INFO: IMEI packet received {"connection_id":174977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":174977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:56:43] local.INFO: TCP Data received {"connection_id":176043,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081307a28012d19ce00072019600030014b29..."} 
[2026-09-08 18:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081307a28012d19ce00072019600030014b29..."} 
[2026-09-08 18:56:43] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081307a28012d19ce00072019600030014b29..."} 
[2026-09-08 18:56:43] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:43] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951695872001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:43] 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-09-08 18:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788873833000,"timestamp_ms":1788873833000,"timestamp_seconds":1788873833,"priority":1,"record_length":96,"hex_timestamp":"000001a081307a28"} 
[2026-09-08 18:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 18:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951695872001,"66":12667,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951695872001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:56:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951695872001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:56:43] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:56:43] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:56:46] local.INFO: TCP Data received {"connection_id":174977,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:56:46] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:56:46] local.INFO: IMEI packet received {"connection_id":174977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":174977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:56:48] local.INFO: TCP Data received {"connection_id":174977,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:56:48] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081306e70012d38e18006a915e8000901262e..."} 
[2026-09-08 18:56:48] local.INFO: Packet analysis {"connection_id":174977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:48] local.INFO: Extracted packet for processing {"connection_id":174977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951623424001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788873830000,"timestamp_ms":1788873830000,"timestamp_seconds":1788873830,"priority":1,"record_length":96,"hex_timestamp":"000001a081306e70"} 
[2026-09-08 18:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 18:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951623424001,"66":26169,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951623424001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:56:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:56:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951623424001,"power":26169,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":174977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:56:48] local.INFO: GPS data processed {"connection_id":174977,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:56:48] local.INFO: Acknowledgment sent {"connection_id":174977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:57:00] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:57:00] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:57:00] local.INFO: IMEI packet received {"connection_id":174696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":174696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:57:05] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:57:05] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:57:05] local.INFO: IMEI packet received {"connection_id":174696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":174696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:57:06] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08130cc30012d19ce00072019600030014b27..."} 
[2026-09-08 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08130cc30012d19ce00072019600030014b27..."} 
[2026-09-08 18:57:06] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08130cc30012d19ce00072019600030014b27..."} 
[2026-09-08 18:57:06] local.INFO: Packet analysis {"connection_id":174696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:57:06] local.INFO: Extracted packet for processing {"connection_id":174696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08130"} 
[2026-09-08 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951701248001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:06] 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-09-08 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873854000,"timestamp_ms":1788873854000,"timestamp_seconds":1788873854,"priority":1,"record_length":96,"hex_timestamp":"000001a08130cc30"} 
[2026-09-08 18:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 18:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951701248001,"66":12667,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951701248001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951701248001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":174696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:57:06] local.INFO: GPS data processed {"connection_id":174696,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:57:06] local.INFO: Acknowledgment sent {"connection_id":174696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:57:08] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:57:08] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:57:08] local.INFO: IMEI packet received {"connection_id":174697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":174697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:57:13] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:57:13] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:57:13] local.INFO: IMEI packet received {"connection_id":174697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":174697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:57:14] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0812b9c10012d7e37c005d34c98000100f12c..."} 
[2026-09-08 18:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0812b9c10012d7e37c005d34c98000100f12c..."} 
[2026-09-08 18:57:14] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0812b9c10012d7e37c005d34c98000100f12c..."} 
[2026-09-08 18:57:14] local.INFO: Packet analysis {"connection_id":174697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:57:14] local.INFO: Extracted packet for processing {"connection_id":174697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0812b"} 
[2026-09-08 18:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":44,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951542528001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788873514000,"timestamp_ms":1788873514000,"timestamp_seconds":1788873514,"priority":1,"record_length":96,"hex_timestamp":"000001a0812b9c10"} 
[2026-09-08 18:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951542528001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951542528001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:57:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951542528001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":174697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:57:14] local.INFO: GPS data processed {"connection_id":174697,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:57:14] local.INFO: Acknowledgment sent {"connection_id":174697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:57:20] local.INFO: TCP Data received {"connection_id":174977,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08132f2f8012d38e18006a915e8000901262d..."} 
[2026-09-08 18:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132f2f8012d38e18006a915e8000901262d..."} 
[2026-09-08 18:57:20] local.INFO: Processing buffer {"connection_id":174977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132f2f8012d38e18006a915e8000901262d..."} 
[2026-09-08 18:57:20] local.INFO: Packet analysis {"connection_id":174977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:57:20] local.INFO: Extracted packet for processing {"connection_id":174977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111744488,"longitude_deg":75.8702464,"latitude_deg":11.1744488,"altitude":9,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d38e180","hex_latitude":"06a915e8","is_valid_coordinates":true} 
[2026-09-08 18:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951700480001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788873995000,"timestamp_ms":1788873995000,"timestamp_seconds":1788873995,"priority":1,"record_length":96,"hex_timestamp":"000001a08132f2f8"} 
[2026-09-08 18:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-08 18:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951700480001,"66":26115,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951700480001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:57:20] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:57:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951700480001,"power":26115,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:57:20] local.INFO: GPS data processed {"connection_id":174977,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:57:20] local.INFO: Acknowledgment sent {"connection_id":174977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:57:36] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:36] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:36] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:57:37] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:37] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:37] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:57:38] local.INFO: TCP Data received {"connection_id":174696,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081311e38012d19ce00072019600030014b2a..."} 
[2026-09-08 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081311e38012d19ce00072019600030014b2a..."} 
[2026-09-08 18:57:38] local.INFO: Processing buffer {"connection_id":174696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081311e38012d19ce00072019600030014b2a..."} 
[2026-09-08 18:57:38] local.INFO: Packet analysis {"connection_id":174696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08131"} 
[2026-09-08 18:57:38] local.INFO: Extracted packet for processing {"connection_id":174696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08131"} 
[2026-09-08 18:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951706624001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57: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-09-08 18:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873875000,"timestamp_ms":1788873875000,"timestamp_seconds":1788873875,"priority":1,"record_length":96,"hex_timestamp":"000001a081311e38"} 
[2026-09-08 18:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 18:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951706624001,"66":12645,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951706624001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:57:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:57:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951706624001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":174696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:57:38] local.INFO: GPS data processed {"connection_id":174696,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:57:38] local.INFO: Acknowledgment sent {"connection_id":174696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:57:41] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:41] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:57:41] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:57:41] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813350b8012d38db8006a91ac0000901242e..."} 
[2026-09-08 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813350b8012d38db8006a91ac0000901242e..."} 
[2026-09-08 18:57:41] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813350b8012d38db8006a91ac0000901242e..."} 
[2026-09-08 18:57:41] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:57:41] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758700928,"raw_latitude":111745728,"longitude_deg":75.8700928,"latitude_deg":11.1745728,"altitude":9,"angle":292,"satellites":46,"speed":0,"hex_longitude":"2d38db80","hex_latitude":"06a91ac0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951742720001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697901978806272,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788874019000,"timestamp_ms":1788874019000,"timestamp_seconds":1788874019,"priority":1,"record_length":96,"hex_timestamp":"000001a0813350b8"} 
[2026-09-08 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-09-08 18:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-08 18:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951742720001,"66":26854,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4098697901978806272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951742720001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:57:42] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697901978806272,"description":"Unknown IO ID 45"} 
[2026-09-08 18:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951742720001,"power":26854,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4098697901978806272}} 
[2026-09-08 18:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:57:42] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:57:42] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:57:45] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:57:45] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:57:45] local.INFO: Packet analysis {"connection_id":174697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:57:45] local.INFO: Extracted packet for processing {"connection_id":174697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951619584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788873987000,"timestamp_ms":1788873987000,"timestamp_seconds":1788873987,"priority":1,"record_length":96,"hex_timestamp":"000001a08132d3b8"} 
[2026-09-08 18:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951619584001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951619584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951619584001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":174697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:57:45] local.INFO: GPS data processed {"connection_id":174697,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:57:45] local.INFO: Acknowledgment sent {"connection_id":174697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:00] local.INFO: TCP Data received {"connection_id":174978,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:00] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:00] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:58:01] local.INFO: TCP Data received {"connection_id":174978,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:01] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:01] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:58:05] local.INFO: TCP Data received {"connection_id":174978,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:05] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:58:05] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:58:06] local.INFO: TCP Data received {"connection_id":174978,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081317040012d19ce00072019600030014b26..."} 
[2026-09-08 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081317040012d19ce00072019600030014b26..."} 
[2026-09-08 18:58:06] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081317040012d19ce00072019600030014b26..."} 
[2026-09-08 18:58:06] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08131"} 
[2026-09-08 18:58:06] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08131"} 
[2026-09-08 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951712000001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:06] 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-09-08 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873896000,"timestamp_ms":1788873896000,"timestamp_seconds":1788873896,"priority":1,"record_length":96,"hex_timestamp":"000001a081317040"} 
[2026-09-08 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951712000001,"66":12645,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951712000001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951712000001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:06] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:06] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:08] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:58:08] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:58:08] local.INFO: IMEI packet received {"connection_id":177509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":177509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:58:13] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:58:13] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:58:13] local.INFO: IMEI packet received {"connection_id":177509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":177509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:58:13] local.INFO: TCP Data received {"connection_id":176046,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08133a2c0012d38db8006a91ac0000901242d..."} 
[2026-09-08 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08133a2c0012d38db8006a91ac0000901242d..."} 
[2026-09-08 18:58:13] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08133a2c0012d38db8006a91ac0000901242d..."} 
[2026-09-08 18:58:13] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:58:13] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758700928,"raw_latitude":111745728,"longitude_deg":75.8700928,"latitude_deg":11.1745728,"altitude":9,"angle":292,"satellites":45,"speed":0,"hex_longitude":"2d38db80","hex_latitude":"06a91ac0","is_valid_coordinates":true} 
[2026-09-08 18:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951748864001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096192696713216,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097009052118859776,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788874040000,"timestamp_ms":1788874040000,"timestamp_seconds":1788874040,"priority":1,"record_length":96,"hex_timestamp":"000001a08133a2c0"} 
[2026-09-08 18:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951748864001,"66":27343,"90":206,"28":21760,"24":0,"16":403096192696713216,"45":4097009052118859776},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951748864001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:13] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:58:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096192696713216,"km_value":403096192696713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097009052118859776,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951748864001,"power":27343,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4097009052118859776}} 
[2026-09-08 18:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:13] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:13] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:14] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:58:14] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:58:14] local.INFO: Packet analysis {"connection_id":177509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:58:14] local.INFO: Extracted packet for processing {"connection_id":177509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951619584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788873987000,"timestamp_ms":1788873987000,"timestamp_seconds":1788873987,"priority":1,"record_length":96,"hex_timestamp":"000001a08132d3b8"} 
[2026-09-08 18:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":177509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:58:14] 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-09-08 18:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951619584001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"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-09-08 18:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951619584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951619584001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":177509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:14] local.INFO: GPS data processed {"connection_id":177509,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:14] local.INFO: Acknowledgment sent {"connection_id":177509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:38] local.INFO: TCP Data received {"connection_id":174978,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08131c248012d19ce00072019600030014b2a..."} 
[2026-09-08 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08131c248012d19ce00072019600030014b2a..."} 
[2026-09-08 18:58:38] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08131c248012d19ce00072019600030014b2a..."} 
[2026-09-08 18:58:38] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08131"} 
[2026-09-08 18:58:38] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08131"} 
[2026-09-08 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951717376001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58: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-09-08 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788873917000,"timestamp_ms":1788873917000,"timestamp_seconds":1788873917,"priority":1,"record_length":96,"hex_timestamp":"000001a08131c248"} 
[2026-09-08 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951717376001,"66":12645,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951717376001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951717376001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:38] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:38] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:41] local.INFO: TCP Data received {"connection_id":174979,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:41] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:41] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:58:45] local.INFO: TCP Data received {"connection_id":177509,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:58:45] local.INFO: Processing buffer {"connection_id":177509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:58:45] local.INFO: Packet analysis {"connection_id":177509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:58:45] local.INFO: Extracted packet for processing {"connection_id":177509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951619584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788873987000,"timestamp_ms":1788873987000,"timestamp_seconds":1788873987,"priority":1,"record_length":96,"hex_timestamp":"000001a08132d3b8"} 
[2026-09-08 18:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":177509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":177509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:58:45] 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-09-08 18:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951619584001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"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-09-08 18:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951619584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951619584001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":177509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:45] local.INFO: GPS data processed {"connection_id":177509,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:45] local.INFO: Acknowledgment sent {"connection_id":177509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:46] local.INFO: TCP Data received {"connection_id":174979,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:46] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:46] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:58:46] local.INFO: TCP Data received {"connection_id":174979,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:46] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:58:46] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:58:47] local.INFO: TCP Data received {"connection_id":174979,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08133dd58012d38db8006a91a100010015830..."} 
[2026-09-08 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08133dd58012d38db8006a91a100010015830..."} 
[2026-09-08 18:58:47] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08133dd58012d38db8006a91a100010015830..."} 
[2026-09-08 18:58:47] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:58:47] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758700928,"raw_latitude":111745552,"longitude_deg":75.8700928,"latitude_deg":11.1745552,"altitude":16,"angle":344,"satellites":48,"speed":1,"hex_longitude":"2d38db80","hex_latitude":"06a91a10","is_valid_coordinates":true} 
[2026-09-08 18:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951754240001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096201286647808,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097009052118859776,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874055000,"timestamp_ms":1788874055000,"timestamp_seconds":1788874055,"priority":1,"record_length":96,"hex_timestamp":"000001a08133dd58"} 
[2026-09-08 18:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951754240001,"66":27310,"90":206,"28":21760,"24":1,"16":403096201286647808,"45":4097009052118859776},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951754240001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096201286647808,"km_value":403096201286647.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097009052118859776,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951754240001,"power":27310,"unknown_90":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":4097009052118859776}} 
[2026-09-08 18:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:47] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:47] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:58:48] local.INFO: TCP Data received {"connection_id":174979,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08133f0e0012d38db4006a91b280011016430..."} 
[2026-09-08 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08133f0e0012d38db4006a91b280011016430..."} 
[2026-09-08 18:58:48] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08133f0e0012d38db4006a91b280011016430..."} 
[2026-09-08 18:58:48] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:58:48] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758700864,"raw_latitude":111745832,"longitude_deg":75.8700864,"latitude_deg":11.1745832,"altitude":17,"angle":356,"satellites":48,"speed":3,"hex_longitude":"2d38db40","hex_latitude":"06a91b28","is_valid_coordinates":true} 
[2026-09-08 18:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951758080001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096214171549696,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097009052118814720,"note":"Value kept but may cause issues"} 
[2026-09-08 18:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874060000,"timestamp_ms":1788874060000,"timestamp_seconds":1788874060,"priority":1,"record_length":96,"hex_timestamp":"000001a08133f0e0"} 
[2026-09-08 18:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-08 18:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951758080001,"66":27321,"90":206,"28":21760,"24":3,"16":403096214171549696,"45":4097009052118814720},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951758080001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:58:48] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:58:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096214171549696,"km_value":403096214171549.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097009052118814720,"description":"Unknown IO ID 45"} 
[2026-09-08 18:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951758080001,"power":27321,"unknown_90":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":4097009052118814720}} 
[2026-09-08 18:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:58:49] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:58:49] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:04] local.INFO: TCP Data received {"connection_id":177510,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:04] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:04] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:59:05] local.INFO: TCP Data received {"connection_id":177510,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:05] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:05] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:59:08] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:59:08] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:59:08] local.INFO: IMEI packet received {"connection_id":177511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-08 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":177511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:59:08] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:59:08] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 18:59:08] local.INFO: IMEI packet received {"connection_id":174698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":174698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:59:10] local.INFO: TCP Data received {"connection_id":177510,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:10] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 18:59:10] local.INFO: IMEI packet received {"connection_id":177510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":177510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:59:11] local.INFO: TCP Data received {"connection_id":177510,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081321450012d19ce00072019600030014b2a..."} 
[2026-09-08 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081321450012d19ce00072019600030014b2a..."} 
[2026-09-08 18:59:11] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081321450012d19ce00072019600030014b2a..."} 
[2026-09-08 18:59:11] local.INFO: Packet analysis {"connection_id":177510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:11] local.INFO: Extracted packet for processing {"connection_id":177510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951722752001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59: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-09-08 18:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788873938000,"timestamp_ms":1788873938000,"timestamp_seconds":1788873938,"priority":1,"record_length":96,"hex_timestamp":"000001a081321450"} 
[2026-09-08 18:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951722752001,"66":12613,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951722752001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951722752001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":177510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:11] local.INFO: GPS data processed {"connection_id":177510,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:11] local.INFO: Acknowledgment sent {"connection_id":177510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:13] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:59:13] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-08 18:59:13] local.INFO: IMEI packet received {"connection_id":177511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-08 18:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":177511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:59:15] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:59:15] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:59:15] local.INFO: Packet analysis {"connection_id":177511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:15] local.INFO: Extracted packet for processing {"connection_id":177511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 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-09-08 18:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951619584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788873987000,"timestamp_ms":1788873987000,"timestamp_seconds":1788873987,"priority":1,"record_length":96,"hex_timestamp":"000001a08132d3b8"} 
[2026-09-08 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-09-08 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 18:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":177511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":177511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":177511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951619584001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951619584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951619584001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":177511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:15] local.INFO: GPS data processed {"connection_id":177511,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:15] local.INFO: Acknowledgment sent {"connection_id":177511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:17] local.INFO: TCP Data received {"connection_id":177510,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081326658012d19ce00072019600030014b2a..."} 
[2026-09-08 18:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081326658012d19ce00072019600030014b2a..."} 
[2026-09-08 18:59:17] local.INFO: Processing buffer {"connection_id":177510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081326658012d19ce00072019600030014b2a..."} 
[2026-09-08 18:59:17] local.INFO: Packet analysis {"connection_id":177510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:17] local.INFO: Extracted packet for processing {"connection_id":177510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 18: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-09-08 18:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951728128001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59: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-09-08 18:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788873959000,"timestamp_ms":1788873959000,"timestamp_seconds":1788873959,"priority":1,"record_length":96,"hex_timestamp":"000001a081326658"} 
[2026-09-08 18:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18: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-09-08 18:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 18:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 18:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 18:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951728128001,"66":12613,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 18:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 18:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 18:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951728128001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 18:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 18:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951728128001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 18:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":177510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:17] local.INFO: GPS data processed {"connection_id":177510,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:17] local.INFO: Acknowledgment sent {"connection_id":177510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:20] local.INFO: TCP Data received {"connection_id":174979,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08133fc98012d38db4006a91c100010015330..."} 
[2026-09-08 18:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08133fc98012d38db4006a91c100010015330..."} 
[2026-09-08 18:59:20] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08133fc98012d38db4006a91c100010015330..."} 
[2026-09-08 18:59:20] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:59:20] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 18:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758700864,"raw_latitude":111746064,"longitude_deg":75.8700864,"latitude_deg":11.1746064,"altitude":16,"angle":339,"satellites":48,"speed":3,"hex_longitude":"2d38db40","hex_latitude":"06a91c10","is_valid_coordinates":true} 
[2026-09-08 18:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951759360001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096231351418880,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4096938683374708736,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788874063000,"timestamp_ms":1788874063000,"timestamp_seconds":1788874063,"priority":1,"record_length":96,"hex_timestamp":"000001a08133fc98"} 
[2026-09-08 18:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951759360001,"66":27321,"90":206,"28":21760,"24":3,"16":403096231351418880,"45":4096938683374708736},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951759360001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:20] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096231351418880,"km_value":403096231351418.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4096938683374708736,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951759360001,"power":27321,"unknown_90":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":4096938683374708736}} 
[2026-09-08 18:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:20] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:20] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:43] local.INFO: TCP Data received {"connection_id":176047,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:43] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:43] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 18:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 18:59:47] local.INFO: TCP Data received {"connection_id":176047,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:47] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:47] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:59:47] local.INFO: TCP Data received {"connection_id":177511,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:59:47] local.INFO: Processing buffer {"connection_id":177511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132d3b8012d7e37c005d34c98000100f12b..."} 
[2026-09-08 18:59:47] local.INFO: Packet analysis {"connection_id":177511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:47] local.INFO: Extracted packet for processing {"connection_id":177511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":1,"angle":241,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-08 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951619584001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130082018091335680,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788873987000,"timestamp_ms":1788873987000,"timestamp_seconds":1788873987,"priority":1,"record_length":96,"hex_timestamp":"000001a08132d3b8"} 
[2026-09-08 18:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-08 18:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-08 18:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-08 18:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951619584001,"66":2209,"109":206,"85":15104,"24":0,"16":130082018091335680,"45":9094949103750387712},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-08 18:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-08 18:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-08 18:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951619584001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 18:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-08 18:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130082018091335680,"km_value":130082018091335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951619584001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-08 18:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":177511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:47] local.INFO: GPS data processed {"connection_id":177511,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:47] local.INFO: Acknowledgment sent {"connection_id":177511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:51] local.INFO: TCP Data received {"connection_id":176047,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:51] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 18:59:51] local.INFO: IMEI packet received {"connection_id":176047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 18:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":176047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 18:59:52] local.INFO: TCP Data received {"connection_id":176047,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081340080012d38db4006a91c680010013e2f..."} 
[2026-09-08 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081340080012d38db4006a91c680010013e2f..."} 
[2026-09-08 18:59:52] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081340080012d38db4006a91c680010013e2f..."} 
[2026-09-08 18:59:52] local.INFO: Packet analysis {"connection_id":176047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 18:59:52] local.INFO: Extracted packet for processing {"connection_id":176047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758700864,"raw_latitude":111746152,"longitude_deg":75.8700864,"latitude_deg":11.1746152,"altitude":16,"angle":318,"satellites":47,"speed":5,"hex_longitude":"2d38db40","hex_latitude":"06a91c68","is_valid_coordinates":true} 
[2026-09-08 18:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951760128001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096235646386176,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4096938683374768128,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788874064000,"timestamp_ms":1788874064000,"timestamp_seconds":1788874064,"priority":1,"record_length":96,"hex_timestamp":"000001a081340080"} 
[2026-09-08 18:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951760128001,"66":27310,"90":206,"28":21760,"24":5,"16":403096235646386176,"45":4096938683374768128},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951760128001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:52] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:59:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096235646386176,"km_value":403096235646386.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4096938683374768128,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951760128001,"power":27310,"unknown_90":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":4096938683374768128}} 
[2026-09-08 18:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":176047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:52] local.INFO: GPS data processed {"connection_id":176047,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:52] local.INFO: Acknowledgment sent {"connection_id":176047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 18:59:55] local.INFO: TCP Data received {"connection_id":176047,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081340468012d38dac006a91cc80010012b30..."} 
[2026-09-08 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081340468012d38dac006a91cc80010012b30..."} 
[2026-09-08 18:59:55] local.INFO: Processing buffer {"connection_id":176047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081340468012d38dac006a91cc80010012b30..."} 
[2026-09-08 18:59:55] local.INFO: Packet analysis {"connection_id":176047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 18:59:55] local.INFO: Extracted packet for processing {"connection_id":176047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758700736,"raw_latitude":111746248,"longitude_deg":75.8700736,"latitude_deg":11.1746248,"altitude":16,"angle":299,"satellites":48,"speed":8,"hex_longitude":"2d38dac0","hex_latitude":"06a91cc8","is_valid_coordinates":true} 
[2026-09-08 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 18:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951760384001,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096244236320768,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4096938683374790656,"note":"Value kept but may cause issues"} 
[2026-09-08 18:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 18:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788874065000,"timestamp_ms":1788874065000,"timestamp_seconds":1788874065,"priority":1,"record_length":96,"hex_timestamp":"000001a081340468"} 
[2026-09-08 18:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-08 18:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 18:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 18:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 18:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 18:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 18:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 18:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 18:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 18:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 18:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951760384001,"66":27310,"90":206,"28":21760,"24":8,"16":403096244236320768,"45":4096938683374790656},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-09-08 18:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 18:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 18:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951760384001,"description":"Unknown IO ID 0"} 
[2026-09-08 18:59:55] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-08 18:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 18:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096244236320768,"km_value":403096244236320.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 18:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4096938683374790656,"description":"Unknown IO ID 45"} 
[2026-09-08 18:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951760384001,"power":27310,"unknown_90":206,"unknown_28":21760,"ignition":8,"odometer":null,"unknown_45":4096938683374790656}} 
[2026-09-08 18:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":176047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 18:59:55] local.INFO: GPS data processed {"connection_id":176047,"processed":1,"errors":0,"total":1} 
[2026-09-08 18:59:55] local.INFO: Acknowledgment sent {"connection_id":176047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:00:00] local.INFO: TCP Data received {"connection_id":174980,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:00:00] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:00:00] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:00:05] local.INFO: TCP Data received {"connection_id":174980,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:00:05] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:00:05] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:00:06] local.INFO: TCP Data received {"connection_id":174980,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08132b860012d19ce00072019600030014b2a..."} 
[2026-09-08 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08132b860012d19ce00072019600030014b2a..."} 
[2026-09-08 19:00:06] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08132b860012d19ce00072019600030014b2a..."} 
[2026-09-08 19:00:06] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 19:00:06] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08132"} 
[2026-09-08 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951733504001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:06] 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-09-08 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788873980000,"timestamp_ms":1788873980000,"timestamp_seconds":1788873980,"priority":1,"record_length":96,"hex_timestamp":"000001a08132b860"} 
[2026-09-08 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-08 19:00: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-09-08 19:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951733504001,"66":12591,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951733504001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951733504001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:00:06] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:00:06] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:00:38] local.INFO: TCP Data received {"connection_id":174980,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081330a68012d19ce00072019600030014b2a..."} 
[2026-09-08 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081330a68012d19ce00072019600030014b2a..."} 
[2026-09-08 19:00:38] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081330a68012d19ce00072019600030014b2a..."} 
[2026-09-08 19:00:38] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 19:00:38] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951738880001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00: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-09-08 19:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788874001000,"timestamp_ms":1788874001000,"timestamp_seconds":1788874001,"priority":1,"record_length":96,"hex_timestamp":"000001a081330a68"} 
[2026-09-08 19:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 19:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951738880001,"66":12558,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951738880001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951738880001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:00:39] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:00:39] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:00:41] local.INFO: TCP Data received {"connection_id":174700,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:00:41] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:00:41] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:00:46] local.INFO: TCP Data received {"connection_id":174700,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:00:46] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:00:46] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:00:47] local.INFO: TCP Data received {"connection_id":174700,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081343348012d38c80006a92948000d013730..."} 
[2026-09-08 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081343348012d38c80006a92948000d013730..."} 
[2026-09-08 19:00:47] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081343348012d38c80006a92948000d013730..."} 
[2026-09-08 19:00:47] local.INFO: Packet analysis {"connection_id":174700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:00:47] local.INFO: Extracted packet for processing {"connection_id":174700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758695936,"raw_latitude":111749448,"longitude_deg":75.8695936,"latitude_deg":11.1749448,"altitude":13,"angle":311,"satellites":48,"speed":26,"hex_longitude":"2d38c800","hex_latitude":"06a92948","is_valid_coordinates":true} 
[2026-09-08 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951760640001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403096519114227712,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4096797945886459904,"note":"Value kept but may cause issues"} 
[2026-09-08 19:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874077000,"timestamp_ms":1788874077000,"timestamp_seconds":1788874077,"priority":1,"record_length":96,"hex_timestamp":"000001a081343348"} 
[2026-09-08 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-08 19:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951760640001,"66":27463,"91":206,"28":21760,"24":26,"16":403096519114227712,"45":4096797945886459904},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951760640001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:00:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 19:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403096519114227712,"km_value":403096519114227.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4096797945886459904,"description":"Unknown IO ID 45"} 
[2026-09-08 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951760640001,"power":27463,"unknown_91":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":4096797945886459904}} 
[2026-09-08 19:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":174700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:00:48] local.INFO: GPS data processed {"connection_id":174700,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:00:48] local.INFO: Acknowledgment sent {"connection_id":174700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:01:01] local.INFO: TCP Data received {"connection_id":177512,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:01:01] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:01:01] local.INFO: IMEI packet received {"connection_id":177512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":177512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:01:05] local.INFO: TCP Data received {"connection_id":177512,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:01:05] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:01:05] local.INFO: IMEI packet received {"connection_id":177512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":177512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:01:07] local.INFO: TCP Data received {"connection_id":177512,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081335c70012d19ce00072019600030014b2a..."} 
[2026-09-08 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081335c70012d19ce00072019600030014b2a..."} 
[2026-09-08 19:01:07] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081335c70012d19ce00072019600030014b2a..."} 
[2026-09-08 19:01:07] local.INFO: Packet analysis {"connection_id":177512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 19:01:07] local.INFO: Extracted packet for processing {"connection_id":177512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951744256001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01: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-09-08 19:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874022000,"timestamp_ms":1788874022000,"timestamp_seconds":1788874022,"priority":1,"record_length":96,"hex_timestamp":"000001a081335c70"} 
[2026-09-08 19:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249855105639389536,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2167479864,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,1,160,184,45,25,48,42,10,66,102,20,240,69,129,32,4,113,205,112,206,96,38,239,49,2,67,7,231,93],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 19:01:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459128632557961216,"timestamp_seconds":3459128632557961.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 19:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951744256001,"66":12537,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951744256001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:01:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951744256001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":177512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:01:07] local.INFO: GPS data processed {"connection_id":177512,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:01:07] local.INFO: Acknowledgment sent {"connection_id":177512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:01:19] local.INFO: TCP Data received {"connection_id":174700,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813636e8012d37874006a98c98000c010729..."} 
[2026-09-08 19:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813636e8012d37874006a98c98000c010729..."} 
[2026-09-08 19:01:19] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813636e8012d37874006a98c98000c010729..."} 
[2026-09-08 19:01:19] local.INFO: Packet analysis {"connection_id":174700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:01:19] local.INFO: Extracted packet for processing {"connection_id":174700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758613824,"raw_latitude":111774872,"longitude_deg":75.8613824,"latitude_deg":11.1774872,"altitude":12,"angle":263,"satellites":41,"speed":40,"hex_longitude":"2d378740","hex_latitude":"06a98c98","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951794944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403100917160738816,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4012214715392460800,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874209000,"timestamp_ms":1788874209000,"timestamp_seconds":1788874209,"priority":1,"record_length":96,"hex_timestamp":"000001a0813636e8"} 
[2026-09-08 19:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 19:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951794944001,"66":27397,"91":206,"28":21760,"24":40,"16":403100917160738816,"45":4012214715392460800},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 19:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951794944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:01:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 19:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403100917160738816,"km_value":403100917160738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4012214715392460800,"description":"Unknown IO ID 45"} 
[2026-09-08 19:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951794944001,"power":27397,"unknown_91":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":4012214715392460800}} 
[2026-09-08 19:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":174700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:01:19] local.INFO: GPS data processed {"connection_id":174700,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:01:19] local.INFO: Acknowledgment sent {"connection_id":174700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:01:39] local.INFO: TCP Data received {"connection_id":177512,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08133ae78012d19ce00072019600030014b27..."} 
[2026-09-08 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08133ae78012d19ce00072019600030014b27..."} 
[2026-09-08 19:01:39] local.INFO: Processing buffer {"connection_id":177512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08133ae78012d19ce00072019600030014b27..."} 
[2026-09-08 19:01:39] local.INFO: Packet analysis {"connection_id":177512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 19:01:39] local.INFO: Extracted packet for processing {"connection_id":177512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08133"} 
[2026-09-08 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951749632001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01: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-09-08 19:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788874043000,"timestamp_ms":1788874043000,"timestamp_seconds":1788874043,"priority":1,"record_length":96,"hex_timestamp":"000001a08133ae78"} 
[2026-09-08 19:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-08 19:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951749632001,"66":12526,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951749632001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951749632001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":177512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:01:39] local.INFO: GPS data processed {"connection_id":177512,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:01:39] local.INFO: Acknowledgment sent {"connection_id":177512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:01:41] local.INFO: TCP Data received {"connection_id":174981,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:01:41] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:01:41] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:01:46] local.INFO: TCP Data received {"connection_id":174981,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:01:46] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:01:46] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:01:48] local.INFO: TCP Data received {"connection_id":174981,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081365df8012d37638006a989d0000c01112b..."} 
[2026-09-08 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081365df8012d37638006a989d0000c01112b..."} 
[2026-09-08 19:01:48] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081365df8012d37638006a989d0000c01112b..."} 
[2026-09-08 19:01:48] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:01:48] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758604672,"raw_latitude":111774160,"longitude_deg":75.8604672,"latitude_deg":11.177416,"altitude":12,"angle":273,"satellites":43,"speed":35,"hex_longitude":"2d376380","hex_latitude":"06a989d0","is_valid_coordinates":true} 
[2026-09-08 19:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951797504001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403101355247403008,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4001237191300519936,"note":"Value kept but may cause issues"} 
[2026-09-08 19:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874219000,"timestamp_ms":1788874219000,"timestamp_seconds":1788874219,"priority":1,"record_length":96,"hex_timestamp":"000001a081365df8"} 
[2026-09-08 19:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-08 19:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951797504001,"66":27376,"91":206,"28":21760,"24":35,"16":403101355247403008,"45":4001237191300519936},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 19:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951797504001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:01:48] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 19:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403101355247403008,"km_value":403101355247403.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4001237191300519936,"description":"Unknown IO ID 45"} 
[2026-09-08 19:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951797504001,"power":27376,"unknown_91":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":4001237191300519936}} 
[2026-09-08 19:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:01:48] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:01:48] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:02:00] local.INFO: TCP Data received {"connection_id":174702,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:02:00] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:02:00] local.INFO: IMEI packet received {"connection_id":174702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":174702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:02:05] local.INFO: TCP Data received {"connection_id":174702,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:02:05] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:02:05] local.INFO: IMEI packet received {"connection_id":174702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":174702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:02:07] local.INFO: TCP Data received {"connection_id":174702,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081340080012d19ce00072019600030014b28..."} 
[2026-09-08 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081340080012d19ce00072019600030014b28..."} 
[2026-09-08 19:02:07] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081340080012d19ce00072019600030014b28..."} 
[2026-09-08 19:02:07] local.INFO: Packet analysis {"connection_id":174702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:02:07] local.INFO: Extracted packet for processing {"connection_id":174702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951755008001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02: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-09-08 19:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874064000,"timestamp_ms":1788874064000,"timestamp_seconds":1788874064,"priority":1,"record_length":96,"hex_timestamp":"000001a081340080"} 
[2026-09-08 19:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 19:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951755008001,"66":12515,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951755008001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951755008001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":174702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:02:07] local.INFO: GPS data processed {"connection_id":174702,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:02:07] local.INFO: Acknowledgment sent {"connection_id":174702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:02:39] local.INFO: TCP Data received {"connection_id":174702,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081345288012d19ce00072019600030014b28..."} 
[2026-09-08 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081345288012d19ce00072019600030014b28..."} 
[2026-09-08 19:02:39] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081345288012d19ce00072019600030014b28..."} 
[2026-09-08 19:02:39] local.INFO: Packet analysis {"connection_id":174702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:02:39] local.INFO: Extracted packet for processing {"connection_id":174702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951760384001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02: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-09-08 19:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788874085000,"timestamp_ms":1788874085000,"timestamp_seconds":1788874085,"priority":1,"record_length":96,"hex_timestamp":"000001a081345288"} 
[2026-09-08 19:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-08 19:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951760384001,"66":12504,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951760384001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951760384001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":174702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:02:39] local.INFO: GPS data processed {"connection_id":174702,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:02:39] local.INFO: Acknowledgment sent {"connection_id":174702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:02:41] local.INFO: TCP Data received {"connection_id":174983,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:02:41] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:02:41] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:02:46] local.INFO: TCP Data received {"connection_id":174983,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:02:46] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:02:46] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:02:47] local.INFO: TCP Data received {"connection_id":174983,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081369890012d373ec006a98ed0000b01182c..."} 
[2026-09-08 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081369890012d373ec006a98ed0000b01182c..."} 
[2026-09-08 19:02:47] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081369890012d373ec006a98ed0000b01182c..."} 
[2026-09-08 19:02:47] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:02:47] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758595264,"raw_latitude":111775440,"longitude_deg":75.8595264,"latitude_deg":11.177544,"altitude":11,"angle":280,"satellites":44,"speed":21,"hex_longitude":"2d373ec0","hex_latitude":"06a98ed0","is_valid_coordinates":true} 
[2026-09-08 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951800064001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403101806218969088,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3991174460882931712,"note":"Value kept but may cause issues"} 
[2026-09-08 19:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874234000,"timestamp_ms":1788874234000,"timestamp_seconds":1788874234,"priority":1,"record_length":96,"hex_timestamp":"000001a081369890"} 
[2026-09-08 19:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-08 19:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951800064001,"66":27213,"91":206,"28":21760,"24":21,"16":403101806218969088,"45":3991174460882931712},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 19:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951800064001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:02:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 19:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403101806218969088,"km_value":403101806218969.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3991174460882931712,"description":"Unknown IO ID 45"} 
[2026-09-08 19:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951800064001,"power":27213,"unknown_91":206,"unknown_28":21760,"ignition":21,"odometer":null,"unknown_45":3991174460882931712}} 
[2026-09-08 19:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:02:47] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:02:47] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:03:00] local.INFO: TCP Data received {"connection_id":176048,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:03:00] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:03:00] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:03:05] local.INFO: TCP Data received {"connection_id":176048,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:03:05] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:03:05] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:03:06] local.INFO: TCP Data received {"connection_id":176048,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08134a490012d19ce00072019600030014b26..."} 
[2026-09-08 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08134a490012d19ce00072019600030014b26..."} 
[2026-09-08 19:03:06] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08134a490012d19ce00072019600030014b26..."} 
[2026-09-08 19:03:06] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:03:06] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08134"} 
[2026-09-08 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951765760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:06] 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-09-08 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788874106000,"timestamp_ms":1788874106000,"timestamp_seconds":1788874106,"priority":1,"record_length":96,"hex_timestamp":"000001a08134a490"} 
[2026-09-08 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 19:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951765760001,"66":12504,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951765760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951765760001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:03:06] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:03:06] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:03:19] local.INFO: TCP Data received {"connection_id":174983,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08136ea98012d37238006a993f8000b01172c..."} 
[2026-09-08 19:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08136ea98012d37238006a993f8000b01172c..."} 
[2026-09-08 19:03:19] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08136ea98012d37238006a993f8000b01172c..."} 
[2026-09-08 19:03:19] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:03:19] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08136"} 
[2026-09-08 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758588288,"raw_latitude":111776760,"longitude_deg":75.8588288,"latitude_deg":11.177676,"altitude":11,"angle":279,"satellites":44,"speed":20,"hex_longitude":"2d372380","hex_latitude":"06a993f8","is_valid_coordinates":true} 
[2026-09-08 19:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951803904001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403102145521385472,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3980830255489142784,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874255000,"timestamp_ms":1788874255000,"timestamp_seconds":1788874255,"priority":1,"record_length":96,"hex_timestamp":"000001a08136ea98"} 
[2026-09-08 19:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-08 19:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951803904001,"66":27343,"91":206,"28":21760,"24":20,"16":403102145521385472,"45":3980830255489142784},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 19:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951803904001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:03:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 19:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403102145521385472,"km_value":403102145521385.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3980830255489142784,"description":"Unknown IO ID 45"} 
[2026-09-08 19:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951803904001,"power":27343,"unknown_91":206,"unknown_28":21760,"ignition":20,"odometer":null,"unknown_45":3980830255489142784}} 
[2026-09-08 19:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:03:19] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:03:19] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:03:38] local.INFO: TCP Data received {"connection_id":176048,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081382ae8012d19ce00072019600030014b2b..."} 
[2026-09-08 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081382ae8012d19ce00072019600030014b2b..."} 
[2026-09-08 19:03:38] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081382ae8012d19ce00072019600030014b2b..."} 
[2026-09-08 19:03:38] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08138"} 
[2026-09-08 19:03:38] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08138"} 
[2026-09-08 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951824896001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03: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-09-08 19:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788874337000,"timestamp_ms":1788874337000,"timestamp_seconds":1788874337,"priority":1,"record_length":96,"hex_timestamp":"000001a081382ae8"} 
[2026-09-08 19:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 19:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951824896001,"66":12461,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951824896001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951824896001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:03:38] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:03:38] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:03:42] local.INFO: TCP Data received {"connection_id":177513,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:42] local.INFO: Processing buffer {"connection_id":177513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:42] local.INFO: IMEI packet received {"connection_id":177513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":177513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:03:46] local.INFO: TCP Data received {"connection_id":177513,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:46] local.INFO: Processing buffer {"connection_id":177513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:46] local.INFO: IMEI packet received {"connection_id":177513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":177513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:03:51] local.INFO: TCP Data received {"connection_id":177513,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:51] local.INFO: Processing buffer {"connection_id":177513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:03:51] local.INFO: IMEI packet received {"connection_id":177513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":177513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:03:52] local.INFO: TCP Data received {"connection_id":177513,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813738b8012d37004006a999f0000c01192b..."} 
[2026-09-08 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813738b8012d37004006a999f0000c01192b..."} 
[2026-09-08 19:03:52] local.INFO: Processing buffer {"connection_id":177513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813738b8012d37004006a999f0000c01192b..."} 
[2026-09-08 19:03:52] local.INFO: Packet analysis {"connection_id":177513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08137"} 
[2026-09-08 19:03:52] local.INFO: Extracted packet for processing {"connection_id":177513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08137"} 
[2026-09-08 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758579264,"raw_latitude":111778288,"longitude_deg":75.8579264,"latitude_deg":11.1778288,"altitude":12,"angle":281,"satellites":43,"speed":26,"hex_longitude":"2d370040","hex_latitude":"06a999f0","is_valid_coordinates":true} 
[2026-09-08 19:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951809280001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403102579313082368,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3973160062374115328,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788874275000,"timestamp_ms":1788874275000,"timestamp_seconds":1788874275,"priority":1,"record_length":96,"hex_timestamp":"000001a0813738b8"} 
[2026-09-08 19:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 19:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951809280001,"66":27245,"91":206,"28":21760,"24":26,"16":403102579313082368,"45":3973160062374115328},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-08 19:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951809280001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:03:52] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-08 19:03:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403102579313082368,"km_value":403102579313082.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3973160062374115328,"description":"Unknown IO ID 45"} 
[2026-09-08 19:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951809280001,"power":27245,"unknown_91":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":3973160062374115328}} 
[2026-09-08 19:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":177513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:03:52] local.INFO: GPS data processed {"connection_id":177513,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:03:52] local.INFO: Acknowledgment sent {"connection_id":177513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:03:54] local.INFO: TCP Data received {"connection_id":177513,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813763b0012d36ddc006a9a1d0000d011f2b..."} 
[2026-09-08 19:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813763b0012d36ddc006a9a1d0000d011f2b..."} 
[2026-09-08 19:03:54] local.INFO: Processing buffer {"connection_id":177513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813763b0012d36ddc006a9a1d0000d011f2b..."} 
[2026-09-08 19:03:54] local.INFO: Packet analysis {"connection_id":177513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08137"} 
[2026-09-08 19:03:54] local.INFO: Extracted packet for processing {"connection_id":177513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08137"} 
[2026-09-08 19:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758570432,"raw_latitude":111780304,"longitude_deg":75.8570432,"latitude_deg":11.1780304,"altitude":13,"angle":287,"satellites":43,"speed":34,"hex_longitude":"2d36ddc0","hex_latitude":"06a9a1d0","is_valid_coordinates":true} 
[2026-09-08 19:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951814400001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403103013104779264,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3963238069445455872,"note":"Value kept but may cause issues"} 
[2026-09-08 19:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788874286000,"timestamp_ms":1788874286000,"timestamp_seconds":1788874286,"priority":1,"record_length":96,"hex_timestamp":"000001a0813763b0"} 
[2026-09-08 19:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-08 19:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":177513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":177513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":177513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951814400001,"66":27321,"104":206,"28":21760,"24":34,"16":403103013104779264,"45":3963238069445455872},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-09-08 19:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951814400001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:03:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 19:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403103013104779264,"km_value":403103013104779.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3963238069445455872,"description":"Unknown IO ID 45"} 
[2026-09-08 19:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951814400001,"power":27321,"unknown_104":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":3963238069445455872}} 
[2026-09-08 19:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":177513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:03:54] local.INFO: GPS data processed {"connection_id":177513,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:03:54] local.INFO: Acknowledgment sent {"connection_id":177513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:04:00] local.INFO: TCP Data received {"connection_id":176049,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:04:00] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:04:00] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:04:05] local.INFO: TCP Data received {"connection_id":176049,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:04:05] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:04:05] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:04:06] local.INFO: TCP Data received {"connection_id":176049,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081387cf0012d19ce00072019600030014b2a..."} 
[2026-09-08 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081387cf0012d19ce00072019600030014b2a..."} 
[2026-09-08 19:04:06] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081387cf0012d19ce00072019600030014b2a..."} 
[2026-09-08 19:04:06] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08138"} 
[2026-09-08 19:04:06] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08138"} 
[2026-09-08 19:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951830272001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:06] 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-09-08 19:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788874358000,"timestamp_ms":1788874358000,"timestamp_seconds":1788874358,"priority":1,"record_length":96,"hex_timestamp":"000001a081387cf0"} 
[2026-09-08 19:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 19:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951830272001,"66":12461,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951830272001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:04:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951830272001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:04:07] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:04:07] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:04:26] local.INFO: TCP Data received {"connection_id":177513,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081390d78012d35a0c006aa2950000a01252b..."} 
[2026-09-08 19:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081390d78012d35a0c006aa2950000a01252b..."} 
[2026-09-08 19:04:26] local.INFO: Processing buffer {"connection_id":177513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081390d78012d35a0c006aa2950000a01252b..."} 
[2026-09-08 19:04:26] local.INFO: Packet analysis {"connection_id":177513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:04:26] local.INFO: Extracted packet for processing {"connection_id":177513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758489280,"raw_latitude":111814992,"longitude_deg":75.848928,"latitude_deg":11.1814992,"altitude":10,"angle":293,"satellites":43,"speed":32,"hex_longitude":"2d35a0c0","hex_latitude":"06aa2950","is_valid_coordinates":true} 
[2026-09-08 19:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951842304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403107260827435008,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3873658658115766272,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788874395000,"timestamp_ms":1788874395000,"timestamp_seconds":1788874395,"priority":1,"record_length":96,"hex_timestamp":"000001a081390d78"} 
[2026-09-08 19:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-08 19:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":177513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":177513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":177513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951842304001,"66":27180,"104":206,"28":21760,"24":32,"16":403107260827435008,"45":3873658658115766272},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-09-08 19:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951842304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:04:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 19:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403107260827435008,"km_value":403107260827435.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3873658658115766272,"description":"Unknown IO ID 45"} 
[2026-09-08 19:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951842304001,"power":27180,"unknown_104":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3873658658115766272}} 
[2026-09-08 19:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":177513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:04:26] local.INFO: GPS data processed {"connection_id":177513,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:04:26] local.INFO: Acknowledgment sent {"connection_id":177513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:04:38] local.INFO: TCP Data received {"connection_id":176049,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08138cef8012d19ce00072019600030014b29..."} 
[2026-09-08 19:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08138cef8012d19ce00072019600030014b29..."} 
[2026-09-08 19:04:38] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08138cef8012d19ce00072019600030014b29..."} 
[2026-09-08 19:04:38] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08138"} 
[2026-09-08 19:04:38] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08138"} 
[2026-09-08 19:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":48,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-08 19:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951835648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18860953743392768,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04: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-09-08 19:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788874379000,"timestamp_ms":1788874379000,"timestamp_seconds":1788874379,"priority":1,"record_length":96,"hex_timestamp":"000001a08138cef8"} 
[2026-09-08 19:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 19:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951835648001,"66":12461,"121":206,"28":31744,"24":0,"16":18860953743392768,"45":1859423726753898496},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951835648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:04:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18860953743392768,"km_value":18860953743392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-08 19:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951835648001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-08 19:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:04:38] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:04:38] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:04:41] local.INFO: TCP Data received {"connection_id":174985,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:04:41] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:04:41] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:04:43] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:04:43] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:04:43] local.INFO: IMEI packet received {"connection_id":174704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":174704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:04:46] local.INFO: TCP Data received {"connection_id":174985,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:04:46] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:04:46] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:04:47] local.INFO: TCP Data received {"connection_id":174985,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081394040012d357f4006aa3788000901262f..."} 
[2026-09-08 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081394040012d357f4006aa3788000901262f..."} 
[2026-09-08 19:04:47] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081394040012d357f4006aa3788000901262f..."} 
[2026-09-08 19:04:47] local.INFO: Packet analysis {"connection_id":174985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:04:47] local.INFO: Extracted packet for processing {"connection_id":174985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758480704,"raw_latitude":111818632,"longitude_deg":75.8480704,"latitude_deg":11.1818632,"altitude":9,"angle":294,"satellites":47,"speed":26,"hex_longitude":"2d357f40","hex_latitude":"06aa3788","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951845120001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403107707504033792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3864299615141056512,"note":"Value kept but may cause issues"} 
[2026-09-08 19:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874408000,"timestamp_ms":1788874408000,"timestamp_seconds":1788874408,"priority":1,"record_length":96,"hex_timestamp":"000001a081394040"} 
[2026-09-08 19:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-08 19:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951845120001,"66":26984,"104":206,"28":21760,"24":26,"16":403107707504033792,"45":3864299615141056512},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-09-08 19:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951845120001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:04:47] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-08 19:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403107707504033792,"km_value":403107707504033.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3864299615141056512,"description":"Unknown IO ID 45"} 
[2026-09-08 19:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951845120001,"power":26984,"unknown_104":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":3864299615141056512}} 
[2026-09-08 19:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":174985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:04:47] local.INFO: GPS data processed {"connection_id":174985,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:04:47] local.INFO: Acknowledgment sent {"connection_id":174985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:05:03] local.INFO: TCP Data received {"connection_id":174986,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:03] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:03] local.INFO: IMEI packet received {"connection_id":174986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":174986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:05:05] local.INFO: TCP Data received {"connection_id":174986,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:05] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:05] local.INFO: IMEI packet received {"connection_id":174986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":174986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:05:08] local.INFO: TCP Data received {"connection_id":174986,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:08] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:08] local.INFO: IMEI packet received {"connection_id":174986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":174986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:05:10] local.INFO: TCP Data received {"connection_id":174986,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08139f3f0012d19de0007200bf00032008a2a..."} 
[2026-09-08 19:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08139f3f0012d19de0007200bf00032008a2a..."} 
[2026-09-08 19:05:10] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08139f3f0012d19de0007200bf00032008a2a..."} 
[2026-09-08 19:05:10] local.INFO: Packet analysis {"connection_id":174986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:05:10] local.INFO: Extracted packet for processing {"connection_id":174986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:05:10] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119540720,"longitude_deg":75.6669952,"latitude_deg":11.954072,"altitude":50,"angle":138,"satellites":42,"speed":14,"hex_longitude":"2d19de00","hex_latitude":"07200bf0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 19:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951859456001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18861254391103488,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862660688985384960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:10] 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-09-08 19:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788874454000,"timestamp_ms":1788874454000,"timestamp_seconds":1788874454,"priority":1,"record_length":96,"hex_timestamp":"000001a08139f3f0"} 
[2026-09-08 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-09-08 19:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 19:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 19:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951859456001,"66":13428,"121":206,"28":31744,"24":14,"16":18861254391103488,"45":1862660688985384960},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951859456001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18861254391103488,"km_value":18861254391103.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862660688985384960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951859456001,"power":13428,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1862660688985384960}} 
[2026-09-08 19:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":174986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:05:10] local.INFO: GPS data processed {"connection_id":174986,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:05:10] local.INFO: Acknowledgment sent {"connection_id":174986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:05:19] local.INFO: TCP Data received {"connection_id":174985,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813982a8012d355d0006aa4638000a01262b..."} 
[2026-09-08 19:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813982a8012d355d0006aa4638000a01262b..."} 
[2026-09-08 19:05:19] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813982a8012d355d0006aa4638000a01262b..."} 
[2026-09-08 19:05:19] local.INFO: Packet analysis {"connection_id":174985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:05:19] local.INFO: Extracted packet for processing {"connection_id":174985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758471936,"raw_latitude":111822392,"longitude_deg":75.8471936,"latitude_deg":11.1822392,"altitude":10,"angle":294,"satellites":43,"speed":31,"hex_longitude":"2d355d00","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-09-08 19:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951848448001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403108162770567168,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3854870203422181376,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874425000,"timestamp_ms":1788874425000,"timestamp_seconds":1788874425,"priority":1,"record_length":96,"hex_timestamp":"000001a0813982a8"} 
[2026-09-08 19:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-08 19:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951848448001,"66":27343,"106":206,"28":21760,"24":31,"16":403108162770567168,"45":3854870203422181376},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951848448001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:05:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403108162770567168,"km_value":403108162770567.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3854870203422181376,"description":"Unknown IO ID 45"} 
[2026-09-08 19:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951848448001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":3854870203422181376}} 
[2026-09-08 19:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":174985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:05:19] local.INFO: GPS data processed {"connection_id":174985,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:05:19] local.INFO: Acknowledgment sent {"connection_id":174985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:05:41] local.INFO: TCP Data received {"connection_id":174986,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813a9418012d19a540071ff2380034011329..."} 
[2026-09-08 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813a9418012d19a540071ff2380034011329..."} 
[2026-09-08 19:05:41] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813a9418012d19a540071ff2380034011329..."} 
[2026-09-08 19:05:41] local.INFO: Packet analysis {"connection_id":174986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:05:41] local.INFO: Extracted packet for processing {"connection_id":174986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119534136,"longitude_deg":75.6655424,"latitude_deg":11.9534136,"altitude":52,"angle":275,"satellites":41,"speed":12,"hex_longitude":"2d19a540","hex_latitude":"071ff238","is_valid_coordinates":true} 
[2026-09-08 19:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951869952001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862126269464576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783868815360,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05: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-09-08 19:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788874495000,"timestamp_ms":1788874495000,"timestamp_seconds":1788874495,"priority":1,"record_length":96,"hex_timestamp":"000001a0813a9418"} 
[2026-09-08 19:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 19:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951869952001,"66":13124,"121":206,"28":31744,"24":12,"16":18862126269464576,"45":1848938783868815360},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951869952001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:05:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862126269464576,"km_value":18862126269464.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783868815360,"description":"Unknown IO ID 45"} 
[2026-09-08 19:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951869952001,"power":13124,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1848938783868815360}} 
[2026-09-08 19:05:41] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:05:41] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:05:41] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":174986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:05:41] local.INFO: GPS data processed {"connection_id":174986,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:05:41] local.INFO: Acknowledgment sent {"connection_id":174986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:05:46] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:05:46] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:05:46] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:05:48] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08139a9b8012d353bc006aa5450000c01242c..."} 
[2026-09-08 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08139a9b8012d353bc006aa5450000c01242c..."} 
[2026-09-08 19:05:48] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08139a9b8012d353bc006aa5450000c01242c..."} 
[2026-09-08 19:05:48] local.INFO: Packet analysis {"connection_id":174705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:05:48] local.INFO: Extracted packet for processing {"connection_id":174705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08139"} 
[2026-09-08 19:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758463424,"raw_latitude":111826000,"longitude_deg":75.8463424,"latitude_deg":11.1826,"altitude":12,"angle":292,"satellites":44,"speed":36,"hex_longitude":"2d353bc0","hex_latitude":"06aa5450","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951852800001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403108600857231360,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3845229685470803968,"note":"Value kept but may cause issues"} 
[2026-09-08 19:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874435000,"timestamp_ms":1788874435000,"timestamp_seconds":1788874435,"priority":1,"record_length":96,"hex_timestamp":"000001a08139a9b8"} 
[2026-09-08 19:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-08 19:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951852800001,"66":27343,"106":206,"28":21760,"24":36,"16":403108600857231360,"45":3845229685470803968},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951852800001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:05:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403108600857231360,"km_value":403108600857231.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3845229685470803968,"description":"Unknown IO ID 45"} 
[2026-09-08 19:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951852800001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":36,"odometer":null,"unknown_45":3845229685470803968}} 
[2026-09-08 19:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":174705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:05:48] local.INFO: GPS data processed {"connection_id":174705,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:05:48] local.INFO: Acknowledgment sent {"connection_id":174705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:05:59] local.INFO: TCP Data received {"connection_id":177514,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:59] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:05:59] local.INFO: IMEI packet received {"connection_id":177514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":177514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:06:00] local.INFO: TCP Data received {"connection_id":177514,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:00] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:00] local.INFO: IMEI packet received {"connection_id":177514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":177514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:06:01] local.INFO: TCP Data received {"connection_id":177514,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:01] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:01] local.INFO: IMEI packet received {"connection_id":177514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":177514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:06:05] local.INFO: TCP Data received {"connection_id":177514,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:05] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:06:05] local.INFO: IMEI packet received {"connection_id":177514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":177514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:06:06] local.INFO: TCP Data received {"connection_id":177514,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813a9be8012d19a3c0071ff1e0003500fc29..."} 
[2026-09-08 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813a9be8012d19a3c0071ff1e0003500fc29..."} 
[2026-09-08 19:06:06] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813a9be8012d19a3c0071ff1e0003500fc29..."} 
[2026-09-08 19:06:06] local.INFO: Packet analysis {"connection_id":177514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:06] local.INFO: Extracted packet for processing {"connection_id":177514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119534048,"longitude_deg":75.665504,"latitude_deg":11.9534048,"altitude":53,"angle":252,"satellites":41,"speed":8,"hex_longitude":"2d19a3c0","hex_latitude":"071ff1e0","is_valid_coordinates":true} 
[2026-09-08 19:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951870720001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862147744301056,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621450373120,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:06] 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-09-08 19:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788874497000,"timestamp_ms":1788874497000,"timestamp_seconds":1788874497,"priority":1,"record_length":96,"hex_timestamp":"000001a0813a9be8"} 
[2026-09-08 19:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951870720001,"66":13374,"121":206,"28":31744,"24":8,"16":18862147744301056,"45":1847953621450373120},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951870720001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:06:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862147744301056,"km_value":18862147744301.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621450373120,"description":"Unknown IO ID 45"} 
[2026-09-08 19:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951870720001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1847953621450373120}} 
[2026-09-08 19:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":177514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:06:06] local.INFO: GPS data processed {"connection_id":177514,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:06:06] local.INFO: Acknowledgment sent {"connection_id":177514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:06:19] local.INFO: TCP Data received {"connection_id":174705,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813aedf0012d34c54006aa5178000600b02e..."} 
[2026-09-08 19:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813aedf0012d34c54006aa5178000600b02e..."} 
[2026-09-08 19:06:19] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813aedf0012d34c54006aa5178000600b02e..."} 
[2026-09-08 19:06:19] local.INFO: Packet analysis {"connection_id":174705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:19] local.INFO: Extracted packet for processing {"connection_id":174705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825272,"longitude_deg":75.8433088,"latitude_deg":11.1825272,"altitude":6,"angle":176,"satellites":46,"speed":9,"hex_longitude":"2d34c540","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951876352001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110147045457920,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755768832,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874518000,"timestamp_ms":1788874518000,"timestamp_seconds":1788874518,"priority":1,"record_length":96,"hex_timestamp":"000001a0813aedf0"} 
[2026-09-08 19:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 19:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951876352001,"66":27245,"106":206,"28":21760,"24":9,"16":403110147045457920,"45":3802515857755768832},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951876352001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:06:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110147045457920,"km_value":403110147045457.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755768832,"description":"Unknown IO ID 45"} 
[2026-09-08 19:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951876352001,"power":27245,"unknown_106":206,"unknown_28":21760,"ignition":9,"odometer":null,"unknown_45":3802515857755768832}} 
[2026-09-08 19:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":174705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:06:19] local.INFO: GPS data processed {"connection_id":174705,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:06:19] local.INFO: Acknowledgment sent {"connection_id":174705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:06:38] local.INFO: TCP Data received {"connection_id":177514,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813aab88012d199f80071ff0400037011029..."} 
[2026-09-08 19:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813aab88012d199f80071ff0400037011029..."} 
[2026-09-08 19:06:38] local.INFO: Processing buffer {"connection_id":177514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813aab88012d199f80071ff0400037011029..."} 
[2026-09-08 19:06:38] local.INFO: Packet analysis {"connection_id":177514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:38] local.INFO: Extracted packet for processing {"connection_id":177514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756653952,"raw_latitude":119533632,"longitude_deg":75.6653952,"latitude_deg":11.9533632,"altitude":55,"angle":272,"satellites":41,"speed":13,"hex_longitude":"2d199f80","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-08 19:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951871232001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862203578875904,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985284608,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06: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-09-08 19:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788874501000,"timestamp_ms":1788874501000,"timestamp_seconds":1788874501,"priority":1,"record_length":96,"hex_timestamp":"000001a0813aab88"} 
[2026-09-08 19:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 19:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951871232001,"66":12667,"121":206,"28":31744,"24":13,"16":18862203578875904,"45":1847531408985284608},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951871232001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862203578875904,"km_value":18862203578875.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985284608,"description":"Unknown IO ID 45"} 
[2026-09-08 19:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951871232001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1847531408985284608}} 
[2026-09-08 19:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":177514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:06:38] local.INFO: GPS data processed {"connection_id":177514,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:06:38] local.INFO: Acknowledgment sent {"connection_id":177514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:06:39] local.INFO: TCP Data received {"connection_id":174988,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:39] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:39] local.INFO: IMEI packet received {"connection_id":174988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":174988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:06:40] local.INFO: TCP Data received {"connection_id":174988,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:40] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:40] local.INFO: IMEI packet received {"connection_id":174988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":174988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:06:41] local.INFO: TCP Data received {"connection_id":174988,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:41] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:41] local.INFO: IMEI packet received {"connection_id":174988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":174988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:06:46] local.INFO: TCP Data received {"connection_id":174988,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:46] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:06:46] local.INFO: IMEI packet received {"connection_id":174988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":174988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:06:47] local.INFO: TCP Data received {"connection_id":174988,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813af1d8012d34c54006aa50c0000600a130..."} 
[2026-09-08 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813af1d8012d34c54006aa50c0000600a130..."} 
[2026-09-08 19:06:47] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813af1d8012d34c54006aa50c0000600a130..."} 
[2026-09-08 19:06:47] local.INFO: Packet analysis {"connection_id":174988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:47] local.INFO: Extracted packet for processing {"connection_id":174988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825088,"longitude_deg":75.8433088,"latitude_deg":11.1825088,"altitude":6,"angle":161,"satellites":48,"speed":5,"hex_longitude":"2d34c540","hex_latitude":"06aa50c0","is_valid_coordinates":true} 
[2026-09-08 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951876608001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110155635392512,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755699200,"note":"Value kept but may cause issues"} 
[2026-09-08 19:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874519000,"timestamp_ms":1788874519000,"timestamp_seconds":1788874519,"priority":1,"record_length":96,"hex_timestamp":"000001a0813af1d8"} 
[2026-09-08 19:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-08 19:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951876608001,"66":27245,"106":206,"28":21760,"24":5,"16":403110155635392512,"45":3802515857755699200},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951876608001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:06:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110155635392512,"km_value":403110155635392.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755699200,"description":"Unknown IO ID 45"} 
[2026-09-08 19:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951876608001,"power":27245,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3802515857755699200}} 
[2026-09-08 19:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":174988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:06:47] local.INFO: GPS data processed {"connection_id":174988,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:06:47] local.INFO: Acknowledgment sent {"connection_id":174988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:07:00] local.INFO: TCP Data received {"connection_id":177515,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:07:00] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:07:00] local.INFO: IMEI packet received {"connection_id":177515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":177515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:07:05] local.INFO: TCP Data received {"connection_id":177515,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:07:05] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:07:05] local.INFO: IMEI packet received {"connection_id":177515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":177515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:07:06] local.INFO: TCP Data received {"connection_id":177515,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813ae620012d198600071ff0f8003a01002b..."} 
[2026-09-08 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813ae620012d198600071ff0f8003a01002b..."} 
[2026-09-08 19:07:06] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813ae620012d198600071ff0f8003a01002b..."} 
[2026-09-08 19:07:06] local.INFO: Packet analysis {"connection_id":177515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:07:06] local.INFO: Extracted packet for processing {"connection_id":177515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119533816,"longitude_deg":75.6647424,"latitude_deg":11.9533816,"altitude":58,"angle":256,"satellites":43,"speed":18,"hex_longitude":"2d198600","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-08 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951872256001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862512816521216,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846335140334157824,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:06] 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-09-08 19:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788874516000,"timestamp_ms":1788874516000,"timestamp_seconds":1788874516,"priority":1,"record_length":96,"hex_timestamp":"000001a0813ae620"} 
[2026-09-08 19:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-08 19:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951872256001,"66":13472,"121":206,"28":31744,"24":18,"16":18862512816521216,"45":1846335140334157824},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951872256001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862512816521216,"km_value":18862512816521.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846335140334157824,"description":"Unknown IO ID 45"} 
[2026-09-08 19:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951872256001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1846335140334157824}} 
[2026-09-08 19:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":177515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:07:06] local.INFO: GPS data processed {"connection_id":177515,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:07:06] local.INFO: Acknowledgment sent {"connection_id":177515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:07:19] local.INFO: TCP Data received {"connection_id":174988,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b99d0012d34c24006aa41f0000801362d..."} 
[2026-09-08 19:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b99d0012d34c24006aa41f0000801362d..."} 
[2026-09-08 19:07:19] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b99d0012d34c24006aa41f0000801362d..."} 
[2026-09-08 19:07:19] local.INFO: Packet analysis {"connection_id":174988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:07:19] local.INFO: Extracted packet for processing {"connection_id":174988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821296,"longitude_deg":75.843232,"latitude_deg":11.1821296,"altitude":8,"angle":310,"satellites":45,"speed":7,"hex_longitude":"2d34c240","hex_latitude":"06aa41f0","is_valid_coordinates":true} 
[2026-09-08 19:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951887616001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110396153561088,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057051648,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874562000,"timestamp_ms":1788874562000,"timestamp_seconds":1788874562,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b99d0"} 
[2026-09-08 19:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-08 19:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951887616001,"66":27332,"106":206,"28":21760,"24":7,"16":403110396153561088,"45":3801882539057051648},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951887616001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:07:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110396153561088,"km_value":403110396153561.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057051648,"description":"Unknown IO ID 45"} 
[2026-09-08 19:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951887616001,"power":27332,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3801882539057051648}} 
[2026-09-08 19:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":174988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:07:19] local.INFO: GPS data processed {"connection_id":174988,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:07:19] local.INFO: Acknowledgment sent {"connection_id":174988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:07:38] local.INFO: TCP Data received {"connection_id":177515,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813aea08012d198440071ff040003a00f52b..."} 
[2026-09-08 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813aea08012d198440071ff040003a00f52b..."} 
[2026-09-08 19:07:38] local.INFO: Processing buffer {"connection_id":177515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813aea08012d198440071ff040003a00f52b..."} 
[2026-09-08 19:07:38] local.INFO: Packet analysis {"connection_id":177515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:07:38] local.INFO: Extracted packet for processing {"connection_id":177515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533632,"longitude_deg":75.6646976,"latitude_deg":11.9533632,"altitude":58,"angle":245,"satellites":43,"speed":17,"hex_longitude":"2d198440","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-08 19:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951876096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862538586324992,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839157528428083200,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07: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-09-08 19:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788874517000,"timestamp_ms":1788874517000,"timestamp_seconds":1788874517,"priority":1,"record_length":96,"hex_timestamp":"000001a0813aea08"} 
[2026-09-08 19:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 19:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951876096001,"66":13537,"121":206,"28":31744,"24":17,"16":18862538586324992,"45":1839157528428083200},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951876096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862538586324992,"km_value":18862538586324.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839157528428083200,"description":"Unknown IO ID 45"} 
[2026-09-08 19:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951876096001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1839157528428083200}} 
[2026-09-08 19:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":177515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:07:38] local.INFO: GPS data processed {"connection_id":177515,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:07:38] local.INFO: Acknowledgment sent {"connection_id":177515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:07:41] local.INFO: TCP Data received {"connection_id":174989,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:07:41] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:07:41] local.INFO: IMEI packet received {"connection_id":174989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":174989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:07:46] local.INFO: TCP Data received {"connection_id":174989,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:07:46] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:07:46] local.INFO: IMEI packet received {"connection_id":174989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":174989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:07:48] local.INFO: TCP Data received {"connection_id":174989,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bbcf8012d34c40006aa42700008006f2e..."} 
[2026-09-08 19:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bbcf8012d34c40006aa42700008006f2e..."} 
[2026-09-08 19:07:48] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bbcf8012d34c40006aa42700008006f2e..."} 
[2026-09-08 19:07:48] local.INFO: Packet analysis {"connection_id":174989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:07:48] local.INFO: Extracted packet for processing {"connection_id":174989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821424,"longitude_deg":75.8432768,"latitude_deg":11.1821424,"altitude":8,"angle":111,"satellites":46,"speed":6,"hex_longitude":"2d34c400","hex_latitude":"06aa4270","is_valid_coordinates":true} 
[2026-09-08 19:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951887872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110443398201344,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824549376,"note":"Value kept but may cause issues"} 
[2026-09-08 19:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874571000,"timestamp_ms":1788874571000,"timestamp_seconds":1788874571,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bbcf8"} 
[2026-09-08 19:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-08 19:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951887872001,"66":27930,"106":206,"28":21760,"24":6,"16":403110443398201344,"45":3801671432824549376},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951887872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:07:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110443398201344,"km_value":403110443398201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824549376,"description":"Unknown IO ID 45"} 
[2026-09-08 19:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951887872001,"power":27930,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3801671432824549376}} 
[2026-09-08 19:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":174989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:07:48] local.INFO: GPS data processed {"connection_id":174989,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:07:48] local.INFO: Acknowledgment sent {"connection_id":174989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:08:00] local.INFO: TCP Data received {"connection_id":174706,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:08:00] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:08:00] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:08:05] local.INFO: TCP Data received {"connection_id":174706,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:08:05] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:08:05] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:08:06] local.INFO: TCP Data received {"connection_id":174706,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813aedf0012d1982c0071fef28003b00e82b..."} 
[2026-09-08 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813aedf0012d1982c0071fef28003b00e82b..."} 
[2026-09-08 19:08:06] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813aedf0012d1982c0071fef28003b00e82b..."} 
[2026-09-08 19:08:06] local.INFO: Packet analysis {"connection_id":174706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:08:06] local.INFO: Extracted packet for processing {"connection_id":174706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756646592,"raw_latitude":119533352,"longitude_deg":75.6646592,"latitude_deg":11.9533352,"altitude":59,"angle":232,"satellites":43,"speed":18,"hex_longitude":"2d1982c0","hex_latitude":"071fef28","is_valid_coordinates":true} 
[2026-09-08 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951876352001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862560061161472,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218792448,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:06] 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-09-08 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788874518000,"timestamp_ms":1788874518000,"timestamp_seconds":1788874518,"priority":1,"record_length":96,"hex_timestamp":"000001a0813aedf0"} 
[2026-09-08 19:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 19:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951876352001,"66":13537,"121":206,"28":31744,"24":18,"16":18862560061161472,"45":1838664947218792448},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951876352001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862560061161472,"km_value":18862560061161.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218792448,"description":"Unknown IO ID 45"} 
[2026-09-08 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951876352001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1838664947218792448}} 
[2026-09-08 19:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":174706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:08:07] local.INFO: GPS data processed {"connection_id":174706,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:08:07] local.INFO: Acknowledgment sent {"connection_id":174706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:08:19] local.INFO: TCP Data received {"connection_id":174989,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:19] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:19] local.INFO: Packet analysis {"connection_id":174989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:08:19] local.INFO: Extracted packet for processing {"connection_id":174989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:08:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:08:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":174989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:08:19] local.INFO: GPS data processed {"connection_id":174989,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:08:19] local.INFO: Acknowledgment sent {"connection_id":174989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:08:38] local.INFO: TCP Data received {"connection_id":174706,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813af9a8012d197e40071fec00003b00fa2b..."} 
[2026-09-08 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813af9a8012d197e40071fec00003b00fa2b..."} 
[2026-09-08 19:08:38] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813af9a8012d197e40071fec00003b00fa2b..."} 
[2026-09-08 19:08:38] local.INFO: Packet analysis {"connection_id":174706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:08:38] local.INFO: Extracted packet for processing {"connection_id":174706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813a"} 
[2026-09-08 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119532544,"longitude_deg":75.664544,"latitude_deg":11.9532544,"altitude":59,"angle":250,"satellites":43,"speed":17,"hex_longitude":"2d197e40","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-09-08 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951876608001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862628780638208,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838242734753654784,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08: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-09-08 19:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788874521000,"timestamp_ms":1788874521000,"timestamp_seconds":1788874521,"priority":1,"record_length":96,"hex_timestamp":"000001a0813af9a8"} 
[2026-09-08 19:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 19:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951876608001,"66":13472,"121":206,"28":31744,"24":17,"16":18862628780638208,"45":1838242734753654784},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951876608001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862628780638208,"km_value":18862628780638.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838242734753654784,"description":"Unknown IO ID 45"} 
[2026-09-08 19:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951876608001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1838242734753654784}} 
[2026-09-08 19:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":174706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:08:38] local.INFO: GPS data processed {"connection_id":174706,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:08:38] local.INFO: Acknowledgment sent {"connection_id":174706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:08:46] local.INFO: TCP Data received {"connection_id":177516,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:08:46] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:08:46] local.INFO: IMEI packet received {"connection_id":177516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":177516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:08:51] local.INFO: TCP Data received {"connection_id":177516,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:08:51] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:08:51] local.INFO: IMEI packet received {"connection_id":177516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":177516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:08:53] local.INFO: TCP Data received {"connection_id":177516,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:53] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:53] local.INFO: Packet analysis {"connection_id":177516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:08:53] local.INFO: Extracted packet for processing {"connection_id":177516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:08:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:08:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":177516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:08:53] local.INFO: GPS data processed {"connection_id":177516,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:08:53] local.INFO: Acknowledgment sent {"connection_id":177516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:08:56] local.INFO: TCP Data received {"connection_id":177516,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:56] local.INFO: Processing buffer {"connection_id":177516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:08:56] local.INFO: Packet analysis {"connection_id":177516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:08:56] local.INFO: Extracted packet for processing {"connection_id":177516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:08:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":177516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:08:56] local.INFO: GPS data processed {"connection_id":177516,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:08:56] local.INFO: Acknowledgment sent {"connection_id":177516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:09:05] local.INFO: TCP Data received {"connection_id":174991,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:09:05] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:09:05] local.INFO: IMEI packet received {"connection_id":174991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":174991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:09:10] local.INFO: TCP Data received {"connection_id":174991,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:09:10] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:09:10] local.INFO: IMEI packet received {"connection_id":174991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":174991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:09:12] local.INFO: TCP Data received {"connection_id":174991,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b0178012d197b00071feb68003c01072b..."} 
[2026-09-08 19:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b0178012d197b00071feb68003c01072b..."} 
[2026-09-08 19:09:12] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b0178012d197b00071feb68003c01072b..."} 
[2026-09-08 19:09:12] local.INFO: Packet analysis {"connection_id":174991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:09:12] local.INFO: Extracted packet for processing {"connection_id":174991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756644608,"raw_latitude":119532392,"longitude_deg":75.6644608,"latitude_deg":11.9532392,"altitude":60,"angle":263,"satellites":43,"speed":16,"hex_longitude":"2d197b00","hex_latitude":"071feb68","is_valid_coordinates":true} 
[2026-09-08 19:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951877376001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862667435343872,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358249984,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09: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-09-08 19:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788874523000,"timestamp_ms":1788874523000,"timestamp_seconds":1788874523,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b0178"} 
[2026-09-08 19:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 19:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951877376001,"66":13374,"121":206,"28":31744,"24":16,"16":18862667435343872,"45":1836976097358249984},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951877376001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:09:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862667435343872,"km_value":18862667435343.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358249984,"description":"Unknown IO ID 45"} 
[2026-09-08 19:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951877376001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1836976097358249984}} 
[2026-09-08 19:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":174991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:09:12] local.INFO: GPS data processed {"connection_id":174991,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:09:12] local.INFO: Acknowledgment sent {"connection_id":174991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:09:16] local.INFO: TCP Data received {"connection_id":174991,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b1500012d197340071feb50003b01122c..."} 
[2026-09-08 19:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b1500012d197340071feb50003b01122c..."} 
[2026-09-08 19:09:16] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b1500012d197340071feb50003b01122c..."} 
[2026-09-08 19:09:16] local.INFO: Packet analysis {"connection_id":174991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:09:16] local.INFO: Extracted packet for processing {"connection_id":174991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756642624,"raw_latitude":119532368,"longitude_deg":75.6642624,"latitude_deg":11.9532368,"altitude":59,"angle":274,"satellites":44,"speed":15,"hex_longitude":"2d197340","hex_latitude":"071feb50","is_valid_coordinates":true} 
[2026-09-08 19:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951877888001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862761924624384,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303683901440,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:16] 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-09-08 19:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788874528000,"timestamp_ms":1788874528000,"timestamp_seconds":1788874528,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b1500"} 
[2026-09-08 19:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 19:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951877888001,"66":13330,"121":206,"28":31744,"24":15,"16":18862761924624384,"45":1836061303683901440},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951877888001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:09:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862761924624384,"km_value":18862761924624.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303683901440,"description":"Unknown IO ID 45"} 
[2026-09-08 19:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951877888001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1836061303683901440}} 
[2026-09-08 19:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":174991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:09:16] local.INFO: GPS data processed {"connection_id":174991,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:09:16] local.INFO: Acknowledgment sent {"connection_id":174991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:09:41] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:09:41] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:09:41] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:09:46] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:09:46] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:09:46] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:09:48] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:09:48] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:09:48] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:09:48] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:09:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:09:48] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:09:48] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:10:00] local.INFO: TCP Data received {"connection_id":174993,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:10:00] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:10:00] local.INFO: IMEI packet received {"connection_id":174993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":174993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:10:05] local.INFO: TCP Data received {"connection_id":174993,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:10:05] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:10:05] local.INFO: IMEI packet received {"connection_id":174993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":174993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:10:07] local.INFO: TCP Data received {"connection_id":174993,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b3c10012d196940071fed10003b01352b..."} 
[2026-09-08 19:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b3c10012d196940071fed10003b01352b..."} 
[2026-09-08 19:10:07] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b3c10012d196940071fed10003b01352b..."} 
[2026-09-08 19:10:07] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:07] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532816,"longitude_deg":75.6640064,"latitude_deg":11.9532816,"altitude":59,"angle":309,"satellites":43,"speed":7,"hex_longitude":"2d196940","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-08 19:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951879168001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862886478675968,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833879872614387712,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10: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-09-08 19:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874538000,"timestamp_ms":1788874538000,"timestamp_seconds":1788874538,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b3c10"} 
[2026-09-08 19:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2168105864,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249810300540547640,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1017813288135939840,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407271,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":123,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-7212513510018531321,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,3,160,1,45,235,60,43,10,66,249,64,236,59,237,192,240,225,129,31,4,113,205,17,230,134,248,239,52,2,67,7,55,13,123,58,8,231,92],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 19:10:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251699503403302912,"timestamp_seconds":4251699503403303.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 19:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951879168001,"66":13559,"121":206,"28":31744,"24":7,"16":18862886478675968,"45":1833879872614387712},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951879168001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:10:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862886478675968,"km_value":18862886478675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833879872614387712,"description":"Unknown IO ID 45"} 
[2026-09-08 19:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951879168001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1833879872614387712}} 
[2026-09-08 19:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:10:07] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:10:07] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:10:08] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:10:08] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:10:08] local.INFO: IMEI packet received {"connection_id":174992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":174992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:10:18] local.INFO: TCP Data received {"connection_id":176052,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:10:18] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:10:18] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:18] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:10:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:10:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:10:18] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:10:18] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:10:39] local.INFO: TCP Data received {"connection_id":174993,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b3ff8012d1968c0071fed90003b014e2a..."} 
[2026-09-08 19:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b3ff8012d1968c0071fed90003b014e2a..."} 
[2026-09-08 19:10:39] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b3ff8012d1968c0071fed90003b014e2a..."} 
[2026-09-08 19:10:39] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:39] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532944,"longitude_deg":75.6639936,"latitude_deg":11.9532944,"altitude":59,"angle":334,"satellites":42,"speed":5,"hex_longitude":"2d1968c0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-09-08 19:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951881728001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862895068610560,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847395840,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10: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-09-08 19:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788874539000,"timestamp_ms":1788874539000,"timestamp_seconds":1788874539,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b3ff8"} 
[2026-09-08 19:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 19:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951881728001,"66":13439,"121":206,"28":31744,"24":5,"16":18862895068610560,"45":1831065122847395840},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951881728001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:10:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862895068610560,"km_value":18862895068610.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847395840,"description":"Unknown IO ID 45"} 
[2026-09-08 19:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951881728001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1831065122847395840}} 
[2026-09-08 19:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:10:39] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:10:39] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:10:41] local.INFO: TCP Data received {"connection_id":177517,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:10:41] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:10:41] local.INFO: IMEI packet received {"connection_id":177517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":177517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:10:46] local.INFO: TCP Data received {"connection_id":177517,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:10:46] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:10:46] local.INFO: IMEI packet received {"connection_id":177517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":177517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:10:47] local.INFO: TCP Data received {"connection_id":177517,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:10:47] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:10:47] local.INFO: Packet analysis {"connection_id":177517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:47] local.INFO: Extracted packet for processing {"connection_id":177517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:10:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":177517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:10:47] local.INFO: GPS data processed {"connection_id":177517,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:10:47] local.INFO: Acknowledgment sent {"connection_id":177517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:11:00] local.INFO: TCP Data received {"connection_id":174707,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:11:00] local.INFO: Processing buffer {"connection_id":174707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:11:00] local.INFO: IMEI packet received {"connection_id":174707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":174707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:11:18] local.INFO: TCP Data received {"connection_id":177517,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:11:18] local.INFO: Processing buffer {"connection_id":177517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:11:18] local.INFO: Packet analysis {"connection_id":177517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:11:18] local.INFO: Extracted packet for processing {"connection_id":177517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:11:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:11:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":177517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:11:18] local.INFO: GPS data processed {"connection_id":177517,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:11:18] local.INFO: Acknowledgment sent {"connection_id":177517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:11:20] local.INFO: TCP Data received {"connection_id":174707,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:11:20] local.INFO: Processing buffer {"connection_id":174707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:11:20] local.INFO: IMEI packet received {"connection_id":174707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":174707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:11:22] local.INFO: TCP Data received {"connection_id":174707,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:11:22] local.INFO: Processing buffer {"connection_id":174707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:11:22] local.INFO: Packet analysis {"connection_id":174707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:11:22] local.INFO: Extracted packet for processing {"connection_id":174707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533064,"longitude_deg":75.6639872,"latitude_deg":11.9533064,"altitude":58,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-09-08 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951881984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359073280,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:22] 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-09-08 19:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788874553000,"timestamp_ms":1788874553000,"timestamp_seconds":1788874553,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b76a8"} 
[2026-09-08 19:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 19:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951881984001,"66":13091,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830924385359073280},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951881984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:11:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:11:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359073280,"description":"Unknown IO ID 45"} 
[2026-09-08 19:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951881984001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830924385359073280}} 
[2026-09-08 19:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":174707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:11:22] local.INFO: GPS data processed {"connection_id":174707,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:11:22] local.INFO: Acknowledgment sent {"connection_id":174707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:11:41] local.INFO: TCP Data received {"connection_id":176054,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:11:41] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:11:41] local.INFO: IMEI packet received {"connection_id":176054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":176054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:11:46] local.INFO: TCP Data received {"connection_id":176054,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:11:46] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:11:46] local.INFO: IMEI packet received {"connection_id":176054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":176054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:11:48] local.INFO: TCP Data received {"connection_id":176054,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:11:48] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813bc8b0012d34c58006aa4200000800712d..."} 
[2026-09-08 19:11:48] local.INFO: Packet analysis {"connection_id":176054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:11:48] local.INFO: Extracted packet for processing {"connection_id":176054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821312,"longitude_deg":75.8433152,"latitude_deg":11.1821312,"altitude":8,"angle":113,"satellites":45,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-09-08 19:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890176001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033825792,"note":"Value kept but may cause issues"} 
[2026-09-08 19:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874574000,"timestamp_ms":1788874574000,"timestamp_seconds":1788874574,"priority":1,"record_length":96,"hex_timestamp":"000001a0813bc8b0"} 
[2026-09-08 19:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 19:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-08 19:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890176001,"66":27974,"106":206,"28":21760,"24":6,"16":403110460578070528,"45":3802164014033825792},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890176001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:11:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033825792,"description":"Unknown IO ID 45"} 
[2026-09-08 19:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890176001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014033825792}} 
[2026-09-08 19:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":176054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:11:48] local.INFO: GPS data processed {"connection_id":176054,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:11:48] local.INFO: Acknowledgment sent {"connection_id":176054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:12:00] local.INFO: TCP Data received {"connection_id":177518,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:12:00] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:12:00] local.INFO: IMEI packet received {"connection_id":177518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":177518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:12:05] local.INFO: TCP Data received {"connection_id":177518,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:12:05] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:12:05] local.INFO: IMEI packet received {"connection_id":177518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":177518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:12:07] local.INFO: TCP Data received {"connection_id":177518,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:12:07] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:12:07] local.INFO: Packet analysis {"connection_id":177518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:12:07] local.INFO: Extracted packet for processing {"connection_id":177518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533064,"longitude_deg":75.6639872,"latitude_deg":11.9533064,"altitude":58,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-09-08 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12: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-09-08 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874553000,"timestamp_ms":1788874553000,"timestamp_seconds":1788874553,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b76a8"} 
[2026-09-08 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":13091,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":177518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:12:07] local.INFO: GPS data processed {"connection_id":177518,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:12:07] local.INFO: Acknowledgment sent {"connection_id":177518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:12:19] local.INFO: TCP Data received {"connection_id":176054,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:19] local.INFO: Processing buffer {"connection_id":176054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:19] local.INFO: Packet analysis {"connection_id":176054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:12:19] local.INFO: Extracted packet for processing {"connection_id":176054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:12:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":176054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:12:19] local.INFO: GPS data processed {"connection_id":176054,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:12:19] local.INFO: Acknowledgment sent {"connection_id":176054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:12:40] local.INFO: TCP Data received {"connection_id":177518,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:12:40] local.INFO: Processing buffer {"connection_id":177518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0813b76a8012d196880071fee08003a014e2b..."} 
[2026-09-08 19:12:40] local.INFO: Packet analysis {"connection_id":177518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:12:40] local.INFO: Extracted packet for processing {"connection_id":177518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0813b"} 
[2026-09-08 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533064,"longitude_deg":75.6639872,"latitude_deg":11.9533064,"altitude":58,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-09-08 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12: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-09-08 19:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788874553000,"timestamp_ms":1788874553000,"timestamp_seconds":1788874553,"priority":1,"record_length":96,"hex_timestamp":"000001a0813b76a8"} 
[2026-09-08 19:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":13091,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":177518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:12:40] local.INFO: GPS data processed {"connection_id":177518,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:12:40] local.INFO: Acknowledgment sent {"connection_id":177518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:12:41] local.INFO: TCP Data received {"connection_id":174994,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:12:41] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:12:41] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:12:46] local.INFO: TCP Data received {"connection_id":174994,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:12:46] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:12:46] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:12:48] local.INFO: TCP Data received {"connection_id":174994,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:48] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:48] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:12:48] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:12:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:12:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:12:48] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:12:48] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:12:52] local.INFO: TCP Data received {"connection_id":174994,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:52] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:12:52] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:12:52] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:12:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:12:52] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:12:52] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:13:05] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:13:05] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:13:05] local.INFO: IMEI packet received {"connection_id":177519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":177519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:13:10] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:13:10] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:13:10] local.INFO: IMEI packet received {"connection_id":177519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":177519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:13:12] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:13:12] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:13:12] local.INFO: Packet analysis {"connection_id":177519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:12] local.INFO: Extracted packet for processing {"connection_id":177519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13: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-09-08 19:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:13:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":177519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:13:12] local.INFO: GPS data processed {"connection_id":177519,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:13:12] local.INFO: Acknowledgment sent {"connection_id":177519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:13:16] local.INFO: TCP Data received {"connection_id":177519,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:13:16] local.INFO: Processing buffer {"connection_id":177519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:13:16] local.INFO: Packet analysis {"connection_id":177519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:16] local.INFO: Extracted packet for processing {"connection_id":177519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:16] 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-09-08 19:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:13:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":177519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:13:16] local.INFO: GPS data processed {"connection_id":177519,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:13:16] local.INFO: Acknowledgment sent {"connection_id":177519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:13:24] local.INFO: TCP Data received {"connection_id":174994,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:13:24] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:13:24] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:24] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:13:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:13:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:13:24] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:13:24] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:13:41] local.INFO: TCP Data received {"connection_id":174708,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:13:41] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:13:41] local.INFO: IMEI packet received {"connection_id":174708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":174708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:13:46] local.INFO: TCP Data received {"connection_id":174708,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:13:46] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:13:46] local.INFO: IMEI packet received {"connection_id":174708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":174708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:13:47] local.INFO: TCP Data received {"connection_id":174708,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:13:47] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:13:47] local.INFO: Packet analysis {"connection_id":174708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:47] local.INFO: Extracted packet for processing {"connection_id":174708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:13:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":174708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:13:47] local.INFO: GPS data processed {"connection_id":174708,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:13:47] local.INFO: Acknowledgment sent {"connection_id":174708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:14:00] local.INFO: TCP Data received {"connection_id":176056,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:14:00] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:14:00] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:14:05] local.INFO: TCP Data received {"connection_id":176056,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:14:05] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:14:05] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:14:07] local.INFO: TCP Data received {"connection_id":176056,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:07] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:07] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:07] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14: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-09-08 19:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:14:07] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:14:07] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:14:11] local.INFO: TCP Data received {"connection_id":176056,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:11] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:11] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:11] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14: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-09-08 19:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:14:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:14:11] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:14:11] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:14:19] local.INFO: TCP Data received {"connection_id":174708,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:14:19] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:14:19] local.INFO: Packet analysis {"connection_id":174708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:19] local.INFO: Extracted packet for processing {"connection_id":174708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:14:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:14:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":174708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:14:19] local.INFO: GPS data processed {"connection_id":174708,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:14:19] local.INFO: Acknowledgment sent {"connection_id":174708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:14:41] local.INFO: TCP Data received {"connection_id":176057,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:14:41] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:14:41] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:14:42] local.INFO: TCP Data received {"connection_id":176056,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:42] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:14:42] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:42] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:42] 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-09-08 19:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:14:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:14:42] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:14:42] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:14:46] local.INFO: TCP Data received {"connection_id":176057,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:14:46] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:14:46] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:14:48] local.INFO: TCP Data received {"connection_id":176057,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:14:48] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:14:48] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:48] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:14:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:14:48] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:14:48] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:15:01] local.INFO: TCP Data received {"connection_id":174710,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:15:01] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:15:01] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:15:05] local.INFO: TCP Data received {"connection_id":174710,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:15:05] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:15:05] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:15:07] local.INFO: TCP Data received {"connection_id":174710,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:15:07] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:15:07] local.INFO: Packet analysis {"connection_id":174710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:07] local.INFO: Extracted packet for processing {"connection_id":174710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15: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-09-08 19:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:15:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":174710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:15:07] local.INFO: GPS data processed {"connection_id":174710,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:15:07] local.INFO: Acknowledgment sent {"connection_id":174710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:15:20] local.INFO: TCP Data received {"connection_id":176057,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:15:20] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:15:20] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:20] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:15:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:15:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:15:20] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:15:20] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:15:39] local.INFO: TCP Data received {"connection_id":174710,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:15:39] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:15:39] local.INFO: Packet analysis {"connection_id":174710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:39] local.INFO: Extracted packet for processing {"connection_id":174710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15: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-09-08 19:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:15:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":174710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:15:39] local.INFO: GPS data processed {"connection_id":174710,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:15:39] local.INFO: Acknowledgment sent {"connection_id":174710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:15:46] local.INFO: TCP Data received {"connection_id":174996,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:15:46] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:15:46] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:15:48] local.INFO: TCP Data received {"connection_id":177520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:15:48] local.INFO: Processing buffer {"connection_id":177520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:15:48] local.INFO: IMEI packet received {"connection_id":177520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":177520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:15:51] local.INFO: TCP Data received {"connection_id":174996,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:15:51] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:15:51] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:15:52] local.INFO: TCP Data received {"connection_id":174996,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:15:52] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:15:52] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:52] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:15:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:15:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:15:52] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:15:52] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:16:00] local.INFO: TCP Data received {"connection_id":176059,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:16:00] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:16:00] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:16:05] local.INFO: TCP Data received {"connection_id":176059,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:16:05] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:16:05] local.INFO: IMEI packet received {"connection_id":176059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":176059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:16:07] local.INFO: TCP Data received {"connection_id":176059,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:16:07] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081401e10012d196580071fef780038014e2b..."} 
[2026-09-08 19:16:07] local.INFO: Packet analysis {"connection_id":176059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:16:07] local.INFO: Extracted packet for processing {"connection_id":176059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951885568001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614926336,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16: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-09-08 19:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788874858000,"timestamp_ms":1788874858000,"timestamp_seconds":1788874858,"priority":1,"record_length":96,"hex_timestamp":"000001a081401e10"} 
[2026-09-08 19:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-08 19:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951885568001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830854016614926336},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951885568001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614926336,"description":"Unknown IO ID 45"} 
[2026-09-08 19:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951885568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614926336}} 
[2026-09-08 19:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":176059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:16:07] local.INFO: GPS data processed {"connection_id":176059,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:16:07] local.INFO: Acknowledgment sent {"connection_id":176059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:16:23] local.INFO: TCP Data received {"connection_id":174996,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:16:23] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:16:23] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:16:23] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:16:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:16:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:16:23] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:16:23] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:16:38] local.INFO: TCP Data received {"connection_id":176059,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:16:38] local.INFO: Processing buffer {"connection_id":176059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:16:38] local.INFO: Packet analysis {"connection_id":176059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:16:38] local.INFO: Extracted packet for processing {"connection_id":176059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16: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-09-08 19:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:16:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":176059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:16:39] local.INFO: GPS data processed {"connection_id":176059,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:16:39] local.INFO: Acknowledgment sent {"connection_id":176059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:16:41] local.INFO: TCP Data received {"connection_id":174712,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:16:41] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:16:41] local.INFO: IMEI packet received {"connection_id":174712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":174712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:16:47] local.INFO: TCP Data received {"connection_id":174712,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:16:47] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:16:47] local.INFO: IMEI packet received {"connection_id":174712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:16:48] local.INFO: TCP Data received {"connection_id":174712,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:16:48] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081407018012d34c9c006aa41b8000800712c..."} 
[2026-09-08 19:16:48] local.INFO: Packet analysis {"connection_id":174712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:16:48] local.INFO: Extracted packet for processing {"connection_id":174712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08140"} 
[2026-09-08 19:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951890944001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498863104,"note":"Value kept but may cause issues"} 
[2026-09-08 19:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788874879000,"timestamp_ms":1788874879000,"timestamp_seconds":1788874879,"priority":1,"record_length":96,"hex_timestamp":"000001a081407018"} 
[2026-09-08 19:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-08 19:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951890944001,"66":26484,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3802586226498863104},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951890944001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:16:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498863104,"description":"Unknown IO ID 45"} 
[2026-09-08 19:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951890944001,"power":26484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498863104}} 
[2026-09-08 19:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":174712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:16:48] local.INFO: GPS data processed {"connection_id":174712,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:16:48] local.INFO: Acknowledgment sent {"connection_id":174712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:17:00] local.INFO: TCP Data received {"connection_id":174997,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:17:00] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:17:00] local.INFO: IMEI packet received {"connection_id":174997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":174997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:17:05] local.INFO: TCP Data received {"connection_id":174997,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:17:05] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:17:05] local.INFO: IMEI packet received {"connection_id":174997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":174997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:17:07] local.INFO: TCP Data received {"connection_id":174997,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:17:07] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:17:07] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:17:07] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17: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-09-08 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:17: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-09-08 19:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:17:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:17:07] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:17:07] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:17:19] local.INFO: TCP Data received {"connection_id":174712,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:17:19] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:17:19] local.INFO: Packet analysis {"connection_id":174712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:17:19] local.INFO: Extracted packet for processing {"connection_id":174712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:17:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":174712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:17:19] local.INFO: GPS data processed {"connection_id":174712,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:17:19] local.INFO: Acknowledgment sent {"connection_id":174712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:17:38] local.INFO: TCP Data received {"connection_id":174997,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:17:38] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:17:38] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:17:38] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17: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-09-08 19:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:17:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:17:38] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:17:38] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:17:41] local.INFO: TCP Data received {"connection_id":177521,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:17:41] local.INFO: Processing buffer {"connection_id":177521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:17:41] local.INFO: IMEI packet received {"connection_id":177521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":177521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:17:46] local.INFO: TCP Data received {"connection_id":177521,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:17:46] local.INFO: Processing buffer {"connection_id":177521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:17:46] local.INFO: IMEI packet received {"connection_id":177521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":177521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:17:47] local.INFO: TCP Data received {"connection_id":177521,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:17:47] local.INFO: Processing buffer {"connection_id":177521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:17:47] local.INFO: Packet analysis {"connection_id":177521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:17:47] local.INFO: Extracted packet for processing {"connection_id":177521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:17:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":177521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:17:47] local.INFO: GPS data processed {"connection_id":177521,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:17:47] local.INFO: Acknowledgment sent {"connection_id":177521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:18:00] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:18:00] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:18:00] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:18:05] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:18:05] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:18:05] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:18:07] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:18:07] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:18:07] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:18:07] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18: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-09-08 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:18: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-09-08 19:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:18:07] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:18:07] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:18:19] local.INFO: TCP Data received {"connection_id":177521,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:18:19] local.INFO: Processing buffer {"connection_id":177521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:18:19] local.INFO: Packet analysis {"connection_id":177521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:18:19] local.INFO: Extracted packet for processing {"connection_id":177521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:18:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:18:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":177521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:18:19] local.INFO: GPS data processed {"connection_id":177521,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:18:19] local.INFO: Acknowledgment sent {"connection_id":177521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:18:38] local.INFO: TCP Data received {"connection_id":174714,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:18:38] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:18:38] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:18:38] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18: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-09-08 19:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:18:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:18:38] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:18:38] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:18:41] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:18:41] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:18:41] local.INFO: IMEI packet received {"connection_id":177522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":177522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:18:46] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:18:46] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:18:46] local.INFO: IMEI packet received {"connection_id":177522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":177522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:18:47] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:18:47] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:18:47] local.INFO: Packet analysis {"connection_id":177522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:18:47] local.INFO: Extracted packet for processing {"connection_id":177522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:18:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":177522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:18:47] local.INFO: GPS data processed {"connection_id":177522,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:18:47] local.INFO: Acknowledgment sent {"connection_id":177522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:19:05] local.INFO: TCP Data received {"connection_id":174999,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:19:05] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:19:05] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:19:10] local.INFO: TCP Data received {"connection_id":174999,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:19:10] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:19:10] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:19:12] local.INFO: TCP Data received {"connection_id":174999,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:19:12] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:19:12] local.INFO: Packet analysis {"connection_id":174999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:19:12] local.INFO: Extracted packet for processing {"connection_id":174999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19: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-09-08 19:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:19:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":174999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:19:12] local.INFO: GPS data processed {"connection_id":174999,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:19:12] local.INFO: Acknowledgment sent {"connection_id":174999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:19:16] local.INFO: TCP Data received {"connection_id":174999,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:19:16] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:19:16] local.INFO: Packet analysis {"connection_id":174999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:19:16] local.INFO: Extracted packet for processing {"connection_id":174999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:16] 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-09-08 19:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:19: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-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:19:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":174999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:19:16] local.INFO: GPS data processed {"connection_id":174999,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:19:16] local.INFO: Acknowledgment sent {"connection_id":174999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:19:18] local.INFO: TCP Data received {"connection_id":177522,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:19:18] local.INFO: Processing buffer {"connection_id":177522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:19:18] local.INFO: Packet analysis {"connection_id":177522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:19:18] local.INFO: Extracted packet for processing {"connection_id":177522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:19:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:19:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":177522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:19:18] local.INFO: GPS data processed {"connection_id":177522,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:19:18] local.INFO: Acknowledgment sent {"connection_id":177522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:19:41] local.INFO: TCP Data received {"connection_id":176060,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:19:41] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:19:41] local.INFO: IMEI packet received {"connection_id":176060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":176060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:19:46] local.INFO: TCP Data received {"connection_id":176060,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:19:46] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:19:46] local.INFO: IMEI packet received {"connection_id":176060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":176060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:19:47] local.INFO: TCP Data received {"connection_id":176060,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:19:47] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:19:47] local.INFO: Packet analysis {"connection_id":176060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:19:47] local.INFO: Extracted packet for processing {"connection_id":176060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:19:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":176060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:19:47] local.INFO: GPS data processed {"connection_id":176060,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:19:47] local.INFO: Acknowledgment sent {"connection_id":176060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:20:00] local.INFO: TCP Data received {"connection_id":175000,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:20:00] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:20:00] local.INFO: IMEI packet received {"connection_id":175000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":175000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:20:05] local.INFO: TCP Data received {"connection_id":175000,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:20:05] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:20:05] local.INFO: IMEI packet received {"connection_id":175000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":175000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:20:07] local.INFO: TCP Data received {"connection_id":175000,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:20:07] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:20:07] local.INFO: Packet analysis {"connection_id":175000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:20:07] local.INFO: Extracted packet for processing {"connection_id":175000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20: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-09-08 19:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:20: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-09-08 19:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:20:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":175000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:20:07] local.INFO: GPS data processed {"connection_id":175000,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:20:07] local.INFO: Acknowledgment sent {"connection_id":175000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:20:18] local.INFO: TCP Data received {"connection_id":176060,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:20:18] local.INFO: Processing buffer {"connection_id":176060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:20:18] local.INFO: Packet analysis {"connection_id":176060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:20:18] local.INFO: Extracted packet for processing {"connection_id":176060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:20:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:20:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":176060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:20:18] local.INFO: GPS data processed {"connection_id":176060,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:20:18] local.INFO: Acknowledgment sent {"connection_id":176060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:20:38] local.INFO: TCP Data received {"connection_id":175000,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:20:38] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:20:38] local.INFO: Packet analysis {"connection_id":175000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:20:38] local.INFO: Extracted packet for processing {"connection_id":175000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20: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-09-08 19:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:20:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":175000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:20:38] local.INFO: GPS data processed {"connection_id":175000,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:20:38] local.INFO: Acknowledgment sent {"connection_id":175000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:20:41] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:20:41] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:20:41] local.INFO: IMEI packet received {"connection_id":177523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":177523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:20:46] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:20:46] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:20:46] local.INFO: IMEI packet received {"connection_id":177523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":177523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:20:47] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:20:47] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:20:47] local.INFO: Packet analysis {"connection_id":177523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:20:47] local.INFO: Extracted packet for processing {"connection_id":177523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:20:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":177523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:20:47] local.INFO: GPS data processed {"connection_id":177523,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:20:47] local.INFO: Acknowledgment sent {"connection_id":177523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:21:00] local.INFO: TCP Data received {"connection_id":174715,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:21:00] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:21:00] local.INFO: IMEI packet received {"connection_id":174715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":174715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:21:05] local.INFO: TCP Data received {"connection_id":174715,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:21:05] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:21:05] local.INFO: IMEI packet received {"connection_id":174715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":174715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:21:07] local.INFO: TCP Data received {"connection_id":174715,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:21:07] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:21:07] local.INFO: Packet analysis {"connection_id":174715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:21:07] local.INFO: Extracted packet for processing {"connection_id":174715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21: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-09-08 19:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:21: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-09-08 19:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":174715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:21:07] local.INFO: GPS data processed {"connection_id":174715,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:21:07] local.INFO: Acknowledgment sent {"connection_id":174715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:21:13] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:21:13] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:21:13] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:21:19] local.INFO: TCP Data received {"connection_id":177523,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:19] local.INFO: Processing buffer {"connection_id":177523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:19] local.INFO: Packet analysis {"connection_id":177523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:21:19] local.INFO: Extracted packet for processing {"connection_id":177523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:21:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":177523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:21:19] local.INFO: GPS data processed {"connection_id":177523,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:21:19] local.INFO: Acknowledgment sent {"connection_id":177523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:21:38] local.INFO: TCP Data received {"connection_id":174715,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:21:38] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08144b5d8012d196580071fef780038014e2b..."} 
[2026-09-08 19:21:38] local.INFO: Packet analysis {"connection_id":174715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:21:38] local.INFO: Extracted packet for processing {"connection_id":174715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08144"} 
[2026-09-08 19:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951963648001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21: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-09-08 19:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875159000,"timestamp_ms":1788875159000,"timestamp_seconds":1788875159,"priority":1,"record_length":96,"hex_timestamp":"000001a08144b5d8"} 
[2026-09-08 19:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951963648001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951963648001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951963648001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":174715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:21:38] local.INFO: GPS data processed {"connection_id":174715,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:21:38] local.INFO: Acknowledgment sent {"connection_id":174715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:21:46] local.INFO: TCP Data received {"connection_id":175002,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:21:46] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:21:46] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:21:51] local.INFO: TCP Data received {"connection_id":175002,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:21:51] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:21:51] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:21:52] local.INFO: TCP Data received {"connection_id":175002,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:52] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:52] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:21:52] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:21:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:21:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:21:52] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:21:52] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:21:57] local.INFO: TCP Data received {"connection_id":175002,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:57] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814507e0012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:21:57] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:21:57] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08145"} 
[2026-09-08 19:21:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457951969024001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788875180000,"timestamp_ms":1788875180000,"timestamp_seconds":1788875180,"priority":1,"record_length":96,"hex_timestamp":"000001a0814507e0"} 
[2026-09-08 19:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 19:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457951969024001,"66":26180,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457951969024001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:21:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457951969024001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:21:57] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:21:57] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:22:00] local.INFO: TCP Data received {"connection_id":177524,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:22:00] local.INFO: Processing buffer {"connection_id":177524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:22:00] local.INFO: IMEI packet received {"connection_id":177524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":177524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:22:05] local.INFO: TCP Data received {"connection_id":177524,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:22:05] local.INFO: Processing buffer {"connection_id":177524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:22:05] local.INFO: IMEI packet received {"connection_id":177524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":177524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:22:07] local.INFO: TCP Data received {"connection_id":177524,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:22:07] local.INFO: Processing buffer {"connection_id":177524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:22:07] local.INFO: Packet analysis {"connection_id":177524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:22:07] local.INFO: Extracted packet for processing {"connection_id":177524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22: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-09-08 19:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:22: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-09-08 19:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:22:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":177524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:22:07] local.INFO: GPS data processed {"connection_id":177524,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:22:07] local.INFO: Acknowledgment sent {"connection_id":177524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:22:38] local.INFO: TCP Data received {"connection_id":177524,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:22:38] local.INFO: Processing buffer {"connection_id":177524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:22:38] local.INFO: Packet analysis {"connection_id":177524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:22:38] local.INFO: Extracted packet for processing {"connection_id":177524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22: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-09-08 19:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":177524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:22:39] local.INFO: GPS data processed {"connection_id":177524,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:22:39] local.INFO: Acknowledgment sent {"connection_id":177524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:22:41] local.INFO: TCP Data received {"connection_id":174716,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:22:41] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:22:41] local.INFO: IMEI packet received {"connection_id":174716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":174716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:22:46] local.INFO: TCP Data received {"connection_id":174716,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:22:46] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:22:46] local.INFO: IMEI packet received {"connection_id":174716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":174716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:22:47] local.INFO: TCP Data received {"connection_id":174716,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:22:47] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:22:47] local.INFO: Packet analysis {"connection_id":174716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:22:47] local.INFO: Extracted packet for processing {"connection_id":174716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:22:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":174716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:22:47] local.INFO: GPS data processed {"connection_id":174716,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:22:47] local.INFO: Acknowledgment sent {"connection_id":174716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:23:05] local.INFO: TCP Data received {"connection_id":177525,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:23:05] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:23:05] local.INFO: IMEI packet received {"connection_id":177525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":177525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:23:10] local.INFO: TCP Data received {"connection_id":177525,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:23:10] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:23:10] local.INFO: IMEI packet received {"connection_id":177525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":177525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:23:12] local.INFO: TCP Data received {"connection_id":177525,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:23:12] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:23:12] local.INFO: Packet analysis {"connection_id":177525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:12] local.INFO: Extracted packet for processing {"connection_id":177525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23: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-09-08 19:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:23:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":177525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:23:12] local.INFO: GPS data processed {"connection_id":177525,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:23:12] local.INFO: Acknowledgment sent {"connection_id":177525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:23:16] local.INFO: TCP Data received {"connection_id":177525,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:23:16] local.INFO: Processing buffer {"connection_id":177525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:23:16] local.INFO: Packet analysis {"connection_id":177525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:16] local.INFO: Extracted packet for processing {"connection_id":177525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:16] 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-09-08 19:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:23:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":177525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:23:16] local.INFO: GPS data processed {"connection_id":177525,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:23:16] local.INFO: Acknowledgment sent {"connection_id":177525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:23:19] local.INFO: TCP Data received {"connection_id":174716,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:23:19] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:23:19] local.INFO: Packet analysis {"connection_id":174716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:19] local.INFO: Extracted packet for processing {"connection_id":174716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:23:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:23:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":174716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:23:19] local.INFO: GPS data processed {"connection_id":174716,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:23:19] local.INFO: Acknowledgment sent {"connection_id":174716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:23:41] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:23:41] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:23:41] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:23:46] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:23:46] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:23:46] local.INFO: IMEI packet received {"connection_id":176063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":176063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:23:47] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:23:47] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:23:47] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:47] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:23:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:23:47] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:23:47] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:24:00] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:24:00] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:24:00] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:24:05] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:24:05] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:24:05] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:24:07] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:24:07] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:24:07] local.INFO: Packet analysis {"connection_id":176065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:07] local.INFO: Extracted packet for processing {"connection_id":176065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24: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-09-08 19:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:24: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-09-08 19:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:24:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":176065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:24:07] local.INFO: GPS data processed {"connection_id":176065,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:24:07] local.INFO: Acknowledgment sent {"connection_id":176065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:24:19] local.INFO: TCP Data received {"connection_id":176063,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:24:19] local.INFO: Processing buffer {"connection_id":176063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:24:19] local.INFO: Packet analysis {"connection_id":176063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:19] local.INFO: Extracted packet for processing {"connection_id":176063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:24:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":176063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:24:19] local.INFO: GPS data processed {"connection_id":176063,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:24:19] local.INFO: Acknowledgment sent {"connection_id":176063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:24:38] local.INFO: TCP Data received {"connection_id":176065,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:24:38] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:24:38] local.INFO: Packet analysis {"connection_id":176065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:38] local.INFO: Extracted packet for processing {"connection_id":176065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24: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-09-08 19:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:24:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":176065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:24:38] local.INFO: GPS data processed {"connection_id":176065,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:24:38] local.INFO: Acknowledgment sent {"connection_id":176065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:24:41] local.INFO: TCP Data received {"connection_id":174718,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:24:41] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:24:41] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:24:46] local.INFO: TCP Data received {"connection_id":174718,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:24:46] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:24:46] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:24:47] local.INFO: TCP Data received {"connection_id":174718,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:24:47] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:24:47] local.INFO: Packet analysis {"connection_id":174718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:47] local.INFO: Extracted packet for processing {"connection_id":174718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:24:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:24:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":174718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:24:47] local.INFO: GPS data processed {"connection_id":174718,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:24:47] local.INFO: Acknowledgment sent {"connection_id":174718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:25:00] local.INFO: TCP Data received {"connection_id":175004,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:25:00] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:25:00] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:25:05] local.INFO: TCP Data received {"connection_id":175004,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:25:05] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:25:05] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:25:07] local.INFO: TCP Data received {"connection_id":175004,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:25:07] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:25:07] local.INFO: Packet analysis {"connection_id":175004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:07] local.INFO: Extracted packet for processing {"connection_id":175004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25: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-09-08 19:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:25: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-09-08 19:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:25:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":175004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:25:07] local.INFO: GPS data processed {"connection_id":175004,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:25:07] local.INFO: Acknowledgment sent {"connection_id":175004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:25:19] local.INFO: TCP Data received {"connection_id":174718,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:19] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:19] local.INFO: Packet analysis {"connection_id":174718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:19] local.INFO: Extracted packet for processing {"connection_id":174718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:25:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":174718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:25:19] local.INFO: GPS data processed {"connection_id":174718,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:25:19] local.INFO: Acknowledgment sent {"connection_id":174718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:25:39] local.INFO: TCP Data received {"connection_id":175004,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:25:39] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:25:39] local.INFO: Packet analysis {"connection_id":175004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:39] local.INFO: Extracted packet for processing {"connection_id":175004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25: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-09-08 19:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:25:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":175004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:25:39] local.INFO: GPS data processed {"connection_id":175004,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:25:39] local.INFO: Acknowledgment sent {"connection_id":175004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:25:46] local.INFO: TCP Data received {"connection_id":177527,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:25:46] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:25:46] local.INFO: IMEI packet received {"connection_id":177527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":177527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:25:51] local.INFO: TCP Data received {"connection_id":177527,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:25:51] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:25:51] local.INFO: IMEI packet received {"connection_id":177527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":177527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:25:52] local.INFO: TCP Data received {"connection_id":177527,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:52] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:52] local.INFO: Packet analysis {"connection_id":177527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:52] local.INFO: Extracted packet for processing {"connection_id":177527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:25:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":177527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:25:52] local.INFO: GPS data processed {"connection_id":177527,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:25:52] local.INFO: Acknowledgment sent {"connection_id":177527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:25:57] local.INFO: TCP Data received {"connection_id":177527,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:57] local.INFO: Processing buffer {"connection_id":177527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:25:57] local.INFO: Packet analysis {"connection_id":177527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:57] local.INFO: Extracted packet for processing {"connection_id":177527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:25:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:25:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:25:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":177527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:25:57] local.INFO: GPS data processed {"connection_id":177527,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:25:57] local.INFO: Acknowledgment sent {"connection_id":177527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:26:00] local.INFO: TCP Data received {"connection_id":177528,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:26:00] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:26:00] local.INFO: IMEI packet received {"connection_id":177528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":177528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:26:05] local.INFO: TCP Data received {"connection_id":177528,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:26:05] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:26:05] local.INFO: IMEI packet received {"connection_id":177528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":177528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:26:07] local.INFO: TCP Data received {"connection_id":177528,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:26:07] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:26:07] local.INFO: Packet analysis {"connection_id":177528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:26:07] local.INFO: Extracted packet for processing {"connection_id":177528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26: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-09-08 19:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:26: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-09-08 19:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":177528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:26:07] local.INFO: GPS data processed {"connection_id":177528,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:26:07] local.INFO: Acknowledgment sent {"connection_id":177528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:26:39] local.INFO: TCP Data received {"connection_id":177528,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:26:39] local.INFO: Processing buffer {"connection_id":177528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081494da0012d196580071fef780038014e2b..."} 
[2026-09-08 19:26:39] local.INFO: Packet analysis {"connection_id":177528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:26:39] local.INFO: Extracted packet for processing {"connection_id":177528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952040704001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26: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-09-08 19:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788875460000,"timestamp_ms":1788875460000,"timestamp_seconds":1788875460,"priority":1,"record_length":96,"hex_timestamp":"000001a081494da0"} 
[2026-09-08 19:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952040704001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952040704001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:26:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952040704001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":177528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:26:39] local.INFO: GPS data processed {"connection_id":177528,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:26:39] local.INFO: Acknowledgment sent {"connection_id":177528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:26:41] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:26:41] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:26:41] local.INFO: IMEI packet received {"connection_id":174719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":174719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:26:43] local.INFO: TCP Data received {"connection_id":177529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:26:43] local.INFO: Processing buffer {"connection_id":177529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:26:43] local.INFO: IMEI packet received {"connection_id":177529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":177529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:26:46] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:26:46] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:26:46] local.INFO: IMEI packet received {"connection_id":174719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":174719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:26:47] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:26:47] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081499fa8012d34c9c006aa41b80008007126..."} 
[2026-09-08 19:26:47] local.INFO: Packet analysis {"connection_id":174719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:26:47] local.INFO: Extracted packet for processing {"connection_id":174719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08149"} 
[2026-09-08 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952046080001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875481000,"timestamp_ms":1788875481000,"timestamp_seconds":1788875481,"priority":1,"record_length":96,"hex_timestamp":"000001a081499fa8"} 
[2026-09-08 19:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 19:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952046080001,"66":26082,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952046080001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952046080001,"power":26082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":174719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:26:47] local.INFO: GPS data processed {"connection_id":174719,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:26:47] local.INFO: Acknowledgment sent {"connection_id":174719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:27:05] local.INFO: TCP Data received {"connection_id":175005,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:27:05] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:27:05] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:27:10] local.INFO: TCP Data received {"connection_id":175005,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:27:10] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:27:10] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:27:12] local.INFO: TCP Data received {"connection_id":175005,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:27:12] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:27:12] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:27:12] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27: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-09-08 19:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:27:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:27:12] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:27:12] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:27:16] local.INFO: TCP Data received {"connection_id":175005,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:27:16] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:27:16] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:27:16] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:16] 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-09-08 19:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:27:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:27:16] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:27:16] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:27:18] local.INFO: TCP Data received {"connection_id":174719,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:27:18] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:27:18] local.INFO: Packet analysis {"connection_id":174719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:27:18] local.INFO: Extracted packet for processing {"connection_id":174719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:27: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":174719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:27:18] local.INFO: GPS data processed {"connection_id":174719,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:27:18] local.INFO: Acknowledgment sent {"connection_id":174719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:27:41] local.INFO: TCP Data received {"connection_id":175006,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:27:41] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:27:41] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:27:46] local.INFO: TCP Data received {"connection_id":175006,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:27:46] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:27:46] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:27:47] local.INFO: TCP Data received {"connection_id":175006,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:27:47] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:27:47] local.INFO: Packet analysis {"connection_id":175006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:27:47] local.INFO: Extracted packet for processing {"connection_id":175006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:27:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:27:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":175006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:27:47] local.INFO: GPS data processed {"connection_id":175006,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:27:47] local.INFO: Acknowledgment sent {"connection_id":175006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:28:00] local.INFO: TCP Data received {"connection_id":174720,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:28:00] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:28:00] local.INFO: IMEI packet received {"connection_id":174720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":174720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:28:05] local.INFO: TCP Data received {"connection_id":174720,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:28:05] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:28:05] local.INFO: IMEI packet received {"connection_id":174720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":174720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:28:07] local.INFO: TCP Data received {"connection_id":174720,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:28:07] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:28:07] local.INFO: Packet analysis {"connection_id":174720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:28:07] local.INFO: Extracted packet for processing {"connection_id":174720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28: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-09-08 19:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:28: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-09-08 19:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:28:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":174720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:28:07] local.INFO: GPS data processed {"connection_id":174720,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:28:07] local.INFO: Acknowledgment sent {"connection_id":174720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:28:19] local.INFO: TCP Data received {"connection_id":175006,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:28:19] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:28:19] local.INFO: Packet analysis {"connection_id":175006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:28:19] local.INFO: Extracted packet for processing {"connection_id":175006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:28:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:28:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":175006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:28:19] local.INFO: GPS data processed {"connection_id":175006,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:28:19] local.INFO: Acknowledgment sent {"connection_id":175006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:28:38] local.INFO: TCP Data received {"connection_id":174720,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:28:38] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:28:38] local.INFO: Packet analysis {"connection_id":174720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:28:38] local.INFO: Extracted packet for processing {"connection_id":174720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28: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-09-08 19:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":174720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:28:38] local.INFO: GPS data processed {"connection_id":174720,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:28:38] local.INFO: Acknowledgment sent {"connection_id":174720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:28:41] local.INFO: TCP Data received {"connection_id":176067,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:28:41] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:28:41] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:28:46] local.INFO: TCP Data received {"connection_id":176067,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:28:46] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:28:46] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:28:47] local.INFO: TCP Data received {"connection_id":176067,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:28:47] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:28:47] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:28:47] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:28:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:28:47] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:28:47] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:29:00] local.INFO: TCP Data received {"connection_id":174721,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:29:00] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:29:00] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:29:05] local.INFO: TCP Data received {"connection_id":174721,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:29:05] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:29:05] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:29:07] local.INFO: TCP Data received {"connection_id":174721,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:29:07] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:29:07] local.INFO: Packet analysis {"connection_id":174721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:29:07] local.INFO: Extracted packet for processing {"connection_id":174721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29: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-09-08 19:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:29: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-09-08 19:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":174721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:29:07] local.INFO: GPS data processed {"connection_id":174721,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:29:07] local.INFO: Acknowledgment sent {"connection_id":174721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:29:19] local.INFO: TCP Data received {"connection_id":176067,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:19] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:19] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:29:19] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:29:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:29:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:29:19] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:29:19] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:29:38] local.INFO: TCP Data received {"connection_id":174721,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:29:38] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:29:38] local.INFO: Packet analysis {"connection_id":174721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:29:38] local.INFO: Extracted packet for processing {"connection_id":174721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29: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-09-08 19:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":174721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:29:38] local.INFO: GPS data processed {"connection_id":174721,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:29:38] local.INFO: Acknowledgment sent {"connection_id":174721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:29:46] local.INFO: TCP Data received {"connection_id":176068,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:29:46] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:29:46] local.INFO: IMEI packet received {"connection_id":176068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":176068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:29:51] local.INFO: TCP Data received {"connection_id":176068,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:29:51] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:29:51] local.INFO: IMEI packet received {"connection_id":176068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":176068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:29:52] local.INFO: TCP Data received {"connection_id":176068,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:52] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:52] local.INFO: Packet analysis {"connection_id":176068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:29:52] local.INFO: Extracted packet for processing {"connection_id":176068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:29:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:29:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":176068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:29:52] local.INFO: GPS data processed {"connection_id":176068,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:29:52] local.INFO: Acknowledgment sent {"connection_id":176068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:29:57] local.INFO: TCP Data received {"connection_id":176068,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:57] local.INFO: Processing buffer {"connection_id":176068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:29:57] local.INFO: Packet analysis {"connection_id":176068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:29:57] local.INFO: Extracted packet for processing {"connection_id":176068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:29:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:29:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":176068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:29:57] local.INFO: GPS data processed {"connection_id":176068,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:29:57] local.INFO: Acknowledgment sent {"connection_id":176068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:30:00] local.INFO: TCP Data received {"connection_id":175008,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:30:00] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:30:00] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:30:05] local.INFO: TCP Data received {"connection_id":175008,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:30:05] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:30:05] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:30:07] local.INFO: TCP Data received {"connection_id":175008,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:30:07] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:30:07] local.INFO: Packet analysis {"connection_id":175008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:30:07] local.INFO: Extracted packet for processing {"connection_id":175008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30: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-09-08 19:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:30: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-09-08 19:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:30:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":175008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:30:07] local.INFO: GPS data processed {"connection_id":175008,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:30:07] local.INFO: Acknowledgment sent {"connection_id":175008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:30:38] local.INFO: TCP Data received {"connection_id":175008,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:30:38] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:30:38] local.INFO: Packet analysis {"connection_id":175008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:30:38] local.INFO: Extracted packet for processing {"connection_id":175008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30: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-09-08 19:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":175008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:30:39] local.INFO: GPS data processed {"connection_id":175008,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:30:39] local.INFO: Acknowledgment sent {"connection_id":175008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:30:41] local.INFO: TCP Data received {"connection_id":177531,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:30:41] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:30:41] local.INFO: IMEI packet received {"connection_id":177531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":177531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:30:46] local.INFO: TCP Data received {"connection_id":177531,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:30:46] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:30:46] local.INFO: IMEI packet received {"connection_id":177531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":177531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:30:47] local.INFO: TCP Data received {"connection_id":177531,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:30:47] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:30:47] local.INFO: Packet analysis {"connection_id":177531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:30:47] local.INFO: Extracted packet for processing {"connection_id":177531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:30:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:30:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":177531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:30:47] local.INFO: GPS data processed {"connection_id":177531,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:30:47] local.INFO: Acknowledgment sent {"connection_id":177531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:31:05] local.INFO: TCP Data received {"connection_id":176070,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:31:05] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:31:05] local.INFO: IMEI packet received {"connection_id":176070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":176070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:31:10] local.INFO: TCP Data received {"connection_id":176070,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:31:10] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:31:10] local.INFO: IMEI packet received {"connection_id":176070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":176070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:31:12] local.INFO: TCP Data received {"connection_id":176070,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:31:12] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:31:12] local.INFO: Packet analysis {"connection_id":176070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:31:12] local.INFO: Extracted packet for processing {"connection_id":176070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31: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-09-08 19:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:31:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":176070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:31:12] local.INFO: GPS data processed {"connection_id":176070,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:31:12] local.INFO: Acknowledgment sent {"connection_id":176070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:31:16] local.INFO: TCP Data received {"connection_id":176070,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:31:16] local.INFO: Processing buffer {"connection_id":176070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814de568012d196580071fef780038014e2e..."} 
[2026-09-08 19:31:16] local.INFO: Packet analysis {"connection_id":176070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:31:16] local.INFO: Extracted packet for processing {"connection_id":176070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814d"} 
[2026-09-08 19:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952117760001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:16] 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-09-08 19:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788875761000,"timestamp_ms":1788875761000,"timestamp_seconds":1788875761,"priority":1,"record_length":96,"hex_timestamp":"000001a0814de568"} 
[2026-09-08 19:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952117760001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952117760001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:31:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952117760001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":176070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:31:16] local.INFO: GPS data processed {"connection_id":176070,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:31:16] local.INFO: Acknowledgment sent {"connection_id":176070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:31:19] local.INFO: TCP Data received {"connection_id":177531,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:31:19] local.INFO: Processing buffer {"connection_id":177531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:31:19] local.INFO: Packet analysis {"connection_id":177531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:31:19] local.INFO: Extracted packet for processing {"connection_id":177531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:31:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:31:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":177531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:31:19] local.INFO: GPS data processed {"connection_id":177531,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:31:19] local.INFO: Acknowledgment sent {"connection_id":177531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:31:41] local.INFO: TCP Data received {"connection_id":175009,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:31:41] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:31:41] local.INFO: IMEI packet received {"connection_id":175009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":175009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:31:46] local.INFO: TCP Data received {"connection_id":175009,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:31:46] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:31:46] local.INFO: IMEI packet received {"connection_id":175009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":175009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:31:47] local.INFO: TCP Data received {"connection_id":175009,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:31:47] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0814e3770012d34c9c006aa41b80008007122..."} 
[2026-09-08 19:31:47] local.INFO: Packet analysis {"connection_id":175009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:31:47] local.INFO: Extracted packet for processing {"connection_id":175009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0814e"} 
[2026-09-08 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952123136001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788875782000,"timestamp_ms":1788875782000,"timestamp_seconds":1788875782,"priority":1,"record_length":96,"hex_timestamp":"000001a0814e3770"} 
[2026-09-08 19:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-08 19:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952123136001,"66":26006,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952123136001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:31:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:31:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952123136001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":175009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:31:47] local.INFO: GPS data processed {"connection_id":175009,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:31:47] local.INFO: Acknowledgment sent {"connection_id":175009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:32:01] local.INFO: TCP Data received {"connection_id":177532,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:32:01] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:32:01] local.INFO: IMEI packet received {"connection_id":177532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":177532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:32:03] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:32:03] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:32:03] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:32:05] local.INFO: TCP Data received {"connection_id":177532,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:32:05] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:32:05] local.INFO: IMEI packet received {"connection_id":177532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":177532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:32:07] local.INFO: TCP Data received {"connection_id":177532,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:32:07] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:32:07] local.INFO: Packet analysis {"connection_id":177532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:07] local.INFO: Extracted packet for processing {"connection_id":177532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32: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-09-08 19:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:32:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":177532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:32:07] local.INFO: GPS data processed {"connection_id":177532,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:32:07] local.INFO: Acknowledgment sent {"connection_id":177532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:32:19] local.INFO: TCP Data received {"connection_id":175009,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:32:19] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:32:19] local.INFO: Packet analysis {"connection_id":175009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:19] local.INFO: Extracted packet for processing {"connection_id":175009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:32:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":175009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:32:19] local.INFO: GPS data processed {"connection_id":175009,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:32:19] local.INFO: Acknowledgment sent {"connection_id":175009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:32:38] local.INFO: TCP Data received {"connection_id":177532,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:32:38] local.INFO: Processing buffer {"connection_id":177532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:32:38] local.INFO: Packet analysis {"connection_id":177532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:38] local.INFO: Extracted packet for processing {"connection_id":177532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32: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-09-08 19:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:32:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":177532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:32:38] local.INFO: GPS data processed {"connection_id":177532,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:32:38] local.INFO: Acknowledgment sent {"connection_id":177532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:32:41] local.INFO: TCP Data received {"connection_id":174722,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:32:41] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:32:41] local.INFO: IMEI packet received {"connection_id":174722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":174722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:32:46] local.INFO: TCP Data received {"connection_id":174722,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:32:46] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:32:46] local.INFO: IMEI packet received {"connection_id":174722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:32:47] local.INFO: TCP Data received {"connection_id":174722,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:32:47] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:32:47] local.INFO: Packet analysis {"connection_id":174722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:47] local.INFO: Extracted packet for processing {"connection_id":174722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":174722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:32:47] local.INFO: GPS data processed {"connection_id":174722,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:32:47] local.INFO: Acknowledgment sent {"connection_id":174722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:33:00] local.INFO: TCP Data received {"connection_id":175010,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:33:00] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:33:00] local.INFO: IMEI packet received {"connection_id":175010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":175010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:33:05] local.INFO: TCP Data received {"connection_id":175010,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:33:05] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:33:05] local.INFO: IMEI packet received {"connection_id":175010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":175010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:33:07] local.INFO: TCP Data received {"connection_id":175010,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:33:07] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:33:07] local.INFO: Packet analysis {"connection_id":175010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:07] local.INFO: Extracted packet for processing {"connection_id":175010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33: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-09-08 19:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:33:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":175010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:33:07] local.INFO: GPS data processed {"connection_id":175010,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:33:07] local.INFO: Acknowledgment sent {"connection_id":175010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:33:19] local.INFO: TCP Data received {"connection_id":174722,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:19] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:19] local.INFO: Packet analysis {"connection_id":174722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:19] local.INFO: Extracted packet for processing {"connection_id":174722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:33:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":174722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:33:19] local.INFO: GPS data processed {"connection_id":174722,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:33:19] local.INFO: Acknowledgment sent {"connection_id":174722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:33:38] local.INFO: TCP Data received {"connection_id":175010,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:33:38] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:33:38] local.INFO: Packet analysis {"connection_id":175010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:38] local.INFO: Extracted packet for processing {"connection_id":175010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33: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-09-08 19:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":175010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:33:38] local.INFO: GPS data processed {"connection_id":175010,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:33:38] local.INFO: Acknowledgment sent {"connection_id":175010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:33:46] local.INFO: TCP Data received {"connection_id":176073,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:33:46] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:33:46] local.INFO: IMEI packet received {"connection_id":176073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":176073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:33:51] local.INFO: TCP Data received {"connection_id":176073,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:33:51] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:33:51] local.INFO: IMEI packet received {"connection_id":176073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":176073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:33:52] local.INFO: TCP Data received {"connection_id":176073,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:52] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:52] local.INFO: Packet analysis {"connection_id":176073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:52] local.INFO: Extracted packet for processing {"connection_id":176073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:33:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:33:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":176073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:33:52] local.INFO: GPS data processed {"connection_id":176073,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:33:52] local.INFO: Acknowledgment sent {"connection_id":176073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:33:57] local.INFO: TCP Data received {"connection_id":176073,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:57] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:33:57] local.INFO: Packet analysis {"connection_id":176073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:57] local.INFO: Extracted packet for processing {"connection_id":176073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:33:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:33:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":176073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:33:57] local.INFO: GPS data processed {"connection_id":176073,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:33:57] local.INFO: Acknowledgment sent {"connection_id":176073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:34:00] local.INFO: TCP Data received {"connection_id":176074,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:34:00] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:34:00] local.INFO: IMEI packet received {"connection_id":176074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":176074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:34:05] local.INFO: TCP Data received {"connection_id":176074,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:34:05] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:34:05] local.INFO: IMEI packet received {"connection_id":176074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":176074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:34:07] local.INFO: TCP Data received {"connection_id":176074,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:34:07] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:34:07] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:34:07] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34: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-09-08 19:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:34:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:34:07] local.INFO: GPS data processed {"connection_id":176074,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:34:07] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:34:38] local.INFO: TCP Data received {"connection_id":176074,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:34:38] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:34:38] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:34:38] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34: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-09-08 19:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:34:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:34:39] local.INFO: GPS data processed {"connection_id":176074,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:34:39] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:34:41] local.INFO: TCP Data received {"connection_id":174724,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:34:41] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:34:41] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:34:46] local.INFO: TCP Data received {"connection_id":174724,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:34:46] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:34:46] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:34:47] local.INFO: TCP Data received {"connection_id":174724,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:34:47] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:34:47] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:34:47] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 19:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 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-09-08 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 19:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:34:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:34:47] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:34:47] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:35:05] local.INFO: TCP Data received {"connection_id":175011,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:35:05] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:35:05] local.INFO: IMEI packet received {"connection_id":175011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":175011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:35:10] local.INFO: TCP Data received {"connection_id":175011,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:35:10] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:35:10] local.INFO: IMEI packet received {"connection_id":175011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":175011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:35:12] local.INFO: TCP Data received {"connection_id":175011,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:35:12] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:35:12] local.INFO: Packet analysis {"connection_id":175011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:12] local.INFO: Extracted packet for processing {"connection_id":175011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35: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-09-08 19:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":175011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:35:12] local.INFO: GPS data processed {"connection_id":175011,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:35:12] local.INFO: Acknowledgment sent {"connection_id":175011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:35:19] local.INFO: TCP Data received {"connection_id":174724,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:35:19] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:35:19] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:19] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:35:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:35:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:35:19] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:35:19] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:35:41] local.INFO: TCP Data received {"connection_id":176075,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:35:41] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:35:41] local.INFO: IMEI packet received {"connection_id":176075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:35:43] local.INFO: TCP Data received {"connection_id":175011,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:35:43] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:35:43] local.INFO: Packet analysis {"connection_id":175011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:43] local.INFO: Extracted packet for processing {"connection_id":175011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:43] 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-09-08 19:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":175011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:35:44] local.INFO: GPS data processed {"connection_id":175011,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:35:44] local.INFO: Acknowledgment sent {"connection_id":175011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:35:46] local.INFO: TCP Data received {"connection_id":176075,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:35:46] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:35:46] local.INFO: IMEI packet received {"connection_id":176075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":176075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:35:47] local.INFO: TCP Data received {"connection_id":176075,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:35:47] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:35:47] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:47] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:35:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:35:47] local.INFO: GPS data processed {"connection_id":176075,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:35:47] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:36:00] local.INFO: TCP Data received {"connection_id":177534,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:36:00] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:36:00] local.INFO: IMEI packet received {"connection_id":177534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":177534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:36:05] local.INFO: TCP Data received {"connection_id":177534,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:36:05] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:36:05] local.INFO: IMEI packet received {"connection_id":177534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":177534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:36:07] local.INFO: TCP Data received {"connection_id":177534,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:36:07] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:36:07] local.INFO: Packet analysis {"connection_id":177534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:07] local.INFO: Extracted packet for processing {"connection_id":177534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19: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-09-08 19:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:36:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":177534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:36:07] local.INFO: GPS data processed {"connection_id":177534,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:36:07] local.INFO: Acknowledgment sent {"connection_id":177534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:36:19] local.INFO: TCP Data received {"connection_id":176075,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:36:19] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:36:19] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:19] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:36:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:36:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:36:19] local.INFO: GPS data processed {"connection_id":176075,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:36:19] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:36:39] local.INFO: TCP Data received {"connection_id":177534,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:36:39] local.INFO: Processing buffer {"connection_id":177534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081527d30012d196580071fef780038014e2c..."} 
[2026-09-08 19:36:39] local.INFO: Packet analysis {"connection_id":177534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:39] local.INFO: Extracted packet for processing {"connection_id":177534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952194816001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36: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-09-08 19:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788876062000,"timestamp_ms":1788876062000,"timestamp_seconds":1788876062,"priority":1,"record_length":96,"hex_timestamp":"000001a081527d30"} 
[2026-09-08 19:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952194816001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952194816001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:36:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952194816001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":177534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:36:39] local.INFO: GPS data processed {"connection_id":177534,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:36:39] local.INFO: Acknowledgment sent {"connection_id":177534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:36:41] local.INFO: TCP Data received {"connection_id":174726,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:36:41] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:36:41] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:36:46] local.INFO: TCP Data received {"connection_id":174726,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:36:46] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:36:46] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:36:48] local.INFO: TCP Data received {"connection_id":174726,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:36:48] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08152cf38012d34c9c006aa41b80008007129..."} 
[2026-09-08 19:36:48] local.INFO: Packet analysis {"connection_id":174726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:48] local.INFO: Extracted packet for processing {"connection_id":174726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08152"} 
[2026-09-08 19:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":8,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952200192001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788876083000,"timestamp_ms":1788876083000,"timestamp_seconds":1788876083,"priority":1,"record_length":96,"hex_timestamp":"000001a08152cf38"} 
[2026-09-08 19:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 19:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952200192001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952200192001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:36:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952200192001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":174726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:36:48] local.INFO: GPS data processed {"connection_id":174726,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:36:48] local.INFO: Acknowledgment sent {"connection_id":174726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:37:00] local.INFO: TCP Data received {"connection_id":176076,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:37:00] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:37:00] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:37:05] local.INFO: TCP Data received {"connection_id":176076,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:37:05] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:37:05] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:37:07] local.INFO: TCP Data received {"connection_id":176076,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:37:07] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:37:07] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:07] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37: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-09-08 19:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:37: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-09-08 19:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:37:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:37:07] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:37:07] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:37:19] local.INFO: TCP Data received {"connection_id":174726,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:37:19] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:37:19] local.INFO: Packet analysis {"connection_id":174726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:19] local.INFO: Extracted packet for processing {"connection_id":174726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:37:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":174726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:37:19] local.INFO: GPS data processed {"connection_id":174726,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:37:19] local.INFO: Acknowledgment sent {"connection_id":174726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:37:39] local.INFO: TCP Data received {"connection_id":176076,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:37:39] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:37:39] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:39] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37: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-09-08 19:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:37:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:37:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:37:39] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:37:39] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:37:41] local.INFO: TCP Data received {"connection_id":175013,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:37:41] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:37:41] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:37:43] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:37:43] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:37:43] local.INFO: IMEI packet received {"connection_id":175014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":175014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:37:46] local.INFO: TCP Data received {"connection_id":175013,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:37:46] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:37:46] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:37:48] local.INFO: TCP Data received {"connection_id":175013,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:37:48] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:37:48] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:48] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:37:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:37:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:37:48] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:37:48] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:38:05] local.INFO: TCP Data received {"connection_id":177535,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:38:05] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:38:05] local.INFO: IMEI packet received {"connection_id":177535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":177535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:38:10] local.INFO: TCP Data received {"connection_id":177535,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:38:10] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:38:10] local.INFO: IMEI packet received {"connection_id":177535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":177535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:38:11] local.INFO: TCP Data received {"connection_id":177535,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:38:12] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:38:12] local.INFO: Packet analysis {"connection_id":177535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:12] local.INFO: Extracted packet for processing {"connection_id":177535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38: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-09-08 19:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:38:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":177535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:38:12] local.INFO: GPS data processed {"connection_id":177535,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:38:12] local.INFO: Acknowledgment sent {"connection_id":177535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:38:16] local.INFO: TCP Data received {"connection_id":177535,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:38:16] local.INFO: Processing buffer {"connection_id":177535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:38:16] local.INFO: Packet analysis {"connection_id":177535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:16] local.INFO: Extracted packet for processing {"connection_id":177535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:16] 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-09-08 19:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":177535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:38:16] local.INFO: GPS data processed {"connection_id":177535,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:38:16] local.INFO: Acknowledgment sent {"connection_id":177535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:38:21] local.INFO: TCP Data received {"connection_id":175013,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:38:21] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:38:21] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:21] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:38:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:38:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:38:21] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:38:21] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:38:41] local.INFO: TCP Data received {"connection_id":175015,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:38:41] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:38:41] local.INFO: IMEI packet received {"connection_id":175015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":175015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:38:46] local.INFO: TCP Data received {"connection_id":175015,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:38:46] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:38:46] local.INFO: IMEI packet received {"connection_id":175015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":175015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:38:48] local.INFO: TCP Data received {"connection_id":175015,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:38:48] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:38:48] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:48] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:38:48] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:38:48] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:39:00] local.INFO: TCP Data received {"connection_id":175017,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:39:00] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:39:00] local.INFO: IMEI packet received {"connection_id":175017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":175017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:39:05] local.INFO: TCP Data received {"connection_id":175017,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:39:05] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:39:05] local.INFO: IMEI packet received {"connection_id":175017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":175017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:39:06] local.INFO: TCP Data received {"connection_id":175017,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:06] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:06] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:06] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:06] 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-09-08 19:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:39:06] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:39:06] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:39:11] local.INFO: TCP Data received {"connection_id":175017,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:11] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:11] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:11] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39: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-09-08 19:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:39: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-09-08 19: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-09-08 19:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:39:11] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:39:11] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:39:20] local.INFO: TCP Data received {"connection_id":175015,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:39:20] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:39:20] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:20] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:39:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:39:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:39:20] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:39:20] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:39:41] local.INFO: TCP Data received {"connection_id":174727,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:39:41] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:39:41] local.INFO: IMEI packet received {"connection_id":174727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":174727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:39:42] local.INFO: TCP Data received {"connection_id":175017,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:42] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:39:42] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:42] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:42] 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-09-08 19:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:39:42] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:39:42] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:39:46] local.INFO: TCP Data received {"connection_id":174727,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:39:46] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:39:46] local.INFO: IMEI packet received {"connection_id":174727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":174727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:39:48] local.INFO: TCP Data received {"connection_id":174727,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:39:48] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:39:48] local.INFO: Packet analysis {"connection_id":174727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:48] local.INFO: Extracted packet for processing {"connection_id":174727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:39:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:39:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":174727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:39:48] local.INFO: GPS data processed {"connection_id":174727,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:39:48] local.INFO: Acknowledgment sent {"connection_id":174727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:40:00] local.INFO: TCP Data received {"connection_id":176077,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:40:00] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:40:00] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:40:05] local.INFO: TCP Data received {"connection_id":176077,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:40:05] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:40:05] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:40:07] local.INFO: TCP Data received {"connection_id":176077,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:40:07] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:40:07] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:07] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40: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-09-08 19:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:40: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-09-08 19:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:40:07] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:40:07] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:40:19] local.INFO: TCP Data received {"connection_id":174727,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:40:19] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:40:19] local.INFO: Packet analysis {"connection_id":174727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:19] local.INFO: Extracted packet for processing {"connection_id":174727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:40:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":174727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:40:19] local.INFO: GPS data processed {"connection_id":174727,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:40:19] local.INFO: Acknowledgment sent {"connection_id":174727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:40:39] local.INFO: TCP Data received {"connection_id":176077,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:40:39] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:40:39] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:39] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40: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-09-08 19:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:40:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:40:39] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:40:39] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:40:41] local.INFO: TCP Data received {"connection_id":174729,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:40:41] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:40:41] local.INFO: IMEI packet received {"connection_id":174729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":174729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:40:46] local.INFO: TCP Data received {"connection_id":174729,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:40:46] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:40:46] local.INFO: IMEI packet received {"connection_id":174729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":174729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:40:47] local.INFO: TCP Data received {"connection_id":174729,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:40:47] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:40:47] local.INFO: Packet analysis {"connection_id":174729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:47] local.INFO: Extracted packet for processing {"connection_id":174729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:40:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":174729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:40:47] local.INFO: GPS data processed {"connection_id":174729,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:40:47] local.INFO: Acknowledgment sent {"connection_id":174729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:41:00] local.INFO: TCP Data received {"connection_id":175018,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:41:00] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:41:00] local.INFO: IMEI packet received {"connection_id":175018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":175018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:41:05] local.INFO: TCP Data received {"connection_id":175018,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:41:05] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:41:05] local.INFO: IMEI packet received {"connection_id":175018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":175018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:41:07] local.INFO: TCP Data received {"connection_id":175018,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:41:07] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:41:07] local.INFO: Packet analysis {"connection_id":175018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:07] local.INFO: Extracted packet for processing {"connection_id":175018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41: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-09-08 19:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:41: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-09-08 19:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:41:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":175018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:41:07] local.INFO: GPS data processed {"connection_id":175018,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:41:07] local.INFO: Acknowledgment sent {"connection_id":175018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:41:19] local.INFO: TCP Data received {"connection_id":174729,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:41:19] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:41:19] local.INFO: Packet analysis {"connection_id":174729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:19] local.INFO: Extracted packet for processing {"connection_id":174729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 19:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 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-09-08 19:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 19:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:41:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:41:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":174729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:41:19] local.INFO: GPS data processed {"connection_id":174729,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:41:19] local.INFO: Acknowledgment sent {"connection_id":174729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:41:41] local.INFO: TCP Data received {"connection_id":177537,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:41:41] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:41:41] local.INFO: IMEI packet received {"connection_id":177537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":177537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:41:41] local.INFO: TCP Data received {"connection_id":175018,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:41:41] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815714f8012d196580071fef780038014e2d..."} 
[2026-09-08 19:41:41] local.INFO: Packet analysis {"connection_id":175018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:41] local.INFO: Extracted packet for processing {"connection_id":175018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952271872001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41: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-09-08 19:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788876363000,"timestamp_ms":1788876363000,"timestamp_seconds":1788876363,"priority":1,"record_length":96,"hex_timestamp":"000001a0815714f8"} 
[2026-09-08 19:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952271872001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952271872001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:41:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952271872001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":175018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:41:41] local.INFO: GPS data processed {"connection_id":175018,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:41:41] local.INFO: Acknowledgment sent {"connection_id":175018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:41:46] local.INFO: TCP Data received {"connection_id":177537,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:41:46] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:41:46] local.INFO: IMEI packet received {"connection_id":177537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":177537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:41:47] local.INFO: TCP Data received {"connection_id":177537,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:41:47] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081576700012d34c9c006aa41b8000e007121..."} 
[2026-09-08 19:41:47] local.INFO: Packet analysis {"connection_id":177537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:47] local.INFO: Extracted packet for processing {"connection_id":177537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08157"} 
[2026-09-08 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952277248001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876384000,"timestamp_ms":1788876384000,"timestamp_seconds":1788876384,"priority":1,"record_length":96,"hex_timestamp":"000001a081576700"} 
[2026-09-08 19:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952277248001,"66":25952,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952277248001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:41:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952277248001,"power":25952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":177537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:41:47] local.INFO: GPS data processed {"connection_id":177537,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:41:47] local.INFO: Acknowledgment sent {"connection_id":177537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:42:00] local.INFO: TCP Data received {"connection_id":175019,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:42:00] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:42:00] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:42:05] local.INFO: TCP Data received {"connection_id":175019,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:42:05] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:42:05] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:42:07] local.INFO: TCP Data received {"connection_id":175019,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:42:07] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:42:07] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:07] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42: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-09-08 19:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:42: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-09-08 19:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:42:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:42:07] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:42:07] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:42:19] local.INFO: TCP Data received {"connection_id":177537,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:42:19] local.INFO: Processing buffer {"connection_id":177537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:42:19] local.INFO: Packet analysis {"connection_id":177537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:19] local.INFO: Extracted packet for processing {"connection_id":177537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:42:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":177537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:42:19] local.INFO: GPS data processed {"connection_id":177537,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:42:19] local.INFO: Acknowledgment sent {"connection_id":177537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:42:38] local.INFO: TCP Data received {"connection_id":175019,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:42:38] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:42:38] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:38] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42: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-09-08 19:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:42:39] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:42:39] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:42:41] local.INFO: TCP Data received {"connection_id":176078,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:42:41] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:42:41] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:42:46] local.INFO: TCP Data received {"connection_id":176078,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:42:46] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:42:46] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:42:47] local.INFO: TCP Data received {"connection_id":176078,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:42:47] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:42:47] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:47] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:42:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:42:47] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:42:47] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:43:05] local.INFO: TCP Data received {"connection_id":175020,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:43:05] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:43:05] local.INFO: IMEI packet received {"connection_id":175020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":175020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:43:10] local.INFO: TCP Data received {"connection_id":175020,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:43:10] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:43:10] local.INFO: IMEI packet received {"connection_id":175020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":175020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:43:12] local.INFO: TCP Data received {"connection_id":175020,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:43:12] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:43:12] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:12] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43: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-09-08 19:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:43:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:43:12] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:43:12] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:43:16] local.INFO: TCP Data received {"connection_id":175020,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:43:16] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:43:16] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:16] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:16] 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-09-08 19:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:43:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:43:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:43:16] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:43:16] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:43:18] local.INFO: TCP Data received {"connection_id":176078,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:43:18] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:43:18] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:18] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:43:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:43:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:43:18] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:43:18] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:43:41] local.INFO: TCP Data received {"connection_id":175021,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:43:41] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:43:41] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:43:43] local.INFO: TCP Data received {"connection_id":177539,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:43:43] local.INFO: Processing buffer {"connection_id":177539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:43:43] local.INFO: IMEI packet received {"connection_id":177539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":177539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:43:46] local.INFO: TCP Data received {"connection_id":175021,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:43:46] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:43:46] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:43:47] local.INFO: TCP Data received {"connection_id":175021,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:43:47] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:43:47] local.INFO: Packet analysis {"connection_id":175021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:47] local.INFO: Extracted packet for processing {"connection_id":175021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:43:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:43:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":175021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:43:47] local.INFO: GPS data processed {"connection_id":175021,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:43:47] local.INFO: Acknowledgment sent {"connection_id":175021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:44:00] local.INFO: TCP Data received {"connection_id":177540,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:44:00] local.INFO: Processing buffer {"connection_id":177540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:44:00] local.INFO: IMEI packet received {"connection_id":177540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":177540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:44:05] local.INFO: TCP Data received {"connection_id":177540,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:44:05] local.INFO: Processing buffer {"connection_id":177540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:44:05] local.INFO: IMEI packet received {"connection_id":177540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":177540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:44:08] local.INFO: TCP Data received {"connection_id":177540,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:44:08] local.INFO: Processing buffer {"connection_id":177540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:44:08] local.INFO: Packet analysis {"connection_id":177540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:08] local.INFO: Extracted packet for processing {"connection_id":177540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44: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-09-08 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:44:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":177540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:44:08] local.INFO: GPS data processed {"connection_id":177540,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:44:08] local.INFO: Acknowledgment sent {"connection_id":177540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:44:19] local.INFO: TCP Data received {"connection_id":175021,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:44:19] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:44:19] local.INFO: Packet analysis {"connection_id":175021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:19] local.INFO: Extracted packet for processing {"connection_id":175021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:44:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:44:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":175021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:44:19] local.INFO: GPS data processed {"connection_id":175021,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:44:19] local.INFO: Acknowledgment sent {"connection_id":175021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:44:40] local.INFO: TCP Data received {"connection_id":177540,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:44:40] local.INFO: Processing buffer {"connection_id":177540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:44:40] local.INFO: Packet analysis {"connection_id":177540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:40] local.INFO: Extracted packet for processing {"connection_id":177540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44: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-09-08 19:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:44: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-09-08 19:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:44:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":177540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:44:40] local.INFO: GPS data processed {"connection_id":177540,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:44:40] local.INFO: Acknowledgment sent {"connection_id":177540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:44:41] local.INFO: TCP Data received {"connection_id":176079,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:44:41] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:44:41] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:44:46] local.INFO: TCP Data received {"connection_id":176079,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:44:46] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:44:46] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:44:47] local.INFO: TCP Data received {"connection_id":176079,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:44:47] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:44:47] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:47] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:44:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:44:47] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:44:47] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:45:00] local.INFO: TCP Data received {"connection_id":174732,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:45:00] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:45:00] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:45:05] local.INFO: TCP Data received {"connection_id":174732,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:45:05] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:45:05] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:45:07] local.INFO: TCP Data received {"connection_id":174732,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:45:07] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:45:07] local.INFO: Packet analysis {"connection_id":174732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:07] local.INFO: Extracted packet for processing {"connection_id":174732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45: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-09-08 19:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:45: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-09-08 19:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":174732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:45:07] local.INFO: GPS data processed {"connection_id":174732,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:45:07] local.INFO: Acknowledgment sent {"connection_id":174732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:45:19] local.INFO: TCP Data received {"connection_id":176079,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:45:19] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:45:19] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:19] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:45:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:45:19] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:45:19] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:45:38] local.INFO: TCP Data received {"connection_id":174732,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:45:38] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:45:38] local.INFO: Packet analysis {"connection_id":174732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:38] local.INFO: Extracted packet for processing {"connection_id":174732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45: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-09-08 19:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":174732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:45:39] local.INFO: GPS data processed {"connection_id":174732,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:45:39] local.INFO: Acknowledgment sent {"connection_id":174732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:45:41] local.INFO: TCP Data received {"connection_id":174733,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:45:41] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:45:41] local.INFO: IMEI packet received {"connection_id":174733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:45:46] local.INFO: TCP Data received {"connection_id":174733,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:45:46] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:45:46] local.INFO: IMEI packet received {"connection_id":174733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:45:47] local.INFO: TCP Data received {"connection_id":174733,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:45:47] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:45:47] local.INFO: Packet analysis {"connection_id":174733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:47] local.INFO: Extracted packet for processing {"connection_id":174733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:45:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":174733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:45:47] local.INFO: GPS data processed {"connection_id":174733,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:45:47] local.INFO: Acknowledgment sent {"connection_id":174733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:46:00] local.INFO: TCP Data received {"connection_id":176080,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:46:00] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:46:00] local.INFO: IMEI packet received {"connection_id":176080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":176080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:46:05] local.INFO: TCP Data received {"connection_id":176080,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:46:05] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:46:05] local.INFO: IMEI packet received {"connection_id":176080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":176080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:46:07] local.INFO: TCP Data received {"connection_id":176080,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:46:07] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:46:07] local.INFO: Packet analysis {"connection_id":176080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:07] local.INFO: Extracted packet for processing {"connection_id":176080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46: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-09-08 19:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:46: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-09-08 19:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:46:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":176080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:46:07] local.INFO: GPS data processed {"connection_id":176080,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:46:07] local.INFO: Acknowledgment sent {"connection_id":176080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:46:19] local.INFO: TCP Data received {"connection_id":174733,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:19] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:19] local.INFO: Packet analysis {"connection_id":174733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:19] local.INFO: Extracted packet for processing {"connection_id":174733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 19:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 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-09-08 19:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 19:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:46:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":174733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:46:19] local.INFO: GPS data processed {"connection_id":174733,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:46:19] local.INFO: Acknowledgment sent {"connection_id":174733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:46:38] local.INFO: TCP Data received {"connection_id":176080,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:46:38] local.INFO: Processing buffer {"connection_id":176080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bacc0012d196580071fef780038014e26..."} 
[2026-09-08 19:46:38] local.INFO: Packet analysis {"connection_id":176080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:38] local.INFO: Extracted packet for processing {"connection_id":176080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952348928001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46: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-09-08 19:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876664000,"timestamp_ms":1788876664000,"timestamp_seconds":1788876664,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bacc0"} 
[2026-09-08 19:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952348928001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952348928001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952348928001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":176080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:46:38] local.INFO: GPS data processed {"connection_id":176080,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:46:38] local.INFO: Acknowledgment sent {"connection_id":176080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:46:46] local.INFO: TCP Data received {"connection_id":174734,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:46:46] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:46:46] local.INFO: IMEI packet received {"connection_id":174734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":174734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:46:51] local.INFO: TCP Data received {"connection_id":174734,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:46:51] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:46:51] local.INFO: IMEI packet received {"connection_id":174734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":174734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:46:52] local.INFO: TCP Data received {"connection_id":174734,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:52] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:52] local.INFO: Packet analysis {"connection_id":174734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:52] local.INFO: Extracted packet for processing {"connection_id":174734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:46:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:46:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":174734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:46:52] local.INFO: GPS data processed {"connection_id":174734,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:46:52] local.INFO: Acknowledgment sent {"connection_id":174734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:46:57] local.INFO: TCP Data received {"connection_id":174734,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:57] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0815bfec8012d34c9c006aa41b8000e00712c..."} 
[2026-09-08 19:46:57] local.INFO: Packet analysis {"connection_id":174734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:57] local.INFO: Extracted packet for processing {"connection_id":174734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0815b"} 
[2026-09-08 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":44,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952354304001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788876685000,"timestamp_ms":1788876685000,"timestamp_seconds":1788876685,"priority":1,"record_length":96,"hex_timestamp":"000001a0815bfec8"} 
[2026-09-08 19:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 19:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952354304001,"66":25919,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952354304001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:46:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:46:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952354304001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":174734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:46:57] local.INFO: GPS data processed {"connection_id":174734,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:46:57] local.INFO: Acknowledgment sent {"connection_id":174734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:47:05] local.INFO: TCP Data received {"connection_id":177542,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:47:05] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:47:05] local.INFO: IMEI packet received {"connection_id":177542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":177542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:47:10] local.INFO: TCP Data received {"connection_id":177542,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:47:10] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:47:10] local.INFO: IMEI packet received {"connection_id":177542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":177542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:47:11] local.INFO: TCP Data received {"connection_id":177542,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:47:11] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:47:11] local.INFO: Packet analysis {"connection_id":177542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:47:11] local.INFO: Extracted packet for processing {"connection_id":177542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47: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-09-08 19:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:47:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:47:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":177542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:47:12] local.INFO: GPS data processed {"connection_id":177542,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:47:12] local.INFO: Acknowledgment sent {"connection_id":177542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:47:16] local.INFO: TCP Data received {"connection_id":177542,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:47:16] local.INFO: Processing buffer {"connection_id":177542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:47:16] local.INFO: Packet analysis {"connection_id":177542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:47:16] local.INFO: Extracted packet for processing {"connection_id":177542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:16] 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-09-08 19:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:47:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":177542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:47:16] local.INFO: GPS data processed {"connection_id":177542,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:47:16] local.INFO: Acknowledgment sent {"connection_id":177542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:47:41] local.INFO: TCP Data received {"connection_id":175023,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:47:41] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:47:41] local.INFO: IMEI packet received {"connection_id":175023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":175023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:47:46] local.INFO: TCP Data received {"connection_id":175023,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:47:46] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:47:46] local.INFO: IMEI packet received {"connection_id":175023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":175023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:47:47] local.INFO: TCP Data received {"connection_id":175023,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:47:47] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:47:47] local.INFO: Packet analysis {"connection_id":175023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:47:47] local.INFO: Extracted packet for processing {"connection_id":175023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":175023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:47:47] local.INFO: GPS data processed {"connection_id":175023,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:47:47] local.INFO: Acknowledgment sent {"connection_id":175023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:48:00] local.INFO: TCP Data received {"connection_id":176081,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:48:00] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:48:00] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:48:05] local.INFO: TCP Data received {"connection_id":176081,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:48:05] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:48:05] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:48:07] local.INFO: TCP Data received {"connection_id":176081,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:48:07] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:48:07] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:07] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48: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-09-08 19:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:48: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-09-08 19:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:48:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:48:07] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:48:07] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:48:19] local.INFO: TCP Data received {"connection_id":175023,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:48:19] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:48:19] local.INFO: Packet analysis {"connection_id":175023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:19] local.INFO: Extracted packet for processing {"connection_id":175023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:48:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:48:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":175023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:48:19] local.INFO: GPS data processed {"connection_id":175023,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:48:19] local.INFO: Acknowledgment sent {"connection_id":175023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:48:38] local.INFO: TCP Data received {"connection_id":176081,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:48:38] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:48:38] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:38] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48: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-09-08 19:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:48:38] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:48:38] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:48:41] local.INFO: TCP Data received {"connection_id":176082,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:48:41] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:48:41] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:48:46] local.INFO: TCP Data received {"connection_id":176082,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:48:46] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:48:46] local.INFO: IMEI packet received {"connection_id":176082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":176082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:48:47] local.INFO: TCP Data received {"connection_id":176082,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:48:47] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:48:47] local.INFO: Packet analysis {"connection_id":176082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:47] local.INFO: Extracted packet for processing {"connection_id":176082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:48:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":176082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:48:47] local.INFO: GPS data processed {"connection_id":176082,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:48:47] local.INFO: Acknowledgment sent {"connection_id":176082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:49:00] local.INFO: TCP Data received {"connection_id":174736,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:49:00] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:49:00] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:49:05] local.INFO: TCP Data received {"connection_id":174736,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:49:05] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:49:05] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:49:07] local.INFO: TCP Data received {"connection_id":174736,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:49:07] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:49:07] local.INFO: Packet analysis {"connection_id":174736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:07] local.INFO: Extracted packet for processing {"connection_id":174736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49: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-09-08 19:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:49: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-09-08 19:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:49:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":174736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:49:07] local.INFO: GPS data processed {"connection_id":174736,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:49:07] local.INFO: Acknowledgment sent {"connection_id":174736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:49:08] local.INFO: TCP Data received {"connection_id":177543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:49:08] local.INFO: Processing buffer {"connection_id":177543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:49:08] local.INFO: IMEI packet received {"connection_id":177543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":177543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:49:18] local.INFO: TCP Data received {"connection_id":176082,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:49:18] local.INFO: Processing buffer {"connection_id":176082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:49:18] local.INFO: Packet analysis {"connection_id":176082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:18] local.INFO: Extracted packet for processing {"connection_id":176082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:49: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:49:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:49:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":176082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:49:18] local.INFO: GPS data processed {"connection_id":176082,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:49:18] local.INFO: Acknowledgment sent {"connection_id":176082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:49:38] local.INFO: TCP Data received {"connection_id":174736,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:49:38] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:49:38] local.INFO: Packet analysis {"connection_id":174736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:38] local.INFO: Extracted packet for processing {"connection_id":174736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49: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-09-08 19:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":174736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:49:38] local.INFO: GPS data processed {"connection_id":174736,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:49:38] local.INFO: Acknowledgment sent {"connection_id":174736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:49:41] local.INFO: TCP Data received {"connection_id":176083,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:49:41] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:49:41] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:49:46] local.INFO: TCP Data received {"connection_id":176083,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:49:46] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:49:46] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:49:48] local.INFO: TCP Data received {"connection_id":177544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:49:48] local.INFO: Processing buffer {"connection_id":177544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:49:48] local.INFO: IMEI packet received {"connection_id":177544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":177544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:49:48] local.INFO: TCP Data received {"connection_id":176083,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:49:48] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:49:48] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:48] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:49:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:49:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:49:48] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:49:48] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:50:00] local.INFO: TCP Data received {"connection_id":175024,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:50:00] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:50:00] local.INFO: IMEI packet received {"connection_id":175024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":175024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:50:05] local.INFO: TCP Data received {"connection_id":175024,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:50:05] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:50:05] local.INFO: IMEI packet received {"connection_id":175024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":175024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:50:07] local.INFO: TCP Data received {"connection_id":175024,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:50:07] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:50:07] local.INFO: Packet analysis {"connection_id":175024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:07] local.INFO: Extracted packet for processing {"connection_id":175024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50: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-09-08 19:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:50: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-09-08 19:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:50:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":175024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:50:07] local.INFO: GPS data processed {"connection_id":175024,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:50:07] local.INFO: Acknowledgment sent {"connection_id":175024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:50:20] local.INFO: TCP Data received {"connection_id":176083,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:20] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:20] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:20] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:50:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:50:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:50:20] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:50:20] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:50:39] local.INFO: TCP Data received {"connection_id":175024,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:50:39] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:50:39] local.INFO: Packet analysis {"connection_id":175024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:39] local.INFO: Extracted packet for processing {"connection_id":175024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50: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-09-08 19:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:50:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":175024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:50:39] local.INFO: GPS data processed {"connection_id":175024,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:50:39] local.INFO: Acknowledgment sent {"connection_id":175024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:50:46] local.INFO: TCP Data received {"connection_id":177545,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:50:46] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:50:46] local.INFO: IMEI packet received {"connection_id":177545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":177545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:50:51] local.INFO: TCP Data received {"connection_id":177545,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:50:51] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:50:51] local.INFO: IMEI packet received {"connection_id":177545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":177545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:50:53] local.INFO: TCP Data received {"connection_id":177545,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:53] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:53] local.INFO: Packet analysis {"connection_id":177545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:53] local.INFO: Extracted packet for processing {"connection_id":177545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:50:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:50:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":177545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:50:53] local.INFO: GPS data processed {"connection_id":177545,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:50:53] local.INFO: Acknowledgment sent {"connection_id":177545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:50:57] local.INFO: TCP Data received {"connection_id":177545,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:57] local.INFO: Processing buffer {"connection_id":177545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:50:57] local.INFO: Packet analysis {"connection_id":177545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:57] local.INFO: Extracted packet for processing {"connection_id":177545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:50:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:50:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":177545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:50:57] local.INFO: GPS data processed {"connection_id":177545,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:50:57] local.INFO: Acknowledgment sent {"connection_id":177545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:51:00] local.INFO: TCP Data received {"connection_id":176084,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:51:00] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:51:00] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:51:05] local.INFO: TCP Data received {"connection_id":176084,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:51:05] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:51:05] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:51:07] local.INFO: TCP Data received {"connection_id":176084,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:51:07] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:51:07] local.INFO: Packet analysis {"connection_id":176084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:51:07] local.INFO: Extracted packet for processing {"connection_id":176084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51: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-09-08 19:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:51: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-09-08 19:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:51:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":176084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:51:07] local.INFO: GPS data processed {"connection_id":176084,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:51:07] local.INFO: Acknowledgment sent {"connection_id":176084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:51:39] local.INFO: TCP Data received {"connection_id":176084,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:51:39] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081604488012d196580071fef780038014e2e..."} 
[2026-09-08 19:51:39] local.INFO: Packet analysis {"connection_id":176084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:51:39] local.INFO: Extracted packet for processing {"connection_id":176084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":56,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952425984001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51: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-09-08 19:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788876965000,"timestamp_ms":1788876965000,"timestamp_seconds":1788876965,"priority":1,"record_length":96,"hex_timestamp":"000001a081604488"} 
[2026-09-08 19:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952425984001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952425984001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:51:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952425984001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":176084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:51:39] local.INFO: GPS data processed {"connection_id":176084,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:51:39] local.INFO: Acknowledgment sent {"connection_id":176084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:51:41] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:51:41] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:51:41] local.INFO: IMEI packet received {"connection_id":174738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":174738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:51:46] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:51:46] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:51:46] local.INFO: IMEI packet received {"connection_id":174738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":174738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:51:47] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:51:47] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081609690012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:51:47] local.INFO: Packet analysis {"connection_id":174738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:51:47] local.INFO: Extracted packet for processing {"connection_id":174738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08160"} 
[2026-09-08 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952431360001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788876986000,"timestamp_ms":1788876986000,"timestamp_seconds":1788876986,"priority":1,"record_length":96,"hex_timestamp":"000001a081609690"} 
[2026-09-08 19:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-08 19:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952431360001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952431360001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:51:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952431360001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":174738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:51:47] local.INFO: GPS data processed {"connection_id":174738,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:51:47] local.INFO: Acknowledgment sent {"connection_id":174738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:52:06] local.INFO: TCP Data received {"connection_id":176085,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:52:06] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:52:06] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:52:10] local.INFO: TCP Data received {"connection_id":176085,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:52:10] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:52:10] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:52:11] local.INFO: TCP Data received {"connection_id":176085,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:52:12] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:52:12] local.INFO: Packet analysis {"connection_id":176085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:52:12] local.INFO: Extracted packet for processing {"connection_id":176085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 19:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52: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-09-08 19:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 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-09-08 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 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-09-08 19:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:52:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":176085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:52:12] local.INFO: GPS data processed {"connection_id":176085,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:52:12] local.INFO: Acknowledgment sent {"connection_id":176085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:52:18] local.INFO: TCP Data received {"connection_id":174738,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:52:18] local.INFO: Processing buffer {"connection_id":174738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:52:18] local.INFO: Packet analysis {"connection_id":174738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:52:18] local.INFO: Extracted packet for processing {"connection_id":174738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:52:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":174738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:52:18] local.INFO: GPS data processed {"connection_id":174738,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:52:18] local.INFO: Acknowledgment sent {"connection_id":174738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:52:41] local.INFO: TCP Data received {"connection_id":177546,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:52:41] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:52:41] local.INFO: IMEI packet received {"connection_id":177546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":177546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:52:46] local.INFO: TCP Data received {"connection_id":177546,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:52:46] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:52:46] local.INFO: IMEI packet received {"connection_id":177546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":177546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:52:47] local.INFO: TCP Data received {"connection_id":177546,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:52:47] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:52:47] local.INFO: Packet analysis {"connection_id":177546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:52:47] local.INFO: Extracted packet for processing {"connection_id":177546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:52:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:52:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":177546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:52:47] local.INFO: GPS data processed {"connection_id":177546,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:52:47] local.INFO: Acknowledgment sent {"connection_id":177546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:52:48] local.INFO: TCP Data received {"connection_id":176085,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:52:48] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:52:48] local.INFO: Packet analysis {"connection_id":176085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:52:48] local.INFO: Extracted packet for processing {"connection_id":176085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:52:48] 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-09-08 19:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:52:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:52:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":176085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:52:48] local.INFO: GPS data processed {"connection_id":176085,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:52:48] local.INFO: Acknowledgment sent {"connection_id":176085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:53:00] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:53:00] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:53:00] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:53:05] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:53:05] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:53:05] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:53:06] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:53:06] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:53:06] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:53:06] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:06] 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-09-08 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:53:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:53:07] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:53:07] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:53:19] local.INFO: TCP Data received {"connection_id":177546,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:53:19] local.INFO: Processing buffer {"connection_id":177546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:53:19] local.INFO: Packet analysis {"connection_id":177546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:53:19] local.INFO: Extracted packet for processing {"connection_id":177546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 19:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 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-09-08 19:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 19:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:53:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":177546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:53:19] local.INFO: GPS data processed {"connection_id":177546,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:53:19] local.INFO: Acknowledgment sent {"connection_id":177546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:53:38] local.INFO: TCP Data received {"connection_id":174740,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:53:38] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:53:38] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:53:38] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53: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-09-08 19:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:53:38] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:53:38] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:53:41] local.INFO: TCP Data received {"connection_id":176087,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:53:41] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:53:41] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:53:46] local.INFO: TCP Data received {"connection_id":176087,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:53:46] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:53:46] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:53:47] local.INFO: TCP Data received {"connection_id":176087,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:53:47] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:53:47] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:53:47] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:53:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:53:47] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:53:47] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:54:00] local.INFO: TCP Data received {"connection_id":177547,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:54:00] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:54:00] local.INFO: IMEI packet received {"connection_id":177547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":177547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:54:05] local.INFO: TCP Data received {"connection_id":177547,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:54:05] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:54:05] local.INFO: IMEI packet received {"connection_id":177547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":177547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:54:06] local.INFO: TCP Data received {"connection_id":177547,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:54:06] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:54:06] local.INFO: Packet analysis {"connection_id":177547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:54:06] local.INFO: Extracted packet for processing {"connection_id":177547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:06] 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-09-08 19:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":177547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:54:07] local.INFO: GPS data processed {"connection_id":177547,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:54:07] local.INFO: Acknowledgment sent {"connection_id":177547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:54:19] local.INFO: TCP Data received {"connection_id":176087,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:19] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:19] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:54:19] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:54:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:54:19] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:54:19] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:54:38] local.INFO: TCP Data received {"connection_id":177547,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:54:38] local.INFO: Processing buffer {"connection_id":177547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:54:38] local.INFO: Packet analysis {"connection_id":177547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:54:38] local.INFO: Extracted packet for processing {"connection_id":177547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54: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-09-08 19:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":177547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:54:38] local.INFO: GPS data processed {"connection_id":177547,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:54:38] local.INFO: Acknowledgment sent {"connection_id":177547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:54:46] local.INFO: TCP Data received {"connection_id":174741,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:54:46] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:54:46] local.INFO: IMEI packet received {"connection_id":174741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":174741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:54:51] local.INFO: TCP Data received {"connection_id":174741,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:54:51] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:54:51] local.INFO: IMEI packet received {"connection_id":174741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":174741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:54:52] local.INFO: TCP Data received {"connection_id":174741,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:52] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:52] local.INFO: Packet analysis {"connection_id":174741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:54:52] local.INFO: Extracted packet for processing {"connection_id":174741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:54:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:54:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":174741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:54:52] local.INFO: GPS data processed {"connection_id":174741,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:54:52] local.INFO: Acknowledgment sent {"connection_id":174741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:54:57] local.INFO: TCP Data received {"connection_id":174741,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:57] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:54:57] local.INFO: Packet analysis {"connection_id":174741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:54:57] local.INFO: Extracted packet for processing {"connection_id":174741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:54:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:54:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:54:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":174741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:54:57] local.INFO: GPS data processed {"connection_id":174741,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:54:57] local.INFO: Acknowledgment sent {"connection_id":174741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:55:05] local.INFO: TCP Data received {"connection_id":177548,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:55:05] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:55:05] local.INFO: IMEI packet received {"connection_id":177548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":177548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:55:10] local.INFO: TCP Data received {"connection_id":177548,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:55:10] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:55:10] local.INFO: IMEI packet received {"connection_id":177548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":177548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:55:11] local.INFO: TCP Data received {"connection_id":177548,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:55:11] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:55:11] local.INFO: Packet analysis {"connection_id":177548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:55:11] local.INFO: Extracted packet for processing {"connection_id":177548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55: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-09-08 19:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":177548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:55:12] local.INFO: GPS data processed {"connection_id":177548,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:55:12] local.INFO: Acknowledgment sent {"connection_id":177548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:55:16] local.INFO: TCP Data received {"connection_id":177548,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:55:16] local.INFO: Processing buffer {"connection_id":177548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:55:16] local.INFO: Packet analysis {"connection_id":177548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:55:16] local.INFO: Extracted packet for processing {"connection_id":177548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:16] 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-09-08 19:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":177548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:55:16] local.INFO: GPS data processed {"connection_id":177548,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:55:16] local.INFO: Acknowledgment sent {"connection_id":177548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:55:18] local.INFO: TCP Data received {"connection_id":176089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:55:18] local.INFO: Processing buffer {"connection_id":176089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:55:18] local.INFO: IMEI packet received {"connection_id":176089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":176089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:55:41] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:55:41] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:55:41] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:55:43] local.INFO: TCP Data received {"connection_id":177549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:55:43] local.INFO: Processing buffer {"connection_id":177549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 19:55:43] local.INFO: IMEI packet received {"connection_id":177549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 19:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":177549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:55:46] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:55:46] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:55:46] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:55:48] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:55:48] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:55:48] local.INFO: Packet analysis {"connection_id":174742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:55:48] local.INFO: Extracted packet for processing {"connection_id":174742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19: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-09-08 19:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:55:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":174742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:55:48] local.INFO: GPS data processed {"connection_id":174742,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:55:48] local.INFO: Acknowledgment sent {"connection_id":174742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:56:00] local.INFO: TCP Data received {"connection_id":176090,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:56:00] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:56:00] local.INFO: IMEI packet received {"connection_id":176090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":176090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:56:05] local.INFO: TCP Data received {"connection_id":176090,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:56:05] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:56:05] local.INFO: IMEI packet received {"connection_id":176090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":176090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:56:07] local.INFO: TCP Data received {"connection_id":176090,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:56:07] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:56:07] local.INFO: Packet analysis {"connection_id":176090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:56:07] local.INFO: Extracted packet for processing {"connection_id":176090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56: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-09-08 19:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":176090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:56:07] local.INFO: GPS data processed {"connection_id":176090,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:56:07] local.INFO: Acknowledgment sent {"connection_id":176090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:56:19] local.INFO: TCP Data received {"connection_id":174742,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:56:19] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:56:19] local.INFO: Packet analysis {"connection_id":174742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:56:19] local.INFO: Extracted packet for processing {"connection_id":174742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:56:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:56:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":174742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:56:19] local.INFO: GPS data processed {"connection_id":174742,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:56:19] local.INFO: Acknowledgment sent {"connection_id":174742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:56:39] local.INFO: TCP Data received {"connection_id":176090,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:56:39] local.INFO: Processing buffer {"connection_id":176090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08164dc50012d196580071fef78003c014e2d..."} 
[2026-09-08 19:56:39] local.INFO: Packet analysis {"connection_id":176090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:56:39] local.INFO: Extracted packet for processing {"connection_id":176090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08164"} 
[2026-09-08 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952503040001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56: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-09-08 19:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788877266000,"timestamp_ms":1788877266000,"timestamp_seconds":1788877266,"priority":1,"record_length":96,"hex_timestamp":"000001a08164dc50"} 
[2026-09-08 19:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 19:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952503040001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952503040001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:56:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952503040001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":176090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:56:39] local.INFO: GPS data processed {"connection_id":176090,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:56:39] local.INFO: Acknowledgment sent {"connection_id":176090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:56:41] local.INFO: TCP Data received {"connection_id":175025,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:56:41] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:56:41] local.INFO: IMEI packet received {"connection_id":175025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":175025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:56:46] local.INFO: TCP Data received {"connection_id":175025,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:56:46] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:56:46] local.INFO: IMEI packet received {"connection_id":175025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":175025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:56:47] local.INFO: TCP Data received {"connection_id":175025,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:56:47] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081652e58012d34c9c006aa41b8000e007128..."} 
[2026-09-08 19:56:47] local.INFO: Packet analysis {"connection_id":175025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:56:47] local.INFO: Extracted packet for processing {"connection_id":175025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08165"} 
[2026-09-08 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19: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-09-08 19:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952508416001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877287000,"timestamp_ms":1788877287000,"timestamp_seconds":1788877287,"priority":1,"record_length":96,"hex_timestamp":"000001a081652e58"} 
[2026-09-08 19:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952508416001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952508416001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:56:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952508416001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":175025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:56:47] local.INFO: GPS data processed {"connection_id":175025,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:56:47] local.INFO: Acknowledgment sent {"connection_id":175025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:57:00] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:57:00] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:57:00] local.INFO: IMEI packet received {"connection_id":177551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":177551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:57:05] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:57:05] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:57:05] local.INFO: IMEI packet received {"connection_id":177551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":177551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:57:06] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:57:06] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:57:06] local.INFO: Packet analysis {"connection_id":177551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:06] local.INFO: Extracted packet for processing {"connection_id":177551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:06] 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-09-08 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":177551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:57:07] local.INFO: GPS data processed {"connection_id":177551,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:57:07] local.INFO: Acknowledgment sent {"connection_id":177551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:57:18] local.INFO: TCP Data received {"connection_id":175025,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:18] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:18] local.INFO: Packet analysis {"connection_id":175025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:18] local.INFO: Extracted packet for processing {"connection_id":175025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 19:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:57: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:57:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":175025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:57:18] local.INFO: GPS data processed {"connection_id":175025,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:57:18] local.INFO: Acknowledgment sent {"connection_id":175025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:57:39] local.INFO: TCP Data received {"connection_id":177551,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:57:39] local.INFO: Processing buffer {"connection_id":177551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:57:39] local.INFO: Packet analysis {"connection_id":177551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:39] local.INFO: Extracted packet for processing {"connection_id":177551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57: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-09-08 19:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 19:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:57:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":177551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:57:39] local.INFO: GPS data processed {"connection_id":177551,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:57:39] local.INFO: Acknowledgment sent {"connection_id":177551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:57:46] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:57:46] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:57:46] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:57:51] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:57:51] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:57:51] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:57:53] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:53] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:53] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:53] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 19:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:57:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:57:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:57:53] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:57:53] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:57:57] local.INFO: TCP Data received {"connection_id":174744,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:57] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:57:57] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:57] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:57:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 19:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:57:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:57:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:57:57] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:57:57] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:58:05] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:58:05] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:58:05] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:58:10] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:58:10] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:58:10] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:58:12] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:58:12] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:58:12] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:58:12] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58: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-09-08 19:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 19:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:58:12] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:58:12] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:58:16] local.INFO: TCP Data received {"connection_id":174746,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:58:16] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:58:16] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:58:16] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:16] 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-09-08 19:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 19:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:58:16] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:58:16] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:58:41] local.INFO: TCP Data received {"connection_id":176091,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:58:41] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:58:41] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:58:46] local.INFO: TCP Data received {"connection_id":176091,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:58:46] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:58:46] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:58:47] local.INFO: TCP Data received {"connection_id":176091,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:58:47] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:58:47] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:58:47] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 19:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:58:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:58:47] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:58:47] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:59:00] local.INFO: TCP Data received {"connection_id":174747,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:59:00] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:59:00] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 19:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:59:05] local.INFO: TCP Data received {"connection_id":174747,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:59:05] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 19:59:05] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 19:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:59:07] local.INFO: TCP Data received {"connection_id":174747,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:59:07] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:59:07] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:07] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59: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-09-08 19:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 19:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:59: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-09-08 19:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:59:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:59:07] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:59:07] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:59:18] local.INFO: TCP Data received {"connection_id":176091,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:59:18] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:59:18] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:18] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 19:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:59:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:59:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:59:18] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:59:18] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:59:39] local.INFO: TCP Data received {"connection_id":174747,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:59:39] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 19:59:39] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:39] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59: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-09-08 19:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 19:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 19:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 19:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 19:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 19:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 19:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 19:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 19:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 19:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 19:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:59:39] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:59:39] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 19:59:41] local.INFO: TCP Data received {"connection_id":174748,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:59:41] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:59:41] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 19:59:46] local.INFO: TCP Data received {"connection_id":174748,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:59:46] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 19:59:46] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 19:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 19:59:47] local.INFO: TCP Data received {"connection_id":174748,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:59:47] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 19:59:47] local.INFO: Packet analysis {"connection_id":174748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:47] local.INFO: Extracted packet for processing {"connection_id":174748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 19:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 19:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 19:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 19:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 19:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 19:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 19:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 19:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 19:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 19:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 19:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 19:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 19:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 19:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 19:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 19:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 19:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 19:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 19:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 19:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 19:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 19:59:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 19:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 19:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 19:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 19:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 19:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":174748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 19:59:47] local.INFO: GPS data processed {"connection_id":174748,"processed":1,"errors":0,"total":1} 
[2026-09-08 19:59:47] local.INFO: Acknowledgment sent {"connection_id":174748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:00:00] local.INFO: TCP Data received {"connection_id":177553,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:00:00] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:00:00] local.INFO: IMEI packet received {"connection_id":177553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":177553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:00:05] local.INFO: TCP Data received {"connection_id":177553,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:00:05] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:00:05] local.INFO: IMEI packet received {"connection_id":177553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":177553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:00:07] local.INFO: TCP Data received {"connection_id":177553,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:00:07] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:00:07] local.INFO: Packet analysis {"connection_id":177553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:07] local.INFO: Extracted packet for processing {"connection_id":177553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00: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-09-08 20:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 20:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:00: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-09-08 20:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:00:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":177553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:00:07] local.INFO: GPS data processed {"connection_id":177553,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:00:07] local.INFO: Acknowledgment sent {"connection_id":177553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:00:19] local.INFO: TCP Data received {"connection_id":174748,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:00:19] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:00:19] local.INFO: Packet analysis {"connection_id":174748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:19] local.INFO: Extracted packet for processing {"connection_id":174748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 20:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:00:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":174748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:00:19] local.INFO: GPS data processed {"connection_id":174748,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:00:19] local.INFO: Acknowledgment sent {"connection_id":174748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:00:38] local.INFO: TCP Data received {"connection_id":177553,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:00:38] local.INFO: Processing buffer {"connection_id":177553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:00:38] local.INFO: Packet analysis {"connection_id":177553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:38] local.INFO: Extracted packet for processing {"connection_id":177553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00: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-09-08 20:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 20:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":177553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:00:38] local.INFO: GPS data processed {"connection_id":177553,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:00:38] local.INFO: Acknowledgment sent {"connection_id":177553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:00:41] local.INFO: TCP Data received {"connection_id":176093,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:00:41] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:00:41] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:00:46] local.INFO: TCP Data received {"connection_id":176093,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:00:46] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:00:46] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:00:47] local.INFO: TCP Data received {"connection_id":176093,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:00:47] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:00:47] local.INFO: Packet analysis {"connection_id":176093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:47] local.INFO: Extracted packet for processing {"connection_id":176093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 20:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:00:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":176093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:00:47] local.INFO: GPS data processed {"connection_id":176093,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:00:47] local.INFO: Acknowledgment sent {"connection_id":176093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:01:00] local.INFO: TCP Data received {"connection_id":174750,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:01:00] local.INFO: Processing buffer {"connection_id":174750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:01:00] local.INFO: IMEI packet received {"connection_id":174750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:01:05] local.INFO: TCP Data received {"connection_id":174750,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:01:05] local.INFO: Processing buffer {"connection_id":174750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:01:05] local.INFO: IMEI packet received {"connection_id":174750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":174750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:01:07] local.INFO: TCP Data received {"connection_id":174750,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:01:07] local.INFO: Processing buffer {"connection_id":174750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:01:07] local.INFO: Packet analysis {"connection_id":174750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:07] local.INFO: Extracted packet for processing {"connection_id":174750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01: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-09-08 20:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 20:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:01: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-09-08 20:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:01:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":174750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:01:07] local.INFO: GPS data processed {"connection_id":174750,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:01:07] local.INFO: Acknowledgment sent {"connection_id":174750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:01:19] local.INFO: TCP Data received {"connection_id":176093,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:01:19] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:01:19] local.INFO: Packet analysis {"connection_id":176093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:19] local.INFO: Extracted packet for processing {"connection_id":176093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 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-09-08 20:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:01:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":176093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:01:19] local.INFO: GPS data processed {"connection_id":176093,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:01:19] local.INFO: Acknowledgment sent {"connection_id":176093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:01:23] local.INFO: TCP Data received {"connection_id":174749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:01:23] local.INFO: Processing buffer {"connection_id":174749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:01:23] local.INFO: IMEI packet received {"connection_id":174749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":174749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:01:39] local.INFO: TCP Data received {"connection_id":174750,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:01:39] local.INFO: Processing buffer {"connection_id":174750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081697418012d196580071fef78003c014e2c..."} 
[2026-09-08 20:01:39] local.INFO: Packet analysis {"connection_id":174750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:39] local.INFO: Extracted packet for processing {"connection_id":174750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952580096001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01: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-09-08 20:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788877567000,"timestamp_ms":1788877567000,"timestamp_seconds":1788877567,"priority":1,"record_length":96,"hex_timestamp":"000001a081697418"} 
[2026-09-08 20:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952580096001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952580096001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952580096001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":174750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:01:39] local.INFO: GPS data processed {"connection_id":174750,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:01:39] local.INFO: Acknowledgment sent {"connection_id":174750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:01:41] local.INFO: TCP Data received {"connection_id":175026,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:01:41] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:01:41] local.INFO: IMEI packet received {"connection_id":175026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":175026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:01:43] local.INFO: TCP Data received {"connection_id":176094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:01:43] local.INFO: Processing buffer {"connection_id":176094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:01:43] local.INFO: IMEI packet received {"connection_id":176094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":176094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:01:46] local.INFO: TCP Data received {"connection_id":175026,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:01:46] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:01:46] local.INFO: IMEI packet received {"connection_id":175026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":175026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:01:48] local.INFO: TCP Data received {"connection_id":175026,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:01:48] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08169c620012d34c9c006aa41b8000e007126..."} 
[2026-09-08 20:01:48] local.INFO: Packet analysis {"connection_id":175026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:48] local.INFO: Extracted packet for processing {"connection_id":175026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08169"} 
[2026-09-08 20:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952585472001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788877588000,"timestamp_ms":1788877588000,"timestamp_seconds":1788877588,"priority":1,"record_length":96,"hex_timestamp":"000001a08169c620"} 
[2026-09-08 20:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952585472001,"66":25875,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952585472001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:01:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952585472001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":175026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:01:48] local.INFO: GPS data processed {"connection_id":175026,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:01:48] local.INFO: Acknowledgment sent {"connection_id":175026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:02:00] local.INFO: TCP Data received {"connection_id":175027,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:02:00] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:02:00] local.INFO: IMEI packet received {"connection_id":175027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":175027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:02:05] local.INFO: TCP Data received {"connection_id":175027,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:02:05] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:02:05] local.INFO: IMEI packet received {"connection_id":175027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":175027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:02:06] local.INFO: TCP Data received {"connection_id":175027,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:02:06] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:02:06] local.INFO: Packet analysis {"connection_id":175027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:06] local.INFO: Extracted packet for processing {"connection_id":175027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:06] 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-09-08 20:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":175027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:02:06] local.INFO: GPS data processed {"connection_id":175027,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:02:06] local.INFO: Acknowledgment sent {"connection_id":175027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:02:19] local.INFO: TCP Data received {"connection_id":175026,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:02:19] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:02:19] local.INFO: Packet analysis {"connection_id":175026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:19] local.INFO: Extracted packet for processing {"connection_id":175026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:02:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":175026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:02:19] local.INFO: GPS data processed {"connection_id":175026,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:02:19] local.INFO: Acknowledgment sent {"connection_id":175026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:02:38] local.INFO: TCP Data received {"connection_id":175027,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:02:38] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:02:38] local.INFO: Packet analysis {"connection_id":175027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:38] local.INFO: Extracted packet for processing {"connection_id":175027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02: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-09-08 20:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":175027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:02:38] local.INFO: GPS data processed {"connection_id":175027,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:02:38] local.INFO: Acknowledgment sent {"connection_id":175027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:02:41] local.INFO: TCP Data received {"connection_id":177554,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:02:41] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:02:41] local.INFO: IMEI packet received {"connection_id":177554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":177554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:02:46] local.INFO: TCP Data received {"connection_id":177554,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:02:46] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:02:46] local.INFO: IMEI packet received {"connection_id":177554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":177554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:02:47] local.INFO: TCP Data received {"connection_id":177554,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:02:47] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:02:47] local.INFO: Packet analysis {"connection_id":177554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:47] local.INFO: Extracted packet for processing {"connection_id":177554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:02:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":177554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:02:47] local.INFO: GPS data processed {"connection_id":177554,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:02:47] local.INFO: Acknowledgment sent {"connection_id":177554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:03:01] local.INFO: TCP Data received {"connection_id":176095,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:03:01] local.INFO: Processing buffer {"connection_id":176095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:03:01] local.INFO: IMEI packet received {"connection_id":176095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":176095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:03:05] local.INFO: TCP Data received {"connection_id":176095,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:03:05] local.INFO: Processing buffer {"connection_id":176095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:03:05] local.INFO: IMEI packet received {"connection_id":176095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":176095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:03:06] local.INFO: TCP Data received {"connection_id":176095,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:03:06] local.INFO: Processing buffer {"connection_id":176095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:03:06] local.INFO: Packet analysis {"connection_id":176095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:06] local.INFO: Extracted packet for processing {"connection_id":176095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:06] 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-09-08 20:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":176095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:03:07] local.INFO: GPS data processed {"connection_id":176095,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:03:07] local.INFO: Acknowledgment sent {"connection_id":176095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:03:19] local.INFO: TCP Data received {"connection_id":177554,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:03:19] local.INFO: Processing buffer {"connection_id":177554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:03:19] local.INFO: Packet analysis {"connection_id":177554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:19] local.INFO: Extracted packet for processing {"connection_id":177554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:03:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":177554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:03:19] local.INFO: GPS data processed {"connection_id":177554,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:03:19] local.INFO: Acknowledgment sent {"connection_id":177554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:03:38] local.INFO: TCP Data received {"connection_id":176095,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:03:38] local.INFO: Processing buffer {"connection_id":176095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:03:38] local.INFO: Packet analysis {"connection_id":176095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:38] local.INFO: Extracted packet for processing {"connection_id":176095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03: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-09-08 20:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":176095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:03:38] local.INFO: GPS data processed {"connection_id":176095,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:03:38] local.INFO: Acknowledgment sent {"connection_id":176095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:03:42] local.INFO: TCP Data received {"connection_id":174752,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:03:42] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:03:42] local.INFO: IMEI packet received {"connection_id":174752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":174752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:03:46] local.INFO: TCP Data received {"connection_id":174752,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:03:46] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:03:46] local.INFO: IMEI packet received {"connection_id":174752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":174752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:03:48] local.INFO: TCP Data received {"connection_id":174752,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:03:48] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:03:48] local.INFO: Packet analysis {"connection_id":174752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:48] local.INFO: Extracted packet for processing {"connection_id":174752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:03:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":174752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:03:48] local.INFO: GPS data processed {"connection_id":174752,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:03:48] local.INFO: Acknowledgment sent {"connection_id":174752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:04:00] local.INFO: TCP Data received {"connection_id":176096,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:04:00] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:04:00] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:04:05] local.INFO: TCP Data received {"connection_id":176096,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:04:05] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:04:05] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:04:07] local.INFO: TCP Data received {"connection_id":176096,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:04:07] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:04:07] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:07] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04: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-09-08 20:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:04: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-09-08 20:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:04:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:04:07] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:04:07] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:04:19] local.INFO: TCP Data received {"connection_id":174752,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:04:19] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:04:19] local.INFO: Packet analysis {"connection_id":174752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:19] local.INFO: Extracted packet for processing {"connection_id":174752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:04:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":174752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:04:19] local.INFO: GPS data processed {"connection_id":174752,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:04:19] local.INFO: Acknowledgment sent {"connection_id":174752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:04:38] local.INFO: TCP Data received {"connection_id":176096,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:04:38] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:04:38] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:38] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04: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-09-08 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:04:39] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:04:39] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:04:41] local.INFO: TCP Data received {"connection_id":175028,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:04:41] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:04:41] local.INFO: IMEI packet received {"connection_id":175028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":175028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:04:46] local.INFO: TCP Data received {"connection_id":175028,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:04:46] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:04:46] local.INFO: IMEI packet received {"connection_id":175028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":175028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:04:48] local.INFO: TCP Data received {"connection_id":175028,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:04:48] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:04:48] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:48] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:04:48] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:04:48] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:05:00] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:05:00] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:05:00] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:05:05] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:05:05] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:05:05] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:05:06] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:05:06] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:05:06] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:06] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:06] 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-09-08 20:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:05:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:05:07] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:05:07] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:05:19] local.INFO: TCP Data received {"connection_id":175028,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:05:19] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:05:19] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:19] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:05:19] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:05:19] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:05:38] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:05:38] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:05:38] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:38] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05: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-09-08 20:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:05:38] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:05:38] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:05:41] local.INFO: TCP Data received {"connection_id":175029,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:05:41] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:05:41] local.INFO: IMEI packet received {"connection_id":175029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":175029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:05:46] local.INFO: TCP Data received {"connection_id":175029,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:05:46] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:05:46] local.INFO: IMEI packet received {"connection_id":175029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":175029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:05:47] local.INFO: TCP Data received {"connection_id":175029,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:05:47] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:05:47] local.INFO: Packet analysis {"connection_id":175029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:47] local.INFO: Extracted packet for processing {"connection_id":175029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:05:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":175029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:05:47] local.INFO: GPS data processed {"connection_id":175029,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:05:47] local.INFO: Acknowledgment sent {"connection_id":175029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:06:05] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:06:05] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:06:05] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:06:10] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:06:10] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:06:10] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:06:12] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:06:12] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:06:12] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:12] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06: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-09-08 20:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 20:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:06:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:06:12] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:06:12] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:06:15] local.INFO: TCP Data received {"connection_id":174756,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:06:15] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e0be0012d196580071fef78003c014e2c..."} 
[2026-09-08 20:06:15] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:15] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952657152001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:15] 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-09-08 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788877868000,"timestamp_ms":1788877868000,"timestamp_seconds":1788877868,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e0be0"} 
[2026-09-08 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-09-08 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952657152001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952657152001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:06:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952657152001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:06:16] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:06:16] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:06:18] local.INFO: TCP Data received {"connection_id":175029,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:18] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:18] local.INFO: Packet analysis {"connection_id":175029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:18] local.INFO: Extracted packet for processing {"connection_id":175029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:06:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":175029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:06:18] local.INFO: GPS data processed {"connection_id":175029,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:06:18] local.INFO: Acknowledgment sent {"connection_id":175029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:06:46] local.INFO: TCP Data received {"connection_id":175030,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:06:46] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:06:46] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:06:51] local.INFO: TCP Data received {"connection_id":175030,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:06:51] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:06:51] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:06:52] local.INFO: TCP Data received {"connection_id":175030,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:52] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:52] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:52] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:06:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:06:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:06:52] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:06:52] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:06:57] local.INFO: TCP Data received {"connection_id":175030,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:57] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0816e5de8012d34c9c006aa41b8000e007123..."} 
[2026-09-08 20:06:57] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:57] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0816e"} 
[2026-09-08 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952662528001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788877889000,"timestamp_ms":1788877889000,"timestamp_seconds":1788877889,"priority":1,"record_length":96,"hex_timestamp":"000001a0816e5de8"} 
[2026-09-08 20:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 20:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952662528001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952662528001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:06:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952662528001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:06:57] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:06:57] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:07:00] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:07:00] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:07:00] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:07:05] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:07:05] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:07:05] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:07:06] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:07:06] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:07:06] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:07:06] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:06] 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-09-08 20:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:07:06] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:07:06] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:07:38] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:07:38] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:07:38] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:07:38] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07: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-09-08 20:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:07:38] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:07:38] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:07:41] local.INFO: TCP Data received {"connection_id":175032,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:07:41] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:07:41] local.INFO: IMEI packet received {"connection_id":175032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":175032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:07:46] local.INFO: TCP Data received {"connection_id":175032,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:07:46] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:07:46] local.INFO: IMEI packet received {"connection_id":175032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":175032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:07:48] local.INFO: TCP Data received {"connection_id":175032,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:07:48] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:07:48] local.INFO: Packet analysis {"connection_id":175032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:07:48] local.INFO: Extracted packet for processing {"connection_id":175032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:07:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":175032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:07:48] local.INFO: GPS data processed {"connection_id":175032,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:07:48] local.INFO: Acknowledgment sent {"connection_id":175032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:07:48] local.INFO: TCP Data received {"connection_id":177555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:07:48] local.INFO: Processing buffer {"connection_id":177555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:07:48] local.INFO: IMEI packet received {"connection_id":177555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":177555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:08:00] local.INFO: TCP Data received {"connection_id":176098,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:08:00] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:08:00] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:08:05] local.INFO: TCP Data received {"connection_id":176098,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:08:05] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:08:05] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:08:07] local.INFO: TCP Data received {"connection_id":176098,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:08:07] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:08:07] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:07] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08: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-09-08 20:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:08:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:08:07] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:08:07] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:08:20] local.INFO: TCP Data received {"connection_id":175032,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:08:20] local.INFO: Processing buffer {"connection_id":175032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:08:20] local.INFO: Packet analysis {"connection_id":175032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:20] local.INFO: Extracted packet for processing {"connection_id":175032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:08:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:08:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":175032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:08:20] local.INFO: GPS data processed {"connection_id":175032,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:08:20] local.INFO: Acknowledgment sent {"connection_id":175032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:08:39] local.INFO: TCP Data received {"connection_id":176098,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:08:39] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:08:39] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:39] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08: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-09-08 20:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:08:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:08:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:08:39] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:08:39] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:08:41] local.INFO: TCP Data received {"connection_id":177556,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:08:41] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:08:41] local.INFO: IMEI packet received {"connection_id":177556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":177556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:08:46] local.INFO: TCP Data received {"connection_id":177556,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:08:46] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:08:46] local.INFO: IMEI packet received {"connection_id":177556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":177556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:08:48] local.INFO: TCP Data received {"connection_id":177556,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:08:48] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:08:48] local.INFO: Packet analysis {"connection_id":177556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:48] local.INFO: Extracted packet for processing {"connection_id":177556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:08:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":177556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:08:48] local.INFO: GPS data processed {"connection_id":177556,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:08:48] local.INFO: Acknowledgment sent {"connection_id":177556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:09:05] local.INFO: TCP Data received {"connection_id":175033,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:09:05] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:09:05] local.INFO: IMEI packet received {"connection_id":175033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":175033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:09:10] local.INFO: TCP Data received {"connection_id":175033,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:09:10] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:09:10] local.INFO: IMEI packet received {"connection_id":175033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":175033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:09:12] local.INFO: TCP Data received {"connection_id":175033,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:09:12] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:09:12] local.INFO: Packet analysis {"connection_id":175033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:12] local.INFO: Extracted packet for processing {"connection_id":175033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09: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-09-08 20:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:09:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":175033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:09:12] local.INFO: GPS data processed {"connection_id":175033,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:09:12] local.INFO: Acknowledgment sent {"connection_id":175033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:09:16] local.INFO: TCP Data received {"connection_id":175033,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:09:16] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:09:16] local.INFO: Packet analysis {"connection_id":175033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:16] local.INFO: Extracted packet for processing {"connection_id":175033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:16] 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-09-08 20:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":175033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:09:16] local.INFO: GPS data processed {"connection_id":175033,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:09:16] local.INFO: Acknowledgment sent {"connection_id":175033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:09:19] local.INFO: TCP Data received {"connection_id":177556,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:19] local.INFO: Processing buffer {"connection_id":177556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:19] local.INFO: Packet analysis {"connection_id":177556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:19] local.INFO: Extracted packet for processing {"connection_id":177556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:09:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":177556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:09:19] local.INFO: GPS data processed {"connection_id":177556,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:09:19] local.INFO: Acknowledgment sent {"connection_id":177556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:09:46] local.INFO: TCP Data received {"connection_id":174760,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:09:46] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:09:46] local.INFO: IMEI packet received {"connection_id":174760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":174760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:09:51] local.INFO: TCP Data received {"connection_id":174760,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:09:51] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:09:51] local.INFO: IMEI packet received {"connection_id":174760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":174760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:09:52] local.INFO: TCP Data received {"connection_id":174760,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:52] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:52] local.INFO: Packet analysis {"connection_id":174760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:52] local.INFO: Extracted packet for processing {"connection_id":174760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:09:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:09:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":174760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:09:52] local.INFO: GPS data processed {"connection_id":174760,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:09:52] local.INFO: Acknowledgment sent {"connection_id":174760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:09:57] local.INFO: TCP Data received {"connection_id":174760,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:57] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:09:57] local.INFO: Packet analysis {"connection_id":174760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:57] local.INFO: Extracted packet for processing {"connection_id":174760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:09:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:09:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:09:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":174760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:09:57] local.INFO: GPS data processed {"connection_id":174760,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:09:57] local.INFO: Acknowledgment sent {"connection_id":174760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:10:00] local.INFO: TCP Data received {"connection_id":175034,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:10:00] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:10:00] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:10:05] local.INFO: TCP Data received {"connection_id":175034,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:10:05] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:10:05] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:10:09] local.INFO: TCP Data received {"connection_id":175034,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:10:09] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:10:09] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:10:09] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:10:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10: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-09-08 20:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:10:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:10:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:10:09] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:10:09] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:10:41] local.INFO: TCP Data received {"connection_id":175034,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:10:41] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:10:41] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:10:41] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10: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-09-08 20:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 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-09-08 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:10:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:10:41] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:10:41] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:10:41] local.INFO: TCP Data received {"connection_id":174761,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:10:41] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:10:41] local.INFO: IMEI packet received {"connection_id":174761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":174761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:10:46] local.INFO: TCP Data received {"connection_id":174761,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:10:46] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:10:46] local.INFO: IMEI packet received {"connection_id":174761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":174761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:10:48] local.INFO: TCP Data received {"connection_id":174761,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:10:48] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:10:48] local.INFO: Packet analysis {"connection_id":174761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:10:48] local.INFO: Extracted packet for processing {"connection_id":174761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:10:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":174761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:10:48] local.INFO: GPS data processed {"connection_id":174761,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:10:48] local.INFO: Acknowledgment sent {"connection_id":174761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:11:01] local.INFO: TCP Data received {"connection_id":176099,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:11:01] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:11:01] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:11:05] local.INFO: TCP Data received {"connection_id":176099,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:11:05] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:11:05] local.INFO: IMEI packet received {"connection_id":176099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":176099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:11:07] local.INFO: TCP Data received {"connection_id":176099,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:11:07] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:11:07] local.INFO: Packet analysis {"connection_id":176099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:07] local.INFO: Extracted packet for processing {"connection_id":176099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11: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-09-08 20:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:11:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":176099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:11:07] local.INFO: GPS data processed {"connection_id":176099,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:11:07] local.INFO: Acknowledgment sent {"connection_id":176099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:11:19] local.INFO: TCP Data received {"connection_id":174761,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:11:19] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:11:19] local.INFO: Packet analysis {"connection_id":174761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:19] local.INFO: Extracted packet for processing {"connection_id":174761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:11:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":174761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:11:19] local.INFO: GPS data processed {"connection_id":174761,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:11:19] local.INFO: Acknowledgment sent {"connection_id":174761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:11:38] local.INFO: TCP Data received {"connection_id":176099,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:11:38] local.INFO: Processing buffer {"connection_id":176099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172a3a8012d196580071fef78003c014e2e..."} 
[2026-09-08 20:11:38] local.INFO: Packet analysis {"connection_id":176099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:38] local.INFO: Extracted packet for processing {"connection_id":176099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952734208001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11: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-09-08 20:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878169000,"timestamp_ms":1788878169000,"timestamp_seconds":1788878169,"priority":1,"record_length":96,"hex_timestamp":"000001a08172a3a8"} 
[2026-09-08 20:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952734208001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952734208001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952734208001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":176099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:11:39] local.INFO: GPS data processed {"connection_id":176099,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:11:39] local.INFO: Acknowledgment sent {"connection_id":176099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:11:41] local.INFO: TCP Data received {"connection_id":176100,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:11:41] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:11:41] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:11:46] local.INFO: TCP Data received {"connection_id":176100,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:11:46] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:11:46] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:11:47] local.INFO: TCP Data received {"connection_id":176100,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:11:47] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08172f5b0012d34c9c006aa41b8000e007124..."} 
[2026-09-08 20:11:47] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:47] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08172"} 
[2026-09-08 20:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":14,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952739584001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878190000,"timestamp_ms":1788878190000,"timestamp_seconds":1788878190,"priority":1,"record_length":96,"hex_timestamp":"000001a08172f5b0"} 
[2026-09-08 20:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952739584001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952739584001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:11:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:11:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952739584001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:11:47] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:11:47] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:12:00] local.INFO: TCP Data received {"connection_id":175035,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:12:00] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:12:00] local.INFO: IMEI packet received {"connection_id":175035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":175035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:12:05] local.INFO: TCP Data received {"connection_id":175035,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:12:05] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:12:05] local.INFO: IMEI packet received {"connection_id":175035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":175035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:12:06] local.INFO: TCP Data received {"connection_id":175035,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:12:06] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:12:06] local.INFO: Packet analysis {"connection_id":175035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:06] local.INFO: Extracted packet for processing {"connection_id":175035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:06] 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-09-08 20:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":175035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:12:06] local.INFO: GPS data processed {"connection_id":175035,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:12:06] local.INFO: Acknowledgment sent {"connection_id":175035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:12:18] local.INFO: TCP Data received {"connection_id":176100,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:12:18] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:12:18] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:18] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:12:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:12:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:12:18] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:12:18] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:12:38] local.INFO: TCP Data received {"connection_id":175035,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:12:38] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:12:38] local.INFO: Packet analysis {"connection_id":175035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:38] local.INFO: Extracted packet for processing {"connection_id":175035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12: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-09-08 20:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:12:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":175035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:12:38] local.INFO: GPS data processed {"connection_id":175035,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:12:38] local.INFO: Acknowledgment sent {"connection_id":175035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:12:40] local.INFO: TCP Data received {"connection_id":177558,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:12:41] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:12:41] local.INFO: IMEI packet received {"connection_id":177558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":177558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:12:46] local.INFO: TCP Data received {"connection_id":177558,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:12:46] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:12:46] local.INFO: IMEI packet received {"connection_id":177558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":177558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:12:47] local.INFO: TCP Data received {"connection_id":177558,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:12:47] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:12:47] local.INFO: Packet analysis {"connection_id":177558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:47] local.INFO: Extracted packet for processing {"connection_id":177558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":177558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:12:47] local.INFO: GPS data processed {"connection_id":177558,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:12:47] local.INFO: Acknowledgment sent {"connection_id":177558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:13:05] local.INFO: TCP Data received {"connection_id":177559,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:13:05] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:13:05] local.INFO: IMEI packet received {"connection_id":177559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":177559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:13:10] local.INFO: TCP Data received {"connection_id":177559,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:13:10] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:13:10] local.INFO: IMEI packet received {"connection_id":177559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":177559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:13:11] local.INFO: TCP Data received {"connection_id":177559,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:13:11] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:13:11] local.INFO: Packet analysis {"connection_id":177559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:11] local.INFO: Extracted packet for processing {"connection_id":177559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13: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-09-08 20:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:13:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":177559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:13:12] local.INFO: GPS data processed {"connection_id":177559,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:13:12] local.INFO: Acknowledgment sent {"connection_id":177559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:13:16] local.INFO: TCP Data received {"connection_id":177559,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:13:16] local.INFO: Processing buffer {"connection_id":177559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:13:16] local.INFO: Packet analysis {"connection_id":177559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:16] local.INFO: Extracted packet for processing {"connection_id":177559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:16] 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-09-08 20:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:13:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":177559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:13:16] local.INFO: GPS data processed {"connection_id":177559,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:13:16] local.INFO: Acknowledgment sent {"connection_id":177559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:13:19] local.INFO: TCP Data received {"connection_id":177558,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:19] local.INFO: Processing buffer {"connection_id":177558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:19] local.INFO: Packet analysis {"connection_id":177558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:19] local.INFO: Extracted packet for processing {"connection_id":177558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:13:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":177558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:13:19] local.INFO: GPS data processed {"connection_id":177558,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:13:19] local.INFO: Acknowledgment sent {"connection_id":177558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:13:23] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:13:23] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:13:23] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:13:40] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:13:40] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:13:40] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:13:46] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:13:46] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:13:46] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:13:51] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:13:51] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:13:51] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:13:52] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:52] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:52] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:52] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:13:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:13:52] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:13:52] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:13:57] local.INFO: TCP Data received {"connection_id":174763,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:57] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:13:57] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:57] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:13:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:13:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:13:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:13:57] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:13:57] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:14:00] local.INFO: TCP Data received {"connection_id":175036,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:14:00] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:14:00] local.INFO: IMEI packet received {"connection_id":175036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":175036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:14:05] local.INFO: TCP Data received {"connection_id":175036,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:14:05] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:14:05] local.INFO: IMEI packet received {"connection_id":175036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":175036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:14:06] local.INFO: TCP Data received {"connection_id":175036,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:14:06] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:14:06] local.INFO: Packet analysis {"connection_id":175036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:06] local.INFO: Extracted packet for processing {"connection_id":175036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:06] 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-09-08 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":175036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:14:07] local.INFO: GPS data processed {"connection_id":175036,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:14:07] local.INFO: Acknowledgment sent {"connection_id":175036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:14:38] local.INFO: TCP Data received {"connection_id":175036,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:14:38] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:14:38] local.INFO: Packet analysis {"connection_id":175036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:38] local.INFO: Extracted packet for processing {"connection_id":175036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14: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-09-08 20:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":175036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:14:38] local.INFO: GPS data processed {"connection_id":175036,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:14:38] local.INFO: Acknowledgment sent {"connection_id":175036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:14:41] local.INFO: TCP Data received {"connection_id":174764,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:14:41] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:14:41] local.INFO: IMEI packet received {"connection_id":174764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":174764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:14:46] local.INFO: TCP Data received {"connection_id":174764,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:14:46] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:14:46] local.INFO: IMEI packet received {"connection_id":174764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:14:47] local.INFO: TCP Data received {"connection_id":174764,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:14:47] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:14:47] local.INFO: Packet analysis {"connection_id":174764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:47] local.INFO: Extracted packet for processing {"connection_id":174764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:14:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":174764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:14:47] local.INFO: GPS data processed {"connection_id":174764,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:14:47] local.INFO: Acknowledgment sent {"connection_id":174764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:14:52] local.INFO: TCP Data received {"connection_id":174764,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:14:52] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:14:52] local.INFO: Packet analysis {"connection_id":174764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:52] local.INFO: Extracted packet for processing {"connection_id":174764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:14:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:14:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":174764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:14:52] local.INFO: GPS data processed {"connection_id":174764,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:14:52] local.INFO: Acknowledgment sent {"connection_id":174764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:15:00] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:15:00] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:15:00] local.INFO: IMEI packet received {"connection_id":174765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":174765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:15:05] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:15:05] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:15:05] local.INFO: IMEI packet received {"connection_id":174765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":174765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:15:07] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:15:07] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:15:07] local.INFO: Packet analysis {"connection_id":174765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:07] local.INFO: Extracted packet for processing {"connection_id":174765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15: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-09-08 20:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":174765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:15:07] local.INFO: GPS data processed {"connection_id":174765,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:15:07] local.INFO: Acknowledgment sent {"connection_id":174765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:15:23] local.INFO: TCP Data received {"connection_id":174764,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:15:23] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:15:23] local.INFO: Packet analysis {"connection_id":174764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:23] local.INFO: Extracted packet for processing {"connection_id":174764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:15:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:15:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":174764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:15:23] local.INFO: GPS data processed {"connection_id":174764,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:15:23] local.INFO: Acknowledgment sent {"connection_id":174764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:15:38] local.INFO: TCP Data received {"connection_id":174765,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:15:38] local.INFO: Processing buffer {"connection_id":174765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:15:38] local.INFO: Packet analysis {"connection_id":174765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:38] local.INFO: Extracted packet for processing {"connection_id":174765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15: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-09-08 20:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:15:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":174765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:15:38] local.INFO: GPS data processed {"connection_id":174765,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:15:38] local.INFO: Acknowledgment sent {"connection_id":174765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:15:41] local.INFO: TCP Data received {"connection_id":175038,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:15:41] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:15:41] local.INFO: IMEI packet received {"connection_id":175038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":175038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:15:46] local.INFO: TCP Data received {"connection_id":175038,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:15:46] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:15:46] local.INFO: IMEI packet received {"connection_id":175038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":175038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:15:47] local.INFO: TCP Data received {"connection_id":175038,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:15:47] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:15:47] local.INFO: Packet analysis {"connection_id":175038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:47] local.INFO: Extracted packet for processing {"connection_id":175038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":175038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:15:47] local.INFO: GPS data processed {"connection_id":175038,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:15:47] local.INFO: Acknowledgment sent {"connection_id":175038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:16:00] local.INFO: TCP Data received {"connection_id":177562,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:16:00] local.INFO: Processing buffer {"connection_id":177562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:16:00] local.INFO: IMEI packet received {"connection_id":177562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":177562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:16:05] local.INFO: TCP Data received {"connection_id":177562,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:16:05] local.INFO: Processing buffer {"connection_id":177562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:16:05] local.INFO: IMEI packet received {"connection_id":177562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":177562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:16:07] local.INFO: TCP Data received {"connection_id":177562,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:16:07] local.INFO: Processing buffer {"connection_id":177562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:16:07] local.INFO: Packet analysis {"connection_id":177562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:07] local.INFO: Extracted packet for processing {"connection_id":177562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16: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-09-08 20:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:16:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":177562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:16:07] local.INFO: GPS data processed {"connection_id":177562,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:16:07] local.INFO: Acknowledgment sent {"connection_id":177562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:16:19] local.INFO: TCP Data received {"connection_id":175038,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:16:19] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:16:19] local.INFO: Packet analysis {"connection_id":175038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:19] local.INFO: Extracted packet for processing {"connection_id":175038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:16:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":175038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:16:19] local.INFO: GPS data processed {"connection_id":175038,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:16:19] local.INFO: Acknowledgment sent {"connection_id":175038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:16:39] local.INFO: TCP Data received {"connection_id":177562,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:16:39] local.INFO: Processing buffer {"connection_id":177562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081773b70012d196580071fef78003c014e2b..."} 
[2026-09-08 20:16:39] local.INFO: Packet analysis {"connection_id":177562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:39] local.INFO: Extracted packet for processing {"connection_id":177562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952811264001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16: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-09-08 20:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788878470000,"timestamp_ms":1788878470000,"timestamp_seconds":1788878470,"priority":1,"record_length":96,"hex_timestamp":"000001a081773b70"} 
[2026-09-08 20:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952811264001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952811264001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952811264001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":177562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:16:39] local.INFO: GPS data processed {"connection_id":177562,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:16:39] local.INFO: Acknowledgment sent {"connection_id":177562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:16:40] local.INFO: TCP Data received {"connection_id":176103,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:16:41] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:16:41] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:16:46] local.INFO: TCP Data received {"connection_id":176103,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:16:46] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:16:46] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:16:47] local.INFO: TCP Data received {"connection_id":176103,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:16:47] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081778d78012d34c9c006aa41b80005007125..."} 
[2026-09-08 20:16:47] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:47] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08177"} 
[2026-09-08 20:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952816640001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878491000,"timestamp_ms":1788878491000,"timestamp_seconds":1788878491,"priority":1,"record_length":96,"hex_timestamp":"000001a081778d78"} 
[2026-09-08 20:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952816640001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952816640001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:16:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952816640001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:16:47] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:16:47] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:17:05] local.INFO: TCP Data received {"connection_id":176104,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:17:05] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:17:05] local.INFO: IMEI packet received {"connection_id":176104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":176104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:17:11] local.INFO: TCP Data received {"connection_id":176104,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:17:11] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:17:11] local.INFO: IMEI packet received {"connection_id":176104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":176104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:17:13] local.INFO: TCP Data received {"connection_id":176104,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:17:13] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:17:13] local.INFO: Packet analysis {"connection_id":176104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:17:13] local.INFO: Extracted packet for processing {"connection_id":176104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17: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-09-08 20:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:17:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:17:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":176104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:17:13] local.INFO: GPS data processed {"connection_id":176104,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:17:13] local.INFO: Acknowledgment sent {"connection_id":176104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:17:16] local.INFO: TCP Data received {"connection_id":176104,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:17:16] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:17:16] local.INFO: Packet analysis {"connection_id":176104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:17:16] local.INFO: Extracted packet for processing {"connection_id":176104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:16] 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-09-08 20:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:17:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":176104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:17:16] local.INFO: GPS data processed {"connection_id":176104,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:17:16] local.INFO: Acknowledgment sent {"connection_id":176104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:17:19] local.INFO: TCP Data received {"connection_id":176103,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:19] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:19] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:17:19] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:17:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:17:19] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:17:19] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:17:46] local.INFO: TCP Data received {"connection_id":177564,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:17:46] local.INFO: Processing buffer {"connection_id":177564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:17:46] local.INFO: IMEI packet received {"connection_id":177564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":177564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:17:51] local.INFO: TCP Data received {"connection_id":177564,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:17:51] local.INFO: Processing buffer {"connection_id":177564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:17:51] local.INFO: IMEI packet received {"connection_id":177564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":177564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:17:52] local.INFO: TCP Data received {"connection_id":177564,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:52] local.INFO: Processing buffer {"connection_id":177564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:52] local.INFO: Packet analysis {"connection_id":177564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:17:52] local.INFO: Extracted packet for processing {"connection_id":177564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:17:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:17:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":177564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:17:52] local.INFO: GPS data processed {"connection_id":177564,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:17:52] local.INFO: Acknowledgment sent {"connection_id":177564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:17:59] local.INFO: TCP Data received {"connection_id":177564,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:59] local.INFO: Processing buffer {"connection_id":177564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:17:59] local.INFO: Packet analysis {"connection_id":177564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:17:59] local.INFO: Extracted packet for processing {"connection_id":177564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":177564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":177564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":177564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":177564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:17:59] local.INFO: GPS data processed {"connection_id":177564,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:17:59] local.INFO: Acknowledgment sent {"connection_id":177564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:18:00] local.INFO: TCP Data received {"connection_id":175040,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:18:00] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:18:00] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:18:05] local.INFO: TCP Data received {"connection_id":175040,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:18:05] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:18:05] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:18:07] local.INFO: TCP Data received {"connection_id":175040,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:18:07] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:18:07] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:18:07] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18: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-09-08 20:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:18:07] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:18:07] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:18:38] local.INFO: TCP Data received {"connection_id":175040,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:18:38] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:18:38] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:18:38] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18: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-09-08 20:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:18:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:18:39] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:18:39] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:18:41] local.INFO: TCP Data received {"connection_id":176105,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:18:41] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:18:41] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:18:43] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:18:43] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:18:43] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:18:46] local.INFO: TCP Data received {"connection_id":176105,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:18:46] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:18:46] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:18:47] local.INFO: TCP Data received {"connection_id":176105,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:18:47] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:18:47] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:18:47] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:18:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:18:47] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:18:47] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:19:00] local.INFO: TCP Data received {"connection_id":177565,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:19:00] local.INFO: Processing buffer {"connection_id":177565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:19:00] local.INFO: IMEI packet received {"connection_id":177565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":177565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:19:05] local.INFO: TCP Data received {"connection_id":177565,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:19:05] local.INFO: Processing buffer {"connection_id":177565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:19:05] local.INFO: IMEI packet received {"connection_id":177565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":177565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:19:07] local.INFO: TCP Data received {"connection_id":177565,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:19:07] local.INFO: Processing buffer {"connection_id":177565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:19:07] local.INFO: Packet analysis {"connection_id":177565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:19:07] local.INFO: Extracted packet for processing {"connection_id":177565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19: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-09-08 20:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:19:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":177565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:19:07] local.INFO: GPS data processed {"connection_id":177565,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:19:07] local.INFO: Acknowledgment sent {"connection_id":177565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:19:19] local.INFO: TCP Data received {"connection_id":176105,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:19:19] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:19:19] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:19:19] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 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-09-08 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:19:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:19:19] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:19:19] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:19:38] local.INFO: TCP Data received {"connection_id":177565,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:19:38] local.INFO: Processing buffer {"connection_id":177565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:19:38] local.INFO: Packet analysis {"connection_id":177565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:19:38] local.INFO: Extracted packet for processing {"connection_id":177565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19: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-09-08 20:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":177565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:19:39] local.INFO: GPS data processed {"connection_id":177565,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:19:39] local.INFO: Acknowledgment sent {"connection_id":177565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:19:42] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:19:42] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:19:42] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:19:46] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:19:46] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:19:46] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:19:47] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:19:47] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:19:47] local.INFO: Packet analysis {"connection_id":174766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:19:47] local.INFO: Extracted packet for processing {"connection_id":174766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:19:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":174766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:19:47] local.INFO: GPS data processed {"connection_id":174766,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:19:47] local.INFO: Acknowledgment sent {"connection_id":174766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:20:05] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:20:05] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:20:05] local.INFO: IMEI packet received {"connection_id":174768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":174768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:20:10] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:20:10] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:20:10] local.INFO: IMEI packet received {"connection_id":174768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":174768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:20:12] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:20:12] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:20:12] local.INFO: Packet analysis {"connection_id":174768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:20:12] local.INFO: Extracted packet for processing {"connection_id":174768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20: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-09-08 20:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:20:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":174768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:20:12] local.INFO: GPS data processed {"connection_id":174768,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:20:12] local.INFO: Acknowledgment sent {"connection_id":174768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:20:16] local.INFO: TCP Data received {"connection_id":174768,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:20:16] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:20:16] local.INFO: Packet analysis {"connection_id":174768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:20:16] local.INFO: Extracted packet for processing {"connection_id":174768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:16] 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-09-08 20:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:20:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:20:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":174768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:20:16] local.INFO: GPS data processed {"connection_id":174768,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:20:16] local.INFO: Acknowledgment sent {"connection_id":174768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:20:19] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:20:19] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:20:19] local.INFO: Packet analysis {"connection_id":174766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:20:19] local.INFO: Extracted packet for processing {"connection_id":174766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:20:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:20:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":174766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:20:19] local.INFO: GPS data processed {"connection_id":174766,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:20:19] local.INFO: Acknowledgment sent {"connection_id":174766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:20:40] local.INFO: TCP Data received {"connection_id":175041,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:20:40] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:20:40] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:20:46] local.INFO: TCP Data received {"connection_id":175041,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:20:46] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:20:46] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:20:47] local.INFO: TCP Data received {"connection_id":175041,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:20:47] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:20:47] local.INFO: Packet analysis {"connection_id":175041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:20:47] local.INFO: Extracted packet for processing {"connection_id":175041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:20:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":175041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:20:47] local.INFO: GPS data processed {"connection_id":175041,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:20:47] local.INFO: Acknowledgment sent {"connection_id":175041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:21:00] local.INFO: TCP Data received {"connection_id":176107,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:21:00] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:21:00] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:21:05] local.INFO: TCP Data received {"connection_id":176107,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:21:05] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:21:05] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:21:07] local.INFO: TCP Data received {"connection_id":176107,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:21:07] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:21:07] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:21:07] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21: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-09-08 20:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:21:07] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:21:07] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:21:19] local.INFO: TCP Data received {"connection_id":175041,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:21:19] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:21:19] local.INFO: Packet analysis {"connection_id":175041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:21:19] local.INFO: Extracted packet for processing {"connection_id":175041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:21:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":175041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:21:19] local.INFO: GPS data processed {"connection_id":175041,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:21:19] local.INFO: Acknowledgment sent {"connection_id":175041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:21:38] local.INFO: TCP Data received {"connection_id":176107,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:21:38] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817bd338012d196580071fef78003c014e29..."} 
[2026-09-08 20:21:38] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:21:38] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817b"} 
[2026-09-08 20:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952888320001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21: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-09-08 20:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788878771000,"timestamp_ms":1788878771000,"timestamp_seconds":1788878771,"priority":1,"record_length":96,"hex_timestamp":"000001a0817bd338"} 
[2026-09-08 20:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 20:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952888320001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952888320001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952888320001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:21:39] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:21:39] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:21:40] local.INFO: TCP Data received {"connection_id":176108,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:21:40] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:21:40] local.INFO: IMEI packet received {"connection_id":176108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":176108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:21:46] local.INFO: TCP Data received {"connection_id":176108,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:21:46] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:21:46] local.INFO: IMEI packet received {"connection_id":176108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":176108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:21:47] local.INFO: TCP Data received {"connection_id":176108,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:21:47] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0817c2540012d34c9c006aa41b80005007127..."} 
[2026-09-08 20:21:47] local.INFO: Packet analysis {"connection_id":176108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:21:47] local.INFO: Extracted packet for processing {"connection_id":176108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0817c"} 
[2026-09-08 20:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":5,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952893696001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788878792000,"timestamp_ms":1788878792000,"timestamp_seconds":1788878792,"priority":1,"record_length":96,"hex_timestamp":"000001a0817c2540"} 
[2026-09-08 20:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952893696001,"66":25778,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952893696001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:21:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952893696001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":176108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:21:47] local.INFO: GPS data processed {"connection_id":176108,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:21:47] local.INFO: Acknowledgment sent {"connection_id":176108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:22:00] local.INFO: TCP Data received {"connection_id":176109,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:22:00] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:22:00] local.INFO: IMEI packet received {"connection_id":176109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":176109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:22:05] local.INFO: TCP Data received {"connection_id":176109,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:22:05] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:22:05] local.INFO: IMEI packet received {"connection_id":176109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":176109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:22:06] local.INFO: TCP Data received {"connection_id":176109,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:22:06] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:22:06] local.INFO: Packet analysis {"connection_id":176109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:06] local.INFO: Extracted packet for processing {"connection_id":176109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:06] 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-09-08 20:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":176109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:22:07] local.INFO: GPS data processed {"connection_id":176109,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:22:07] local.INFO: Acknowledgment sent {"connection_id":176109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:22:19] local.INFO: TCP Data received {"connection_id":176108,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:22:19] local.INFO: Processing buffer {"connection_id":176108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:22:19] local.INFO: Packet analysis {"connection_id":176108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:19] local.INFO: Extracted packet for processing {"connection_id":176108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:22:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":176108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:22:19] local.INFO: GPS data processed {"connection_id":176108,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:22:19] local.INFO: Acknowledgment sent {"connection_id":176108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:22:38] local.INFO: TCP Data received {"connection_id":176109,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:22:38] local.INFO: Processing buffer {"connection_id":176109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:22:38] local.INFO: Packet analysis {"connection_id":176109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:38] local.INFO: Extracted packet for processing {"connection_id":176109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22: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-09-08 20:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":176109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:22:38] local.INFO: GPS data processed {"connection_id":176109,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:22:38] local.INFO: Acknowledgment sent {"connection_id":176109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:22:46] local.INFO: TCP Data received {"connection_id":176110,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:22:46] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:22:46] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:22:51] local.INFO: TCP Data received {"connection_id":176110,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:22:51] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:22:51] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:22:52] local.INFO: TCP Data received {"connection_id":176110,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:22:52] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:22:52] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:52] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:22:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:22:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:22:52] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:22:52] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:23:00] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:23:00] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:23:00] local.INFO: IMEI packet received {"connection_id":174769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:23:05] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:23:05] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:23:05] local.INFO: IMEI packet received {"connection_id":174769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":174769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:23:07] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:23:07] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:23:07] local.INFO: Packet analysis {"connection_id":174769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:07] local.INFO: Extracted packet for processing {"connection_id":174769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23: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-09-08 20:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:23:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":174769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:23:07] local.INFO: GPS data processed {"connection_id":174769,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:23:07] local.INFO: Acknowledgment sent {"connection_id":174769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:23:24] local.INFO: TCP Data received {"connection_id":176110,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:23:24] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:23:24] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:24] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:23:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:23:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:23:24] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:23:24] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:23:38] local.INFO: TCP Data received {"connection_id":174769,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:23:38] local.INFO: Processing buffer {"connection_id":174769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:23:38] local.INFO: Packet analysis {"connection_id":174769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:38] local.INFO: Extracted packet for processing {"connection_id":174769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23: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-09-08 20:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:23:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":174769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:23:39] local.INFO: GPS data processed {"connection_id":174769,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:23:39] local.INFO: Acknowledgment sent {"connection_id":174769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:23:41] local.INFO: TCP Data received {"connection_id":174770,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:23:41] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:23:41] local.INFO: IMEI packet received {"connection_id":174770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":174770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:23:46] local.INFO: TCP Data received {"connection_id":174770,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:23:46] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:23:46] local.INFO: IMEI packet received {"connection_id":174770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":174770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:23:47] local.INFO: TCP Data received {"connection_id":174770,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:23:47] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:23:47] local.INFO: Packet analysis {"connection_id":174770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:47] local.INFO: Extracted packet for processing {"connection_id":174770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":174770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:23:47] local.INFO: GPS data processed {"connection_id":174770,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:23:47] local.INFO: Acknowledgment sent {"connection_id":174770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:24:05] local.INFO: TCP Data received {"connection_id":176111,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:24:05] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:24:05] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:24:10] local.INFO: TCP Data received {"connection_id":176111,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:24:10] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:24:10] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:24:11] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:24:11] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:24:11] local.INFO: IMEI packet received {"connection_id":175043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":175043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:24:11] local.INFO: TCP Data received {"connection_id":176111,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:24:11] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:24:11] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:11] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24: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-09-08 20:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:24:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:24:12] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:24:12] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:24:20] local.INFO: TCP Data received {"connection_id":174770,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:24:20] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:24:20] local.INFO: Packet analysis {"connection_id":174770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:20] local.INFO: Extracted packet for processing {"connection_id":174770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:24:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":174770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:24:20] local.INFO: GPS data processed {"connection_id":174770,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:24:20] local.INFO: Acknowledgment sent {"connection_id":174770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:24:40] local.INFO: TCP Data received {"connection_id":176112,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:24:40] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:24:40] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:24:43] local.INFO: TCP Data received {"connection_id":176111,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:24:43] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:24:43] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:43] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:43] 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-09-08 20:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:24:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:24:43] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:24:43] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:24:46] local.INFO: TCP Data received {"connection_id":176112,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:24:46] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:24:46] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:24:48] local.INFO: TCP Data received {"connection_id":176112,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:24:48] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:24:48] local.INFO: Packet analysis {"connection_id":176112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:48] local.INFO: Extracted packet for processing {"connection_id":176112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:24:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":176112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:24:48] local.INFO: GPS data processed {"connection_id":176112,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:24:48] local.INFO: Acknowledgment sent {"connection_id":176112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:25:00] local.INFO: TCP Data received {"connection_id":175045,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:25:00] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:25:00] local.INFO: IMEI packet received {"connection_id":175045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":175045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:25:05] local.INFO: TCP Data received {"connection_id":175045,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:25:05] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:25:05] local.INFO: IMEI packet received {"connection_id":175045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":175045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:25:07] local.INFO: TCP Data received {"connection_id":175045,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:25:07] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:25:07] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:07] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25: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-09-08 20:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:25:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:25:07] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:25:07] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:25:19] local.INFO: TCP Data received {"connection_id":176112,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:25:19] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:25:19] local.INFO: Packet analysis {"connection_id":176112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:19] local.INFO: Extracted packet for processing {"connection_id":176112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:25:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":176112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:25:19] local.INFO: GPS data processed {"connection_id":176112,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:25:19] local.INFO: Acknowledgment sent {"connection_id":176112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:25:39] local.INFO: TCP Data received {"connection_id":175045,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:25:39] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:25:39] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:39] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25: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-09-08 20:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:25:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:25:39] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:25:39] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:25:40] local.INFO: TCP Data received {"connection_id":176113,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:25:40] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:25:40] local.INFO: IMEI packet received {"connection_id":176113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:25:46] local.INFO: TCP Data received {"connection_id":176113,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:25:46] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:25:46] local.INFO: IMEI packet received {"connection_id":176113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":176113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:25:47] local.INFO: TCP Data received {"connection_id":176113,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:25:47] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:25:47] local.INFO: Packet analysis {"connection_id":176113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:47] local.INFO: Extracted packet for processing {"connection_id":176113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":176113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:25:47] local.INFO: GPS data processed {"connection_id":176113,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:25:47] local.INFO: Acknowledgment sent {"connection_id":176113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:26:00] local.INFO: TCP Data received {"connection_id":174772,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:26:00] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:26:00] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:26:05] local.INFO: TCP Data received {"connection_id":174772,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:26:05] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:26:05] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:26:06] local.INFO: TCP Data received {"connection_id":174772,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:26:06] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:26:06] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:06] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:06] 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-09-08 20:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:26:07] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:26:07] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:26:19] local.INFO: TCP Data received {"connection_id":176113,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:26:19] local.INFO: Processing buffer {"connection_id":176113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:26:19] local.INFO: Packet analysis {"connection_id":176113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:19] local.INFO: Extracted packet for processing {"connection_id":176113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:26:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":176113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:26:19] local.INFO: GPS data processed {"connection_id":176113,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:26:19] local.INFO: Acknowledgment sent {"connection_id":176113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:26:40] local.INFO: TCP Data received {"connection_id":174772,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:26:40] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081806b00012d196580071fef78003c014e29..."} 
[2026-09-08 20:26:40] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:40] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952965376001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26: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-09-08 20:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788879072000,"timestamp_ms":1788879072000,"timestamp_seconds":1788879072,"priority":1,"record_length":96,"hex_timestamp":"000001a081806b00"} 
[2026-09-08 20:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952965376001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952965376001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:26:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952965376001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:26:40] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:26:40] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:26:40] local.INFO: TCP Data received {"connection_id":175046,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:26:40] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:26:40] local.INFO: IMEI packet received {"connection_id":175046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":175046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:26:46] local.INFO: TCP Data received {"connection_id":175046,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:26:46] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:26:46] local.INFO: IMEI packet received {"connection_id":175046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:26:47] local.INFO: TCP Data received {"connection_id":175046,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:26:47] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08180bd08012d34c9c006aa41b80019007126..."} 
[2026-09-08 20:26:47] local.INFO: Packet analysis {"connection_id":175046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:47] local.INFO: Extracted packet for processing {"connection_id":175046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08180"} 
[2026-09-08 20:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":25,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457952970752001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879093000,"timestamp_ms":1788879093000,"timestamp_seconds":1788879093,"priority":1,"record_length":96,"hex_timestamp":"000001a08180bd08"} 
[2026-09-08 20:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 20:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457952970752001,"66":25832,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457952970752001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:26:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457952970752001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":175046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:26:47] local.INFO: GPS data processed {"connection_id":175046,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:26:47] local.INFO: Acknowledgment sent {"connection_id":175046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:27:00] local.INFO: TCP Data received {"connection_id":177568,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:27:00] local.INFO: Processing buffer {"connection_id":177568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:27:00] local.INFO: IMEI packet received {"connection_id":177568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":177568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:27:05] local.INFO: TCP Data received {"connection_id":177568,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:27:05] local.INFO: Processing buffer {"connection_id":177568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:27:05] local.INFO: IMEI packet received {"connection_id":177568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":177568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:27:06] local.INFO: TCP Data received {"connection_id":177568,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:27:06] local.INFO: Processing buffer {"connection_id":177568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:27:06] local.INFO: Packet analysis {"connection_id":177568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:06] local.INFO: Extracted packet for processing {"connection_id":177568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:06] 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-09-08 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:27:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":177568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:27:07] local.INFO: GPS data processed {"connection_id":177568,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:27:07] local.INFO: Acknowledgment sent {"connection_id":177568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:27:19] local.INFO: TCP Data received {"connection_id":175046,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:27:19] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:27:19] local.INFO: Packet analysis {"connection_id":175046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:19] local.INFO: Extracted packet for processing {"connection_id":175046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:27:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:27:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":175046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:27:19] local.INFO: GPS data processed {"connection_id":175046,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:27:19] local.INFO: Acknowledgment sent {"connection_id":175046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:27:38] local.INFO: TCP Data received {"connection_id":177568,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:27:38] local.INFO: Processing buffer {"connection_id":177568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:27:38] local.INFO: Packet analysis {"connection_id":177568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:38] local.INFO: Extracted packet for processing {"connection_id":177568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27: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-09-08 20:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:27:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":177568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:27:39] local.INFO: GPS data processed {"connection_id":177568,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:27:39] local.INFO: Acknowledgment sent {"connection_id":177568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:27:46] local.INFO: TCP Data received {"connection_id":175047,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:27:46] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:27:46] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:27:51] local.INFO: TCP Data received {"connection_id":175047,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:27:51] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:27:51] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:27:52] local.INFO: TCP Data received {"connection_id":175047,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:27:52] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:27:52] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:52] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:27: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:27:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:27:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:27:52] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:27:52] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:28:00] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:28:00] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:28:00] local.INFO: IMEI packet received {"connection_id":174775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":174775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:28:05] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:28:05] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:28:05] local.INFO: IMEI packet received {"connection_id":174775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":174775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:28:07] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:28:07] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:28:07] local.INFO: Packet analysis {"connection_id":174775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:07] local.INFO: Extracted packet for processing {"connection_id":174775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28: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-09-08 20:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:28:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":174775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:28:07] local.INFO: GPS data processed {"connection_id":174775,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:28:07] local.INFO: Acknowledgment sent {"connection_id":174775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:28:24] local.INFO: TCP Data received {"connection_id":175047,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:28:24] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:28:24] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:24] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:28:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:28:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:28:24] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:28:24] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:28:39] local.INFO: TCP Data received {"connection_id":174775,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:28:39] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:28:39] local.INFO: Packet analysis {"connection_id":174775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:39] local.INFO: Extracted packet for processing {"connection_id":174775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28: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-09-08 20:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:28:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:28:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":174775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:28:39] local.INFO: GPS data processed {"connection_id":174775,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:28:39] local.INFO: Acknowledgment sent {"connection_id":174775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:28:40] local.INFO: TCP Data received {"connection_id":175048,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:28:40] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:28:40] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:28:46] local.INFO: TCP Data received {"connection_id":175048,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:28:46] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:28:46] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:28:47] local.INFO: TCP Data received {"connection_id":175048,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:28:47] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:28:47] local.INFO: Packet analysis {"connection_id":175048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:47] local.INFO: Extracted packet for processing {"connection_id":175048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:28:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":175048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:28:47] local.INFO: GPS data processed {"connection_id":175048,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:28:47] local.INFO: Acknowledgment sent {"connection_id":175048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:29:00] local.INFO: TCP Data received {"connection_id":177569,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:29:00] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:29:00] local.INFO: IMEI packet received {"connection_id":177569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":177569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:29:05] local.INFO: TCP Data received {"connection_id":177569,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:29:05] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:29:05] local.INFO: IMEI packet received {"connection_id":177569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":177569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:29:07] local.INFO: TCP Data received {"connection_id":177569,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:29:07] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:29:07] local.INFO: Packet analysis {"connection_id":177569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:07] local.INFO: Extracted packet for processing {"connection_id":177569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29: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-09-08 20:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":177569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:29:07] local.INFO: GPS data processed {"connection_id":177569,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:29:07] local.INFO: Acknowledgment sent {"connection_id":177569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:29:19] local.INFO: TCP Data received {"connection_id":175048,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:29:19] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:29:19] local.INFO: Packet analysis {"connection_id":175048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:19] local.INFO: Extracted packet for processing {"connection_id":175048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 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-09-08 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:29:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:29:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":175048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:29:19] local.INFO: GPS data processed {"connection_id":175048,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:29:19] local.INFO: Acknowledgment sent {"connection_id":175048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:29:39] local.INFO: TCP Data received {"connection_id":177569,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:29:39] local.INFO: Processing buffer {"connection_id":177569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:29:39] local.INFO: Packet analysis {"connection_id":177569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:39] local.INFO: Extracted packet for processing {"connection_id":177569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29: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-09-08 20:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":177569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:29:39] local.INFO: GPS data processed {"connection_id":177569,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:29:39] local.INFO: Acknowledgment sent {"connection_id":177569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:29:40] local.INFO: TCP Data received {"connection_id":177570,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:29:40] local.INFO: Processing buffer {"connection_id":177570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:29:40] local.INFO: IMEI packet received {"connection_id":177570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":177570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:29:43] local.INFO: TCP Data received {"connection_id":177571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:29:43] local.INFO: Processing buffer {"connection_id":177571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:29:43] local.INFO: IMEI packet received {"connection_id":177571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":177571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:29:47] local.INFO: TCP Data received {"connection_id":177570,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:29:47] local.INFO: Processing buffer {"connection_id":177570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:29:47] local.INFO: IMEI packet received {"connection_id":177570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":177570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:29:48] local.INFO: TCP Data received {"connection_id":177570,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:29:48] local.INFO: Processing buffer {"connection_id":177570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:29:48] local.INFO: Packet analysis {"connection_id":177570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:48] local.INFO: Extracted packet for processing {"connection_id":177570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":177570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":177570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":177570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:29:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":177570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:29:48] local.INFO: GPS data processed {"connection_id":177570,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:29:48] local.INFO: Acknowledgment sent {"connection_id":177570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:30:00] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:30:00] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:30:00] local.INFO: IMEI packet received {"connection_id":174776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":174776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:30:05] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:30:05] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:30:05] local.INFO: IMEI packet received {"connection_id":174776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":174776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:30:06] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:30:06] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:30:06] local.INFO: Packet analysis {"connection_id":174776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:06] local.INFO: Extracted packet for processing {"connection_id":174776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:06] 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-09-08 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":174776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:30:07] local.INFO: GPS data processed {"connection_id":174776,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:30:07] local.INFO: Acknowledgment sent {"connection_id":174776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:30:20] local.INFO: TCP Data received {"connection_id":177570,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:20] local.INFO: Processing buffer {"connection_id":177570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:20] local.INFO: Packet analysis {"connection_id":177570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:20] local.INFO: Extracted packet for processing {"connection_id":177570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":177570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":177570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":177570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:30:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:30:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":177570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:30:20] local.INFO: GPS data processed {"connection_id":177570,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:30:20] local.INFO: Acknowledgment sent {"connection_id":177570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:30:38] local.INFO: TCP Data received {"connection_id":174776,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:30:38] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:30:38] local.INFO: Packet analysis {"connection_id":174776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:38] local.INFO: Extracted packet for processing {"connection_id":174776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30: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-09-08 20:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:30:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":174776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:30:38] local.INFO: GPS data processed {"connection_id":174776,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:30:38] local.INFO: Acknowledgment sent {"connection_id":174776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:30:46] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:30:46] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:30:46] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:30:51] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:30:51] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:30:51] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:30:52] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:52] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:52] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:52] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:30:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:30:52] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:30:52] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:30:57] local.INFO: TCP Data received {"connection_id":174777,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:57] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:30:57] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:57] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:30:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:30:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:30:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:30:57] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:30:57] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:31:05] local.INFO: TCP Data received {"connection_id":176116,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:31:05] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:31:05] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:31:10] local.INFO: TCP Data received {"connection_id":176116,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:31:10] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:31:10] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:31:11] local.INFO: TCP Data received {"connection_id":176116,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:31:11] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:31:11] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:31:11] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31: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-09-08 20:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:31:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:31:11] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:31:11] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:31:16] local.INFO: TCP Data received {"connection_id":176116,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:31:16] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818502c8012d196580071fef78003c014e2a..."} 
[2026-09-08 20:31:16] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:31:16] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953042432001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:16] 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-09-08 20:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788879373000,"timestamp_ms":1788879373000,"timestamp_seconds":1788879373,"priority":1,"record_length":96,"hex_timestamp":"000001a0818502c8"} 
[2026-09-08 20:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953042432001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953042432001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:31:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953042432001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:31:16] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:31:16] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:31:41] local.INFO: TCP Data received {"connection_id":175049,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:31:41] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:31:41] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:31:46] local.INFO: TCP Data received {"connection_id":175049,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:31:46] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:31:46] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:31:47] local.INFO: TCP Data received {"connection_id":175049,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:31:47] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818554d0012d34c9c006aa41b8001d007126..."} 
[2026-09-08 20:31:47] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:31:47] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08185"} 
[2026-09-08 20:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953047808001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879394000,"timestamp_ms":1788879394000,"timestamp_seconds":1788879394,"priority":1,"record_length":96,"hex_timestamp":"000001a0818554d0"} 
[2026-09-08 20:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-08 20:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953047808001,"66":25745,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953047808001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:31:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:31:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953047808001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:31:47] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:31:47] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:32:00] local.INFO: TCP Data received {"connection_id":177572,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:32:00] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:32:00] local.INFO: IMEI packet received {"connection_id":177572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":177572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:32:05] local.INFO: TCP Data received {"connection_id":177572,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:32:05] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:32:05] local.INFO: IMEI packet received {"connection_id":177572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":177572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:32:07] local.INFO: TCP Data received {"connection_id":177572,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:32:07] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:32:07] local.INFO: Packet analysis {"connection_id":177572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:07] local.INFO: Extracted packet for processing {"connection_id":177572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32: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-09-08 20:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:32:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":177572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:32:07] local.INFO: GPS data processed {"connection_id":177572,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:32:07] local.INFO: Acknowledgment sent {"connection_id":177572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:32:19] local.INFO: TCP Data received {"connection_id":175049,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:32:19] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:32:19] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:19] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:32:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:32:19] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:32:19] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:32:39] local.INFO: TCP Data received {"connection_id":177572,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:32:39] local.INFO: Processing buffer {"connection_id":177572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:32:39] local.INFO: Packet analysis {"connection_id":177572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:39] local.INFO: Extracted packet for processing {"connection_id":177572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32: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-09-08 20:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:32:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":177572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:32:39] local.INFO: GPS data processed {"connection_id":177572,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:32:39] local.INFO: Acknowledgment sent {"connection_id":177572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:32:40] local.INFO: TCP Data received {"connection_id":177573,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:32:40] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:32:40] local.INFO: IMEI packet received {"connection_id":177573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":177573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:32:46] local.INFO: TCP Data received {"connection_id":177573,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:32:46] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:32:46] local.INFO: IMEI packet received {"connection_id":177573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":177573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:32:47] local.INFO: TCP Data received {"connection_id":177573,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:32:47] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:32:47] local.INFO: Packet analysis {"connection_id":177573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:47] local.INFO: Extracted packet for processing {"connection_id":177573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":177573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:32:47] local.INFO: GPS data processed {"connection_id":177573,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:32:47] local.INFO: Acknowledgment sent {"connection_id":177573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:33:00] local.INFO: TCP Data received {"connection_id":174779,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:33:00] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:33:00] local.INFO: IMEI packet received {"connection_id":174779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":174779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:33:05] local.INFO: TCP Data received {"connection_id":174779,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:33:05] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:33:05] local.INFO: IMEI packet received {"connection_id":174779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":174779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:33:06] local.INFO: TCP Data received {"connection_id":174779,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:33:07] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:33:07] local.INFO: Packet analysis {"connection_id":174779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:07] local.INFO: Extracted packet for processing {"connection_id":174779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33: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-09-08 20:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:33:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":174779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:33:07] local.INFO: GPS data processed {"connection_id":174779,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:33:07] local.INFO: Acknowledgment sent {"connection_id":174779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:33:19] local.INFO: TCP Data received {"connection_id":177573,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:33:19] local.INFO: Processing buffer {"connection_id":177573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:33:19] local.INFO: Packet analysis {"connection_id":177573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:19] local.INFO: Extracted packet for processing {"connection_id":177573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:33:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":177573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:33:19] local.INFO: GPS data processed {"connection_id":177573,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:33:19] local.INFO: Acknowledgment sent {"connection_id":177573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:33:39] local.INFO: TCP Data received {"connection_id":174779,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:33:39] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:33:39] local.INFO: Packet analysis {"connection_id":174779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:39] local.INFO: Extracted packet for processing {"connection_id":174779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33: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-09-08 20:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:33:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:33:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":174779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:33:39] local.INFO: GPS data processed {"connection_id":174779,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:33:39] local.INFO: Acknowledgment sent {"connection_id":174779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:33:40] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:33:40] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:33:40] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:33:46] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:33:46] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:33:46] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:33:47] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:33:47] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:33:47] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:47] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:33:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:33:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:33:47] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:33:47] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:34:00] local.INFO: TCP Data received {"connection_id":175051,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:34:00] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:34:00] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:34:05] local.INFO: TCP Data received {"connection_id":175051,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:34:05] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:34:05] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:34:06] local.INFO: TCP Data received {"connection_id":175051,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:34:06] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:34:06] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:06] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:06] 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-09-08 20:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:34:07] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:34:07] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:34:18] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:34:18] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:34:18] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:18] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:34:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:34:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:34:18] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:34:18] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:34:39] local.INFO: TCP Data received {"connection_id":175051,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:34:39] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:34:39] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:39] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34: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-09-08 20:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:34:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:34:39] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:34:39] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:34:40] local.INFO: TCP Data received {"connection_id":177574,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:34:40] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:34:40] local.INFO: IMEI packet received {"connection_id":177574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":177574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:34:46] local.INFO: TCP Data received {"connection_id":177574,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:34:46] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:34:46] local.INFO: IMEI packet received {"connection_id":177574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":177574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:34:47] local.INFO: TCP Data received {"connection_id":177574,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:34:47] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:34:47] local.INFO: Packet analysis {"connection_id":177574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:47] local.INFO: Extracted packet for processing {"connection_id":177574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":177574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:34:47] local.INFO: GPS data processed {"connection_id":177574,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:34:47] local.INFO: Acknowledgment sent {"connection_id":177574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:35:05] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:35:05] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:35:05] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:35:10] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:35:10] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:35:10] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:35:13] local.INFO: TCP Data received {"connection_id":174780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:35:13] local.INFO: Processing buffer {"connection_id":174780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:35:13] local.INFO: IMEI packet received {"connection_id":174780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":174780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:35:19] local.INFO: TCP Data received {"connection_id":177574,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:19] local.INFO: Processing buffer {"connection_id":177574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:19] local.INFO: Packet analysis {"connection_id":177574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:19] local.INFO: Extracted packet for processing {"connection_id":177574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:35:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:35:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":177574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:35:19] local.INFO: GPS data processed {"connection_id":177574,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:35:19] local.INFO: Acknowledgment sent {"connection_id":177574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:35:22] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:35:22] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:35:22] local.INFO: Packet analysis {"connection_id":174781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:22] local.INFO: Extracted packet for processing {"connection_id":174781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:22] 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-09-08 20:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:35:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:35:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":174781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:35:22] local.INFO: GPS data processed {"connection_id":174781,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:35:22] local.INFO: Acknowledgment sent {"connection_id":174781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:35:24] local.INFO: TCP Data received {"connection_id":174781,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:35:24] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:35:24] local.INFO: Packet analysis {"connection_id":174781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:24] local.INFO: Extracted packet for processing {"connection_id":174781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35: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-09-08 20:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:35:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:35:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":174781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:35:24] local.INFO: GPS data processed {"connection_id":174781,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:35:24] local.INFO: Acknowledgment sent {"connection_id":174781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:35:43] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:35:43] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:35:43] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:35:46] local.INFO: TCP Data received {"connection_id":175052,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:35:46] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:35:46] local.INFO: IMEI packet received {"connection_id":175052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:35:51] local.INFO: TCP Data received {"connection_id":175052,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:35:51] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:35:51] local.INFO: IMEI packet received {"connection_id":175052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":175052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:35:52] local.INFO: TCP Data received {"connection_id":175052,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:52] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:52] local.INFO: Packet analysis {"connection_id":175052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:52] local.INFO: Extracted packet for processing {"connection_id":175052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:35:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:35:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":175052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:35:52] local.INFO: GPS data processed {"connection_id":175052,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:35:52] local.INFO: Acknowledgment sent {"connection_id":175052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:35:57] local.INFO: TCP Data received {"connection_id":175052,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:57] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:35:57] local.INFO: Packet analysis {"connection_id":175052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:57] local.INFO: Extracted packet for processing {"connection_id":175052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:35:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":175052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:35:57] local.INFO: GPS data processed {"connection_id":175052,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:35:57] local.INFO: Acknowledgment sent {"connection_id":175052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:36:00] local.INFO: TCP Data received {"connection_id":177575,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:36:00] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:36:00] local.INFO: IMEI packet received {"connection_id":177575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":177575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:36:05] local.INFO: TCP Data received {"connection_id":177575,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:36:05] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:36:05] local.INFO: IMEI packet received {"connection_id":177575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":177575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:36:07] local.INFO: TCP Data received {"connection_id":177575,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:36:07] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:36:07] local.INFO: Packet analysis {"connection_id":177575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:36:07] local.INFO: Extracted packet for processing {"connection_id":177575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 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-09-08 20:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 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-09-08 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:36:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":177575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:36:07] local.INFO: GPS data processed {"connection_id":177575,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:36:07] local.INFO: Acknowledgment sent {"connection_id":177575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:36:38] local.INFO: TCP Data received {"connection_id":177575,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:36:38] local.INFO: Processing buffer {"connection_id":177575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081899a90012d196580071fef78003c014e22..."} 
[2026-09-08 20:36:38] local.INFO: Packet analysis {"connection_id":177575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:36:38] local.INFO: Extracted packet for processing {"connection_id":177575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953119488001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36: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-09-08 20:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879674000,"timestamp_ms":1788879674000,"timestamp_seconds":1788879674,"priority":1,"record_length":96,"hex_timestamp":"000001a081899a90"} 
[2026-09-08 20:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953119488001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953119488001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953119488001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":177575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:36:39] local.INFO: GPS data processed {"connection_id":177575,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:36:39] local.INFO: Acknowledgment sent {"connection_id":177575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:36:41] local.INFO: TCP Data received {"connection_id":175054,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:36:41] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:36:41] local.INFO: IMEI packet received {"connection_id":175054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":175054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:36:46] local.INFO: TCP Data received {"connection_id":175054,"ip":"117.225.171.207","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:36:46] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:36:46] local.INFO: IMEI packet received {"connection_id":175054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":175054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:36:47] local.INFO: TCP Data received {"connection_id":175054,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:36:47] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08189ec98012d34c9c006aa41b8001d007125..."} 
[2026-09-08 20:36:47] local.INFO: Packet analysis {"connection_id":175054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:36:47] local.INFO: Extracted packet for processing {"connection_id":175054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08189"} 
[2026-09-08 20:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":29,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953124864001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788879695000,"timestamp_ms":1788879695000,"timestamp_seconds":1788879695,"priority":1,"record_length":96,"hex_timestamp":"000001a08189ec98"} 
[2026-09-08 20:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 20:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953124864001,"66":25756,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953124864001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:36:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953124864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":175054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:36:47] local.INFO: GPS data processed {"connection_id":175054,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:36:47] local.INFO: Acknowledgment sent {"connection_id":175054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:37:00] local.INFO: TCP Data received {"connection_id":176119,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:37:00] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:37:00] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:37:05] local.INFO: TCP Data received {"connection_id":176119,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:37:05] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:37:05] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:37:06] local.INFO: TCP Data received {"connection_id":176119,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:37:06] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:37:06] local.INFO: Packet analysis {"connection_id":176119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:37:06] local.INFO: Extracted packet for processing {"connection_id":176119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:06] 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-09-08 20:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":176119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:37:07] local.INFO: GPS data processed {"connection_id":176119,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:37:07] local.INFO: Acknowledgment sent {"connection_id":176119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:37:19] local.INFO: TCP Data received {"connection_id":175054,"ip":"117.225.171.207","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e8460012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e8460012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:37:19] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e8460012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:37:19] local.INFO: Packet analysis {"connection_id":175054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:37:19] local.INFO: Extracted packet for processing {"connection_id":175054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953201920001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788879996000,"timestamp_ms":1788879996000,"timestamp_seconds":1788879996,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e8460"} 
[2026-09-08 20:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-08 20:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.171.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953201920001,"66":24973,"106":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"117.225.171.207","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-08 20:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953201920001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:37:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-08 20:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953201920001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":175054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:37:19] local.INFO: GPS data processed {"connection_id":175054,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:37:19] local.INFO: Acknowledgment sent {"connection_id":175054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:37:38] local.INFO: TCP Data received {"connection_id":176119,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:37:38] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:37:38] local.INFO: Packet analysis {"connection_id":176119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:37:38] local.INFO: Extracted packet for processing {"connection_id":176119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:37: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-09-08 20:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:37:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":176119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:37:38] local.INFO: GPS data processed {"connection_id":176119,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:37:38] local.INFO: Acknowledgment sent {"connection_id":176119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:38:05] local.INFO: TCP Data received {"connection_id":177577,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:38:05] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:38:05] local.INFO: IMEI packet received {"connection_id":177577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":177577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:38:10] local.INFO: TCP Data received {"connection_id":177577,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:38:10] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:38:10] local.INFO: IMEI packet received {"connection_id":177577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":177577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:38:11] local.INFO: TCP Data received {"connection_id":177577,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:38:11] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:38:11] local.INFO: Packet analysis {"connection_id":177577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:38:11] local.INFO: Extracted packet for processing {"connection_id":177577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:38: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-09-08 20:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:38: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-09-08 20:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:38:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":177577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:38:12] local.INFO: GPS data processed {"connection_id":177577,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:38:12] local.INFO: Acknowledgment sent {"connection_id":177577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:38:16] local.INFO: TCP Data received {"connection_id":177577,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:38:16] local.INFO: Processing buffer {"connection_id":177577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:38:16] local.INFO: Packet analysis {"connection_id":177577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:38:16] local.INFO: Extracted packet for processing {"connection_id":177577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:38:16] 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-09-08 20:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:38:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:38:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":177577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:38:16] local.INFO: GPS data processed {"connection_id":177577,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:38:16] local.INFO: Acknowledgment sent {"connection_id":177577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:39:00] local.INFO: TCP Data received {"connection_id":175057,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:39:00] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:39:00] local.INFO: IMEI packet received {"connection_id":175057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":175057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:39:05] local.INFO: TCP Data received {"connection_id":175057,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:39:05] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:39:05] local.INFO: IMEI packet received {"connection_id":175057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":175057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:39:06] local.INFO: TCP Data received {"connection_id":175057,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:39:06] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:39:06] local.INFO: Packet analysis {"connection_id":175057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:39:06] local.INFO: Extracted packet for processing {"connection_id":175057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:39:06] 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-09-08 20:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":175057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:39:06] local.INFO: GPS data processed {"connection_id":175057,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:39:06] local.INFO: Acknowledgment sent {"connection_id":175057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:39:38] local.INFO: TCP Data received {"connection_id":175057,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:39:38] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:39:38] local.INFO: Packet analysis {"connection_id":175057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:39:38] local.INFO: Extracted packet for processing {"connection_id":175057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:39: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-09-08 20:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":175057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:39:38] local.INFO: GPS data processed {"connection_id":175057,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:39:38] local.INFO: Acknowledgment sent {"connection_id":175057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:40:00] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:40:00] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:40:00] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:40:05] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:40:05] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:40:05] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:40:06] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:40:06] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:40:06] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:40:06] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:40:06] 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-09-08 20:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:40:06] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:40:06] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:40:38] local.INFO: TCP Data received {"connection_id":176121,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:40:38] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:40:38] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:40:38] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:40: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-09-08 20:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:40:38] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:40:38] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:40:46] local.INFO: TCP Data received {"connection_id":174782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:40:46] local.INFO: Processing buffer {"connection_id":174782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:40:46] local.INFO: IMEI packet received {"connection_id":174782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":174782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:41:00] local.INFO: TCP Data received {"connection_id":175058,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:41:00] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:41:00] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:41:05] local.INFO: TCP Data received {"connection_id":175058,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:41:05] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:41:05] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:41:06] local.INFO: TCP Data received {"connection_id":175058,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:41:06] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:41:06] local.INFO: Packet analysis {"connection_id":175058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:41:06] local.INFO: Extracted packet for processing {"connection_id":175058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:41:06] 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-09-08 20:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":175058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:41:06] local.INFO: GPS data processed {"connection_id":175058,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:41:06] local.INFO: Acknowledgment sent {"connection_id":175058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:41:38] local.INFO: TCP Data received {"connection_id":175058,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:41:38] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0818e3258012d196580071fef78003c014e2a..."} 
[2026-09-08 20:41:38] local.INFO: Packet analysis {"connection_id":175058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:41:38] local.INFO: Extracted packet for processing {"connection_id":175058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0818e"} 
[2026-09-08 20:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":60,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953196544001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:41: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-09-08 20:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788879975000,"timestamp_ms":1788879975000,"timestamp_seconds":1788879975,"priority":1,"record_length":96,"hex_timestamp":"000001a0818e3258"} 
[2026-09-08 20:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953196544001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953196544001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:41:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953196544001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":175058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:41:38] local.INFO: GPS data processed {"connection_id":175058,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:41:38] local.INFO: Acknowledgment sent {"connection_id":175058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:42:05] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:42:05] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:42:05] local.INFO: IMEI packet received {"connection_id":174783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":174783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:42:10] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:42:10] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:42:10] local.INFO: IMEI packet received {"connection_id":174783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":174783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:42:12] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:42:12] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:42:12] local.INFO: Packet analysis {"connection_id":174783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:42:12] local.INFO: Extracted packet for processing {"connection_id":174783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:42: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-09-08 20:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:42: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-09-08 20:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:42:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":174783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:42:12] local.INFO: GPS data processed {"connection_id":174783,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:42:12] local.INFO: Acknowledgment sent {"connection_id":174783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:42:17] local.INFO: TCP Data received {"connection_id":174783,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:42:17] local.INFO: Processing buffer {"connection_id":174783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:42:17] local.INFO: Packet analysis {"connection_id":174783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:42:17] local.INFO: Extracted packet for processing {"connection_id":174783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:42: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-09-08 20:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:42:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:42:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":174783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:42:17] local.INFO: GPS data processed {"connection_id":174783,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:42:17] local.INFO: Acknowledgment sent {"connection_id":174783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:43:00] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:43:00] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:43:00] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:43:05] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:43:05] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:43:05] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:43:06] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:43:06] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:43:06] local.INFO: Packet analysis {"connection_id":176123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:43:06] local.INFO: Extracted packet for processing {"connection_id":176123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:43:06] 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-09-08 20:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":176123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:43:07] local.INFO: GPS data processed {"connection_id":176123,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:43:07] local.INFO: Acknowledgment sent {"connection_id":176123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:43:41] local.INFO: TCP Data received {"connection_id":176123,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:43:41] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:43:41] local.INFO: Packet analysis {"connection_id":176123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:43:41] local.INFO: Extracted packet for processing {"connection_id":176123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:43: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-09-08 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 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-09-08 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":176123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:43:41] local.INFO: GPS data processed {"connection_id":176123,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:43:41] local.INFO: Acknowledgment sent {"connection_id":176123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:44:00] local.INFO: TCP Data received {"connection_id":177580,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:44:00] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:44:00] local.INFO: IMEI packet received {"connection_id":177580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":177580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:44:05] local.INFO: TCP Data received {"connection_id":177580,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:44:05] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:44:05] local.INFO: IMEI packet received {"connection_id":177580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":177580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:44:06] local.INFO: TCP Data received {"connection_id":177580,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:44:06] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:44:06] local.INFO: Packet analysis {"connection_id":177580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:44:06] local.INFO: Extracted packet for processing {"connection_id":177580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:44:06] 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-09-08 20:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":177580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:44:07] local.INFO: GPS data processed {"connection_id":177580,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:44:07] local.INFO: Acknowledgment sent {"connection_id":177580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:44:38] local.INFO: TCP Data received {"connection_id":177580,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:44:38] local.INFO: Processing buffer {"connection_id":177580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:44:38] local.INFO: Packet analysis {"connection_id":177580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:44:38] local.INFO: Extracted packet for processing {"connection_id":177580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:44: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-09-08 20:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":177580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:44:38] local.INFO: GPS data processed {"connection_id":177580,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:44:38] local.INFO: Acknowledgment sent {"connection_id":177580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:45:05] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:45:05] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:45:05] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:45:10] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:45:10] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:45:10] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:45:12] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:45:12] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:45:12] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:45:12] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:45: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-09-08 20:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:45: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-09-08 20:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:45:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:45:12] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:45:12] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:45:16] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:45:16] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:45:16] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:45:16] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:45:16] 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-09-08 20:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:45:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:45:16] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:45:16] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:46:00] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:46:00] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:46:00] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:46:05] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:46:05] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:46:05] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:46:07] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:46:07] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:46:07] local.INFO: Packet analysis {"connection_id":174784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:46:07] local.INFO: Extracted packet for processing {"connection_id":174784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:46: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-09-08 20:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:46:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":174784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:46:07] local.INFO: GPS data processed {"connection_id":174784,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:46:07] local.INFO: Acknowledgment sent {"connection_id":174784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:46:13] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:46:13] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:46:13] local.INFO: IMEI packet received {"connection_id":175059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":175059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:46:39] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:46:39] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08192ca20012d196580071fef78004a014e2c..."} 
[2026-09-08 20:46:39] local.INFO: Packet analysis {"connection_id":174784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:46:39] local.INFO: Extracted packet for processing {"connection_id":174784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08192"} 
[2026-09-08 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":74,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953273600001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20: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-09-08 20:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788880276000,"timestamp_ms":1788880276000,"timestamp_seconds":1788880276,"priority":1,"record_length":96,"hex_timestamp":"000001a08192ca20"} 
[2026-09-08 20:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953273600001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953273600001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:46:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953273600001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":174784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:46:39] local.INFO: GPS data processed {"connection_id":174784,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:46:39] local.INFO: Acknowledgment sent {"connection_id":174784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:47:00] local.INFO: TCP Data received {"connection_id":175060,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:47:00] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:47:00] local.INFO: IMEI packet received {"connection_id":175060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":175060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:47:05] local.INFO: TCP Data received {"connection_id":175060,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:47:05] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:47:05] local.INFO: IMEI packet received {"connection_id":175060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":175060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:47:06] local.INFO: TCP Data received {"connection_id":175060,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:47:06] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:47:06] local.INFO: Packet analysis {"connection_id":175060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:47:06] local.INFO: Extracted packet for processing {"connection_id":175060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:47:06] 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-09-08 20:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:47:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":175060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:47:07] local.INFO: GPS data processed {"connection_id":175060,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:47:07] local.INFO: Acknowledgment sent {"connection_id":175060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:47:38] local.INFO: TCP Data received {"connection_id":175060,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:47:38] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:47:38] local.INFO: Packet analysis {"connection_id":175060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:47:38] local.INFO: Extracted packet for processing {"connection_id":175060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20: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-09-08 20:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":175060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:47:38] local.INFO: GPS data processed {"connection_id":175060,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:47:38] local.INFO: Acknowledgment sent {"connection_id":175060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:48:05] local.INFO: TCP Data received {"connection_id":176128,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:48:05] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:48:05] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:48:10] local.INFO: TCP Data received {"connection_id":176128,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:48:10] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:48:10] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:48:11] local.INFO: TCP Data received {"connection_id":176128,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:48:11] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:48:11] local.INFO: Packet analysis {"connection_id":176128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:48:11] local.INFO: Extracted packet for processing {"connection_id":176128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:48: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-09-08 20:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":176128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:48:12] local.INFO: GPS data processed {"connection_id":176128,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:48:12] local.INFO: Acknowledgment sent {"connection_id":176128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:48:16] local.INFO: TCP Data received {"connection_id":176128,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:48:16] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:48:16] local.INFO: Packet analysis {"connection_id":176128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:48:16] local.INFO: Extracted packet for processing {"connection_id":176128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20: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-09-08 20:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:48:16] 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-09-08 20:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20: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-09-08 20:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:48:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":176128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:48:16] local.INFO: GPS data processed {"connection_id":176128,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:48:16] local.INFO: Acknowledgment sent {"connection_id":176128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:49:00] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:49:00] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:49:00] local.INFO: IMEI packet received {"connection_id":174785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:49:05] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:49:05] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:49:05] local.INFO: IMEI packet received {"connection_id":174785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":174785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:49:07] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:49:07] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:49:07] local.INFO: Packet analysis {"connection_id":174785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:49:07] local.INFO: Extracted packet for processing {"connection_id":174785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:49: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-09-08 20:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:49:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":174785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:49:07] local.INFO: GPS data processed {"connection_id":174785,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:49:07] local.INFO: Acknowledgment sent {"connection_id":174785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:49:38] local.INFO: TCP Data received {"connection_id":174785,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:49:38] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:49:38] local.INFO: Packet analysis {"connection_id":174785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:49:38] local.INFO: Extracted packet for processing {"connection_id":174785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:49: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-09-08 20:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:49:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":174785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:49:39] local.INFO: GPS data processed {"connection_id":174785,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:49:39] local.INFO: Acknowledgment sent {"connection_id":174785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:50:00] local.INFO: TCP Data received {"connection_id":176130,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:50:00] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:50:00] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:50:05] local.INFO: TCP Data received {"connection_id":176130,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:50:05] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:50:05] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:50:06] local.INFO: TCP Data received {"connection_id":176130,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:50:06] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:50:06] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:50:06] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:50:06] 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-09-08 20:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:50:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:50:07] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:50:07] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:50:21] local.INFO: TCP Data received {"connection_id":177582,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:50:21] local.INFO: Processing buffer {"connection_id":177582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:50:21] local.INFO: IMEI packet received {"connection_id":177582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":177582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:50:38] local.INFO: TCP Data received {"connection_id":176130,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:50:38] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:50:38] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:50:38] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:50: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-09-08 20:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:50:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:50:38] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:50:38] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:50:56] local.INFO: TCP Data received {"connection_id":177583,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:50:56] local.INFO: Processing buffer {"connection_id":177583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:50:56] local.INFO: IMEI packet received {"connection_id":177583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":177583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:51:00] local.INFO: TCP Data received {"connection_id":175062,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:51:00] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:51:00] local.INFO: IMEI packet received {"connection_id":175062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":175062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:51:01] local.INFO: TCP Data received {"connection_id":177583,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:01] local.INFO: Processing buffer {"connection_id":177583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:01] local.INFO: IMEI packet received {"connection_id":177583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":177583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:51:02] local.INFO: TCP Data received {"connection_id":177583,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819421e0012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819421e0012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:51:02] local.INFO: Processing buffer {"connection_id":177583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819421e0012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:51:02] local.INFO: Packet analysis {"connection_id":177583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08194"} 
[2026-09-08 20:51:02] local.INFO: Extracted packet for processing {"connection_id":177583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08194"} 
[2026-09-08 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953278976001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788880364000,"timestamp_ms":1788880364000,"timestamp_seconds":1788880364,"priority":1,"record_length":96,"hex_timestamp":"000001a0819421e0"} 
[2026-09-08 20:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-08 20:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953278976001,"66":25734,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953278976001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:51:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953278976001,"power":25734,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":177583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:51:02] local.INFO: GPS data processed {"connection_id":177583,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:51:02] local.INFO: Acknowledgment sent {"connection_id":177583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:51:05] local.INFO: TCP Data received {"connection_id":175062,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:51:05] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:51:05] local.INFO: IMEI packet received {"connection_id":175062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":175062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:51:06] local.INFO: TCP Data received {"connection_id":175062,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:51:06] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:51:06] local.INFO: Packet analysis {"connection_id":175062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:51:06] local.INFO: Extracted packet for processing {"connection_id":175062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:06] 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-09-08 20:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:51:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":175062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:51:07] local.INFO: GPS data processed {"connection_id":175062,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:51:07] local.INFO: Acknowledgment sent {"connection_id":175062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:51:38] local.INFO: TCP Data received {"connection_id":175062,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:51:38] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819761e8012d196580071fef780048014e2b..."} 
[2026-09-08 20:51:38] local.INFO: Packet analysis {"connection_id":175062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:51:38] local.INFO: Extracted packet for processing {"connection_id":175062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08197"} 
[2026-09-08 20:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953350656001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51: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-09-08 20:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880577000,"timestamp_ms":1788880577000,"timestamp_seconds":1788880577,"priority":1,"record_length":96,"hex_timestamp":"000001a0819761e8"} 
[2026-09-08 20:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 20:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953350656001,"66":2144,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953350656001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:51:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953350656001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":175062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:51:38] local.INFO: GPS data processed {"connection_id":175062,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:51:38] local.INFO: Acknowledgment sent {"connection_id":175062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:51:40] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:40] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:40] local.INFO: IMEI packet received {"connection_id":177584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":177584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:51:43] local.INFO: TCP Data received {"connection_id":177585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:51:43] local.INFO: Processing buffer {"connection_id":177585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:51:43] local.INFO: IMEI packet received {"connection_id":177585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":177585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:51:46] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:46] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:51:46] local.INFO: IMEI packet received {"connection_id":177584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":177584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:51:47] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:51:47] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:51:47] local.INFO: Packet analysis {"connection_id":177584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:51:47] local.INFO: Extracted packet for processing {"connection_id":177584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:51:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":177584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:51:47] local.INFO: GPS data processed {"connection_id":177584,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:51:47] local.INFO: Acknowledgment sent {"connection_id":177584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:52:05] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:52:05] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:52:05] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:52:10] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:52:10] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:52:10] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:52:11] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:52:11] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:52:11] local.INFO: Packet analysis {"connection_id":176131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:52:11] local.INFO: Extracted packet for processing {"connection_id":176131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52: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-09-08 20:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:52:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":176131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:52:11] local.INFO: GPS data processed {"connection_id":176131,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:52:11] local.INFO: Acknowledgment sent {"connection_id":176131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:52:16] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:52:16] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:52:16] local.INFO: Packet analysis {"connection_id":176131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:52:16] local.INFO: Extracted packet for processing {"connection_id":176131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:16] 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-09-08 20:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:52:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":176131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:52:16] local.INFO: GPS data processed {"connection_id":176131,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:52:16] local.INFO: Acknowledgment sent {"connection_id":176131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:52:18] local.INFO: TCP Data received {"connection_id":177584,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:18] local.INFO: Processing buffer {"connection_id":177584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:18] local.INFO: Packet analysis {"connection_id":177584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:52:18] local.INFO: Extracted packet for processing {"connection_id":177584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":177584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:52:18] local.INFO: GPS data processed {"connection_id":177584,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:52:18] local.INFO: Acknowledgment sent {"connection_id":177584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:52:46] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:52:46] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:52:46] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:52:51] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:52:51] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:52:51] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:52:52] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:52] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:52] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:52:52] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:52:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:52:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:52:52] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:52:52] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:52:57] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:57] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:52:57] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:52:57] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:52:57] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:52:57] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:53:00] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:53:00] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:53:00] local.INFO: IMEI packet received {"connection_id":177586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":177586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:53:05] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:53:05] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:53:05] local.INFO: IMEI packet received {"connection_id":177586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":177586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:53:06] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:53:06] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:53:06] local.INFO: Packet analysis {"connection_id":177586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:53:06] local.INFO: Extracted packet for processing {"connection_id":177586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:06] 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-09-08 20:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":177586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:53:07] local.INFO: GPS data processed {"connection_id":177586,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:53:07] local.INFO: Acknowledgment sent {"connection_id":177586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:53:38] local.INFO: TCP Data received {"connection_id":177586,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:53:38] local.INFO: Processing buffer {"connection_id":177586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:53:38] local.INFO: Packet analysis {"connection_id":177586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:53:38] local.INFO: Extracted packet for processing {"connection_id":177586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53: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-09-08 20:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":177586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:53:38] local.INFO: GPS data processed {"connection_id":177586,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:53:38] local.INFO: Acknowledgment sent {"connection_id":177586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:53:46] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:53:46] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:53:46] local.INFO: IMEI packet received {"connection_id":174786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:53:51] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:53:51] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:53:51] local.INFO: IMEI packet received {"connection_id":174786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":174786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:53:52] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:53:52] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:53:52] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:53:52] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:53:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:53:52] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:53:52] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:54:00] local.INFO: TCP Data received {"connection_id":174787,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:54:00] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:54:00] local.INFO: IMEI packet received {"connection_id":174787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":174787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:54:05] local.INFO: TCP Data received {"connection_id":174787,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:54:05] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:54:05] local.INFO: IMEI packet received {"connection_id":174787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":174787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:54:07] local.INFO: TCP Data received {"connection_id":174787,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:54:07] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:54:07] local.INFO: Packet analysis {"connection_id":174787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:54:07] local.INFO: Extracted packet for processing {"connection_id":174787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54: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-09-08 20:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":174787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:54:07] local.INFO: GPS data processed {"connection_id":174787,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:54:07] local.INFO: Acknowledgment sent {"connection_id":174787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:54:23] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:54:23] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:54:23] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:54:23] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:54:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:54:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:54:23] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:54:23] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:54:38] local.INFO: TCP Data received {"connection_id":174787,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:54:38] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:54:38] local.INFO: Packet analysis {"connection_id":174787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:54:38] local.INFO: Extracted packet for processing {"connection_id":174787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54: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-09-08 20:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":174787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:54:38] local.INFO: GPS data processed {"connection_id":174787,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:54:38] local.INFO: Acknowledgment sent {"connection_id":174787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:54:40] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:54:40] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:54:40] local.INFO: IMEI packet received {"connection_id":174788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":174788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:54:46] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:54:46] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:54:46] local.INFO: IMEI packet received {"connection_id":174788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":174788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:54:47] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:54:47] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08198b9a8012d34c9c006aa41b80009007123..."} 
[2026-09-08 20:54:47] local.INFO: Packet analysis {"connection_id":174788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:54:47] local.INFO: Extracted packet for processing {"connection_id":174788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08198"} 
[2026-09-08 20:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953373184001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788880665000,"timestamp_ms":1788880665000,"timestamp_seconds":1788880665,"priority":1,"record_length":96,"hex_timestamp":"000001a08198b9a8"} 
[2026-09-08 20:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 20:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953373184001,"66":25712,"105":206,"28":21760,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-09-08 20:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953373184001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:54:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-08 20:54:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-08 20:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953373184001,"power":25712,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":174788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:54:47] local.INFO: GPS data processed {"connection_id":174788,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:54:47] local.INFO: Acknowledgment sent {"connection_id":174788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:55:05] local.INFO: TCP Data received {"connection_id":175065,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:55:05] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:55:05] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:55:10] local.INFO: TCP Data received {"connection_id":175065,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:55:10] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:55:10] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:55:11] local.INFO: TCP Data received {"connection_id":175065,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:55:11] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:55:11] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:55:11] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 20:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55: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-09-08 20:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 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-09-08 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 20:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:55:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:55:11] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:55:11] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:55:16] local.INFO: TCP Data received {"connection_id":175065,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:55:16] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:55:16] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:55:16] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:16] 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-09-08 20:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:55:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:55:16] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:55:16] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:55:18] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:55:18] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:55:18] local.INFO: Packet analysis {"connection_id":174788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:55:18] local.INFO: Extracted packet for processing {"connection_id":174788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":174788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:55:18] local.INFO: GPS data processed {"connection_id":174788,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:55:18] local.INFO: Acknowledgment sent {"connection_id":174788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:55:40] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:55:40] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:55:40] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:55:46] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:55:46] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:55:46] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:55:47] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:55:47] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:55:47] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:55:47] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:55:47] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:55:47] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:56:00] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:56:00] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:56:00] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:56:05] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:56:05] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:56:05] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:56:06] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:56:06] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:56:06] local.INFO: Packet analysis {"connection_id":175066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:56:06] local.INFO: Extracted packet for processing {"connection_id":175066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:06] 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-09-08 20:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:56:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":175066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:56:06] local.INFO: GPS data processed {"connection_id":175066,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:56:06] local.INFO: Acknowledgment sent {"connection_id":175066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:56:18] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:18] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:18] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:56:18] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:56:18] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:56:18] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:56:38] local.INFO: TCP Data received {"connection_id":175066,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:56:38] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819bf9b0012d196580071fef780048014e2b..."} 
[2026-09-08 20:56:38] local.INFO: Packet analysis {"connection_id":175066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:56:38] local.INFO: Extracted packet for processing {"connection_id":175066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819b"} 
[2026-09-08 20:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953427712001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56: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-09-08 20:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788880878000,"timestamp_ms":1788880878000,"timestamp_seconds":1788880878,"priority":1,"record_length":96,"hex_timestamp":"000001a0819bf9b0"} 
[2026-09-08 20:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 20:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953427712001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953427712001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953427712001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":175066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:56:38] local.INFO: GPS data processed {"connection_id":175066,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:56:38] local.INFO: Acknowledgment sent {"connection_id":175066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:56:46] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:56:46] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:56:46] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:56:51] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:56:51] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:56:51] local.INFO: IMEI packet received {"connection_id":176133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":176133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:56:52] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:52] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:52] local.INFO: Packet analysis {"connection_id":176133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:56:52] local.INFO: Extracted packet for processing {"connection_id":176133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":176133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:56:52] local.INFO: GPS data processed {"connection_id":176133,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:56:52] local.INFO: Acknowledgment sent {"connection_id":176133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:56:56] local.INFO: TCP Data received {"connection_id":176133,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:56] local.INFO: Processing buffer {"connection_id":176133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:56:56] local.INFO: Packet analysis {"connection_id":176133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:56:56] local.INFO: Extracted packet for processing {"connection_id":176133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":176133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:56:56] local.INFO: GPS data processed {"connection_id":176133,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:56:56] local.INFO: Acknowledgment sent {"connection_id":176133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:57:00] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:57:00] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:57:00] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:57:03] local.INFO: TCP Data received {"connection_id":176134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:57:03] local.INFO: Processing buffer {"connection_id":176134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 20:57:03] local.INFO: IMEI packet received {"connection_id":176134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 20:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":176134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:57:05] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:57:05] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:57:05] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:57:06] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:57:06] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:57:06] local.INFO: Packet analysis {"connection_id":174791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:57:06] local.INFO: Extracted packet for processing {"connection_id":174791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:06] 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-09-08 20:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 20:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":174791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:57:07] local.INFO: GPS data processed {"connection_id":174791,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:57:07] local.INFO: Acknowledgment sent {"connection_id":174791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:57:39] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:57:39] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:57:39] local.INFO: Packet analysis {"connection_id":174791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:57:39] local.INFO: Extracted packet for processing {"connection_id":174791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57: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-09-08 20:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 20:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:57:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":174791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:57:39] local.INFO: GPS data processed {"connection_id":174791,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:57:39] local.INFO: Acknowledgment sent {"connection_id":174791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:57:41] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:57:41] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:57:41] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:57:47] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:57:47] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:57:47] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:57:52] local.INFO: TCP Data received {"connection_id":174793,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:57:52] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:57:52] local.INFO: Packet analysis {"connection_id":174793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:57:52] local.INFO: Extracted packet for processing {"connection_id":174793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":174793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:57:52] local.INFO: GPS data processed {"connection_id":174793,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:57:52] local.INFO: Acknowledgment sent {"connection_id":174793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:58:05] local.INFO: TCP Data received {"connection_id":176135,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:58:05] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:58:05] local.INFO: IMEI packet received {"connection_id":176135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":176135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:58:10] local.INFO: TCP Data received {"connection_id":176135,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:58:10] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:58:10] local.INFO: IMEI packet received {"connection_id":176135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":176135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:58:11] local.INFO: TCP Data received {"connection_id":176135,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:58:11] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:58:11] local.INFO: Packet analysis {"connection_id":176135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:58:11] local.INFO: Extracted packet for processing {"connection_id":176135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:58: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-09-08 20:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 20:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:58: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-09-08 20:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:58:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":176135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:58:11] local.INFO: GPS data processed {"connection_id":176135,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:58:11] local.INFO: Acknowledgment sent {"connection_id":176135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:58:16] local.INFO: TCP Data received {"connection_id":176135,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:58:16] local.INFO: Processing buffer {"connection_id":176135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:58:16] local.INFO: Packet analysis {"connection_id":176135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:58:16] local.INFO: Extracted packet for processing {"connection_id":176135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:58:16] 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-09-08 20:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 20:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:58:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:58:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":176135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:58:16] local.INFO: GPS data processed {"connection_id":176135,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:58:16] local.INFO: Acknowledgment sent {"connection_id":176135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:58:46] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:58:46] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:58:46] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:58:52] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:58:52] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:58:52] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:59:01] local.INFO: TCP Data received {"connection_id":174794,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:59:01] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:59:01] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 20:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:59:03] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:59:03] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 20:59:03] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:59:03] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 20:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 20:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 20:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 20:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 20:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 20:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 20:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 20:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 20:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 20:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 20:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 20:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 20:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 20:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 20:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:59:03] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:59:03] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:59:05] local.INFO: TCP Data received {"connection_id":174794,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:59:05] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 20:59:05] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 20:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 20:59:06] local.INFO: TCP Data received {"connection_id":174794,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:59:06] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:59:06] local.INFO: Packet analysis {"connection_id":174794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:59:06] local.INFO: Extracted packet for processing {"connection_id":174794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:06] 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-09-08 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 20:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":174794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:59:07] local.INFO: GPS data processed {"connection_id":174794,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:59:07] local.INFO: Acknowledgment sent {"connection_id":174794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:59:38] local.INFO: TCP Data received {"connection_id":174794,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:59:38] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 20:59:38] local.INFO: Packet analysis {"connection_id":174794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:59:38] local.INFO: Extracted packet for processing {"connection_id":174794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 20:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 20:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 20:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 20:59: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-09-08 20:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 20:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 20:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 20:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 20:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 20:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 20:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 20:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 20:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 20:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 20:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 20:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 20:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 20:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 20:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 20:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 20:59:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 20:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 20:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 20:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 20:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 20:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":174794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 20:59:38] local.INFO: GPS data processed {"connection_id":174794,"processed":1,"errors":0,"total":1} 
[2026-09-08 20:59:38] local.INFO: Acknowledgment sent {"connection_id":174794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 20:59:41] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:59:41] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:59:41] local.INFO: IMEI packet received {"connection_id":177588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 20:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":177588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 20:59:48] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:59:48] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 20:59:48] local.INFO: IMEI packet received {"connection_id":177588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":177588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:00:00] local.INFO: TCP Data received {"connection_id":177589,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:00:00] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:00:00] local.INFO: IMEI packet received {"connection_id":177589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":177589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:00:05] local.INFO: TCP Data received {"connection_id":177589,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:00:05] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:00:05] local.INFO: IMEI packet received {"connection_id":177589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":177589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:00:06] local.INFO: TCP Data received {"connection_id":177589,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:00:06] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:00:06] local.INFO: Packet analysis {"connection_id":177589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:00:06] local.INFO: Extracted packet for processing {"connection_id":177589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:06] 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-09-08 21:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 21:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:00:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":177589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:00:07] local.INFO: GPS data processed {"connection_id":177589,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:00:07] local.INFO: Acknowledgment sent {"connection_id":177589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:00:37] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:00:37] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0819ee3c8012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:00:37] local.INFO: Packet analysis {"connection_id":177588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 21:00:37] local.INFO: Extracted packet for processing {"connection_id":177588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0819e"} 
[2026-09-08 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953450240001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788881069000,"timestamp_ms":1788881069000,"timestamp_seconds":1788881069,"priority":1,"record_length":96,"hex_timestamp":"000001a0819ee3c8"} 
[2026-09-08 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953450240001,"66":25702,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953450240001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953450240001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":177588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:00:37] local.INFO: GPS data processed {"connection_id":177588,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:00:37] local.INFO: Acknowledgment sent {"connection_id":177588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:00:38] local.INFO: TCP Data received {"connection_id":177589,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:00:38] local.INFO: Processing buffer {"connection_id":177589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:00:38] local.INFO: Packet analysis {"connection_id":177589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:00:38] local.INFO: Extracted packet for processing {"connection_id":177589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00: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-09-08 21:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 21:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":177589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:00:38] local.INFO: GPS data processed {"connection_id":177589,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:00:38] local.INFO: Acknowledgment sent {"connection_id":177589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:00:44] local.INFO: TCP Data received {"connection_id":177588,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:00:44] local.INFO: Processing buffer {"connection_id":177588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:00:44] local.INFO: Packet analysis {"connection_id":177588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a3"} 
[2026-09-08 21:00:44] local.INFO: Extracted packet for processing {"connection_id":177588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a3"} 
[2026-09-08 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953553664001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788881370000,"timestamp_ms":1788881370000,"timestamp_seconds":1788881370,"priority":1,"record_length":96,"hex_timestamp":"000001a081a37b90"} 
[2026-09-08 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":177588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":177588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953553664001,"66":25441,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953553664001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953553664001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":177588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:00:44] local.INFO: GPS data processed {"connection_id":177588,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:00:44] local.ERROR: TCP Connection error {"connection_id":177588,"code":2,"message":"client closed"} 
[2026-09-08 21:00:44] local.INFO: Acknowledgment sent {"connection_id":177588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:01:05] local.INFO: TCP Data received {"connection_id":175070,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:05] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:05] local.INFO: IMEI packet received {"connection_id":175070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":175070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:01:10] local.INFO: TCP Data received {"connection_id":175070,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:10] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:10] local.INFO: IMEI packet received {"connection_id":175070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":175070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:01:11] local.INFO: TCP Data received {"connection_id":175070,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:01:11] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:01:11] local.INFO: Packet analysis {"connection_id":175070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:01:11] local.INFO: Extracted packet for processing {"connection_id":175070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:01: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-09-08 21:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 21:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:01: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-09-08 21:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:01:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":175070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:01:12] local.INFO: GPS data processed {"connection_id":175070,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:01:12] local.INFO: Acknowledgment sent {"connection_id":175070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:01:15] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:15] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:15] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:01:16] local.INFO: TCP Data received {"connection_id":175070,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:01:16] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a09178012d196580071fef780048014e2c..."} 
[2026-09-08 21:01:16] local.INFO: Packet analysis {"connection_id":175070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:01:16] local.INFO: Extracted packet for processing {"connection_id":175070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a0"} 
[2026-09-08 21:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953504768001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:01:16] 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-09-08 21:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788881179000,"timestamp_ms":1788881179000,"timestamp_seconds":1788881179,"priority":1,"record_length":96,"hex_timestamp":"000001a081a09178"} 
[2026-09-08 21:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953504768001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953504768001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:01:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953504768001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":175070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:01:16] local.INFO: GPS data processed {"connection_id":175070,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:01:16] local.INFO: Acknowledgment sent {"connection_id":175070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:01:23] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:23] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:23] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:01:51] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:51] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:01:51] local.INFO: IMEI packet received {"connection_id":174795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":174795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:01:58] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:58] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:01:58] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:02:00] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:02:00] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:02:00] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:02:01] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:02:01] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:02:01] local.INFO: IMEI packet received {"connection_id":174795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:02:05] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:02:05] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:02:05] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:02:06] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:02:06] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:02:06] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:02:06] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:06] 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-09-08 21:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:02:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:02:06] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:02:06] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:02:38] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:02:38] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:02:38] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:02:38] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02: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-09-08 21:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:02:38] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:02:38] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:02:41] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:02:41] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:02:41] local.INFO: Packet analysis {"connection_id":174795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a3"} 
[2026-09-08 21:02:41] local.INFO: Extracted packet for processing {"connection_id":174795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a3"} 
[2026-09-08 21:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 21:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953553664001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788881370000,"timestamp_ms":1788881370000,"timestamp_seconds":1788881370,"priority":1,"record_length":96,"hex_timestamp":"000001a081a37b90"} 
[2026-09-08 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-09-08 21:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 21:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:02: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-09-08 21:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953553664001,"66":25441,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953553664001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953553664001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":174795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:02:41] local.INFO: GPS data processed {"connection_id":174795,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:02:41] local.INFO: Acknowledgment sent {"connection_id":174795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:02:43] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:02:43] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:02:43] local.INFO: IMEI packet received {"connection_id":174796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":174796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:03:00] local.INFO: TCP Data received {"connection_id":176139,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:03:00] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:03:00] local.INFO: IMEI packet received {"connection_id":176139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":176139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:03:04] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:03:04] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:03:04] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:03:04] local.INFO: IMEI packet received {"connection_id":177590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:03:04] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a37b90012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":177590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:03:04] local.INFO: Packet analysis {"connection_id":174795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a3"} 
[2026-09-08 21:03:04] local.INFO: Extracted packet for processing {"connection_id":174795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a3"} 
[2026-09-08 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953553664001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788881370000,"timestamp_ms":1788881370000,"timestamp_seconds":1788881370,"priority":1,"record_length":96,"hex_timestamp":"000001a081a37b90"} 
[2026-09-08 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953553664001,"66":25441,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953553664001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953553664001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":174795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:03:04] local.INFO: GPS data processed {"connection_id":174795,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:03:04] local.ERROR: TCP Connection error {"connection_id":174795,"code":2,"message":"client closed"} 
[2026-09-08 21:03:04] local.INFO: Acknowledgment sent {"connection_id":174795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:03:05] local.INFO: TCP Data received {"connection_id":176139,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:03:05] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:03:05] local.INFO: IMEI packet received {"connection_id":176139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":176139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:03:06] local.INFO: TCP Data received {"connection_id":176139,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:03:06] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:03:06] local.INFO: Packet analysis {"connection_id":176139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:03:06] local.INFO: Extracted packet for processing {"connection_id":176139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:06] 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-09-08 21:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:03:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":176139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:03:07] local.INFO: GPS data processed {"connection_id":176139,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:03:07] local.INFO: Acknowledgment sent {"connection_id":176139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:03:38] local.INFO: TCP Data received {"connection_id":176139,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:03:38] local.INFO: Processing buffer {"connection_id":176139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:03:38] local.INFO: Packet analysis {"connection_id":176139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:03:38] local.INFO: Extracted packet for processing {"connection_id":176139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:03: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-09-08 21:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:03:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":176139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:03:38] local.INFO: GPS data processed {"connection_id":176139,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:03:38] local.INFO: Acknowledgment sent {"connection_id":176139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:04:05] local.INFO: TCP Data received {"connection_id":177591,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:04:05] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:04:05] local.INFO: IMEI packet received {"connection_id":177591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":177591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:04:10] local.INFO: TCP Data received {"connection_id":177591,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:04:10] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:04:10] local.INFO: IMEI packet received {"connection_id":177591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":177591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:04:11] local.INFO: TCP Data received {"connection_id":177591,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:04:11] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:04:11] local.INFO: Packet analysis {"connection_id":177591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:04:11] local.INFO: Extracted packet for processing {"connection_id":177591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:04: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-09-08 21:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":177591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:04:12] local.INFO: GPS data processed {"connection_id":177591,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:04:12] local.INFO: Acknowledgment sent {"connection_id":177591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:04:16] local.INFO: TCP Data received {"connection_id":177591,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:04:16] local.INFO: Processing buffer {"connection_id":177591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:04:16] local.INFO: Packet analysis {"connection_id":177591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:04:16] local.INFO: Extracted packet for processing {"connection_id":177591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:04:16] 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-09-08 21:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:04:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":177591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:04:16] local.INFO: GPS data processed {"connection_id":177591,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:04:16] local.INFO: Acknowledgment sent {"connection_id":177591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:04:19] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:04:19] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:04:19] local.INFO: IMEI packet received {"connection_id":177590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":177590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:04:19] local.INFO: TCP Data received {"connection_id":177590,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177590,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 21:04:19] local.INFO: Processing buffer {"connection_id":177590,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-08 21:04:19] local.INFO: IMEI packet received {"connection_id":177590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":177590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:05:00] local.INFO: TCP Data received {"connection_id":175073,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:05:00] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:05:00] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:05:05] local.INFO: TCP Data received {"connection_id":175073,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:05:05] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:05:05] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:05:07] local.INFO: TCP Data received {"connection_id":175073,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:05:07] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:05:07] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:05:07] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:05: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-09-08 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:05:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:05:07] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:05:07] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:05:38] local.INFO: TCP Data received {"connection_id":175073,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:05:39] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:05:39] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:05:39] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:05: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-09-08 21:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:05:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:05:39] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:05:39] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:06:00] local.INFO: TCP Data received {"connection_id":177594,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:00] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:00] local.INFO: IMEI packet received {"connection_id":177594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":177594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:06:05] local.INFO: TCP Data received {"connection_id":177594,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:05] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:05] local.INFO: IMEI packet received {"connection_id":177594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":177594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:06:06] local.INFO: TCP Data received {"connection_id":177594,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:06:06] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:06:06] local.INFO: Packet analysis {"connection_id":177594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:06:06] local.INFO: Extracted packet for processing {"connection_id":177594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:06:06] 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-09-08 21:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":177594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:06:07] local.INFO: GPS data processed {"connection_id":177594,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:06:07] local.INFO: Acknowledgment sent {"connection_id":177594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:06:38] local.INFO: TCP Data received {"connection_id":177594,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:06:38] local.INFO: Processing buffer {"connection_id":177594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a52940012d196580071fef780048014e29..."} 
[2026-09-08 21:06:38] local.INFO: Packet analysis {"connection_id":177594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:06:38] local.INFO: Extracted packet for processing {"connection_id":177594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a5"} 
[2026-09-08 21:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953581824001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:06: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-09-08 21:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881480000,"timestamp_ms":1788881480000,"timestamp_seconds":1788881480,"priority":1,"record_length":96,"hex_timestamp":"000001a081a52940"} 
[2026-09-08 21:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953581824001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953581824001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953581824001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":177594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:06:38] local.INFO: GPS data processed {"connection_id":177594,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:06:38] local.INFO: Acknowledgment sent {"connection_id":177594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:06:59] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:59] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:06:59] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:07:00] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:07:00] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:07:00] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:07:05] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:07:05] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:07:05] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:07:06] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:07:06] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:07:06] local.INFO: Packet analysis {"connection_id":174799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:07:06] local.INFO: Extracted packet for processing {"connection_id":174799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:07:06] 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-09-08 21:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":174799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:07:07] local.INFO: GPS data processed {"connection_id":174799,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:07:07] local.INFO: Acknowledgment sent {"connection_id":174799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:07:38] local.INFO: TCP Data received {"connection_id":174799,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:07:38] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:07:38] local.INFO: Packet analysis {"connection_id":174799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:07:38] local.INFO: Extracted packet for processing {"connection_id":174799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:07: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-09-08 21:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":174799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:07:38] local.INFO: GPS data processed {"connection_id":174799,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:07:38] local.INFO: Acknowledgment sent {"connection_id":174799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:08:00] local.INFO: TCP Data received {"connection_id":177595,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:08:00] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:08:00] local.INFO: IMEI packet received {"connection_id":177595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":177595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:08:05] local.INFO: TCP Data received {"connection_id":177595,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:08:05] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:08:05] local.INFO: IMEI packet received {"connection_id":177595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":177595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:08:06] local.INFO: TCP Data received {"connection_id":177595,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:08:06] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:08:06] local.INFO: Packet analysis {"connection_id":177595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:08:06] local.INFO: Extracted packet for processing {"connection_id":177595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:06] 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-09-08 21:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":177595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:08:07] local.INFO: GPS data processed {"connection_id":177595,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:08:07] local.INFO: Acknowledgment sent {"connection_id":177595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:08:09] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:08:09] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:08:09] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:08:23] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:08:23] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:08:23] local.INFO: IMEI packet received {"connection_id":175075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":175075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:08:38] local.INFO: TCP Data received {"connection_id":177595,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:08:38] local.INFO: Processing buffer {"connection_id":177595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:08:38] local.INFO: Packet analysis {"connection_id":177595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:08:38] local.INFO: Extracted packet for processing {"connection_id":177595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08: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-09-08 21:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":177595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:08:38] local.INFO: GPS data processed {"connection_id":177595,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:08:38] local.INFO: Acknowledgment sent {"connection_id":177595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:08:43] local.INFO: TCP Data received {"connection_id":174800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:08:43] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:08:43] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:08:54] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:08:54] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:08:54] local.INFO: Packet analysis {"connection_id":175075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:08:54] local.INFO: Extracted packet for processing {"connection_id":175075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953630720001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788881671000,"timestamp_ms":1788881671000,"timestamp_seconds":1788881671,"priority":1,"record_length":96,"hex_timestamp":"000001a081a81358"} 
[2026-09-08 21:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 21:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953630720001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953630720001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953630720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":175075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:08:54] local.INFO: GPS data processed {"connection_id":175075,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:08:54] local.INFO: Acknowledgment sent {"connection_id":175075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:09:00] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:09:00] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:09:00] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:09:05] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:09:05] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:09:05] local.INFO: IMEI packet received {"connection_id":176142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":176142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:09:06] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:09:06] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:09:06] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:09:06] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:06] 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-09-08 21:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:09:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:09:06] local.INFO: GPS data processed {"connection_id":176142,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:09:06] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:09:11] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:11] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:11] local.INFO: IMEI packet received {"connection_id":176143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":176143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:09:16] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:16] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:16] local.INFO: IMEI packet received {"connection_id":176143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":176143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:09:17] local.INFO: TCP Data received {"connection_id":176143,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:17] local.INFO: Processing buffer {"connection_id":176143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:17] local.INFO: Packet analysis {"connection_id":176143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:09:17] local.INFO: Extracted packet for processing {"connection_id":176143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953630720001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788881671000,"timestamp_ms":1788881671000,"timestamp_seconds":1788881671,"priority":1,"record_length":96,"hex_timestamp":"000001a081a81358"} 
[2026-09-08 21:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 21:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:09: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-09-08 21:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953630720001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953630720001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953630720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":176143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:09:17] local.INFO: GPS data processed {"connection_id":176143,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:09:17] local.INFO: Acknowledgment sent {"connection_id":176143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:09:39] local.INFO: TCP Data received {"connection_id":176142,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:09:39] local.INFO: Processing buffer {"connection_id":176142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:09:39] local.INFO: Packet analysis {"connection_id":176142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:09:39] local.INFO: Extracted packet for processing {"connection_id":176142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09: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-09-08 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":176142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":176142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":176142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:09:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":176142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:09:39] local.INFO: GPS data processed {"connection_id":176142,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:09:39] local.INFO: Acknowledgment sent {"connection_id":176142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:09:55] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:55] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:55] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:09:55] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:55] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:09:55] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:09:57] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:57] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:57] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:09:57] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:09:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953630720001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788881671000,"timestamp_ms":1788881671000,"timestamp_seconds":1788881671,"priority":1,"record_length":96,"hex_timestamp":"000001a081a81358"} 
[2026-09-08 21:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 21:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953630720001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953630720001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953630720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:09:57] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:09:57] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:09:59] local.INFO: TCP Data received {"connection_id":176145,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:59] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a81358012d34c9c006aa41b80009007122..."} 
[2026-09-08 21:09:59] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:09:59] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a8"} 
[2026-09-08 21:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953630720001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788881671000,"timestamp_ms":1788881671000,"timestamp_seconds":1788881671,"priority":1,"record_length":96,"hex_timestamp":"000001a081a81358"} 
[2026-09-08 21:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-08 21:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953630720001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953630720001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953630720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:09:59] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:09:59] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:10:00] local.INFO: TCP Data received {"connection_id":177596,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:10:00] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:10:00] local.INFO: IMEI packet received {"connection_id":177596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":177596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:10:05] local.INFO: TCP Data received {"connection_id":177596,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:10:05] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:10:05] local.INFO: IMEI packet received {"connection_id":177596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":177596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:10:06] local.INFO: TCP Data received {"connection_id":177596,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:10:06] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:10:06] local.INFO: Packet analysis {"connection_id":177596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:10:06] local.INFO: Extracted packet for processing {"connection_id":177596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:10:06] 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-09-08 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":177596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:10:06] local.INFO: GPS data processed {"connection_id":177596,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:10:06] local.INFO: Acknowledgment sent {"connection_id":177596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:10:39] local.INFO: TCP Data received {"connection_id":177596,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:10:39] local.INFO: Processing buffer {"connection_id":177596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:10:39] local.INFO: Packet analysis {"connection_id":177596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:10:39] local.INFO: Extracted packet for processing {"connection_id":177596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:10: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-09-08 21:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:10:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":177596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:10:39] local.INFO: GPS data processed {"connection_id":177596,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:10:39] local.INFO: Acknowledgment sent {"connection_id":177596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:11:00] local.INFO: TCP Data received {"connection_id":175076,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:11:00] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:11:00] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:11:05] local.INFO: TCP Data received {"connection_id":175076,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:11:05] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:11:05] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:11:06] local.INFO: TCP Data received {"connection_id":175076,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:11:06] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:11:06] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:11:06] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:11:06] 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-09-08 21:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:11:06] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:11:06] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:11:25] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:11:25] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:11:25] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:11:38] local.INFO: TCP Data received {"connection_id":175076,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:11:38] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081a9c108012d196580071fef780048014e28..."} 
[2026-09-08 21:11:38] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:11:38] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081a9"} 
[2026-09-08 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":72,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953658880001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:11: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-09-08 21:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788881781000,"timestamp_ms":1788881781000,"timestamp_seconds":1788881781,"priority":1,"record_length":96,"hex_timestamp":"000001a081a9c108"} 
[2026-09-08 21:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953658880001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953658880001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953658880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:11:38] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:11:38] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:12:01] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:01] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:01] local.INFO: IMEI packet received {"connection_id":177597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":177597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:12:01] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:01] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:01] local.INFO: IMEI packet received {"connection_id":177597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":177597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:12:03] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:03] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:03] local.INFO: Packet analysis {"connection_id":177597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:03] local.INFO: Extracted packet for processing {"connection_id":177597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953707776001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788881972000,"timestamp_ms":1788881972000,"timestamp_seconds":1788881972,"priority":1,"record_length":96,"hex_timestamp":"000001a081acab20"} 
[2026-09-08 21:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":177597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953707776001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953707776001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953707776001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":177597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:12:03] local.INFO: GPS data processed {"connection_id":177597,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:12:03] local.INFO: Acknowledgment sent {"connection_id":177597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:12:05] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:12:05] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:12:05] local.INFO: IMEI packet received {"connection_id":174802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":174802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:12:07] local.INFO: TCP Data received {"connection_id":177597,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:07] local.INFO: Processing buffer {"connection_id":177597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:07] local.INFO: Packet analysis {"connection_id":177597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:07] local.INFO: Extracted packet for processing {"connection_id":177597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953707776001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788881972000,"timestamp_ms":1788881972000,"timestamp_seconds":1788881972,"priority":1,"record_length":96,"hex_timestamp":"000001a081acab20"} 
[2026-09-08 21:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953707776001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953707776001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953707776001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":177597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:12:07] local.INFO: GPS data processed {"connection_id":177597,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:12:07] local.INFO: Acknowledgment sent {"connection_id":177597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:12:10] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:12:10] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:12:10] local.INFO: IMEI packet received {"connection_id":174802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":174802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:12:11] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:12:11] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:12:11] local.INFO: Packet analysis {"connection_id":174802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:12:11] local.INFO: Extracted packet for processing {"connection_id":174802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12: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-09-08 21:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:12: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-09-08 21:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:12:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":174802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:12:12] local.INFO: GPS data processed {"connection_id":174802,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:12:12] local.INFO: Acknowledgment sent {"connection_id":174802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:12:16] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:12:16] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:12:16] local.INFO: Packet analysis {"connection_id":174802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:12:16] local.INFO: Extracted packet for processing {"connection_id":174802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:16] 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-09-08 21:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:12:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":174802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:12:16] local.INFO: GPS data processed {"connection_id":174802,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:12:16] local.INFO: Acknowledgment sent {"connection_id":174802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:12:47] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:47] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:47] local.INFO: IMEI packet received {"connection_id":177598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":177598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:12:52] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:52] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:12:52] local.INFO: IMEI packet received {"connection_id":177598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":177598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:12:52] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:52] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:52] local.INFO: Packet analysis {"connection_id":177598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:52] local.INFO: Extracted packet for processing {"connection_id":177598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953707776001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788881972000,"timestamp_ms":1788881972000,"timestamp_seconds":1788881972,"priority":1,"record_length":96,"hex_timestamp":"000001a081acab20"} 
[2026-09-08 21:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953707776001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953707776001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953707776001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":177598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:12:52] local.INFO: GPS data processed {"connection_id":177598,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:12:52] local.INFO: Acknowledgment sent {"connection_id":177598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:12:56] local.INFO: TCP Data received {"connection_id":177598,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:56] local.INFO: Processing buffer {"connection_id":177598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:12:56] local.INFO: Packet analysis {"connection_id":177598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:56] local.INFO: Extracted packet for processing {"connection_id":177598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953707776001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788881972000,"timestamp_ms":1788881972000,"timestamp_seconds":1788881972,"priority":1,"record_length":96,"hex_timestamp":"000001a081acab20"} 
[2026-09-08 21:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953707776001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953707776001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953707776001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":177598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:12:56] local.INFO: GPS data processed {"connection_id":177598,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:12:56] local.INFO: Acknowledgment sent {"connection_id":177598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:13:00] local.INFO: TCP Data received {"connection_id":176147,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:13:00] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:13:00] local.INFO: IMEI packet received {"connection_id":176147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":176147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:13:05] local.INFO: TCP Data received {"connection_id":176147,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:13:05] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:13:05] local.INFO: IMEI packet received {"connection_id":176147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":176147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:13:06] local.INFO: TCP Data received {"connection_id":176147,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:13:06] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:13:06] local.INFO: Packet analysis {"connection_id":176147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:13:06] local.INFO: Extracted packet for processing {"connection_id":176147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:13:06] 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-09-08 21:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":176147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:13:06] local.INFO: GPS data processed {"connection_id":176147,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:13:06] local.INFO: Acknowledgment sent {"connection_id":176147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:13:38] local.INFO: TCP Data received {"connection_id":176147,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:13:38] local.INFO: Processing buffer {"connection_id":176147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:13:38] local.INFO: Packet analysis {"connection_id":176147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:13:38] local.INFO: Extracted packet for processing {"connection_id":176147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:13: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-09-08 21:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":176147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:13:38] local.INFO: GPS data processed {"connection_id":176147,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:13:38] local.INFO: Acknowledgment sent {"connection_id":176147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:13:46] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:13:46] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:13:46] local.INFO: IMEI packet received {"connection_id":175078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":175078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:13:52] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:13:52] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:13:52] local.INFO: IMEI packet received {"connection_id":175078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":175078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:14:00] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:14:00] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:14:00] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:14:05] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:14:05] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:14:05] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:14:06] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:14:06] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:14:06] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:14:06] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:06] 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-09-08 21:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:14:06] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:14:06] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:14:16] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:14:16] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:14:16] local.INFO: Packet analysis {"connection_id":175078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:14:16] local.INFO: Extracted packet for processing {"connection_id":175078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953707776001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788881972000,"timestamp_ms":1788881972000,"timestamp_seconds":1788881972,"priority":1,"record_length":96,"hex_timestamp":"000001a081acab20"} 
[2026-09-08 21:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:14: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-09-08 21:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953707776001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953707776001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953707776001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":175078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:14:16] local.INFO: GPS data processed {"connection_id":175078,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:14:16] local.INFO: Acknowledgment sent {"connection_id":175078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:14:26] local.INFO: TCP Data received {"connection_id":176148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:14:26] local.INFO: Processing buffer {"connection_id":176148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:14:26] local.INFO: IMEI packet received {"connection_id":176148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":176148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:14:38] local.INFO: TCP Data received {"connection_id":174804,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:14:38] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:14:38] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:14:38] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14: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-09-08 21:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:14:38] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:14:38] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:14:46] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:14:46] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:14:46] local.INFO: IMEI packet received {"connection_id":176149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":176149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:14:51] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:14:51] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:14:51] local.INFO: IMEI packet received {"connection_id":176149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":176149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:14:51] local.INFO: TCP Data received {"connection_id":176150,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:14:51] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:14:51] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:14:55] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:14:55] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081acab20012d34c9c006aa41b80009007121..."} 
[2026-09-08 21:14:55] local.INFO: Packet analysis {"connection_id":176149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:14:55] local.INFO: Extracted packet for processing {"connection_id":176149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ac"} 
[2026-09-08 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":9,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953707776001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788881972000,"timestamp_ms":1788881972000,"timestamp_seconds":1788881972,"priority":1,"record_length":96,"hex_timestamp":"000001a081acab20"} 
[2026-09-08 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953707776001,"66":25702,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953707776001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953707776001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":176149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:14:55] local.INFO: GPS data processed {"connection_id":176149,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:14:55] local.INFO: Acknowledgment sent {"connection_id":176149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:15:05] local.INFO: TCP Data received {"connection_id":177599,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:15:05] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:15:05] local.INFO: IMEI packet received {"connection_id":177599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":177599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:15:10] local.INFO: TCP Data received {"connection_id":177599,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:15:10] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:15:10] local.INFO: IMEI packet received {"connection_id":177599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":177599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:15:11] local.INFO: TCP Data received {"connection_id":177599,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:15:11] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:15:11] local.INFO: Packet analysis {"connection_id":177599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:15:11] local.INFO: Extracted packet for processing {"connection_id":177599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:15: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-09-08 21:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:15: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-09-08 21:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:15:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":177599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:15:11] local.INFO: GPS data processed {"connection_id":177599,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:15:11] local.INFO: Acknowledgment sent {"connection_id":177599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:15:16] local.INFO: TCP Data received {"connection_id":177599,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:15:16] local.INFO: Processing buffer {"connection_id":177599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:15:16] local.INFO: Packet analysis {"connection_id":177599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:15:16] local.INFO: Extracted packet for processing {"connection_id":177599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:15:16] 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-09-08 21:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:15:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":177599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:15:16] local.INFO: GPS data processed {"connection_id":177599,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:15:16] local.INFO: Acknowledgment sent {"connection_id":177599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:16:00] local.INFO: TCP Data received {"connection_id":175079,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:16:00] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:16:00] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:16:02] local.INFO: TCP Data received {"connection_id":177600,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:02] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:02] local.INFO: IMEI packet received {"connection_id":177600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":177600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:16:05] local.INFO: TCP Data received {"connection_id":175079,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:16:05] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:16:05] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:16:06] local.INFO: TCP Data received {"connection_id":175079,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:16:06] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:16:06] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:16:06] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:06] 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-09-08 21:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:16:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:16:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:16:07] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:16:07] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:16:07] local.INFO: TCP Data received {"connection_id":177600,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:07] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:07] local.INFO: IMEI packet received {"connection_id":177600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":177600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:16:08] local.INFO: TCP Data received {"connection_id":177600,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:08] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:08] local.INFO: Packet analysis {"connection_id":177600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:16:08] local.INFO: Extracted packet for processing {"connection_id":177600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:16:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":177600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:16:08] local.INFO: GPS data processed {"connection_id":177600,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:16:08] local.INFO: Acknowledgment sent {"connection_id":177600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:16:13] local.INFO: TCP Data received {"connection_id":177600,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:13] local.INFO: Processing buffer {"connection_id":177600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:13] local.INFO: Packet analysis {"connection_id":177600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:16:13] local.INFO: Extracted packet for processing {"connection_id":177600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":177600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":177600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":177600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:16:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":177600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:16:13] local.INFO: GPS data processed {"connection_id":177600,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:16:13] local.INFO: Acknowledgment sent {"connection_id":177600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:16:38] local.INFO: TCP Data received {"connection_id":175079,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:16:38] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ae58d0012d196580071fef780044014e2a..."} 
[2026-09-08 21:16:38] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:16:38] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ae"} 
[2026-09-08 21:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953735936001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16: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-09-08 21:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882082000,"timestamp_ms":1788882082000,"timestamp_seconds":1788882082,"priority":1,"record_length":96,"hex_timestamp":"000001a081ae58d0"} 
[2026-09-08 21:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953735936001,"66":2177,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953735936001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:16:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953735936001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:16:38] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:16:38] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:16:41] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:41] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:41] local.INFO: IMEI packet received {"connection_id":175081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":175081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:16:49] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:49] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:16:49] local.INFO: IMEI packet received {"connection_id":175081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":175081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:16:50] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:50] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:16:50] local.INFO: Packet analysis {"connection_id":175081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:16:50] local.INFO: Extracted packet for processing {"connection_id":175081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:16:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":175081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:16:50] local.INFO: GPS data processed {"connection_id":175081,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:16:50] local.INFO: Acknowledgment sent {"connection_id":175081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:17:00] local.INFO: TCP Data received {"connection_id":175082,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:00] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:00] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:17:01] local.INFO: TCP Data received {"connection_id":175082,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:01] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:01] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:17:05] local.INFO: TCP Data received {"connection_id":175082,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:05] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:17:05] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:17:06] local.INFO: TCP Data received {"connection_id":175082,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:17:06] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:17:06] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:17:06] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:06] 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-09-08 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:17:06] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:17:06] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:17:22] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:22] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:22] local.INFO: Packet analysis {"connection_id":175081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:17:22] local.INFO: Extracted packet for processing {"connection_id":175081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:17:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":175081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:17:22] local.INFO: GPS data processed {"connection_id":175081,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:17:22] local.INFO: Acknowledgment sent {"connection_id":175081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:17:38] local.INFO: TCP Data received {"connection_id":175082,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:17:38] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:17:38] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:17:38] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17: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-09-08 21:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:17:38] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:17:38] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:17:46] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:17:46] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:17:46] local.INFO: IMEI packet received {"connection_id":177601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":177601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:17:46] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:17:46] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:17:46] local.INFO: IMEI packet received {"connection_id":177601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":177601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:17:47] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:47] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:47] local.INFO: Packet analysis {"connection_id":177601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:17:47] local.INFO: Extracted packet for processing {"connection_id":177601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:17:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":177601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:17:47] local.INFO: GPS data processed {"connection_id":177601,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:17:47] local.INFO: Acknowledgment sent {"connection_id":177601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:17:52] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:52] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:17:52] local.INFO: Packet analysis {"connection_id":177601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:17:52] local.INFO: Extracted packet for processing {"connection_id":177601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:17:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":177601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:17:52] local.INFO: GPS data processed {"connection_id":177601,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:17:52] local.INFO: Acknowledgment sent {"connection_id":177601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:18:05] local.INFO: TCP Data received {"connection_id":177602,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:18:05] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:18:05] local.INFO: IMEI packet received {"connection_id":177602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":177602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:18:10] local.INFO: TCP Data received {"connection_id":177602,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:18:10] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:18:10] local.INFO: IMEI packet received {"connection_id":177602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":177602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:18:11] local.INFO: TCP Data received {"connection_id":177602,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:18:11] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:18:11] local.INFO: Packet analysis {"connection_id":177602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:18:11] local.INFO: Extracted packet for processing {"connection_id":177602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18: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-09-08 21:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:18:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":177602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:18:11] local.INFO: GPS data processed {"connection_id":177602,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:18:11] local.INFO: Acknowledgment sent {"connection_id":177602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:18:16] local.INFO: TCP Data received {"connection_id":177602,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:18:16] local.INFO: Processing buffer {"connection_id":177602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:18:16] local.INFO: Packet analysis {"connection_id":177602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:18:16] local.INFO: Extracted packet for processing {"connection_id":177602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:16] 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-09-08 21:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:18:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":177602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:18:16] local.INFO: GPS data processed {"connection_id":177602,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:18:16] local.INFO: Acknowledgment sent {"connection_id":177602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:18:24] local.INFO: TCP Data received {"connection_id":177601,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:18:24] local.INFO: Processing buffer {"connection_id":177601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:18:24] local.INFO: Packet analysis {"connection_id":177601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:18:24] local.INFO: Extracted packet for processing {"connection_id":177601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":177601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":177601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:18:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":177601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:18:24] local.INFO: GPS data processed {"connection_id":177601,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:18:24] local.INFO: Acknowledgment sent {"connection_id":177601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:18:40] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:18:40] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:18:40] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:18:46] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:18:46] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:18:46] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:18:47] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:18:47] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:18:47] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:18:47] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:18:47] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:18:47] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:19:00] local.INFO: TCP Data received {"connection_id":175084,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:19:00] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:19:00] local.INFO: IMEI packet received {"connection_id":175084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":175084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:19:05] local.INFO: TCP Data received {"connection_id":175084,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:19:05] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:19:05] local.INFO: IMEI packet received {"connection_id":175084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":175084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:19:06] local.INFO: TCP Data received {"connection_id":175084,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:19:06] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:19:06] local.INFO: Packet analysis {"connection_id":175084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:19:06] local.INFO: Extracted packet for processing {"connection_id":175084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:06] 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-09-08 21:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":175084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:19:06] local.INFO: GPS data processed {"connection_id":175084,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:19:06] local.INFO: Acknowledgment sent {"connection_id":175084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:19:19] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:19:19] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:19:19] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:19:19] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:19: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-09-08 21:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:19:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:19:19] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:19:19] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:19:38] local.INFO: TCP Data received {"connection_id":175084,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:19:38] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:19:38] local.INFO: Packet analysis {"connection_id":175084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:19:38] local.INFO: Extracted packet for processing {"connection_id":175084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19: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-09-08 21:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:19:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":175084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:19:38] local.INFO: GPS data processed {"connection_id":175084,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:19:38] local.INFO: Acknowledgment sent {"connection_id":175084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:19:41] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:19:41] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:19:41] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:19:46] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:19:46] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:19:46] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:19:47] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:19:47] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b142e8012d34c9c006aa41b8001600711e..."} 
[2026-09-08 21:19:47] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:19:47] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b1"} 
[2026-09-08 21:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953784832001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882273000,"timestamp_ms":1788882273000,"timestamp_seconds":1788882273,"priority":1,"record_length":96,"hex_timestamp":"000001a081b142e8"} 
[2026-09-08 21:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-08 21:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953784832001,"66":25691,"32":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-08 21:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953784832001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:19:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-08 21:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953784832001,"power":25691,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:19:47] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:19:47] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:20:00] local.INFO: TCP Data received {"connection_id":177603,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:20:00] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:20:00] local.INFO: IMEI packet received {"connection_id":177603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":177603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:20:06] local.INFO: TCP Data received {"connection_id":177603,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:20:06] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:20:06] local.INFO: IMEI packet received {"connection_id":177603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":177603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:20:08] local.INFO: TCP Data received {"connection_id":177603,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:20:08] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:20:08] local.INFO: Packet analysis {"connection_id":177603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:20:08] local.INFO: Extracted packet for processing {"connection_id":177603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20: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-09-08 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":177603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:20:08] local.INFO: GPS data processed {"connection_id":177603,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:20:08] local.INFO: Acknowledgment sent {"connection_id":177603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:20:18] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:20:18] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:20:18] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:20:18] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:20:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:20:18] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:20:18] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:20:40] local.INFO: TCP Data received {"connection_id":177603,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:20:40] local.INFO: Processing buffer {"connection_id":177603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:20:40] local.INFO: Packet analysis {"connection_id":177603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:20:40] local.INFO: Extracted packet for processing {"connection_id":177603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20: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-09-08 21:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:20:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":177603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:20:40] local.INFO: GPS data processed {"connection_id":177603,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:20:40] local.INFO: Acknowledgment sent {"connection_id":177603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:20:46] local.INFO: TCP Data received {"connection_id":174808,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:20:46] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:20:46] local.INFO: IMEI packet received {"connection_id":174808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":174808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:20:51] local.INFO: TCP Data received {"connection_id":174808,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:20:51] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:20:51] local.INFO: IMEI packet received {"connection_id":174808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":174808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:20:51] local.INFO: TCP Data received {"connection_id":174808,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:20:51] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:20:51] local.INFO: Packet analysis {"connection_id":174808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:20:51] local.INFO: Extracted packet for processing {"connection_id":174808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":174808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:20:51] local.INFO: GPS data processed {"connection_id":174808,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:20:51] local.INFO: Acknowledgment sent {"connection_id":174808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:21:00] local.INFO: TCP Data received {"connection_id":177604,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:21:00] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:21:00] local.INFO: IMEI packet received {"connection_id":177604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":177604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:21:05] local.INFO: TCP Data received {"connection_id":177604,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:21:05] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:21:05] local.INFO: IMEI packet received {"connection_id":177604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":177604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:21:07] local.INFO: TCP Data received {"connection_id":177604,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:21:07] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:21:07] local.INFO: Packet analysis {"connection_id":177604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:21:07] local.INFO: Extracted packet for processing {"connection_id":177604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21: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-09-08 21:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":177604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:21:07] local.INFO: GPS data processed {"connection_id":177604,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:21:07] local.INFO: Acknowledgment sent {"connection_id":177604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:21:23] local.INFO: TCP Data received {"connection_id":174808,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:21:23] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:21:23] local.INFO: Packet analysis {"connection_id":174808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:21:23] local.INFO: Extracted packet for processing {"connection_id":174808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":174808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:21:23] local.INFO: GPS data processed {"connection_id":174808,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:21:23] local.INFO: Acknowledgment sent {"connection_id":174808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:21:38] local.INFO: TCP Data received {"connection_id":177604,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:21:38] local.INFO: Processing buffer {"connection_id":177604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b2f098012d196580071fef780044014e29..."} 
[2026-09-08 21:21:38] local.INFO: Packet analysis {"connection_id":177604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:21:38] local.INFO: Extracted packet for processing {"connection_id":177604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b2"} 
[2026-09-08 21:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953812992001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21: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-09-08 21:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882383000,"timestamp_ms":1788882383000,"timestamp_seconds":1788882383,"priority":1,"record_length":96,"hex_timestamp":"000001a081b2f098"} 
[2026-09-08 21:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-08 21:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953812992001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953812992001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953812992001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":177604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:21:38] local.INFO: GPS data processed {"connection_id":177604,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:21:38] local.INFO: Acknowledgment sent {"connection_id":177604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:21:41] local.INFO: TCP Data received {"connection_id":175085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:21:41] local.INFO: Processing buffer {"connection_id":175085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:21:41] local.INFO: IMEI packet received {"connection_id":175085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":175085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:21:47] local.INFO: TCP Data received {"connection_id":175085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:21:47] local.INFO: Processing buffer {"connection_id":175085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:21:47] local.INFO: IMEI packet received {"connection_id":175085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:21:47] local.INFO: TCP Data received {"connection_id":175085,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:21:47] local.INFO: Processing buffer {"connection_id":175085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:21:47] local.INFO: Packet analysis {"connection_id":175085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:21:47] local.INFO: Extracted packet for processing {"connection_id":175085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:21: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-09-08 21:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":175085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:21:47] local.INFO: GPS data processed {"connection_id":175085,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:21:47] local.INFO: Acknowledgment sent {"connection_id":175085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:22:00] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:00] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:00] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:22:02] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:02] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:02] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:22:05] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:05] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:22:05] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:22:06] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:06] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:06] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:22:06] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:06] 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-09-08 21:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:22:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:22:06] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:22:06] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:22:11] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:11] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:11] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:22:11] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22: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-09-08 21:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:22:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:22:11] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:22:11] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:22:19] local.INFO: TCP Data received {"connection_id":175085,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:22:19] local.INFO: Processing buffer {"connection_id":175085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:22:19] local.INFO: Packet analysis {"connection_id":175085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:22:19] local.INFO: Extracted packet for processing {"connection_id":175085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 21:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 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-09-08 21:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 21:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:22: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-09-08 21:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":175085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:22:19] local.INFO: GPS data processed {"connection_id":175085,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:22:19] local.INFO: Acknowledgment sent {"connection_id":175085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:22:41] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:22:41] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:22:41] local.INFO: IMEI packet received {"connection_id":177605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":177605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:22:42] local.INFO: TCP Data received {"connection_id":174809,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:42] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:22:42] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:22:42] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:42] 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-09-08 21:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:22:42] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:22:42] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:22:46] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:22:46] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:22:46] local.INFO: IMEI packet received {"connection_id":177605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":177605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:22:47] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:22:47] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:22:47] local.INFO: Packet analysis {"connection_id":177605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:22:47] local.INFO: Extracted packet for processing {"connection_id":177605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":177605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:22:47] local.INFO: GPS data processed {"connection_id":177605,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:22:47] local.INFO: Acknowledgment sent {"connection_id":177605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:23:00] local.INFO: TCP Data received {"connection_id":174810,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:23:00] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:23:00] local.INFO: IMEI packet received {"connection_id":174810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:23:05] local.INFO: TCP Data received {"connection_id":174810,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:23:05] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:23:05] local.INFO: IMEI packet received {"connection_id":174810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":174810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:23:12] local.INFO: TCP Data received {"connection_id":174810,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:23:12] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:23:12] local.INFO: Packet analysis {"connection_id":174810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:23:12] local.INFO: Extracted packet for processing {"connection_id":174810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23: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-09-08 21:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:23: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-09-08 21:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":174810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:23:12] local.INFO: GPS data processed {"connection_id":174810,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:23:12] local.INFO: Acknowledgment sent {"connection_id":174810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:23:18] local.INFO: TCP Data received {"connection_id":177605,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:23:18] local.INFO: Processing buffer {"connection_id":177605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:23:18] local.INFO: Packet analysis {"connection_id":177605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:23:18] local.INFO: Extracted packet for processing {"connection_id":177605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":177605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:23:18] local.INFO: GPS data processed {"connection_id":177605,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:23:18] local.INFO: Acknowledgment sent {"connection_id":177605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:23:40] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:23:40] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:23:40] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:23:44] local.INFO: TCP Data received {"connection_id":174810,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:23:44] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:23:44] local.INFO: Packet analysis {"connection_id":174810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:23:44] local.INFO: Extracted packet for processing {"connection_id":174810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23: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-09-08 21:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:23:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:23:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":174810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:23:44] local.INFO: GPS data processed {"connection_id":174810,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:23:44] local.INFO: Acknowledgment sent {"connection_id":174810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:23:46] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:23:46] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:23:46] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:23:47] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:23:47] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:23:47] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:23:47] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:23: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-09-08 21:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:23:47] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:23:47] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:24:00] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:24:00] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:24:00] local.INFO: IMEI packet received {"connection_id":177606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":177606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:24:05] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:24:05] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:24:05] local.INFO: IMEI packet received {"connection_id":177606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":177606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:24:06] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:24:06] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:24:06] local.INFO: Packet analysis {"connection_id":177606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:24:06] local.INFO: Extracted packet for processing {"connection_id":177606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:06] 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-09-08 21:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:24:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":177606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:24:06] local.INFO: GPS data processed {"connection_id":177606,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:24:06] local.INFO: Acknowledgment sent {"connection_id":177606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:24:18] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:24:18] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:24:18] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:24:18] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:24:18] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:24:18] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:24:38] local.INFO: TCP Data received {"connection_id":177606,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:24:38] local.INFO: Processing buffer {"connection_id":177606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:24:38] local.INFO: Packet analysis {"connection_id":177606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:24:38] local.INFO: Extracted packet for processing {"connection_id":177606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24: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-09-08 21:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:24:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":177606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:24:38] local.INFO: GPS data processed {"connection_id":177606,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:24:38] local.INFO: Acknowledgment sent {"connection_id":177606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:24:40] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:24:40] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:24:40] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:24:46] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:24:46] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:24:46] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:24:47] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:24:47] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b5dab0012d34c9c006aa41b80016007120..."} 
[2026-09-08 21:24:47] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:24:47] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b5"} 
[2026-09-08 21:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":22,"angle":113,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953861888001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882574000,"timestamp_ms":1788882574000,"timestamp_seconds":1788882574,"priority":1,"record_length":96,"hex_timestamp":"000001a081b5dab0"} 
[2026-09-08 21:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-08 21:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:24: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-09-08 21:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953861888001,"66":25680,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953861888001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953861888001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:24:47] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:24:47] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:25:00] local.INFO: TCP Data received {"connection_id":177607,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:25:00] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:25:00] local.INFO: IMEI packet received {"connection_id":177607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":177607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:25:06] local.INFO: TCP Data received {"connection_id":177607,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:25:06] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:25:06] local.INFO: IMEI packet received {"connection_id":177607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":177607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:25:08] local.INFO: TCP Data received {"connection_id":177607,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:25:08] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:25:08] local.INFO: Packet analysis {"connection_id":177607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:25:08] local.INFO: Extracted packet for processing {"connection_id":177607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25: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-09-08 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:25: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-09-08 21:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":177607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:25:08] local.INFO: GPS data processed {"connection_id":177607,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:25:08] local.INFO: Acknowledgment sent {"connection_id":177607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:25:18] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:25:18] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:25:18] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:25:18] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:25: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-09-08 21:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:25:18] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:25:18] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:25:39] local.INFO: TCP Data received {"connection_id":177607,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:25:39] local.INFO: Processing buffer {"connection_id":177607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:25:39] local.INFO: Packet analysis {"connection_id":177607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:25:39] local.INFO: Extracted packet for processing {"connection_id":177607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25: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-09-08 21:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:25:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":177607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:25:39] local.INFO: GPS data processed {"connection_id":177607,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:25:39] local.INFO: Acknowledgment sent {"connection_id":177607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:25:45] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:25:45] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:25:45] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:25:51] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:25:51] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:25:51] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:25:52] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:25:52] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:25:52] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:25:52] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:25:52] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:25:52] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:26:05] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:26:05] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:26:05] local.INFO: IMEI packet received {"connection_id":176152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":176152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:26:10] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:26:10] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:26:10] local.INFO: IMEI packet received {"connection_id":176152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":176152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:26:11] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:26:11] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:26:11] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:26:11] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26: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-09-08 21:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:26:11] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:26:11] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:26:16] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:26:16] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081b78860012d196580071fef780044014e27..."} 
[2026-09-08 21:26:16] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:26:16] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081b7"} 
[2026-09-08 21:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953890048001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:16] 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-09-08 21:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788882684000,"timestamp_ms":1788882684000,"timestamp_seconds":1788882684,"priority":1,"record_length":96,"hex_timestamp":"000001a081b78860"} 
[2026-09-08 21:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953890048001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953890048001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:26:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953890048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:26:16] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:26:16] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:26:23] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:26:23] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:26:23] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:26:23] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:26:23] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:26:23] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:26:41] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:26:41] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:26:41] local.INFO: IMEI packet received {"connection_id":177608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":177608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:26:46] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:26:46] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:26:46] local.INFO: IMEI packet received {"connection_id":177608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":177608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:26:47] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:26:47] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:26:47] local.INFO: Packet analysis {"connection_id":177608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:26:47] local.INFO: Extracted packet for processing {"connection_id":177608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:26: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-09-08 21:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":177608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:26:47] local.INFO: GPS data processed {"connection_id":177608,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:26:47] local.INFO: Acknowledgment sent {"connection_id":177608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:27:00] local.INFO: TCP Data received {"connection_id":176153,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:27:00] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:27:00] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:27:03] local.INFO: TCP Data received {"connection_id":176153,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:27:03] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:27:03] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:27:04] local.INFO: TCP Data received {"connection_id":176153,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:27:04] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:27:04] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:27:04] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27: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-09-08 21:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:27:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:27:04] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:27:04] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:27:18] local.INFO: TCP Data received {"connection_id":177608,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:27:18] local.INFO: Processing buffer {"connection_id":177608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:27:18] local.INFO: Packet analysis {"connection_id":177608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:27:18] local.INFO: Extracted packet for processing {"connection_id":177608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:27: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-09-08 21:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":177608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:27:18] local.INFO: GPS data processed {"connection_id":177608,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:27:18] local.INFO: Acknowledgment sent {"connection_id":177608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:27:36] local.INFO: TCP Data received {"connection_id":176153,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:27:36] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:27:36] local.INFO: Packet analysis {"connection_id":176153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:27:36] local.INFO: Extracted packet for processing {"connection_id":176153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27: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-09-08 21:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":176153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:27:36] local.INFO: GPS data processed {"connection_id":176153,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:27:36] local.INFO: Acknowledgment sent {"connection_id":176153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:27:40] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:27:40] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:27:40] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:27:46] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:27:46] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:27:46] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:27:47] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:27:47] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:27:47] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:27:47] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:27: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-09-08 21:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:27:47] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:27:47] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:28:00] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:28:00] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:28:00] local.INFO: IMEI packet received {"connection_id":174812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":174812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:28:05] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:28:05] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:28:05] local.INFO: IMEI packet received {"connection_id":174812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":174812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:28:06] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:28:06] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:28:06] local.INFO: Packet analysis {"connection_id":174812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:28:06] local.INFO: Extracted packet for processing {"connection_id":174812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:06] 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-09-08 21:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:28:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":174812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:28:06] local.INFO: GPS data processed {"connection_id":174812,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:28:06] local.INFO: Acknowledgment sent {"connection_id":174812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:28:18] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:28:18] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:28:18] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:28:18] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:28:18] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:28:18] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:28:38] local.INFO: TCP Data received {"connection_id":174812,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:28:38] local.INFO: Processing buffer {"connection_id":174812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:28:38] local.INFO: Packet analysis {"connection_id":174812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:28:38] local.INFO: Extracted packet for processing {"connection_id":174812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28: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-09-08 21:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":174812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:28:38] local.INFO: GPS data processed {"connection_id":174812,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:28:38] local.INFO: Acknowledgment sent {"connection_id":174812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:28:41] local.INFO: TCP Data received {"connection_id":176154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:28:41] local.INFO: Processing buffer {"connection_id":176154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:28:41] local.INFO: IMEI packet received {"connection_id":176154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":176154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:28:46] local.INFO: TCP Data received {"connection_id":176154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:28:46] local.INFO: Processing buffer {"connection_id":176154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:28:46] local.INFO: IMEI packet received {"connection_id":176154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":176154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:28:47] local.INFO: TCP Data received {"connection_id":176154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:28:47] local.INFO: Processing buffer {"connection_id":176154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:28:47] local.INFO: Packet analysis {"connection_id":176154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:28:47] local.INFO: Extracted packet for processing {"connection_id":176154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":176154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:28:47] local.INFO: GPS data processed {"connection_id":176154,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:28:47] local.INFO: Acknowledgment sent {"connection_id":176154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:29:00] local.INFO: TCP Data received {"connection_id":177609,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:29:00] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:29:00] local.INFO: IMEI packet received {"connection_id":177609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":177609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:29:05] local.INFO: TCP Data received {"connection_id":177609,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:29:05] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:29:05] local.INFO: IMEI packet received {"connection_id":177609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":177609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:29:06] local.INFO: TCP Data received {"connection_id":177609,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:29:06] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:29:06] local.INFO: Packet analysis {"connection_id":177609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:29:06] local.INFO: Extracted packet for processing {"connection_id":177609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:06] 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-09-08 21:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":177609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:29:06] local.INFO: GPS data processed {"connection_id":177609,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:29:06] local.INFO: Acknowledgment sent {"connection_id":177609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:29:18] local.INFO: TCP Data received {"connection_id":176154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:29:18] local.INFO: Processing buffer {"connection_id":176154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:29:18] local.INFO: Packet analysis {"connection_id":176154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:29:18] local.INFO: Extracted packet for processing {"connection_id":176154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":176154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:29:18] local.INFO: GPS data processed {"connection_id":176154,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:29:18] local.INFO: Acknowledgment sent {"connection_id":176154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:29:38] local.INFO: TCP Data received {"connection_id":177609,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:29:38] local.INFO: Processing buffer {"connection_id":177609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:29:38] local.INFO: Packet analysis {"connection_id":177609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:29:38] local.INFO: Extracted packet for processing {"connection_id":177609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29: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-09-08 21:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":177609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:29:38] local.INFO: GPS data processed {"connection_id":177609,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:29:38] local.INFO: Acknowledgment sent {"connection_id":177609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:29:40] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:29:40] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:29:40] local.INFO: IMEI packet received {"connection_id":174813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":174813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:29:46] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:29:46] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:29:46] local.INFO: IMEI packet received {"connection_id":174813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:29:46] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:29:46] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ba7278012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:29:46] local.INFO: Packet analysis {"connection_id":174813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:29:46] local.INFO: Extracted packet for processing {"connection_id":174813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ba"} 
[2026-09-08 21:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953938944001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788882875000,"timestamp_ms":1788882875000,"timestamp_seconds":1788882875,"priority":1,"record_length":96,"hex_timestamp":"000001a081ba7278"} 
[2026-09-08 21:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 21:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953938944001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953938944001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953938944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":174813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:29:46] local.INFO: GPS data processed {"connection_id":174813,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:29:46] local.INFO: Acknowledgment sent {"connection_id":174813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:30:03] local.INFO: TCP Data received {"connection_id":174814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:30:03] local.INFO: Processing buffer {"connection_id":174814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:30:03] local.INFO: IMEI packet received {"connection_id":174814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":174814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:30:05] local.INFO: TCP Data received {"connection_id":177610,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:30:05] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:30:05] local.INFO: IMEI packet received {"connection_id":177610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":177610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:30:10] local.INFO: TCP Data received {"connection_id":177610,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:30:10] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:30:10] local.INFO: IMEI packet received {"connection_id":177610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":177610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:30:11] local.INFO: TCP Data received {"connection_id":177610,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:30:11] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:30:11] local.INFO: Packet analysis {"connection_id":177610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:30:11] local.INFO: Extracted packet for processing {"connection_id":177610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30: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-09-08 21:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:30: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-09-08 21:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:30:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":177610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:30:11] local.INFO: GPS data processed {"connection_id":177610,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:30:11] local.INFO: Acknowledgment sent {"connection_id":177610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:30:16] local.INFO: TCP Data received {"connection_id":177610,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:30:16] local.INFO: Processing buffer {"connection_id":177610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:30:16] local.INFO: Packet analysis {"connection_id":177610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:30:16] local.INFO: Extracted packet for processing {"connection_id":177610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:16] 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-09-08 21:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:30:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:30:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":177610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:30:16] local.INFO: GPS data processed {"connection_id":177610,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:30:16] local.INFO: Acknowledgment sent {"connection_id":177610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:30:18] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:30:18] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:30:18] local.INFO: Packet analysis {"connection_id":174813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:30:18] local.INFO: Extracted packet for processing {"connection_id":174813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":174813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:30:18] local.INFO: GPS data processed {"connection_id":174813,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:30:18] local.INFO: Acknowledgment sent {"connection_id":174813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:30:46] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:30:46] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:30:46] local.INFO: IMEI packet received {"connection_id":175088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":175088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:30:51] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:30:51] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:30:51] local.INFO: IMEI packet received {"connection_id":175088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":175088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:30:52] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:30:52] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:30:52] local.INFO: Packet analysis {"connection_id":175088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:30:52] local.INFO: Extracted packet for processing {"connection_id":175088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":175088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:30:52] local.INFO: GPS data processed {"connection_id":175088,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:30:52] local.INFO: Acknowledgment sent {"connection_id":175088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:31:00] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:31:00] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:31:00] local.INFO: IMEI packet received {"connection_id":176155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":176155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:31:05] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:31:05] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:31:05] local.INFO: IMEI packet received {"connection_id":176155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":176155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:31:06] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:31:06] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:31:06] local.INFO: Packet analysis {"connection_id":176155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:31:06] local.INFO: Extracted packet for processing {"connection_id":176155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:06] 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-09-08 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:31:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":176155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:31:06] local.INFO: GPS data processed {"connection_id":176155,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:31:06] local.INFO: Acknowledgment sent {"connection_id":176155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:31:24] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:31:24] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:31:24] local.INFO: Packet analysis {"connection_id":175088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:31:24] local.INFO: Extracted packet for processing {"connection_id":175088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":175088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:31:24] local.INFO: GPS data processed {"connection_id":175088,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:31:24] local.INFO: Acknowledgment sent {"connection_id":175088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:31:41] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:31:41] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bc2028012d196580071fef780044014e2a..."} 
[2026-09-08 21:31:41] local.INFO: Packet analysis {"connection_id":176155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:31:41] local.INFO: Extracted packet for processing {"connection_id":176155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bc"} 
[2026-09-08 21:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457953967104001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31: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-09-08 21:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788882985000,"timestamp_ms":1788882985000,"timestamp_seconds":1788882985,"priority":1,"record_length":96,"hex_timestamp":"000001a081bc2028"} 
[2026-09-08 21:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457953967104001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457953967104001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:31:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457953967104001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":176155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:31:41] local.INFO: GPS data processed {"connection_id":176155,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:31:41] local.INFO: Acknowledgment sent {"connection_id":176155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:31:41] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:31:41] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:31:41] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:31:46] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:31:46] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:31:46] local.INFO: IMEI packet received {"connection_id":176156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":176156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:31:47] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:31:47] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:31:47] local.INFO: Packet analysis {"connection_id":176156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:31:47] local.INFO: Extracted packet for processing {"connection_id":176156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 21:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:31: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-09-08 21:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":176156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:31:47] local.INFO: GPS data processed {"connection_id":176156,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:31:47] local.INFO: Acknowledgment sent {"connection_id":176156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:32:00] local.INFO: TCP Data received {"connection_id":177611,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:32:00] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:32:00] local.INFO: IMEI packet received {"connection_id":177611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":177611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:32:04] local.INFO: TCP Data received {"connection_id":177611,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:32:04] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:32:04] local.INFO: IMEI packet received {"connection_id":177611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":177611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:32:05] local.INFO: TCP Data received {"connection_id":177611,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:32:05] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:32:05] local.INFO: Packet analysis {"connection_id":177611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:32:05] local.INFO: Extracted packet for processing {"connection_id":177611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32: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-09-08 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":177611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:32:06] local.INFO: GPS data processed {"connection_id":177611,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:32:06] local.INFO: Acknowledgment sent {"connection_id":177611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:32:18] local.INFO: TCP Data received {"connection_id":176156,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:32:18] local.INFO: Processing buffer {"connection_id":176156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:32:18] local.INFO: Packet analysis {"connection_id":176156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:32:18] local.INFO: Extracted packet for processing {"connection_id":176156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 21:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 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-09-08 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":176156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:32:18] local.INFO: GPS data processed {"connection_id":176156,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:32:18] local.INFO: Acknowledgment sent {"connection_id":176156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:32:37] local.INFO: TCP Data received {"connection_id":177611,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:32:37] local.INFO: Processing buffer {"connection_id":177611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:32:37] local.INFO: Packet analysis {"connection_id":177611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:32:37] local.INFO: Extracted packet for processing {"connection_id":177611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32: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-09-08 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:32:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":177611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:32:37] local.INFO: GPS data processed {"connection_id":177611,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:32:37] local.INFO: Acknowledgment sent {"connection_id":177611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:32:40] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:32:40] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:32:40] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:32:46] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:32:46] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:32:46] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:32:47] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:32:47] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:32:47] local.INFO: Packet analysis {"connection_id":175089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:32:47] local.INFO: Extracted packet for processing {"connection_id":175089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":175089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:32:47] local.INFO: GPS data processed {"connection_id":175089,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:32:47] local.INFO: Acknowledgment sent {"connection_id":175089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:33:00] local.INFO: TCP Data received {"connection_id":175090,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:33:00] local.INFO: Processing buffer {"connection_id":175090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:33:00] local.INFO: IMEI packet received {"connection_id":175090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":175090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:33:05] local.INFO: TCP Data received {"connection_id":175090,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:33:05] local.INFO: Processing buffer {"connection_id":175090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:33:05] local.INFO: IMEI packet received {"connection_id":175090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":175090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:33:06] local.INFO: TCP Data received {"connection_id":175090,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:33:06] local.INFO: Processing buffer {"connection_id":175090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:33:06] local.INFO: Packet analysis {"connection_id":175090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:33:06] local.INFO: Extracted packet for processing {"connection_id":175090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:06] 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-09-08 21:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:33:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":175090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:33:06] local.INFO: GPS data processed {"connection_id":175090,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:33:06] local.INFO: Acknowledgment sent {"connection_id":175090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:33:19] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:33:19] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:33:19] local.INFO: Packet analysis {"connection_id":175089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:33:19] local.INFO: Extracted packet for processing {"connection_id":175089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:33: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-09-08 21:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":175089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:33:19] local.INFO: GPS data processed {"connection_id":175089,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:33:19] local.INFO: Acknowledgment sent {"connection_id":175089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:33:38] local.INFO: TCP Data received {"connection_id":175090,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:33:38] local.INFO: Processing buffer {"connection_id":175090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:33:38] local.INFO: Packet analysis {"connection_id":175090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:33:38] local.INFO: Extracted packet for processing {"connection_id":175090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33: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-09-08 21:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":175090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:33:38] local.INFO: GPS data processed {"connection_id":175090,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:33:38] local.INFO: Acknowledgment sent {"connection_id":175090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:33:40] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:33:40] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:33:40] local.INFO: IMEI packet received {"connection_id":174815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":174815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:33:46] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:33:46] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:33:46] local.INFO: IMEI packet received {"connection_id":174815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":174815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:33:47] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:33:47] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:33:47] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:33:47] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:33:47] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:33:47] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:34:05] local.INFO: TCP Data received {"connection_id":177614,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:34:05] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:34:05] local.INFO: IMEI packet received {"connection_id":177614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":177614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:34:10] local.INFO: TCP Data received {"connection_id":177614,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:34:10] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:34:10] local.INFO: IMEI packet received {"connection_id":177614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":177614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:34:11] local.INFO: TCP Data received {"connection_id":177614,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:34:11] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:34:11] local.INFO: Packet analysis {"connection_id":177614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:34:11] local.INFO: Extracted packet for processing {"connection_id":177614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 21:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34: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-09-08 21:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 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-09-08 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 21:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:34:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":177614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:34:11] local.INFO: GPS data processed {"connection_id":177614,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:34:11] local.INFO: Acknowledgment sent {"connection_id":177614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:34:16] local.INFO: TCP Data received {"connection_id":177614,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:34:16] local.INFO: Processing buffer {"connection_id":177614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:34:16] local.INFO: Packet analysis {"connection_id":177614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:34:16] local.INFO: Extracted packet for processing {"connection_id":177614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:16] 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-09-08 21:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:34:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:34:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":177614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:34:16] local.INFO: GPS data processed {"connection_id":177614,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:34:16] local.INFO: Acknowledgment sent {"connection_id":177614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:34:19] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:34:19] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:34:19] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:34:19] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:34:19] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:34:19] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:34:40] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:34:40] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:34:40] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:34:46] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:34:46] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:34:46] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:34:47] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:34:47] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081bf0a40012d34c9c006aa41b8000c007121..."} 
[2026-09-08 21:34:47] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:34:47] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081bf"} 
[2026-09-08 21:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954016000001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883176000,"timestamp_ms":1788883176000,"timestamp_seconds":1788883176,"priority":1,"record_length":96,"hex_timestamp":"000001a081bf0a40"} 
[2026-09-08 21:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954016000001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954016000001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954016000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:34:47] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:34:47] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:35:00] local.INFO: TCP Data received {"connection_id":177615,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:35:00] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:35:00] local.INFO: IMEI packet received {"connection_id":177615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":177615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:35:05] local.INFO: TCP Data received {"connection_id":177615,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:35:05] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:35:05] local.INFO: IMEI packet received {"connection_id":177615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":177615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:35:06] local.INFO: TCP Data received {"connection_id":177615,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:35:06] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:35:06] local.INFO: Packet analysis {"connection_id":177615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:35:06] local.INFO: Extracted packet for processing {"connection_id":177615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:06] 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-09-08 21:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:35:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":177615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:35:06] local.INFO: GPS data processed {"connection_id":177615,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:35:06] local.INFO: Acknowledgment sent {"connection_id":177615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:35:19] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:35:19] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:35:19] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:35:19] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:35: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-09-08 21:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:35:19] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:35:19] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:35:38] local.INFO: TCP Data received {"connection_id":177615,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:35:38] local.INFO: Processing buffer {"connection_id":177615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:35:38] local.INFO: Packet analysis {"connection_id":177615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:35:38] local.INFO: Extracted packet for processing {"connection_id":177615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35: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-09-08 21:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:35:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":177615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:35:38] local.INFO: GPS data processed {"connection_id":177615,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:35:38] local.INFO: Acknowledgment sent {"connection_id":177615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:35:46] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:35:46] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:35:46] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:35:51] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:35:51] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:35:51] local.INFO: IMEI packet received {"connection_id":176159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":176159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:35:52] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:35:52] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:35:52] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:35:52] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:35:52] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:35:52] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:36:00] local.INFO: TCP Data received {"connection_id":174816,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:36:00] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:36:00] local.INFO: IMEI packet received {"connection_id":174816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":174816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:36:05] local.INFO: TCP Data received {"connection_id":174816,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:36:05] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:36:05] local.INFO: IMEI packet received {"connection_id":174816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":174816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:36:07] local.INFO: TCP Data received {"connection_id":174816,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:36:07] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:36:07] local.INFO: Packet analysis {"connection_id":174816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:36:07] local.INFO: Extracted packet for processing {"connection_id":174816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21: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-09-08 21:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:36:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":174816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:36:07] local.INFO: GPS data processed {"connection_id":174816,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:36:07] local.INFO: Acknowledgment sent {"connection_id":174816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:36:24] local.INFO: TCP Data received {"connection_id":176159,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:36:24] local.INFO: Processing buffer {"connection_id":176159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:36:24] local.INFO: Packet analysis {"connection_id":176159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:36:24] local.INFO: Extracted packet for processing {"connection_id":176159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":176159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:36:24] local.INFO: GPS data processed {"connection_id":176159,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:36:24] local.INFO: Acknowledgment sent {"connection_id":176159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:36:39] local.INFO: TCP Data received {"connection_id":174816,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:36:39] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c0b7f0012d196580071fef780044014e28..."} 
[2026-09-08 21:36:39] local.INFO: Packet analysis {"connection_id":174816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:36:39] local.INFO: Extracted packet for processing {"connection_id":174816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c0"} 
[2026-09-08 21:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954044160001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36: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-09-08 21:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788883286000,"timestamp_ms":1788883286000,"timestamp_seconds":1788883286,"priority":1,"record_length":96,"hex_timestamp":"000001a081c0b7f0"} 
[2026-09-08 21:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 21:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954044160001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954044160001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:36:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954044160001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":174816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:36:39] local.INFO: GPS data processed {"connection_id":174816,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:36:39] local.INFO: Acknowledgment sent {"connection_id":174816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:36:41] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:36:41] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:36:41] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:36:46] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:36:46] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:36:46] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:36:47] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:36:47] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:36:47] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:36:47] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:36: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-09-08 21:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:36:47] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:36:47] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:36:49] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:36:49] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:36:49] local.INFO: IMEI packet received {"connection_id":174817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:37:00] local.INFO: TCP Data received {"connection_id":175093,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:37:00] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:37:00] local.INFO: IMEI packet received {"connection_id":175093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":175093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:37:05] local.INFO: TCP Data received {"connection_id":175093,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:37:05] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:37:05] local.INFO: IMEI packet received {"connection_id":175093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":175093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:37:06] local.INFO: TCP Data received {"connection_id":175093,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:37:06] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:37:06] local.INFO: Packet analysis {"connection_id":175093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:37:06] local.INFO: Extracted packet for processing {"connection_id":175093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:06] 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-09-08 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":175093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:37:07] local.INFO: GPS data processed {"connection_id":175093,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:37:07] local.INFO: Acknowledgment sent {"connection_id":175093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:37:18] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:37:18] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:37:18] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:37:18] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:37: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-09-08 21:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:37:18] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:37:18] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:37:38] local.INFO: TCP Data received {"connection_id":175093,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:37:38] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:37:38] local.INFO: Packet analysis {"connection_id":175093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:37:38] local.INFO: Extracted packet for processing {"connection_id":175093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37: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-09-08 21:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:37:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":175093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:37:38] local.INFO: GPS data processed {"connection_id":175093,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:37:38] local.INFO: Acknowledgment sent {"connection_id":175093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:37:40] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:37:40] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:37:40] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:37:46] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:37:46] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:37:46] local.INFO: IMEI packet received {"connection_id":176161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":176161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:37:47] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:37:47] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:37:47] local.INFO: Packet analysis {"connection_id":176161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:37:47] local.INFO: Extracted packet for processing {"connection_id":176161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":176161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:37:47] local.INFO: GPS data processed {"connection_id":176161,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:37:47] local.INFO: Acknowledgment sent {"connection_id":176161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:38:00] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:38:00] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:38:00] local.INFO: IMEI packet received {"connection_id":174818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":174818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:38:05] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:38:05] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:38:05] local.INFO: IMEI packet received {"connection_id":174818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":174818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:38:06] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:38:06] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:38:06] local.INFO: Packet analysis {"connection_id":174818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:38:06] local.INFO: Extracted packet for processing {"connection_id":174818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:06] 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-09-08 21:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:38:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":174818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:38:07] local.INFO: GPS data processed {"connection_id":174818,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:38:07] local.INFO: Acknowledgment sent {"connection_id":174818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:38:19] local.INFO: TCP Data received {"connection_id":176161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:38:19] local.INFO: Processing buffer {"connection_id":176161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:38:19] local.INFO: Packet analysis {"connection_id":176161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:38:19] local.INFO: Extracted packet for processing {"connection_id":176161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:38: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-09-08 21:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":176161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:38:19] local.INFO: GPS data processed {"connection_id":176161,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:38:19] local.INFO: Acknowledgment sent {"connection_id":176161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:38:38] local.INFO: TCP Data received {"connection_id":174818,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:38:38] local.INFO: Processing buffer {"connection_id":174818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:38:38] local.INFO: Packet analysis {"connection_id":174818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:38:38] local.INFO: Extracted packet for processing {"connection_id":174818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21: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-09-08 21:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":174818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:38:38] local.INFO: GPS data processed {"connection_id":174818,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:38:38] local.INFO: Acknowledgment sent {"connection_id":174818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:38:41] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:38:41] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:38:41] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:38:45] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:38:45] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:38:45] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:38:46] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:38:46] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:38:46] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:38:46] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:38: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-09-08 21:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:38:46] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:38:46] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:39:00] local.INFO: TCP Data received {"connection_id":175094,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:39:00] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:39:00] local.INFO: IMEI packet received {"connection_id":175094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":175094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:39:05] local.INFO: TCP Data received {"connection_id":175094,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:39:05] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:39:05] local.INFO: IMEI packet received {"connection_id":175094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":175094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:39:06] local.INFO: TCP Data received {"connection_id":175094,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:39:06] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:39:06] local.INFO: Packet analysis {"connection_id":175094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:39:06] local.INFO: Extracted packet for processing {"connection_id":175094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:06] 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-09-08 21:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":175094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:39:06] local.INFO: GPS data processed {"connection_id":175094,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:39:06] local.INFO: Acknowledgment sent {"connection_id":175094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:39:18] local.INFO: TCP Data received {"connection_id":176162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:39:18] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:39:18] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:39:18] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:39:18] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:39:18] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:39:38] local.INFO: TCP Data received {"connection_id":175094,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:39:38] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:39:38] local.INFO: Packet analysis {"connection_id":175094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:39:38] local.INFO: Extracted packet for processing {"connection_id":175094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39: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-09-08 21:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":175094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:39:38] local.INFO: GPS data processed {"connection_id":175094,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:39:38] local.INFO: Acknowledgment sent {"connection_id":175094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:39:41] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:39:41] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:39:41] local.INFO: IMEI packet received {"connection_id":175095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":175095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:39:46] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:39:46] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:39:46] local.INFO: IMEI packet received {"connection_id":175095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":175095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:39:47] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:39:47] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c3a208012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:39:47] local.INFO: Packet analysis {"connection_id":175095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:39:47] local.INFO: Extracted packet for processing {"connection_id":175095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c3"} 
[2026-09-08 21:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954093056001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883477000,"timestamp_ms":1788883477000,"timestamp_seconds":1788883477,"priority":1,"record_length":96,"hex_timestamp":"000001a081c3a208"} 
[2026-09-08 21:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:39: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-09-08 21:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954093056001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954093056001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954093056001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":175095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:39:47] local.INFO: GPS data processed {"connection_id":175095,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:39:47] local.INFO: Acknowledgment sent {"connection_id":175095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:40:00] local.INFO: TCP Data received {"connection_id":177618,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:40:00] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:40:00] local.INFO: IMEI packet received {"connection_id":177618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":177618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:40:05] local.INFO: TCP Data received {"connection_id":177618,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:40:05] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:40:05] local.INFO: IMEI packet received {"connection_id":177618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":177618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:40:06] local.INFO: TCP Data received {"connection_id":177618,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:40:06] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:40:06] local.INFO: Packet analysis {"connection_id":177618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:40:06] local.INFO: Extracted packet for processing {"connection_id":177618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:06] 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-09-08 21:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":177618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:40:07] local.INFO: GPS data processed {"connection_id":177618,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:40:07] local.INFO: Acknowledgment sent {"connection_id":177618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:40:18] local.INFO: TCP Data received {"connection_id":175095,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:40:18] local.INFO: Processing buffer {"connection_id":175095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:40:18] local.INFO: Packet analysis {"connection_id":175095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:40:18] local.INFO: Extracted packet for processing {"connection_id":175095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:40: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-09-08 21:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":175095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:40:18] local.INFO: GPS data processed {"connection_id":175095,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:40:18] local.INFO: Acknowledgment sent {"connection_id":175095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:40:38] local.INFO: TCP Data received {"connection_id":177618,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:40:38] local.INFO: Processing buffer {"connection_id":177618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:40:38] local.INFO: Packet analysis {"connection_id":177618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:40:38] local.INFO: Extracted packet for processing {"connection_id":177618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40: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-09-08 21:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":177618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:40:38] local.INFO: GPS data processed {"connection_id":177618,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:40:38] local.INFO: Acknowledgment sent {"connection_id":177618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:40:40] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:40:40] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:40:40] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:40:46] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:40:46] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:40:46] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:40:47] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:40:47] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:40:47] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:40:47] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:40:47] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:40:47] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:41:05] local.INFO: TCP Data received {"connection_id":177619,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:41:05] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:41:05] local.INFO: IMEI packet received {"connection_id":177619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":177619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:41:10] local.INFO: TCP Data received {"connection_id":177619,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:41:10] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:41:10] local.INFO: IMEI packet received {"connection_id":177619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":177619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:41:12] local.INFO: TCP Data received {"connection_id":177619,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:41:12] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:41:12] local.INFO: Packet analysis {"connection_id":177619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:41:12] local.INFO: Extracted packet for processing {"connection_id":177619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41: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-09-08 21:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:41:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":177619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:41:12] local.INFO: GPS data processed {"connection_id":177619,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:41:12] local.INFO: Acknowledgment sent {"connection_id":177619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:41:16] local.INFO: TCP Data received {"connection_id":177619,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:41:16] local.INFO: Processing buffer {"connection_id":177619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c54fb8012d196580071fef780044014e28..."} 
[2026-09-08 21:41:16] local.INFO: Packet analysis {"connection_id":177619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:41:16] local.INFO: Extracted packet for processing {"connection_id":177619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c5"} 
[2026-09-08 21:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954121216001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:16] 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-09-08 21:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788883587000,"timestamp_ms":1788883587000,"timestamp_seconds":1788883587,"priority":1,"record_length":96,"hex_timestamp":"000001a081c54fb8"} 
[2026-09-08 21:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954121216001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954121216001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:41:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954121216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":177619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:41:16] local.INFO: GPS data processed {"connection_id":177619,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:41:16] local.INFO: Acknowledgment sent {"connection_id":177619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:41:18] local.INFO: TCP Data received {"connection_id":176164,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:41:18] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:41:18] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:41:18] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:41:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:41:18] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:41:18] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:41:40] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:41:40] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:41:40] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:41:46] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:41:46] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:41:46] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:41:47] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:41:47] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:41:47] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:41:47] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:41:47] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:41:47] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:42:00] local.INFO: TCP Data received {"connection_id":177620,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:42:00] local.INFO: Processing buffer {"connection_id":177620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:42:00] local.INFO: IMEI packet received {"connection_id":177620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":177620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:42:05] local.INFO: TCP Data received {"connection_id":177620,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:42:05] local.INFO: Processing buffer {"connection_id":177620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:42:05] local.INFO: IMEI packet received {"connection_id":177620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":177620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:42:06] local.INFO: TCP Data received {"connection_id":177620,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:42:06] local.INFO: Processing buffer {"connection_id":177620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:42:06] local.INFO: Packet analysis {"connection_id":177620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:42:06] local.INFO: Extracted packet for processing {"connection_id":177620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:06] 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-09-08 21:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:42:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":177620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:42:06] local.INFO: GPS data processed {"connection_id":177620,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:42:06] local.INFO: Acknowledgment sent {"connection_id":177620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:42:19] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:42:19] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:42:19] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:42:19] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:42:19] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:42:19] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:42:19] local.INFO: TCP Data received {"connection_id":174820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:42:19] local.INFO: Processing buffer {"connection_id":174820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:42:19] local.INFO: IMEI packet received {"connection_id":174820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":174820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:42:38] local.INFO: TCP Data received {"connection_id":177620,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:42:38] local.INFO: Processing buffer {"connection_id":177620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:42:38] local.INFO: Packet analysis {"connection_id":177620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:42:38] local.INFO: Extracted packet for processing {"connection_id":177620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42: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-09-08 21:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":177620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:42:38] local.INFO: GPS data processed {"connection_id":177620,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:42:38] local.INFO: Acknowledgment sent {"connection_id":177620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:42:40] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:42:40] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:42:40] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:42:46] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:42:46] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:42:46] local.INFO: IMEI packet received {"connection_id":176166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":176166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:42:47] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:42:47] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:42:47] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:42:47] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:42:47] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:42:47] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:42:49] local.INFO: TCP Data received {"connection_id":176167,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:42:49] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:42:49] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:43:00] local.INFO: TCP Data received {"connection_id":175096,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:43:00] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:43:00] local.INFO: IMEI packet received {"connection_id":175096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":175096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:43:05] local.INFO: TCP Data received {"connection_id":175096,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:43:05] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:43:05] local.INFO: IMEI packet received {"connection_id":175096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":175096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:43:06] local.INFO: TCP Data received {"connection_id":175096,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:43:06] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:43:06] local.INFO: Packet analysis {"connection_id":175096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:43:06] local.INFO: Extracted packet for processing {"connection_id":175096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:06] 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-09-08 21:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":175096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:43:07] local.INFO: GPS data processed {"connection_id":175096,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:43:07] local.INFO: Acknowledgment sent {"connection_id":175096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:43:18] local.INFO: TCP Data received {"connection_id":176166,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:18] local.INFO: Processing buffer {"connection_id":176166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:18] local.INFO: Packet analysis {"connection_id":176166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:43:18] local.INFO: Extracted packet for processing {"connection_id":176166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":176166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:43:18] local.INFO: GPS data processed {"connection_id":176166,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:43:18] local.INFO: Acknowledgment sent {"connection_id":176166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:43:38] local.INFO: TCP Data received {"connection_id":175096,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:43:38] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:43:38] local.INFO: Packet analysis {"connection_id":175096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:43:38] local.INFO: Extracted packet for processing {"connection_id":175096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43: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-09-08 21:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":175096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:43:38] local.INFO: GPS data processed {"connection_id":175096,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:43:38] local.INFO: Acknowledgment sent {"connection_id":175096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:43:46] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:43:46] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:43:46] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:43:51] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:43:51] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:43:51] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:43:53] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:53] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:53] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:43:53] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:43:53] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:43:53] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:43:56] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:56] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:43:56] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:43:56] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 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-09-08 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 21:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:43:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:43:56] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:43:56] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:44:00] local.INFO: TCP Data received {"connection_id":174822,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:44:00] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:44:00] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:44:05] local.INFO: TCP Data received {"connection_id":174822,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:44:05] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:44:05] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:44:06] local.INFO: TCP Data received {"connection_id":174822,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:44:06] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:44:06] local.INFO: Packet analysis {"connection_id":174822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:44:06] local.INFO: Extracted packet for processing {"connection_id":174822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:06] 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-09-08 21:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:44:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":174822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:44:06] local.INFO: GPS data processed {"connection_id":174822,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:44:06] local.INFO: Acknowledgment sent {"connection_id":174822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:44:38] local.INFO: TCP Data received {"connection_id":174822,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:44:38] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:44:38] local.INFO: Packet analysis {"connection_id":174822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:44:38] local.INFO: Extracted packet for processing {"connection_id":174822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44: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-09-08 21:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":174822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:44:38] local.INFO: GPS data processed {"connection_id":174822,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:44:38] local.INFO: Acknowledgment sent {"connection_id":174822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:44:41] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:44:41] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:44:41] local.INFO: IMEI packet received {"connection_id":176169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":176169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:44:46] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:44:46] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:44:46] local.INFO: IMEI packet received {"connection_id":176169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":176169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:44:46] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:44:46] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c835e8012d34c9c006aa41b8000c007122..."} 
[2026-09-08 21:44:46] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:44:46] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c8"} 
[2026-09-08 21:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954170112001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788883777000,"timestamp_ms":1788883777000,"timestamp_seconds":1788883777,"priority":1,"record_length":96,"hex_timestamp":"000001a081c835e8"} 
[2026-09-08 21:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 21:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:44: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-09-08 21:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954170112001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954170112001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954170112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:44:47] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:44:47] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:45:05] local.INFO: TCP Data received {"connection_id":177622,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:45:05] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:45:05] local.INFO: IMEI packet received {"connection_id":177622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":177622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:45:10] local.INFO: TCP Data received {"connection_id":177622,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:45:10] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:45:10] local.INFO: IMEI packet received {"connection_id":177622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":177622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:45:11] local.INFO: TCP Data received {"connection_id":177622,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:45:11] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:45:11] local.INFO: Packet analysis {"connection_id":177622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:45:11] local.INFO: Extracted packet for processing {"connection_id":177622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45: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-09-08 21:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:45: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-09-08 21:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:45:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":177622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:45:11] local.INFO: GPS data processed {"connection_id":177622,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:45:11] local.INFO: Acknowledgment sent {"connection_id":177622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:45:16] local.INFO: TCP Data received {"connection_id":177622,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:45:16] local.INFO: Processing buffer {"connection_id":177622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:45:16] local.INFO: Packet analysis {"connection_id":177622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:45:16] local.INFO: Extracted packet for processing {"connection_id":177622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:16] 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-09-08 21:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:45:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":177622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:45:16] local.INFO: GPS data processed {"connection_id":177622,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:45:16] local.INFO: Acknowledgment sent {"connection_id":177622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:45:18] local.INFO: TCP Data received {"connection_id":176169,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:45:18] local.INFO: Processing buffer {"connection_id":176169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:45:18] local.INFO: Packet analysis {"connection_id":176169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:45:18] local.INFO: Extracted packet for processing {"connection_id":176169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":176169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:45:18] local.INFO: GPS data processed {"connection_id":176169,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:45:18] local.INFO: Acknowledgment sent {"connection_id":176169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:45:40] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:45:40] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:45:40] local.INFO: IMEI packet received {"connection_id":177623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":177623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:45:46] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:45:46] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:45:46] local.INFO: IMEI packet received {"connection_id":177623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":177623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:45:47] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:45:47] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:45:47] local.INFO: Packet analysis {"connection_id":177623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:45:47] local.INFO: Extracted packet for processing {"connection_id":177623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:45: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-09-08 21:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":177623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:45:47] local.INFO: GPS data processed {"connection_id":177623,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:45:47] local.INFO: Acknowledgment sent {"connection_id":177623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:46:00] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:46:00] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:46:00] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:46:05] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:46:05] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:46:05] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:46:06] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:46:06] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:46:06] local.INFO: Packet analysis {"connection_id":174823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:46:06] local.INFO: Extracted packet for processing {"connection_id":174823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:06] 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-09-08 21:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:46:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":174823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:46:06] local.INFO: GPS data processed {"connection_id":174823,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:46:06] local.INFO: Acknowledgment sent {"connection_id":174823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:46:19] local.INFO: TCP Data received {"connection_id":177623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:46:19] local.INFO: Processing buffer {"connection_id":177623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:46:19] local.INFO: Packet analysis {"connection_id":177623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:46:19] local.INFO: Extracted packet for processing {"connection_id":177623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:46: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-09-08 21:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":177623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:46:19] local.INFO: GPS data processed {"connection_id":177623,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:46:19] local.INFO: Acknowledgment sent {"connection_id":177623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:46:38] local.INFO: TCP Data received {"connection_id":174823,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:46:38] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:46:38] local.INFO: Packet analysis {"connection_id":174823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:46:38] local.INFO: Extracted packet for processing {"connection_id":174823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46: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-09-08 21:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":174823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:46:38] local.INFO: GPS data processed {"connection_id":174823,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:46:38] local.INFO: Acknowledgment sent {"connection_id":174823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:46:40] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:46:40] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:46:40] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:46:46] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:46:46] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:46:46] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:46:47] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:46:47] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:46:47] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:46:47] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:46: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-09-08 21:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:46:47] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:46:47] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:47:00] local.INFO: TCP Data received {"connection_id":174824,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:47:00] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:47:00] local.INFO: IMEI packet received {"connection_id":174824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":174824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:47:05] local.INFO: TCP Data received {"connection_id":174824,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:47:05] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:47:05] local.INFO: IMEI packet received {"connection_id":174824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":174824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:47:06] local.INFO: TCP Data received {"connection_id":174824,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:47:06] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081c9e780012d196580071fef780044014e29..."} 
[2026-09-08 21:47:06] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:47:06] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081c9"} 
[2026-09-08 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954198272001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:06] 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-09-08 21:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788883888000,"timestamp_ms":1788883888000,"timestamp_seconds":1788883888,"priority":1,"record_length":96,"hex_timestamp":"000001a081c9e780"} 
[2026-09-08 21:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954198272001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954198272001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954198272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:47:06] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:47:06] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:47:18] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:47:18] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:47:18] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:47:18] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:47: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-09-08 21:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:47:18] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:47:18] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:47:38] local.INFO: TCP Data received {"connection_id":174824,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:47:38] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:47:38] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:47:38] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21: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-09-08 21:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:47:38] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:47:38] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:47:40] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:47:40] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:47:40] local.INFO: IMEI packet received {"connection_id":177625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":177625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:47:45] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:47:45] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:47:45] local.INFO: IMEI packet received {"connection_id":177625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":177625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:47:46] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:47:46] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:47:46] local.INFO: Packet analysis {"connection_id":177625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:47:46] local.INFO: Extracted packet for processing {"connection_id":177625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:47: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-09-08 21:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":177625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:47:46] local.INFO: GPS data processed {"connection_id":177625,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:47:46] local.INFO: Acknowledgment sent {"connection_id":177625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:48:00] local.INFO: TCP Data received {"connection_id":176171,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:48:00] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:48:00] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:48:05] local.INFO: TCP Data received {"connection_id":176171,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:48:05] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:48:05] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:48:06] local.INFO: TCP Data received {"connection_id":176171,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:48:06] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:48:06] local.INFO: Packet analysis {"connection_id":176171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:48:06] local.INFO: Extracted packet for processing {"connection_id":176171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:06] 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-09-08 21:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":176171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:48:06] local.INFO: GPS data processed {"connection_id":176171,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:48:06] local.INFO: Acknowledgment sent {"connection_id":176171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:48:18] local.INFO: TCP Data received {"connection_id":177625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:48:18] local.INFO: Processing buffer {"connection_id":177625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:48:18] local.INFO: Packet analysis {"connection_id":177625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:48:18] local.INFO: Extracted packet for processing {"connection_id":177625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:48: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-09-08 21:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":177625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:48:18] local.INFO: GPS data processed {"connection_id":177625,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:48:18] local.INFO: Acknowledgment sent {"connection_id":177625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:48:38] local.INFO: TCP Data received {"connection_id":176171,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:48:38] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:48:38] local.INFO: Packet analysis {"connection_id":176171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:48:38] local.INFO: Extracted packet for processing {"connection_id":176171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48: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-09-08 21:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":176171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:48:38] local.INFO: GPS data processed {"connection_id":176171,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:48:38] local.INFO: Acknowledgment sent {"connection_id":176171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:48:43] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:48:43] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:48:43] local.INFO: IMEI packet received {"connection_id":174826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":174826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:48:46] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:48:46] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:48:46] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:48:51] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:48:51] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:48:51] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:48:52] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:48:52] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:48:52] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:48:52] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:48:52] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:48:52] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:49:05] local.INFO: TCP Data received {"connection_id":175098,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:49:05] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:49:05] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:49:10] local.INFO: TCP Data received {"connection_id":175098,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:49:10] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:49:10] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:49:11] local.INFO: TCP Data received {"connection_id":175098,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:49:11] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:49:11] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:49:11] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49: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-09-08 21:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:49: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-09-08 21:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:49:11] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:49:11] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:49:25] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:25] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:25] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:49:25] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:49:25] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:49:25] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:49:43] local.INFO: TCP Data received {"connection_id":175098,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:49:43] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:49:43] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:49:43] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:43] 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-09-08 21:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:49:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:49:43] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:49:43] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:49:43] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:49:43] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:49:43] local.INFO: IMEI packet received {"connection_id":177627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":177627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:49:45] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:49:45] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:49:45] local.INFO: IMEI packet received {"connection_id":177627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":177627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:49:47] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:47] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:47] local.INFO: Packet analysis {"connection_id":177627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:49:47] local.INFO: Extracted packet for processing {"connection_id":177627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:49: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-09-08 21:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":177627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:49:47] local.INFO: GPS data processed {"connection_id":177627,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:49:47] local.INFO: Acknowledgment sent {"connection_id":177627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:49:51] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:51] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081cccdb0012d34c9c006aa41b8000c00711d..."} 
[2026-09-08 21:49:51] local.INFO: Packet analysis {"connection_id":177627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:49:51] local.INFO: Extracted packet for processing {"connection_id":177627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081cc"} 
[2026-09-08 21:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954246912001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788884078000,"timestamp_ms":1788884078000,"timestamp_seconds":1788884078,"priority":1,"record_length":96,"hex_timestamp":"000001a081cccdb0"} 
[2026-09-08 21:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 21:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954246912001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954246912001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954246912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":177627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:49:51] local.INFO: GPS data processed {"connection_id":177627,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:49:51] local.INFO: Acknowledgment sent {"connection_id":177627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:50:00] local.INFO: TCP Data received {"connection_id":177628,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:50:00] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:50:00] local.INFO: IMEI packet received {"connection_id":177628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":177628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:50:04] local.INFO: TCP Data received {"connection_id":177628,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:50:05] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:50:05] local.INFO: IMEI packet received {"connection_id":177628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":177628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:50:06] local.INFO: TCP Data received {"connection_id":177628,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:50:06] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:50:06] local.INFO: Packet analysis {"connection_id":177628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:50:06] local.INFO: Extracted packet for processing {"connection_id":177628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:06] 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-09-08 21:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:50:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":177628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:50:06] local.INFO: GPS data processed {"connection_id":177628,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:50:06] local.INFO: Acknowledgment sent {"connection_id":177628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:50:22] local.INFO: TCP Data received {"connection_id":177627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:50:22] local.INFO: Processing buffer {"connection_id":177627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:50:22] local.INFO: Packet analysis {"connection_id":177627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:50:22] local.INFO: Extracted packet for processing {"connection_id":177627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":177627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":177627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:50: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-09-08 21:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":177627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:50:22] local.INFO: GPS data processed {"connection_id":177627,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:50:22] local.INFO: Acknowledgment sent {"connection_id":177627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:50:37] local.INFO: TCP Data received {"connection_id":177628,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:50:37] local.INFO: Processing buffer {"connection_id":177628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:50:37] local.INFO: Packet analysis {"connection_id":177628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:50:37] local.INFO: Extracted packet for processing {"connection_id":177628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50: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-09-08 21:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:50: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-09-08 21:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:50:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":177628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:50:37] local.INFO: GPS data processed {"connection_id":177628,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:50:37] local.INFO: Acknowledgment sent {"connection_id":177628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:50:40] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:50:40] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:50:40] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:50:46] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:50:46] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:50:46] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:50:46] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:50:46] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:50:46] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:50:46] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:50: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-09-08 21:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:50:46] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:50:46] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:51:05] local.INFO: TCP Data received {"connection_id":177629,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:51:05] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:51:05] local.INFO: IMEI packet received {"connection_id":177629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":177629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:51:10] local.INFO: TCP Data received {"connection_id":177629,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:51:10] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:51:10] local.INFO: IMEI packet received {"connection_id":177629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":177629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:51:11] local.INFO: TCP Data received {"connection_id":177629,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:51:11] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:51:11] local.INFO: Packet analysis {"connection_id":177629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:51:11] local.INFO: Extracted packet for processing {"connection_id":177629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51: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-09-08 21:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:51: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-09-08 21: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-09-08 21:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:51:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":177629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:51:11] local.INFO: GPS data processed {"connection_id":177629,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:51:11] local.INFO: Acknowledgment sent {"connection_id":177629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:51:16] local.INFO: TCP Data received {"connection_id":177629,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:51:16] local.INFO: Processing buffer {"connection_id":177629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:51:16] local.INFO: Packet analysis {"connection_id":177629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:51:16] local.INFO: Extracted packet for processing {"connection_id":177629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:16] 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-09-08 21:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:51:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:51:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":177629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:51:16] local.INFO: GPS data processed {"connection_id":177629,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:51:16] local.INFO: Acknowledgment sent {"connection_id":177629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:51:18] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:51:18] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:51:18] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:51:18] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:51: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-09-08 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:51:18] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:51:18] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:51:40] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:51:40] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:51:40] local.INFO: IMEI packet received {"connection_id":176173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:51:45] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:51:45] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:51:45] local.INFO: IMEI packet received {"connection_id":176173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":176173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:51:46] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:51:46] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:51:46] local.INFO: Packet analysis {"connection_id":176173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:51:46] local.INFO: Extracted packet for processing {"connection_id":176173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:51: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-09-08 21:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:51:46] local.INFO: GPS data processed {"connection_id":176173,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:51:46] local.INFO: Acknowledgment sent {"connection_id":176173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:52:00] local.INFO: TCP Data received {"connection_id":177631,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:52:00] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:52:00] local.INFO: IMEI packet received {"connection_id":177631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":177631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:52:05] local.INFO: TCP Data received {"connection_id":177631,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:52:05] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:52:05] local.INFO: IMEI packet received {"connection_id":177631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":177631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:52:07] local.INFO: TCP Data received {"connection_id":177631,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:52:07] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ce7f48012d196580071fef780044014e24..."} 
[2026-09-08 21:52:07] local.INFO: Packet analysis {"connection_id":177631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:52:07] local.INFO: Extracted packet for processing {"connection_id":177631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ce"} 
[2026-09-08 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954275328001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52: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-09-08 21:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788884189000,"timestamp_ms":1788884189000,"timestamp_seconds":1788884189,"priority":1,"record_length":96,"hex_timestamp":"000001a081ce7f48"} 
[2026-09-08 21:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:52: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-09-08 21:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954275328001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954275328001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:52:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954275328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":177631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:52:07] local.INFO: GPS data processed {"connection_id":177631,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:52:07] local.INFO: Acknowledgment sent {"connection_id":177631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:52:18] local.INFO: TCP Data received {"connection_id":176173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:52:18] local.INFO: Processing buffer {"connection_id":176173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:52:18] local.INFO: Packet analysis {"connection_id":176173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:52:18] local.INFO: Extracted packet for processing {"connection_id":176173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:52: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-09-08 21:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:52:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":176173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:52:18] local.INFO: GPS data processed {"connection_id":176173,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:52:18] local.INFO: Acknowledgment sent {"connection_id":176173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:52:38] local.INFO: TCP Data received {"connection_id":177631,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:52:38] local.INFO: Processing buffer {"connection_id":177631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:52:38] local.INFO: Packet analysis {"connection_id":177631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:52:38] local.INFO: Extracted packet for processing {"connection_id":177631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52: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-09-08 21:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:52:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":177631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:52:39] local.INFO: GPS data processed {"connection_id":177631,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:52:39] local.INFO: Acknowledgment sent {"connection_id":177631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:52:40] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:52:40] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:52:40] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:52:46] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:52:46] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:52:46] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:52:46] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:52:46] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:52:46] local.INFO: Packet analysis {"connection_id":175099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:52:46] local.INFO: Extracted packet for processing {"connection_id":175099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:52: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-09-08 21:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:52:46] local.INFO: GPS data processed {"connection_id":175099,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:52:46] local.INFO: Acknowledgment sent {"connection_id":175099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:53:00] local.INFO: TCP Data received {"connection_id":177632,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:00] local.INFO: Processing buffer {"connection_id":177632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:00] local.INFO: IMEI packet received {"connection_id":177632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":177632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:53:05] local.INFO: TCP Data received {"connection_id":177632,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:05] local.INFO: Processing buffer {"connection_id":177632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:05] local.INFO: IMEI packet received {"connection_id":177632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":177632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:53:06] local.INFO: TCP Data received {"connection_id":177632,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:53:06] local.INFO: Processing buffer {"connection_id":177632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:53:06] local.INFO: Packet analysis {"connection_id":177632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:53:06] local.INFO: Extracted packet for processing {"connection_id":177632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:06] 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-09-08 21:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:53:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":177632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:53:06] local.INFO: GPS data processed {"connection_id":177632,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:53:06] local.INFO: Acknowledgment sent {"connection_id":177632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:53:17] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:17] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:17] local.INFO: Packet analysis {"connection_id":175099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:53:17] local.INFO: Extracted packet for processing {"connection_id":175099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:53: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-09-08 21:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":175099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:53:17] local.INFO: GPS data processed {"connection_id":175099,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:53:17] local.INFO: Acknowledgment sent {"connection_id":175099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:53:38] local.INFO: TCP Data received {"connection_id":177632,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:53:38] local.INFO: Processing buffer {"connection_id":177632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:53:38] local.INFO: Packet analysis {"connection_id":177632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:53:38] local.INFO: Extracted packet for processing {"connection_id":177632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53: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-09-08 21:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:53:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":177632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:53:38] local.INFO: GPS data processed {"connection_id":177632,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:53:38] local.INFO: Acknowledgment sent {"connection_id":177632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:53:46] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:53:46] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:53:46] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:53:50] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:53:50] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:53:50] local.INFO: IMEI packet received {"connection_id":176174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":176174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:53:53] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:53] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:53] local.INFO: Packet analysis {"connection_id":176174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:53:53] local.INFO: Extracted packet for processing {"connection_id":176174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":176174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:53:53] local.INFO: GPS data processed {"connection_id":176174,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:53:53] local.INFO: Acknowledgment sent {"connection_id":176174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:53:59] local.INFO: TCP Data received {"connection_id":176174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:59] local.INFO: Processing buffer {"connection_id":176174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d16578012d34c9c006aa41b8000c00711e..."} 
[2026-09-08 21:53:59] local.INFO: Packet analysis {"connection_id":176174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:53:59] local.INFO: Extracted packet for processing {"connection_id":176174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d1"} 
[2026-09-08 21:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954323968001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 21:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788884379000,"timestamp_ms":1788884379000,"timestamp_seconds":1788884379,"priority":1,"record_length":96,"hex_timestamp":"000001a081d16578"} 
[2026-09-08 21:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 21:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954323968001,"66":25582,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 21:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954323968001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 21:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954323968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":176174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:53:59] local.INFO: GPS data processed {"connection_id":176174,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:53:59] local.INFO: Acknowledgment sent {"connection_id":176174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:53:59] local.INFO: TCP Data received {"connection_id":175101,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:59] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:53:59] local.INFO: IMEI packet received {"connection_id":175101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":175101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:54:05] local.INFO: TCP Data received {"connection_id":175101,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:54:05] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:54:05] local.INFO: IMEI packet received {"connection_id":175101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":175101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:54:06] local.INFO: TCP Data received {"connection_id":175101,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:54:06] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:54:06] local.INFO: Packet analysis {"connection_id":175101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:54:06] local.INFO: Extracted packet for processing {"connection_id":175101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:06] 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-09-08 21:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":175101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:54:06] local.INFO: GPS data processed {"connection_id":175101,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:54:06] local.INFO: Acknowledgment sent {"connection_id":175101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:54:09] local.INFO: TCP Data received {"connection_id":176175,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:54:09] local.INFO: Processing buffer {"connection_id":176175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:54:09] local.INFO: IMEI packet received {"connection_id":176175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":176175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:54:38] local.INFO: TCP Data received {"connection_id":175101,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:54:38] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:54:38] local.INFO: Packet analysis {"connection_id":175101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:54:38] local.INFO: Extracted packet for processing {"connection_id":175101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54: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-09-08 21:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:54:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":175101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:54:38] local.INFO: GPS data processed {"connection_id":175101,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:54:38] local.INFO: Acknowledgment sent {"connection_id":175101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:54:40] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:54:40] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:54:40] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:54:45] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:54:45] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:54:45] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:54:46] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d51ab0012d34c9c006aa41b8000c00711f..."} 
[2026-09-08 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d51ab0012d34c9c006aa41b8000c00711f..."} 
[2026-09-08 21:54:46] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d51ab0012d34c9c006aa41b8000c00711f..."} 
[2026-09-08 21:54:46] local.INFO: Packet analysis {"connection_id":175102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:54:46] local.INFO: Extracted packet for processing {"connection_id":175102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821240,"longitude_deg":75.843424,"latitude_deg":11.182124,"altitude":12,"angle":113,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-09-08 21:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954401024001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884622000,"timestamp_ms":1788884622000,"timestamp_seconds":1788884622,"priority":1,"record_length":96,"hex_timestamp":"000001a081d51ab0"} 
[2026-09-08 21:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-08 21:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:54: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-09-08 21:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954401024001,"66":25604,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954401024001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954401024001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:54:46] local.INFO: GPS data processed {"connection_id":175102,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:54:46] local.INFO: Acknowledgment sent {"connection_id":175102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:54:59] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:54:59] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:54:59] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:55:04] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:55:05] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:55:05] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:55:06] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:55:06] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:55:06] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:55:06] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:06] 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-09-08 21:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:55:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:55:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:55:06] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:55:06] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:55:17] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d53608012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d53608012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:55:17] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d53608012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:55:17] local.INFO: Packet analysis {"connection_id":175102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:55:17] local.INFO: Extracted packet for processing {"connection_id":175102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954463232001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149864960,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788884629000,"timestamp_ms":1788884629000,"timestamp_seconds":1788884629,"priority":1,"record_length":96,"hex_timestamp":"000001a081d53608"} 
[2026-09-08 21:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 21:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:55: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-09-08 21:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954463232001,"66":27517,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803782495149864960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954463232001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149864960,"description":"Unknown IO ID 45"} 
[2026-09-08 21:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954463232001,"power":27517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149864960}} 
[2026-09-08 21:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":175102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:55:17] local.INFO: GPS data processed {"connection_id":175102,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:55:17] local.INFO: Acknowledgment sent {"connection_id":175102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:55:37] local.INFO: TCP Data received {"connection_id":175103,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:55:37] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:55:37] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:55:37] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55: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-09-08 21:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:55: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-09-08 21:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:55:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:55:37] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:55:37] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:55:40] local.INFO: TCP Data received {"connection_id":175104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:55:40] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:55:40] local.INFO: IMEI packet received {"connection_id":175104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:55:45] local.INFO: TCP Data received {"connection_id":175104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:55:45] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:55:45] local.INFO: IMEI packet received {"connection_id":175104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":175104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:55:46] local.INFO: TCP Data received {"connection_id":175104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d58428012d34c8c006aa4320000c005d21..."} 
[2026-09-08 21:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d58428012d34c8c006aa4320000c005d21..."} 
[2026-09-08 21:55:46] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d58428012d34c8c006aa4320000c005d21..."} 
[2026-09-08 21:55:46] local.INFO: Packet analysis {"connection_id":175104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:55:46] local.INFO: Extracted packet for processing {"connection_id":175104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":33,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21: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-09-08 21:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954465024001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884649000,"timestamp_ms":1788884649000,"timestamp_seconds":1788884649,"priority":1,"record_length":96,"hex_timestamp":"000001a081d58428"} 
[2026-09-08 21:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-08 21:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:55: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-09-08 21:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954465024001,"66":27843,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954465024001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954465024001,"power":27843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":175104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:55:46] local.INFO: GPS data processed {"connection_id":175104,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:55:46] local.INFO: Acknowledgment sent {"connection_id":175104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:56:05] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:56:05] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:56:05] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:56:10] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:56:10] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:56:10] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:56:11] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:56:11] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:56:11] local.INFO: Packet analysis {"connection_id":174829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:56:11] local.INFO: Extracted packet for processing {"connection_id":174829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56: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-09-08 21:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:56: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-09-08 21:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:56:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":174829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:56:11] local.INFO: GPS data processed {"connection_id":174829,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:56:11] local.INFO: Acknowledgment sent {"connection_id":174829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:56:16] local.INFO: TCP Data received {"connection_id":174829,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:56:16] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:56:16] local.INFO: Packet analysis {"connection_id":174829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:56:16] local.INFO: Extracted packet for processing {"connection_id":174829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:16] 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-09-08 21:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 21:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:56:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:56:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":174829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:56:16] local.INFO: GPS data processed {"connection_id":174829,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:56:16] local.INFO: Acknowledgment sent {"connection_id":174829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:56:18] local.INFO: TCP Data received {"connection_id":175104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:56:18] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:56:18] local.INFO: Packet analysis {"connection_id":175104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:56:18] local.INFO: Extracted packet for processing {"connection_id":175104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:56: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-09-08 21:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":175104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:56:18] local.INFO: GPS data processed {"connection_id":175104,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:56:18] local.INFO: Acknowledgment sent {"connection_id":175104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:56:40] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:56:40] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:56:40] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:56:45] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:56:45] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:56:45] local.INFO: IMEI packet received {"connection_id":176177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":176177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:56:47] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:56:47] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:56:47] local.INFO: Packet analysis {"connection_id":176177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:56:47] local.INFO: Extracted packet for processing {"connection_id":176177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:56: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-09-08 21:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":176177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:56:47] local.INFO: GPS data processed {"connection_id":176177,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:56:47] local.INFO: Acknowledgment sent {"connection_id":176177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:57:00] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:57:00] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:57:00] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:57:04] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:57:04] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:57:04] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:57:06] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:57:06] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d31710012d196580071fef780044014e26..."} 
[2026-09-08 21:57:06] local.INFO: Packet analysis {"connection_id":174830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:57:06] local.INFO: Extracted packet for processing {"connection_id":174830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d3"} 
[2026-09-08 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 21:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954352384001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:06] 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-09-08 21:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884490000,"timestamp_ms":1788884490000,"timestamp_seconds":1788884490,"priority":1,"record_length":96,"hex_timestamp":"000001a081d31710"} 
[2026-09-08 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-09-08 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 21:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954352384001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954352384001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:57:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954352384001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":174830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:57:06] local.INFO: GPS data processed {"connection_id":174830,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:57:06] local.INFO: Acknowledgment sent {"connection_id":174830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:57:18] local.INFO: TCP Data received {"connection_id":176177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:57:18] local.INFO: Processing buffer {"connection_id":176177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:57:18] local.INFO: Packet analysis {"connection_id":176177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:57:18] local.INFO: Extracted packet for processing {"connection_id":176177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:57: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-09-08 21:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":176177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:57:18] local.INFO: GPS data processed {"connection_id":176177,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:57:18] local.INFO: Acknowledgment sent {"connection_id":176177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:57:37] local.INFO: TCP Data received {"connection_id":174830,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:57:37] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:57:37] local.INFO: Packet analysis {"connection_id":174830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:57:37] local.INFO: Extracted packet for processing {"connection_id":174830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57: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-09-08 21:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 21:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:57: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-09-08 21:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":174830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:57:38] local.INFO: GPS data processed {"connection_id":174830,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:57:38] local.INFO: Acknowledgment sent {"connection_id":174830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:57:40] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:57:40] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:57:40] local.INFO: IMEI packet received {"connection_id":177635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":177635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:57:45] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:57:45] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:57:45] local.INFO: IMEI packet received {"connection_id":177635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":177635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:57:46] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:57:46] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:57:46] local.INFO: Packet analysis {"connection_id":177635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:57:46] local.INFO: Extracted packet for processing {"connection_id":177635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:57: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-09-08 21:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":177635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:57:46] local.INFO: GPS data processed {"connection_id":177635,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:57:46] local.INFO: Acknowledgment sent {"connection_id":177635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:58:00] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:58:00] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:58:00] local.INFO: IMEI packet received {"connection_id":175106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":175106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:58:05] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:58:05] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:58:05] local.INFO: IMEI packet received {"connection_id":175106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":175106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:58:06] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:58:06] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:58:06] local.INFO: Packet analysis {"connection_id":175106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:58:06] local.INFO: Extracted packet for processing {"connection_id":175106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:06] 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-09-08 21:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 21:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":175106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:58:06] local.INFO: GPS data processed {"connection_id":175106,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:58:06] local.INFO: Acknowledgment sent {"connection_id":175106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:58:17] local.INFO: TCP Data received {"connection_id":177635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:58:17] local.INFO: Processing buffer {"connection_id":177635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:58:17] local.INFO: Packet analysis {"connection_id":177635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:58:17] local.INFO: Extracted packet for processing {"connection_id":177635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21: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-09-08 21:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":177635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":177635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":177635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:58: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-09-08 21:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":177635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:58:17] local.INFO: GPS data processed {"connection_id":177635,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:58:17] local.INFO: Acknowledgment sent {"connection_id":177635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:58:38] local.INFO: TCP Data received {"connection_id":175106,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:58:38] local.INFO: Processing buffer {"connection_id":175106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:58:38] local.INFO: Packet analysis {"connection_id":175106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:58:38] local.INFO: Extracted packet for processing {"connection_id":175106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58: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-09-08 21:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 21:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":175106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:58:38] local.INFO: GPS data processed {"connection_id":175106,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:58:38] local.INFO: Acknowledgment sent {"connection_id":175106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:58:40] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:58:40] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:58:40] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:58:46] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:58:46] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:58:46] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:58:47] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:58:47] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:58:47] local.INFO: Packet analysis {"connection_id":176178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:58:47] local.INFO: Extracted packet for processing {"connection_id":176178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:58: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-09-08 21:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":176178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:58:47] local.INFO: GPS data processed {"connection_id":176178,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:58:47] local.INFO: Acknowledgment sent {"connection_id":176178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:59:00] local.INFO: TCP Data received {"connection_id":174831,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:59:00] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:59:00] local.INFO: IMEI packet received {"connection_id":174831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 21:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":174831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:59:05] local.INFO: TCP Data received {"connection_id":174831,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:59:05] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 21:59:05] local.INFO: IMEI packet received {"connection_id":174831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 21:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":174831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:59:07] local.INFO: TCP Data received {"connection_id":174831,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:59:07] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:59:07] local.INFO: Packet analysis {"connection_id":174831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:59:07] local.INFO: Extracted packet for processing {"connection_id":174831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59: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-09-08 21:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 21:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:59: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-09-08 21:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:59:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":174831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:59:07] local.INFO: GPS data processed {"connection_id":174831,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:59:07] local.INFO: Acknowledgment sent {"connection_id":174831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:59:18] local.INFO: TCP Data received {"connection_id":176178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:18] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:18] local.INFO: Packet analysis {"connection_id":176178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:59:18] local.INFO: Extracted packet for processing {"connection_id":176178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:59: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-09-08 21:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":176178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:59:18] local.INFO: GPS data processed {"connection_id":176178,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:59:18] local.INFO: Acknowledgment sent {"connection_id":176178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:59:39] local.INFO: TCP Data received {"connection_id":174831,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:59:39] local.INFO: Processing buffer {"connection_id":174831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 21:59:39] local.INFO: Packet analysis {"connection_id":174831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:59:39] local.INFO: Extracted packet for processing {"connection_id":174831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59: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-09-08 21:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 21:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 21:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 21:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 21:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 21:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 21:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 21:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 21:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:59:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 21:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 21:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 21:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 21:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":174831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:59:39] local.INFO: GPS data processed {"connection_id":174831,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:59:39] local.INFO: Acknowledgment sent {"connection_id":174831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:59:43] local.INFO: TCP Data received {"connection_id":176180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:59:43] local.INFO: Processing buffer {"connection_id":176180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 21:59:43] local.INFO: IMEI packet received {"connection_id":176180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 21:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":176180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:59:46] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:59:46] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:59:46] local.INFO: IMEI packet received {"connection_id":177636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 21:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":177636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 21:59:50] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:59:50] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 21:59:50] local.INFO: IMEI packet received {"connection_id":177636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 21:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":177636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 21:59:51] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:51] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:51] local.INFO: Packet analysis {"connection_id":177636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:59:51] local.INFO: Extracted packet for processing {"connection_id":177636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":177636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:59:51] local.INFO: GPS data processed {"connection_id":177636,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:59:51] local.INFO: Acknowledgment sent {"connection_id":177636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 21:59:56] local.INFO: TCP Data received {"connection_id":177636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:56] local.INFO: Processing buffer {"connection_id":177636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d5bad8012d34c8c006aa4320000c005d1f..."} 
[2026-09-08 21:59:56] local.INFO: Packet analysis {"connection_id":177636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:59:56] local.INFO: Extracted packet for processing {"connection_id":177636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d5"} 
[2026-09-08 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111821600,"longitude_deg":75.8433984,"latitude_deg":11.18216,"altitude":12,"angle":93,"satellites":31,"speed":0,"hex_longitude":"2d34c8c0","hex_latitude":"06aa4320","is_valid_coordinates":true} 
[2026-09-08 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954470144001,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788884663000,"timestamp_ms":1788884663000,"timestamp_seconds":1788884663,"priority":1,"record_length":96,"hex_timestamp":"000001a081d5bad8"} 
[2026-09-08 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-08 21:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 21:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954470144001,"66":27821,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954470144001,"description":"Unknown IO ID 0"} 
[2026-09-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954470144001,"power":27821,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":177636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 21:59:56] local.INFO: GPS data processed {"connection_id":177636,"processed":1,"errors":0,"total":1} 
[2026-09-08 21:59:56] local.INFO: Acknowledgment sent {"connection_id":177636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:00:05] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:00:05] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:00:05] local.INFO: IMEI packet received {"connection_id":174832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":174832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:00:10] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:00:10] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:00:10] local.INFO: IMEI packet received {"connection_id":174832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":174832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:00:11] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:00:11] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:00:11] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:00:11] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00: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-09-08 22:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 22:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:00: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-09-08 22:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:00:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:00:11] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:00:11] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:00:16] local.INFO: TCP Data received {"connection_id":174832,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:00:16] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:00:16] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:00:16] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:16] 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-09-08 22:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 22:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:00:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:00:16] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:00:16] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:00:41] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:00:41] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:00:41] local.INFO: IMEI packet received {"connection_id":177637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":177637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:00:46] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:00:46] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:00:46] local.INFO: IMEI packet received {"connection_id":177637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":177637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:00:47] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:00:47] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:00:47] local.INFO: Packet analysis {"connection_id":177637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:00:47] local.INFO: Extracted packet for processing {"connection_id":177637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":177637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:00:47] local.INFO: GPS data processed {"connection_id":177637,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:00:47] local.INFO: Acknowledgment sent {"connection_id":177637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:01:00] local.INFO: TCP Data received {"connection_id":174833,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:01:00] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:01:00] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:01:05] local.INFO: TCP Data received {"connection_id":174833,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:01:05] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:01:05] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:01:06] local.INFO: TCP Data received {"connection_id":174833,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:01:06] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:01:06] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:01:06] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:06] 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-09-08 22:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 22:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:01:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:01:06] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:01:06] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:01:18] local.INFO: TCP Data received {"connection_id":177637,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:01:18] local.INFO: Processing buffer {"connection_id":177637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:01:18] local.INFO: Packet analysis {"connection_id":177637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:01:18] local.INFO: Extracted packet for processing {"connection_id":177637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":177637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:01:18] local.INFO: GPS data processed {"connection_id":177637,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:01:18] local.INFO: Acknowledgment sent {"connection_id":177637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:01:38] local.INFO: TCP Data received {"connection_id":174833,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:01:38] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:01:38] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:01:38] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01: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-09-08 22:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 22:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:01:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:01:38] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:01:38] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:01:41] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:01:41] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:01:41] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:01:46] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:01:46] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:01:46] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:01:47] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:01:47] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:01:47] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:01:47] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:01:47] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:01:47] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:02:00] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:02:00] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:02:00] local.INFO: IMEI packet received {"connection_id":177639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":177639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:02:05] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:02:05] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:02:05] local.INFO: IMEI packet received {"connection_id":177639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":177639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:02:07] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:02:07] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081d7aed8012d196580071fef780044014e22..."} 
[2026-09-08 22:02:07] local.INFO: Packet analysis {"connection_id":177639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:02:07] local.INFO: Extracted packet for processing {"connection_id":177639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081d7"} 
[2026-09-08 22:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954429440001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02: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-09-08 22:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788884791000,"timestamp_ms":1788884791000,"timestamp_seconds":1788884791,"priority":1,"record_length":96,"hex_timestamp":"000001a081d7aed8"} 
[2026-09-08 22:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:02: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-09-08 22:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954429440001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954429440001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954429440001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":177639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:02:07] local.INFO: GPS data processed {"connection_id":177639,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:02:07] local.INFO: Acknowledgment sent {"connection_id":177639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:02:18] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:02:18] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:02:18] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:02:18] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:02: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-09-08 22:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:02:18] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:02:18] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:02:38] local.INFO: TCP Data received {"connection_id":177639,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:02:38] local.INFO: Processing buffer {"connection_id":177639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:02:38] local.INFO: Packet analysis {"connection_id":177639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:02:38] local.INFO: Extracted packet for processing {"connection_id":177639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02: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-09-08 22:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:02:38] 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-09-08 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:02:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":177639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:02:39] local.INFO: GPS data processed {"connection_id":177639,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:02:39] local.INFO: Acknowledgment sent {"connection_id":177639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:02:40] local.INFO: TCP Data received {"connection_id":174834,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:02:40] local.INFO: Processing buffer {"connection_id":174834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:02:40] local.INFO: IMEI packet received {"connection_id":174834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":174834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:02:46] local.INFO: TCP Data received {"connection_id":174834,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:02:46] local.INFO: Processing buffer {"connection_id":174834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:02:46] local.INFO: IMEI packet received {"connection_id":174834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":174834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:02:47] local.INFO: TCP Data received {"connection_id":174834,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:02:47] local.INFO: Processing buffer {"connection_id":174834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:02:47] local.INFO: Packet analysis {"connection_id":174834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:02:47] local.INFO: Extracted packet for processing {"connection_id":174834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":174834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:02:47] local.INFO: GPS data processed {"connection_id":174834,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:02:47] local.INFO: Acknowledgment sent {"connection_id":174834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:03:05] local.INFO: TCP Data received {"connection_id":177640,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:03:05] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:03:05] local.INFO: IMEI packet received {"connection_id":177640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":177640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:03:10] local.INFO: TCP Data received {"connection_id":177640,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:03:10] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:03:10] local.INFO: IMEI packet received {"connection_id":177640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":177640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:03:11] local.INFO: TCP Data received {"connection_id":177640,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:03:11] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:03:11] local.INFO: Packet analysis {"connection_id":177640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:03:11] local.INFO: Extracted packet for processing {"connection_id":177640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03: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-09-08 22:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:03:11] 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-09-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:03: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-09-08 22: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-09-08 22:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:03:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":177640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:03:11] local.INFO: GPS data processed {"connection_id":177640,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:03:11] local.INFO: Acknowledgment sent {"connection_id":177640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:03:16] local.INFO: TCP Data received {"connection_id":177640,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:03:16] local.INFO: Processing buffer {"connection_id":177640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:03:16] local.INFO: Packet analysis {"connection_id":177640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:03:16] local.INFO: Extracted packet for processing {"connection_id":177640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:16] 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-09-08 22:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:03:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":177640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:03:16] local.INFO: GPS data processed {"connection_id":177640,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:03:16] local.INFO: Acknowledgment sent {"connection_id":177640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:03:18] local.INFO: TCP Data received {"connection_id":174834,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:03:18] local.INFO: Processing buffer {"connection_id":174834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:03:18] local.INFO: Packet analysis {"connection_id":174834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:03:18] local.INFO: Extracted packet for processing {"connection_id":174834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:03: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-09-08 22:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":174834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:03:18] local.INFO: GPS data processed {"connection_id":174834,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:03:18] local.INFO: Acknowledgment sent {"connection_id":174834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:03:40] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:03:40] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:03:40] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:03:46] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:03:46] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:03:46] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:03:47] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:03:47] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:03:47] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:03:47] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:03:47] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:03:47] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:04:00] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:04:00] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:04:00] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:04:05] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:04:05] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:04:05] local.INFO: IMEI packet received {"connection_id":176183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":176183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:04:06] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:06] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:06] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:04:06] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:06] 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-09-08 22:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:04:06] 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-09-08 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:04:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:04:06] local.INFO: GPS data processed {"connection_id":176183,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:04:06] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:04:11] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:11] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:11] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:04:11] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04: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-09-08 22:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:04:11] 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-09-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:04: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-09-08 22:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:04:11] local.INFO: GPS data processed {"connection_id":176183,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:04:11] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:04:19] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:19] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:19] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:04:19] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:04: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-09-08 22:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:04:19] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:04:19] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:04:42] local.INFO: TCP Data received {"connection_id":176183,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:42] local.INFO: Processing buffer {"connection_id":176183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:04:42] local.INFO: Packet analysis {"connection_id":176183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:04:42] local.INFO: Extracted packet for processing {"connection_id":176183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:42] 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-09-08 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:04:42] 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-09-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":176183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:04:42] local.INFO: GPS data processed {"connection_id":176183,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:04:42] local.INFO: Acknowledgment sent {"connection_id":176183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:04:46] local.INFO: TCP Data received {"connection_id":177641,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:04:46] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:04:46] local.INFO: IMEI packet received {"connection_id":177641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":177641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:04:51] local.INFO: TCP Data received {"connection_id":177641,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:04:51] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:04:51] local.INFO: IMEI packet received {"connection_id":177641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":177641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:04:52] local.INFO: TCP Data received {"connection_id":177641,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:52] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:52] local.INFO: Packet analysis {"connection_id":177641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:04:52] local.INFO: Extracted packet for processing {"connection_id":177641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":177641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:04:52] local.INFO: GPS data processed {"connection_id":177641,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:04:52] local.INFO: Acknowledgment sent {"connection_id":177641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:04:58] local.INFO: TCP Data received {"connection_id":177641,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:58] local.INFO: Processing buffer {"connection_id":177641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081da6240012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:04:58] local.INFO: Packet analysis {"connection_id":177641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:04:58] local.INFO: Extracted packet for processing {"connection_id":177641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081da"} 
[2026-09-08 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954473728001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020173246464,"note":"Value kept but may cause issues"} 
[2026-09-08 22:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788884968000,"timestamp_ms":1788884968000,"timestamp_seconds":1788884968,"priority":1,"record_length":96,"hex_timestamp":"000001a081da6240"} 
[2026-09-08 22:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 22:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":177641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":177641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":177641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954473728001,"66":25952,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3803501020173246464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954473728001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:04:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020173246464,"description":"Unknown IO ID 45"} 
[2026-09-08 22:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954473728001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803501020173246464}} 
[2026-09-08 22:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":177641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:04:58] local.INFO: GPS data processed {"connection_id":177641,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:04:58] local.INFO: Acknowledgment sent {"connection_id":177641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:05:00] local.INFO: TCP Data received {"connection_id":177642,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:00] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:00] local.INFO: IMEI packet received {"connection_id":177642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":177642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:05:05] local.INFO: TCP Data received {"connection_id":177642,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:05] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:05] local.INFO: IMEI packet received {"connection_id":177642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":177642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:05:07] local.INFO: TCP Data received {"connection_id":177642,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:05:07] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:05:07] local.INFO: Packet analysis {"connection_id":177642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:05:07] local.INFO: Extracted packet for processing {"connection_id":177642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05: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-09-08 22:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:05:07] 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-09-08 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:05: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-09-08 22:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:05:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":177642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:05:07] local.INFO: GPS data processed {"connection_id":177642,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:05:07] local.INFO: Acknowledgment sent {"connection_id":177642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:05:09] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:05:09] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:05:09] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:05:38] local.INFO: TCP Data received {"connection_id":177642,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:05:38] local.INFO: Processing buffer {"connection_id":177642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:05:38] local.INFO: Packet analysis {"connection_id":177642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:05:38] local.INFO: Extracted packet for processing {"connection_id":177642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05: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-09-08 22:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:05:38] 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-09-08 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":177642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:05:39] local.INFO: GPS data processed {"connection_id":177642,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:05:39] local.INFO: Acknowledgment sent {"connection_id":177642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:05:41] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:05:41] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:05:41] local.INFO: IMEI packet received {"connection_id":175110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":175110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:05:46] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:05:46] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:05:46] local.INFO: IMEI packet received {"connection_id":175110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":175110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:05:47] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:05:47] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:05:47] local.INFO: Packet analysis {"connection_id":175110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:05:47] local.INFO: Extracted packet for processing {"connection_id":175110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:05: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":175110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:05:47] local.INFO: GPS data processed {"connection_id":175110,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:05:47] local.INFO: Acknowledgment sent {"connection_id":175110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:05:59] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:59] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:05:59] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:06:05] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:06:05] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:06:05] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:06:06] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:06:06] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:06:06] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:06:06] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:06] 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-09-08 22:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:06:06] 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-09-08 22:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:06:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:06:06] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:06:06] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:06:18] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:06:18] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:06:18] local.INFO: Packet analysis {"connection_id":175110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:06:18] local.INFO: Extracted packet for processing {"connection_id":175110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:06: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-09-08 22:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":175110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:06:18] local.INFO: GPS data processed {"connection_id":175110,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:06:18] local.INFO: Acknowledgment sent {"connection_id":175110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:06:38] local.INFO: TCP Data received {"connection_id":174836,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:06:38] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:06:38] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:06:38] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06: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-09-08 22:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:06:38] 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-09-08 22:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:06:38] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:06:38] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:06:41] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:06:41] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:06:41] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:06:46] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:06:46] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:06:46] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:06:47] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:06:47] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:06:47] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:06:47] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:06:47] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:06:47] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:06:59] local.INFO: TCP Data received {"connection_id":177643,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:06:59] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:06:59] local.INFO: IMEI packet received {"connection_id":177643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":177643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:07:05] local.INFO: TCP Data received {"connection_id":177643,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:07:05] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:07:05] local.INFO: IMEI packet received {"connection_id":177643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":177643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:07:07] local.INFO: TCP Data received {"connection_id":177643,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:07:07] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081dc46a0012d196580071fef780044014e26..."} 
[2026-09-08 22:07:07] local.INFO: Packet analysis {"connection_id":177643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:07:07] local.INFO: Extracted packet for processing {"connection_id":177643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081dc"} 
[2026-09-08 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954506496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07: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-09-08 22:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788885092000,"timestamp_ms":1788885092000,"timestamp_seconds":1788885092,"priority":1,"record_length":96,"hex_timestamp":"000001a081dc46a0"} 
[2026-09-08 22:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:07:07] 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-09-08 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:07: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-09-08 22:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954506496001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954506496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:07:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954506496001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":177643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:07:07] local.INFO: GPS data processed {"connection_id":177643,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:07:07] local.INFO: Acknowledgment sent {"connection_id":177643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:07:18] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:07:18] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:07:18] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:07:18] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:07: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-09-08 22:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:07:18] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:07:18] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:07:39] local.INFO: TCP Data received {"connection_id":177643,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:07:39] local.INFO: Processing buffer {"connection_id":177643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:07:39] local.INFO: Packet analysis {"connection_id":177643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:07:39] local.INFO: Extracted packet for processing {"connection_id":177643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07: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-09-08 22:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":177643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:07:39] local.INFO: GPS data processed {"connection_id":177643,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:07:39] local.INFO: Acknowledgment sent {"connection_id":177643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:07:40] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:07:40] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:07:40] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:07:46] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:07:46] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:07:46] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:07:46] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:07:47] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:07:47] local.INFO: Packet analysis {"connection_id":175112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:07:47] local.INFO: Extracted packet for processing {"connection_id":175112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":175112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:07:47] local.INFO: GPS data processed {"connection_id":175112,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:07:47] local.INFO: Acknowledgment sent {"connection_id":175112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:08:00] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:08:00] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:08:00] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:08:05] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:08:05] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:08:05] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:08:06] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:08:06] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:08:06] local.INFO: Packet analysis {"connection_id":174837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:08:06] local.INFO: Extracted packet for processing {"connection_id":174837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:06] 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-09-08 22:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:08:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":174837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:08:06] local.INFO: GPS data processed {"connection_id":174837,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:08:06] local.INFO: Acknowledgment sent {"connection_id":174837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:08:18] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:08:18] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:08:18] local.INFO: Packet analysis {"connection_id":175112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:08:18] local.INFO: Extracted packet for processing {"connection_id":175112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:08: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:08: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-09-08 22:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":175112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:08:18] local.INFO: GPS data processed {"connection_id":175112,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:08:18] local.INFO: Acknowledgment sent {"connection_id":175112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:08:38] local.INFO: TCP Data received {"connection_id":174837,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:08:38] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:08:38] local.INFO: Packet analysis {"connection_id":174837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:08:38] local.INFO: Extracted packet for processing {"connection_id":174837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08: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-09-08 22:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":174837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:08:38] local.INFO: GPS data processed {"connection_id":174837,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:08:38] local.INFO: Acknowledgment sent {"connection_id":174837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:08:40] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:08:40] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:08:40] local.INFO: IMEI packet received {"connection_id":176186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":176186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:08:46] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:08:46] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:08:46] local.INFO: IMEI packet received {"connection_id":176186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":176186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:08:47] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:08:47] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:08:47] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:08:47] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:08:47] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:08:47] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:09:00] local.INFO: TCP Data received {"connection_id":174839,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:00] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:00] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:09:05] local.INFO: TCP Data received {"connection_id":174839,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:05] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:05] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:09:07] local.INFO: TCP Data received {"connection_id":174839,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:09:07] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:09:07] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:09:07] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09: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-09-08 22:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:09: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-09-08 22:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:09:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:09:07] local.INFO: GPS data processed {"connection_id":174839,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:09:07] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:09:18] local.INFO: TCP Data received {"connection_id":176186,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:18] local.INFO: Processing buffer {"connection_id":176186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:18] local.INFO: Packet analysis {"connection_id":176186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:09:18] local.INFO: Extracted packet for processing {"connection_id":176186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:09: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-09-08 22:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":176186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:09:18] local.INFO: GPS data processed {"connection_id":176186,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:09:18] local.INFO: Acknowledgment sent {"connection_id":176186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:09:39] local.INFO: TCP Data received {"connection_id":174839,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:09:39] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:09:39] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:09:39] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09: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-09-08 22:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:09:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:09:39] local.INFO: GPS data processed {"connection_id":174839,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:09:39] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:09:46] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:09:46] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:09:46] local.INFO: IMEI packet received {"connection_id":177644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":177644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:09:51] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:09:51] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:09:51] local.INFO: IMEI packet received {"connection_id":177644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":177644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:09:52] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:52] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:52] local.INFO: Packet analysis {"connection_id":177644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:09:52] local.INFO: Extracted packet for processing {"connection_id":177644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":177644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:09:52] local.INFO: GPS data processed {"connection_id":177644,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:09:52] local.INFO: Acknowledgment sent {"connection_id":177644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:09:56] local.INFO: TCP Data received {"connection_id":177644,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:56] local.INFO: Processing buffer {"connection_id":177644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081defa08012d34c38006aa42c80005005d26..."} 
[2026-09-08 22:09:56] local.INFO: Packet analysis {"connection_id":177644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:09:56] local.INFO: Extracted packet for processing {"connection_id":177644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081de"} 
[2026-09-08 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954551808001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788885269000,"timestamp_ms":1788885269000,"timestamp_seconds":1788885269,"priority":1,"record_length":96,"hex_timestamp":"000001a081defa08"} 
[2026-09-08 22:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-08 22:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954551808001,"66":25778,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954551808001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954551808001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":177644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:09:56] local.INFO: GPS data processed {"connection_id":177644,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:09:56] local.INFO: Acknowledgment sent {"connection_id":177644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:09:59] local.INFO: TCP Data received {"connection_id":175114,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:59] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:09:59] local.INFO: IMEI packet received {"connection_id":175114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":175114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:10:05] local.INFO: TCP Data received {"connection_id":175114,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:10:05] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:10:05] local.INFO: IMEI packet received {"connection_id":175114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":175114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:10:06] local.INFO: TCP Data received {"connection_id":175114,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:10:06] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:10:06] local.INFO: Packet analysis {"connection_id":175114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:10:06] local.INFO: Extracted packet for processing {"connection_id":175114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:06] 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-09-08 22:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":175114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:10:06] local.INFO: GPS data processed {"connection_id":175114,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:10:06] local.INFO: Acknowledgment sent {"connection_id":175114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:10:38] local.INFO: TCP Data received {"connection_id":175114,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:10:38] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:10:38] local.INFO: Packet analysis {"connection_id":175114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:10:38] local.INFO: Extracted packet for processing {"connection_id":175114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10: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-09-08 22:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:10:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":175114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:10:38] local.INFO: GPS data processed {"connection_id":175114,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:10:38] local.INFO: Acknowledgment sent {"connection_id":175114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:10:40] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:10:40] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:10:40] local.INFO: IMEI packet received {"connection_id":176187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":176187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:10:43] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:10:43] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:10:43] local.INFO: IMEI packet received {"connection_id":175115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":175115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:10:46] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:10:46] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:10:46] local.INFO: IMEI packet received {"connection_id":176187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":176187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:10:47] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:10:47] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:10:47] local.INFO: Packet analysis {"connection_id":176187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:10:47] local.INFO: Extracted packet for processing {"connection_id":176187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":176187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:10:47] local.INFO: GPS data processed {"connection_id":176187,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:10:47] local.INFO: Acknowledgment sent {"connection_id":176187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:11:05] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:11:05] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:11:05] local.INFO: IMEI packet received {"connection_id":177645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":177645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:11:10] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:11:10] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:11:10] local.INFO: IMEI packet received {"connection_id":177645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":177645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:11:12] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:11:12] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:11:12] local.INFO: Packet analysis {"connection_id":177645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:11:12] local.INFO: Extracted packet for processing {"connection_id":177645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11: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-09-08 22:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:11:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":177645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:11:12] local.INFO: GPS data processed {"connection_id":177645,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:11:12] local.INFO: Acknowledgment sent {"connection_id":177645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:11:16] local.INFO: TCP Data received {"connection_id":177645,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:11:16] local.INFO: Processing buffer {"connection_id":177645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:11:16] local.INFO: Packet analysis {"connection_id":177645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:11:16] local.INFO: Extracted packet for processing {"connection_id":177645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:16] 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-09-08 22:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":177645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":177645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":177645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:11:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":177645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:11:16] local.INFO: GPS data processed {"connection_id":177645,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:11:16] local.INFO: Acknowledgment sent {"connection_id":177645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:11:19] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:11:19] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:11:19] local.INFO: Packet analysis {"connection_id":176187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:11:19] local.INFO: Extracted packet for processing {"connection_id":176187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:11: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-09-08 22:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":176187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:11:19] local.INFO: GPS data processed {"connection_id":176187,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:11:19] local.INFO: Acknowledgment sent {"connection_id":176187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:11:41] local.INFO: TCP Data received {"connection_id":177646,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:11:41] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:11:41] local.INFO: IMEI packet received {"connection_id":177646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":177646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:11:46] local.INFO: TCP Data received {"connection_id":177646,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:11:46] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:11:46] local.INFO: IMEI packet received {"connection_id":177646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":177646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:11:47] local.INFO: TCP Data received {"connection_id":177646,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:11:47] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:11:47] local.INFO: Packet analysis {"connection_id":177646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:11:47] local.INFO: Extracted packet for processing {"connection_id":177646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":177646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:11:47] local.INFO: GPS data processed {"connection_id":177646,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:11:47] local.INFO: Acknowledgment sent {"connection_id":177646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:12:00] local.INFO: TCP Data received {"connection_id":176188,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:00] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:00] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:12:05] local.INFO: TCP Data received {"connection_id":176188,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:05] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:05] local.INFO: IMEI packet received {"connection_id":176188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":176188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:12:06] local.INFO: TCP Data received {"connection_id":176188,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:12:06] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e0de68012d196580071fef780044014e25..."} 
[2026-09-08 22:12:06] local.INFO: Packet analysis {"connection_id":176188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:12:06] local.INFO: Extracted packet for processing {"connection_id":176188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e0"} 
[2026-09-08 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954583552001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:06] 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-09-08 22:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885393000,"timestamp_ms":1788885393000,"timestamp_seconds":1788885393,"priority":1,"record_length":96,"hex_timestamp":"000001a081e0de68"} 
[2026-09-08 22:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-08 22:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954583552001,"66":2155,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954583552001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:12:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954583552001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":176188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:12:06] local.INFO: GPS data processed {"connection_id":176188,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:12:06] local.INFO: Acknowledgment sent {"connection_id":176188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:12:18] local.INFO: TCP Data received {"connection_id":177646,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:12:18] local.INFO: Processing buffer {"connection_id":177646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:12:18] local.INFO: Packet analysis {"connection_id":177646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:12:18] local.INFO: Extracted packet for processing {"connection_id":177646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:12: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-09-08 22:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":177646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:12:18] local.INFO: GPS data processed {"connection_id":177646,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:12:18] local.INFO: Acknowledgment sent {"connection_id":177646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:12:38] local.INFO: TCP Data received {"connection_id":176188,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:12:38] local.INFO: Processing buffer {"connection_id":176188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:12:38] local.INFO: Packet analysis {"connection_id":176188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:12:38] local.INFO: Extracted packet for processing {"connection_id":176188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12: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-09-08 22:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 22:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:12:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":176188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:12:38] local.INFO: GPS data processed {"connection_id":176188,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:12:38] local.INFO: Acknowledgment sent {"connection_id":176188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:12:40] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:12:40] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:12:40] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:12:46] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:12:46] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:12:46] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:12:47] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:12:47] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:12:47] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:12:47] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:12:47] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:12:47] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:12:59] local.INFO: TCP Data received {"connection_id":174841,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:59] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:12:59] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:13:05] local.INFO: TCP Data received {"connection_id":174841,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:13:05] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:13:05] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:13:06] local.INFO: TCP Data received {"connection_id":174841,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:13:06] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:13:06] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:13:06] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:06] 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-09-08 22:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 22:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:13:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:13:06] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:13:06] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:13:19] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:13:19] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:13:19] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:13:19] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:13: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-09-08 22:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:13:19] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:13:19] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:13:38] local.INFO: TCP Data received {"connection_id":174841,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:13:38] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:13:38] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:13:38] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13: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-09-08 22:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 22:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:13:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:13:38] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:13:38] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:13:40] local.INFO: TCP Data received {"connection_id":177648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:13:40] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:13:40] local.INFO: IMEI packet received {"connection_id":177648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":177648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:13:46] local.INFO: TCP Data received {"connection_id":177648,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:13:46] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:13:46] local.INFO: IMEI packet received {"connection_id":177648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":177648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:13:47] local.INFO: TCP Data received {"connection_id":177648,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:13:47] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:13:47] local.INFO: Packet analysis {"connection_id":177648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:13:47] local.INFO: Extracted packet for processing {"connection_id":177648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":177648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:13:47] local.INFO: GPS data processed {"connection_id":177648,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:13:47] local.INFO: Acknowledgment sent {"connection_id":177648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:13:59] local.INFO: TCP Data received {"connection_id":175118,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:13:59] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:13:59] local.INFO: IMEI packet received {"connection_id":175118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":175118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:14:05] local.INFO: TCP Data received {"connection_id":175118,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:14:05] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:14:05] local.INFO: IMEI packet received {"connection_id":175118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":175118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:14:06] local.INFO: TCP Data received {"connection_id":175118,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:14:06] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:14:06] local.INFO: Packet analysis {"connection_id":175118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:14:06] local.INFO: Extracted packet for processing {"connection_id":175118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:06] 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-09-08 22:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 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-09-08 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":175118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:14:06] local.INFO: GPS data processed {"connection_id":175118,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:14:06] local.INFO: Acknowledgment sent {"connection_id":175118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:14:19] local.INFO: TCP Data received {"connection_id":177648,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:19] local.INFO: Processing buffer {"connection_id":177648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:19] local.INFO: Packet analysis {"connection_id":177648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:14:19] local.INFO: Extracted packet for processing {"connection_id":177648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:14: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-09-08 22:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":177648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:14:19] local.INFO: GPS data processed {"connection_id":177648,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:14:19] local.INFO: Acknowledgment sent {"connection_id":177648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:14:38] local.INFO: TCP Data received {"connection_id":175118,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:14:38] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:14:38] local.INFO: Packet analysis {"connection_id":175118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:14:38] local.INFO: Extracted packet for processing {"connection_id":175118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14: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-09-08 22:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 22:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:14:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":175118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:14:38] local.INFO: GPS data processed {"connection_id":175118,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:14:38] local.INFO: Acknowledgment sent {"connection_id":175118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:14:46] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:14:46] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:14:46] local.INFO: IMEI packet received {"connection_id":177649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":177649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:14:51] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:14:51] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:14:51] local.INFO: IMEI packet received {"connection_id":177649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":177649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:14:51] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:51] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:51] local.INFO: Packet analysis {"connection_id":177649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:14:51] local.INFO: Extracted packet for processing {"connection_id":177649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 22:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":177649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:14:51] local.INFO: GPS data processed {"connection_id":177649,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:14:51] local.INFO: Acknowledgment sent {"connection_id":177649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:14:56] local.INFO: TCP Data received {"connection_id":177649,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:56] local.INFO: Processing buffer {"connection_id":177649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e391d0012d34c38006aa42c80005005d28..."} 
[2026-09-08 22:14:56] local.INFO: Packet analysis {"connection_id":177649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:14:56] local.INFO: Extracted packet for processing {"connection_id":177649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e3"} 
[2026-09-08 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954628864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788885570000,"timestamp_ms":1788885570000,"timestamp_seconds":1788885570,"priority":1,"record_length":96,"hex_timestamp":"000001a081e391d0"} 
[2026-09-08 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-09-08 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 22:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954628864001,"66":25745,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954628864001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:14:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954628864001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":177649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:14:56] local.INFO: GPS data processed {"connection_id":177649,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:14:56] local.INFO: Acknowledgment sent {"connection_id":177649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:15:04] local.INFO: TCP Data received {"connection_id":176190,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:15:04] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:15:04] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:15:10] local.INFO: TCP Data received {"connection_id":176190,"ip":"117.224.142.89","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:15:10] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:15:10] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:15:11] local.INFO: TCP Data received {"connection_id":176190,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:15:11] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:15:11] local.INFO: Packet analysis {"connection_id":176190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:15:11] local.INFO: Extracted packet for processing {"connection_id":176190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15: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-09-08 22:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 22:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:15:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":176190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:15:11] local.INFO: GPS data processed {"connection_id":176190,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:15:11] local.INFO: Acknowledgment sent {"connection_id":176190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:15:42] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:15:42] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:15:42] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:15:43] local.INFO: TCP Data received {"connection_id":176190,"ip":"117.224.142.89","data_length":795,"data_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:15:43] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e57630012d196580071fef780044014e26..."} 
[2026-09-08 22:15:43] local.INFO: Packet analysis {"connection_id":176190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:15:43] local.INFO: Extracted packet for processing {"connection_id":176190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e5"} 
[2026-09-08 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533432,"longitude_deg":75.6639104,"latitude_deg":11.9533432,"altitude":68,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-08 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954660608001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18862903658545152,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684888576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:43] 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-09-08 22:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788885694000,"timestamp_ms":1788885694000,"timestamp_seconds":1788885694,"priority":1,"record_length":96,"hex_timestamp":"000001a081e57630"} 
[2026-09-08 22:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-08 22:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.142.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954660608001,"66":2166,"121":206,"28":31744,"24":0,"16":18862903658545152,"45":1830009591684888576},"client_ip":"117.224.142.89","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954660608001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:15:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18862903658545152,"km_value":18862903658545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684888576,"description":"Unknown IO ID 45"} 
[2026-09-08 22:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954660608001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684888576}} 
[2026-09-08 22:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":176190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:15:43] local.INFO: GPS data processed {"connection_id":176190,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:15:43] local.INFO: Acknowledgment sent {"connection_id":176190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:15:46] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:15:46] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:15:46] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:15:47] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:15:47] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:15:47] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:15:47] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:15:47] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:15:47] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:16:08] local.INFO: TCP Data received {"connection_id":174843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:16:08] local.INFO: Processing buffer {"connection_id":174843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:16:08] local.INFO: IMEI packet received {"connection_id":174843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":174843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:16:18] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:16:18] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:16:18] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:16:18] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:16: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-09-08 22:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:16:18] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:16:18] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:16:40] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:16:40] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:16:40] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:16:46] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:16:46] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:16:46] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:16:47] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:16:47] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:16:47] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:16:47] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:16:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:16:47] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:16:47] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:16:55] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:16:55] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:16:55] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:17:18] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:17:18] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:17:18] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:17:18] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:17: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-09-08 22:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:17:18] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:17:18] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:17:40] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:17:40] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:17:40] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:17:46] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:17:46] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:17:46] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:17:47] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:17:47] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:17:47] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:17:47] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:17:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:17:47] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:17:47] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:18:18] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:18:18] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:18:18] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:18:18] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:18:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:18: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-09-08 22:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:18:18] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:18:18] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:18:40] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:18:40] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:18:40] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:18:46] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:18:46] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:18:46] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:18:46] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:18:46] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:18:46] local.INFO: Packet analysis {"connection_id":174845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:18:46] local.INFO: Extracted packet for processing {"connection_id":174845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":174845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:18:47] local.INFO: GPS data processed {"connection_id":174845,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:18:47] local.INFO: Acknowledgment sent {"connection_id":174845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:19:18] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:18] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:18] local.INFO: Packet analysis {"connection_id":174845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:19:18] local.INFO: Extracted packet for processing {"connection_id":174845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:19: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-09-08 22:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":174845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:19:18] local.INFO: GPS data processed {"connection_id":174845,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:19:18] local.INFO: Acknowledgment sent {"connection_id":174845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:19:46] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:19:46] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:19:46] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:19:51] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:19:51] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:19:51] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:19:52] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:52] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:52] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:19:52] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:19:52] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:19:52] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:19:56] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:56] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:19:56] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:19:56] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:19:56] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:19:56] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:20:01] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:20:01] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081e82d80012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:20:01] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:20:01] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081e8"} 
[2026-09-08 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954705920001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:20:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788885872000,"timestamp_ms":1788885872000,"timestamp_seconds":1788885872,"priority":1,"record_length":96,"hex_timestamp":"000001a081e82d80"} 
[2026-09-08 22:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954705920001,"66":25734,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954705920001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:20:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954705920001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:20:01] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:20:01] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:20:41] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:20:41] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:20:41] local.INFO: IMEI packet received {"connection_id":174847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":174847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:20:46] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:20:46] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:20:46] local.INFO: IMEI packet received {"connection_id":174847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":174847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:20:47] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:20:47] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:20:47] local.INFO: Packet analysis {"connection_id":174847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:20:47] local.INFO: Extracted packet for processing {"connection_id":174847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":174847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:20:47] local.INFO: GPS data processed {"connection_id":174847,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:20:47] local.INFO: Acknowledgment sent {"connection_id":174847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:21:18] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:21:18] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:21:18] local.INFO: Packet analysis {"connection_id":174847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:21:18] local.INFO: Extracted packet for processing {"connection_id":174847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:21:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:21: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-09-08 22:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":174847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:21:18] local.INFO: GPS data processed {"connection_id":174847,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:21:18] local.INFO: Acknowledgment sent {"connection_id":174847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:21:41] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:21:41] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:21:41] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:21:46] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:21:46] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:21:46] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:21:46] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:21:46] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:21:46] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:21:46] local.INFO: Extracted packet for processing {"connection_id":175123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:21:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":175123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:21:46] local.INFO: GPS data processed {"connection_id":175123,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:21:46] local.INFO: Acknowledgment sent {"connection_id":175123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:22:09] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:22:09] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:22:09] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:22:19] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:22:19] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:22:19] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:22:19] local.INFO: Extracted packet for processing {"connection_id":175123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:22:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:22: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-09-08 22:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":175123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:22:19] local.INFO: GPS data processed {"connection_id":175123,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:22:19] local.INFO: Acknowledgment sent {"connection_id":175123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:22:40] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:22:40] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:22:40] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:22:43] local.INFO: TCP Data received {"connection_id":177651,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:22:43] local.INFO: Processing buffer {"connection_id":177651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:22:43] local.INFO: IMEI packet received {"connection_id":177651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":177651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:22:46] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:22:46] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:22:46] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:22:47] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:22:47] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:22:47] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:22:47] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:22:47] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:22:47] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:23:18] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:23:18] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:23:18] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:23:18] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:23: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-09-08 22:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:23:18] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:23:18] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:23:40] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:23:40] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:23:40] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:23:46] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:23:46] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:23:46] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:23:47] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:23:47] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:23:47] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:23:47] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:23:47] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:23:47] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:23:55] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:23:55] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:23:55] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:24:01] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:24:01] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:24:01] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:24:07] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f018d8012d19bdc007203898002e015525..."} 
[2026-09-08 22:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f018d8012d19bdc007203898002e015525..."} 
[2026-09-08 22:24:07] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f018d8012d19bdc007203898002e015525..."} 
[2026-09-08 22:24:07] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:24:07] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119552152,"longitude_deg":75.6661696,"latitude_deg":11.9552152,"altitude":46,"angle":341,"satellites":37,"speed":43,"hex_longitude":"2d19bdc0","hex_latitude":"07203898","is_valid_coordinates":true} 
[2026-09-08 22:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954913792001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18865295955329024,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776800450560,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24: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-09-08 22:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788886391000,"timestamp_ms":1788886391000,"timestamp_seconds":1788886391,"priority":1,"record_length":96,"hex_timestamp":"000001a081f018d8"} 
[2026-09-08 22:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 22:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954913792001,"66":13656,"121":206,"28":31744,"24":43,"16":18865295955329024,"45":1858860776800450560},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954913792001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:24:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18865295955329024,"km_value":18865295955329.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776800450560,"description":"Unknown IO ID 45"} 
[2026-09-08 22:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954913792001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1858860776800450560}} 
[2026-09-08 22:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:24:07] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:24:07] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:24:19] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:19] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:19] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:24:19] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:24: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-09-08 22:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:24:19] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:24:19] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:24:42] local.INFO: TCP Data received {"connection_id":174850,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f0bce8012d19c8400720a4d00033005026..."} 
[2026-09-08 22:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f0bce8012d19c8400720a4d00033005026..."} 
[2026-09-08 22:24:42] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f0bce8012d19c8400720a4d00033005026..."} 
[2026-09-08 22:24:42] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:24:42] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119579856,"longitude_deg":75.6664384,"latitude_deg":11.9579856,"altitude":51,"angle":80,"satellites":38,"speed":16,"hex_longitude":"2d19c840","hex_latitude":"0720a4d0","is_valid_coordinates":true} 
[2026-09-08 22:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954925824001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18866923747934208,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077089175552,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] 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-09-08 22:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788886433000,"timestamp_ms":1788886433000,"timestamp_seconds":1788886433,"priority":1,"record_length":96,"hex_timestamp":"000001a081f0bce8"} 
[2026-09-08 22:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503887506767872,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2347642044094090790,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2180019864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-1120639838163719040,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2774007859,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":1513473361886642432,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3221692573,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181929061908736,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728807,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368867892669395428,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195211776,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84752193441702032,"corrected_to":0} 
[2026-09-08 22:24:42] local.WARNING: Large IO value detected {"io_id":216,"raw_value":13792283069523712,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,7,160,165,45,128,166,51,36,10,66,161,157,1,240,129,32,4,113,205,6,126,178,136,37,239,52,2,67,50,124,254,69,200,216],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0},{"io_id":200,"original":84752193441702032,"validated":0}]} 
[2026-09-08 22:24:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675052899275505664,"timestamp_seconds":3675052899275505.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954925824001,"66":13580,"121":206,"28":31744,"24":16,"16":18866923747934208,"45":1855483077089175552},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954925824001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:24:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18866923747934208,"km_value":18866923747934.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077089175552,"description":"Unknown IO ID 45"} 
[2026-09-08 22:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954925824001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1855483077089175552}} 
[2026-09-08 22:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:24:42] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:24:42] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:24:46] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:24:46] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:24:46] local.INFO: IMEI packet received {"connection_id":177652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":177652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:24:51] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:24:51] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:24:51] local.INFO: IMEI packet received {"connection_id":177652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":177652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:24:53] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:53] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:53] local.INFO: Packet analysis {"connection_id":177652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:24:53] local.INFO: Extracted packet for processing {"connection_id":177652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 22:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:24: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":177652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":177652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":177652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":177652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:24:53] local.INFO: GPS data processed {"connection_id":177652,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:24:53] local.INFO: Acknowledgment sent {"connection_id":177652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:24:56] local.INFO: TCP Data received {"connection_id":177652,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:56] local.INFO: Processing buffer {"connection_id":177652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ecc548012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:24:56] local.INFO: Packet analysis {"connection_id":177652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:24:56] local.INFO: Extracted packet for processing {"connection_id":177652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ec"} 
[2026-09-08 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954783232001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788886173000,"timestamp_ms":1788886173000,"timestamp_seconds":1788886173,"priority":1,"record_length":96,"hex_timestamp":"000001a081ecc548"} 
[2026-09-08 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-09-08 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-08 22:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954783232001,"66":25712,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954783232001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954783232001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":177652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:24:56] local.INFO: GPS data processed {"connection_id":177652,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:24:56] local.INFO: Acknowledgment sent {"connection_id":177652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:25:12] local.INFO: TCP Data received {"connection_id":175126,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:25:12] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:25:12] local.INFO: IMEI packet received {"connection_id":175126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":175126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:25:15] local.INFO: TCP Data received {"connection_id":175126,"ip":"117.224.100.111","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 22:25:15] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 22:25:15] local.INFO: IMEI packet received {"connection_id":175126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":175126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:25:36] local.INFO: TCP Data received {"connection_id":175126,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f0c0d0012d19c9800720a5680033003b25..."} 
[2026-09-08 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f0c0d0012d19c9800720a5680033003b25..."} 
[2026-09-08 22:25:36] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a081..."} 
[2026-09-08 22:25:36] local.INFO: IMEI packet received {"connection_id":175126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":175126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:25:38] local.INFO: TCP Data received {"connection_id":175126,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f0c8a0012d19cb800720a7080033002826..."} 
[2026-09-08 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f0c8a0012d19cb800720a7080033002826..."} 
[2026-09-08 22:25:38] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a081f0c0d0012d19c9800720a5680033003b25..."} 
[2026-09-08 22:25:38] local.INFO: Packet analysis {"connection_id":175126,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:25:38] local.INFO: Extracted packet for processing {"connection_id":175126,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119580008,"longitude_deg":75.6664704,"latitude_deg":11.9580008,"altitude":51,"angle":59,"satellites":37,"speed":15,"hex_longitude":"2d19c980","hex_latitude":"0720a568","is_valid_coordinates":true} 
[2026-09-08 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954926848001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18866945222770688,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245646950400,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25: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-09-08 22:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788886434000,"timestamp_ms":1788886434000,"timestamp_seconds":1788886434,"priority":1,"record_length":96,"hex_timestamp":"000001a081f0c0d0"} 
[2026-09-08 22:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867802886,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2180021864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4036864001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2796552244,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470122361,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":145,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5890700476033269710,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368867892669395428,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,7,160,173,45,166,51,36,10,66,165,128,161,1,240,129,32,4,113,205,145,185,88,37,239,53,2,67,25,50,124],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 22:25:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675025420074352640,"timestamp_seconds":3675025420074352.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954926848001,"66":13580,"121":206,"28":31744,"24":15,"16":18866945222770688,"45":1857805245646950400},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954926848001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18866945222770688,"km_value":18866945222770.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245646950400,"description":"Unknown IO ID 45"} 
[2026-09-08 22:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954926848001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1857805245646950400}} 
[2026-09-08 22:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":175126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:25:38] local.INFO: GPS data processed {"connection_id":175126,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:25:38] local.INFO: Acknowledgment sent {"connection_id":175126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:25:38] local.INFO: Packet analysis {"connection_id":175126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:25:38] local.INFO: Extracted packet for processing {"connection_id":175126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119580424,"longitude_deg":75.6665216,"latitude_deg":11.9580424,"altitude":51,"angle":40,"satellites":38,"speed":11,"hex_longitude":"2d19cb80","hex_latitude":"0720a708","is_valid_coordinates":true} 
[2026-09-08 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954927104001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18866975287541760,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089367877632,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25: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-09-08 22:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788886436000,"timestamp_ms":1788886436000,"timestamp_seconds":1788886436,"priority":1,"record_length":96,"hex_timestamp":"000001a081f0c8a0"} 
[2026-09-08 22:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867802887,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2180026864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4037120001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2801270835,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132277113,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093158793359844,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5566441302766649293,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,7,160,188,45,64,164,51,38,10,66,173,166,36,165,128,1,240,225,129,32,4,113,205,12,157,186,176,239,52,2,67,6,25,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 22:25:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675002326035136512,"timestamp_seconds":3675002326035136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954927104001,"66":12972,"121":206,"28":31744,"24":11,"16":18866975287541760,"45":1858157089367877632},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954927104001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18866975287541760,"km_value":18866975287541.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089367877632,"description":"Unknown IO ID 45"} 
[2026-09-08 22:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954927104001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1858157089367877632}} 
[2026-09-08 22:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":175126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:25:38] local.INFO: GPS data processed {"connection_id":175126,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:25:38] local.INFO: Acknowledgment sent {"connection_id":175126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:25:39] local.INFO: TCP Data received {"connection_id":175126,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f0efb0012d19d8000720b2480031004025..."} 
[2026-09-08 22:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f0efb0012d19d8000720b2480031004025..."} 
[2026-09-08 22:25:39] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f0efb0012d19d8000720b2480031004025..."} 
[2026-09-08 22:25:39] local.INFO: Packet analysis {"connection_id":175126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:25:39] local.INFO: Extracted packet for processing {"connection_id":175126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f0"} 
[2026-09-08 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119583304,"longitude_deg":75.6668416,"latitude_deg":11.9583304,"altitude":49,"angle":64,"satellites":37,"speed":21,"hex_longitude":"2d19d800","hex_latitude":"0720b248","is_valid_coordinates":true} 
[2026-09-08 22:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954927616001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18867181445971968,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039321405440,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25: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-09-08 22:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788886446000,"timestamp_ms":1788886446000,"timestamp_seconds":1788886446,"priority":1,"record_length":96,"hex_timestamp":"000001a081f0efb0"} 
[2026-09-08 22:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-08 22:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954927616001,"66":13646,"121":206,"28":31744,"24":21,"16":18867181445971968,"45":1858720039321405440},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954927616001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:25:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18867181445971968,"km_value":18867181445971.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039321405440,"description":"Unknown IO ID 45"} 
[2026-09-08 22:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954927616001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1858720039321405440}} 
[2026-09-08 22:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":175126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:25:39] local.INFO: GPS data processed {"connection_id":175126,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:25:39] local.INFO: Acknowledgment sent {"connection_id":175126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:25:41] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:25:41] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:25:41] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:25:46] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:25:46] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:25:46] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:25:47] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:25:47] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:25:47] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:25:47] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:25:47] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:25:47] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:25:59] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:25:59] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:25:59] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:26:01] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:01] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:01] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:26:03] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:03] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:03] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:26:04] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:04] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:26:04] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:26:05] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f1ca70012d1a3b800720fb500039014926..."} 
[2026-09-08 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f1ca70012d1a3b800720fb500039014926..."} 
[2026-09-08 22:26:05] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f1ca70012d1a3b800720fb500039014926..."} 
[2026-09-08 22:26:05] local.INFO: Packet analysis {"connection_id":174852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:05] local.INFO: Extracted packet for processing {"connection_id":174852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756693888,"raw_latitude":119602000,"longitude_deg":75.6693888,"latitude_deg":11.9602,"altitude":57,"angle":329,"satellites":38,"speed":10,"hex_longitude":"2d1a3b80","hex_latitude":"0720fb50","is_valid_coordinates":true} 
[2026-09-08 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954944000001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18868817828511744,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890385974206789632,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26: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-09-08 22:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788886502000,"timestamp_ms":1788886502000,"timestamp_seconds":1788886502,"priority":1,"record_length":96,"hex_timestamp":"000001a081f1ca70"} 
[2026-09-08 22:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 22:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954944000001,"66":12917,"121":206,"28":31744,"24":10,"16":18868817828511744,"45":1890385974206789632},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954944000001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18868817828511744,"km_value":18868817828511.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890385974206789632,"description":"Unknown IO ID 45"} 
[2026-09-08 22:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954944000001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1890385974206789632}} 
[2026-09-08 22:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":174852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:26:05] local.INFO: GPS data processed {"connection_id":174852,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:26:05] local.INFO: Acknowledgment sent {"connection_id":174852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:26:18] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:26:18] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:26:18] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:18] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:26: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-09-08 22:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:26:18] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:26:18] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:26:36] local.INFO: TCP Data received {"connection_id":174852,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f1ce58012d1a3a800720fc380039013c27..."} 
[2026-09-08 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f1ce58012d1a3a800720fc380039013c27..."} 
[2026-09-08 22:26:36] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f1ce58012d1a3a800720fc380039013c27..."} 
[2026-09-08 22:26:36] local.INFO: Packet analysis {"connection_id":174852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:36] local.INFO: Extracted packet for processing {"connection_id":174852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756693632,"raw_latitude":119602232,"longitude_deg":75.6693632,"latitude_deg":11.9602232,"altitude":57,"angle":316,"satellites":39,"speed":13,"hex_longitude":"2d1a3a80","hex_latitude":"0720fc38","is_valid_coordinates":true} 
[2026-09-08 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954944512001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18868830713413632,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890245236718522368,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26: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-09-08 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788886503000,"timestamp_ms":1788886503000,"timestamp_seconds":1788886503,"priority":1,"record_length":96,"hex_timestamp":"000001a081f1ce58"} 
[2026-09-08 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-08 22:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954944512001,"66":12298,"121":206,"28":31744,"24":13,"16":18868830713413632,"45":1890245236718522368},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954944512001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18868830713413632,"km_value":18868830713413.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890245236718522368,"description":"Unknown IO ID 45"} 
[2026-09-08 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954944512001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1890245236718522368}} 
[2026-09-08 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":174852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:26:36] local.INFO: GPS data processed {"connection_id":174852,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:26:36] local.INFO: Acknowledgment sent {"connection_id":174852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:26:40] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:26:40] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:26:40] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:26:46] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:26:46] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:26:46] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:26:47] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:26:47] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:26:47] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:47] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:26:47] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:26:47] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:27:04] local.INFO: TCP Data received {"connection_id":177653,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:27:04] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:27:04] local.INFO: IMEI packet received {"connection_id":177653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":177653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:27:10] local.INFO: TCP Data received {"connection_id":177653,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:27:10] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:27:10] local.INFO: IMEI packet received {"connection_id":177653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":177653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:27:11] local.INFO: TCP Data received {"connection_id":177653,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f1ddf8012d1a368007210070003a012e27..."} 
[2026-09-08 22:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f1ddf8012d1a368007210070003a012e27..."} 
[2026-09-08 22:27:11] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f1ddf8012d1a368007210070003a012e27..."} 
[2026-09-08 22:27:11] local.INFO: Packet analysis {"connection_id":177653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:11] local.INFO: Extracted packet for processing {"connection_id":177653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756692608,"raw_latitude":119603312,"longitude_deg":75.6692608,"latitude_deg":11.9603312,"altitude":58,"angle":302,"satellites":39,"speed":14,"hex_longitude":"2d1a3680","hex_latitude":"07210070","is_valid_coordinates":true} 
[2026-09-08 22:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954944768001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18868908022824960,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889963761741871104,"note":"Value kept but may cause issues"} 
[2026-09-08 22: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-09-08 22:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788886507000,"timestamp_ms":1788886507000,"timestamp_seconds":1788886507,"priority":1,"record_length":96,"hex_timestamp":"000001a081f1ddf8"} 
[2026-09-08 22:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":10,"data_length":795,"current_offset":136} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049418338816,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452355,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-9083372355141690854,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28673,"corrected_to":0} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513638643625033789,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832537,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942745108644046,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4054784001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4118806583,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":139,"raw_value":4026608922,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147950815,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":35,"raw_value":6192449488289796,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":11578957388316672,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-5980780305148018687,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,9,160,202,45,128,251,57,38,10,66,194,249,39,186,1,240,69,129,32,4,113,205,21,139,47,112,35,239,53,2,67,7,51,8],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":202,"original":28673,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-08 22:27:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107630473340846080,"timestamp_seconds":4107630473340846.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954944768001,"66":13004,"121":206,"28":31744,"24":14,"16":18868908022824960,"45":1889963761741871104},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954944768001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:27:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18868908022824960,"km_value":18868908022824.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889963761741871104,"description":"Unknown IO ID 45"} 
[2026-09-08 22:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954944768001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1889963761741871104}} 
[2026-09-08 22:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":177653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:27:11] local.INFO: GPS data processed {"connection_id":177653,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:27:11] local.INFO: Acknowledgment sent {"connection_id":177653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:27:19] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:27:19] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:27:19] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:19] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 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-09-08 22:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:27: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-09-08 22:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:27:19] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:27:19] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:27:40] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:27:40] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:27:40] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:27:42] local.INFO: TCP Data received {"connection_id":177653,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f1e5c8012d1a340007210198003b011a27..."} 
[2026-09-08 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f1e5c8012d1a340007210198003b011a27..."} 
[2026-09-08 22:27:42] local.INFO: Processing buffer {"connection_id":177653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f1e5c8012d1a340007210198003b011a27..."} 
[2026-09-08 22:27:42] local.INFO: Packet analysis {"connection_id":177653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:42] local.INFO: Extracted packet for processing {"connection_id":177653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756691968,"raw_latitude":119603608,"longitude_deg":75.6691968,"latitude_deg":11.9603608,"altitude":59,"angle":282,"satellites":39,"speed":14,"hex_longitude":"2d1a3400","hex_latitude":"07210198","is_valid_coordinates":true} 
[2026-09-08 22:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954945792001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18868938087596032,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888837861835304960,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:42] 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-09-08 22:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788886509000,"timestamp_ms":1788886509000,"timestamp_seconds":1788886509,"priority":1,"record_length":96,"hex_timestamp":"000001a081f1e5c8"} 
[2026-09-08 22:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-08 22:27: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-09-08 22:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":177653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":177653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954945792001,"66":12950,"121":206,"28":31744,"24":14,"16":18868938087596032,"45":1888837861835304960},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954945792001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18868938087596032,"km_value":18868938087596.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888837861835304960,"description":"Unknown IO ID 45"} 
[2026-09-08 22:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954945792001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1888837861835304960}} 
[2026-09-08 22:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":177653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:27:43] local.INFO: GPS data processed {"connection_id":177653,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:27:43] local.INFO: Acknowledgment sent {"connection_id":177653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:27:46] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:27:46] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:27:46] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:27:47] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:27:47] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:27:47] local.INFO: Packet analysis {"connection_id":175128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:47] local.INFO: Extracted packet for processing {"connection_id":175128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:27: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-09-08 22:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":175128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:27:47] local.INFO: GPS data processed {"connection_id":175128,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:27:47] local.INFO: Acknowledgment sent {"connection_id":175128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:28:00] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:28:00] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:28:00] local.INFO: IMEI packet received {"connection_id":177654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":177654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:28:03] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:28:03] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:28:03] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:28:04] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.100.111","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:28:04] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:28:04] local.INFO: IMEI packet received {"connection_id":177654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":177654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:28:05] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f1e9b0012d1a3280072101b8003b010f27..."} 
[2026-09-08 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f1e9b0012d1a3280072101b8003b010f27..."} 
[2026-09-08 22:28:05] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f1e9b0012d1a3280072101b8003b010f27..."} 
[2026-09-08 22:28:05] local.INFO: Packet analysis {"connection_id":177654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:05] local.INFO: Extracted packet for processing {"connection_id":177654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756691584,"raw_latitude":119603640,"longitude_deg":75.6691584,"latitude_deg":11.960364,"altitude":59,"angle":271,"satellites":39,"speed":15,"hex_longitude":"2d1a3280","hex_latitude":"072101b8","is_valid_coordinates":true} 
[2026-09-08 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954946304001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18868955267465216,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888134174393604096,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28: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-09-08 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788886510000,"timestamp_ms":1788886510000,"timestamp_seconds":1788886510,"priority":1,"record_length":96,"hex_timestamp":"000001a081f1e9b0"} 
[2026-09-08 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954946304001,"66":12950,"121":206,"28":31744,"24":15,"16":18868955267465216,"45":1888134174393604096},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954946304001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18868955267465216,"km_value":18868955267465.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888134174393604096,"description":"Unknown IO ID 45"} 
[2026-09-08 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954946304001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1888134174393604096}} 
[2026-09-08 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":177654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:28:05] local.INFO: GPS data processed {"connection_id":177654,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:28:05] local.INFO: Acknowledgment sent {"connection_id":177654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:28:19] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:28:19] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:28:19] local.INFO: Packet analysis {"connection_id":175128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:19] local.INFO: Extracted packet for processing {"connection_id":175128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":175128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:28:19] local.INFO: GPS data processed {"connection_id":175128,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:28:19] local.INFO: Acknowledgment sent {"connection_id":175128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:28:37] local.INFO: TCP Data received {"connection_id":177654,"ip":"117.224.100.111","data_length":795,"data_hex":"000000000000030f8e0a000001a081f1f180012d1a2f8007210180003c010227..."} 
[2026-09-08 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f1f180012d1a2f8007210180003c010227..."} 
[2026-09-08 22:28:37] local.INFO: Processing buffer {"connection_id":177654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f1f180012d1a2f8007210180003c010227..."} 
[2026-09-08 22:28:37] local.INFO: Packet analysis {"connection_id":177654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:37] local.INFO: Extracted packet for processing {"connection_id":177654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756690816,"raw_latitude":119603584,"longitude_deg":75.6690816,"latitude_deg":11.9603584,"altitude":60,"angle":258,"satellites":39,"speed":16,"hex_longitude":"2d1a2f80","hex_latitude":"07210180","is_valid_coordinates":true} 
[2026-09-08 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954946560001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18868993922170880,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887711961928546304,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28: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-09-08 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788886512000,"timestamp_ms":1788886512000,"timestamp_seconds":1788886512,"priority":1,"record_length":96,"hex_timestamp":"000001a081f1f180"} 
[2026-09-08 22:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-08 22:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.100.111","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954946560001,"66":12841,"121":206,"28":31744,"24":16,"16":18868993922170880,"45":1887711961928546304},"client_ip":"117.224.100.111","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954946560001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18868993922170880,"km_value":18868993922170.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887711961928546304,"description":"Unknown IO ID 45"} 
[2026-09-08 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954946560001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1887711961928546304}} 
[2026-09-08 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":177654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:28:37] local.INFO: GPS data processed {"connection_id":177654,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:28:37] local.INFO: Acknowledgment sent {"connection_id":177654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:28:40] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:28:40] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:28:40] local.INFO: IMEI packet received {"connection_id":174854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":174854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:28:43] local.INFO: TCP Data received {"connection_id":177655,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:28:43] local.INFO: Processing buffer {"connection_id":177655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:28:43] local.INFO: IMEI packet received {"connection_id":177655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":177655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:28:46] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:28:46] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:28:46] local.INFO: IMEI packet received {"connection_id":174854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":174854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:28:47] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:28:47] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:28:47] local.INFO: Packet analysis {"connection_id":174854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:47] local.INFO: Extracted packet for processing {"connection_id":174854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":174854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:28:47] local.INFO: GPS data processed {"connection_id":174854,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:28:47] local.INFO: Acknowledgment sent {"connection_id":174854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:29:04] local.INFO: TCP Data received {"connection_id":175129,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:04] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:04] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:29:06] local.INFO: TCP Data received {"connection_id":175129,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:06] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:06] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:29:09] local.INFO: TCP Data received {"connection_id":175129,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:09] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:09] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:29:10] local.INFO: TCP Data received {"connection_id":175129,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f21c78012d1a23800720fea0003e00f527..."} 
[2026-09-08 22:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f21c78012d1a23800720fea0003e00f527..."} 
[2026-09-08 22:29:10] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f21c78012d1a23800720fea0003e00f527..."} 
[2026-09-08 22:29:10] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:29:10] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:29:10] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119602848,"longitude_deg":75.6687744,"latitude_deg":11.9602848,"altitude":62,"angle":245,"satellites":39,"speed":10,"hex_longitude":"2d1a2380","hex_latitude":"0720fea0","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954947072001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869139951058944,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886867536998400000,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:10] 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-09-08 22:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788886523000,"timestamp_ms":1788886523000,"timestamp_seconds":1788886523,"priority":1,"record_length":96,"hex_timestamp":"000001a081f21c78"} 
[2026-09-08 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-09-08 22:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 22:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954947072001,"66":13048,"121":206,"28":31744,"24":10,"16":18869139951058944,"45":1886867536998400000},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954947072001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:29:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:29:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869139951058944,"km_value":18869139951058.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886867536998400000,"description":"Unknown IO ID 45"} 
[2026-09-08 22:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954947072001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1886867536998400000}} 
[2026-09-08 22:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:29:10] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:29:10] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:29:18] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:29:18] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:29:18] local.INFO: Packet analysis {"connection_id":174854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:29:18] local.INFO: Extracted packet for processing {"connection_id":174854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":174854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:29:18] local.INFO: GPS data processed {"connection_id":174854,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:29:18] local.INFO: Acknowledgment sent {"connection_id":174854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:29:40] local.INFO: TCP Data received {"connection_id":177656,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:29:40] local.INFO: Processing buffer {"connection_id":177656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:29:40] local.INFO: IMEI packet received {"connection_id":177656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":177656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:29:42] local.INFO: TCP Data received {"connection_id":175129,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f22448012d1a21c00720fe48003e011127..."} 
[2026-09-08 22:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f22448012d1a21c00720fe48003e011127..."} 
[2026-09-08 22:29:42] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f22448012d1a21c00720fe48003e011127..."} 
[2026-09-08 22:29:42] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:29:42] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756687296,"raw_latitude":119602760,"longitude_deg":75.6687296,"latitude_deg":11.960276,"altitude":62,"angle":273,"satellites":39,"speed":9,"hex_longitude":"2d1a21c0","hex_latitude":"0720fe48","is_valid_coordinates":true} 
[2026-09-08 22:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954949888001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869165720862720,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883489837277683712,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:42] 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-09-08 22:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788886525000,"timestamp_ms":1788886525000,"timestamp_seconds":1788886525,"priority":1,"record_length":96,"hex_timestamp":"000001a081f22448"} 
[2026-09-08 22:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-08 22:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954949888001,"66":12972,"121":206,"28":31744,"24":9,"16":18869165720862720,"45":1883489837277683712},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954949888001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869165720862720,"km_value":18869165720862.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883489837277683712,"description":"Unknown IO ID 45"} 
[2026-09-08 22:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954949888001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1883489837277683712}} 
[2026-09-08 22:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:29:42] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:29:42] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:29:46] local.INFO: TCP Data received {"connection_id":177656,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:29:46] local.INFO: Processing buffer {"connection_id":177656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:29:46] local.INFO: IMEI packet received {"connection_id":177656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":177656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:29:47] local.INFO: TCP Data received {"connection_id":177656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:29:47] local.INFO: Processing buffer {"connection_id":177656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f15d10012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:29:47] local.INFO: Packet analysis {"connection_id":177656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:29:47] local.INFO: Extracted packet for processing {"connection_id":177656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f1"} 
[2026-09-08 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954860288001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886474000,"timestamp_ms":1788886474000,"timestamp_seconds":1788886474,"priority":1,"record_length":96,"hex_timestamp":"000001a081f15d10"} 
[2026-09-08 22:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-08 22:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954860288001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954860288001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954860288001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":177656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:29:47] local.INFO: GPS data processed {"connection_id":177656,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:29:47] local.INFO: Acknowledgment sent {"connection_id":177656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:29:59] local.INFO: TCP Data received {"connection_id":177658,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:59] local.INFO: Processing buffer {"connection_id":177658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:29:59] local.INFO: IMEI packet received {"connection_id":177658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":177658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:30:04] local.INFO: TCP Data received {"connection_id":177658,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:30:04] local.INFO: Processing buffer {"connection_id":177658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:30:04] local.INFO: IMEI packet received {"connection_id":177658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":177658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:30:06] local.INFO: TCP Data received {"connection_id":177658,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f23fa0012d1a1e400720fe60003f00fe27..."} 
[2026-09-08 22:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f23fa0012d1a1e400720fe60003f00fe27..."} 
[2026-09-08 22:30:06] local.INFO: Processing buffer {"connection_id":177658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f23fa0012d1a1e400720fe60003f00fe27..."} 
[2026-09-08 22:30:06] local.INFO: Packet analysis {"connection_id":177658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:30:06] local.INFO: Extracted packet for processing {"connection_id":177658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756686400,"raw_latitude":119602784,"longitude_deg":75.66864,"latitude_deg":11.9602784,"altitude":63,"angle":254,"satellites":39,"speed":5,"hex_longitude":"2d1a1e40","hex_latitude":"0720fe60","is_valid_coordinates":true} 
[2026-09-08 22:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954950400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869208670535680,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882997256068417536,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:06] 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-09-08 22:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788886532000,"timestamp_ms":1788886532000,"timestamp_seconds":1788886532,"priority":1,"record_length":96,"hex_timestamp":"000001a081f23fa0"} 
[2026-09-08 22:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-08 22:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954950400001,"66":12972,"121":206,"28":31744,"24":5,"16":18869208670535680,"45":1882997256068417536},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954950400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:30:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869208670535680,"km_value":18869208670535.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882997256068417536,"description":"Unknown IO ID 45"} 
[2026-09-08 22:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954950400001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1882997256068417536}} 
[2026-09-08 22:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":177658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:30:06] local.INFO: GPS data processed {"connection_id":177658,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:30:06] local.INFO: Acknowledgment sent {"connection_id":177658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:30:19] local.INFO: TCP Data received {"connection_id":177656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:30:19] local.INFO: Processing buffer {"connection_id":177656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:30:19] local.INFO: Packet analysis {"connection_id":177656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:30:19] local.INFO: Extracted packet for processing {"connection_id":177656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 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-09-08 22:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:30: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-09-08 22:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":177656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:30:19] local.INFO: GPS data processed {"connection_id":177656,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:30:19] local.INFO: Acknowledgment sent {"connection_id":177656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:30:37] local.INFO: TCP Data received {"connection_id":177658,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f291a8012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f291a8012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:30:37] local.INFO: Processing buffer {"connection_id":177658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f291a8012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:30:37] local.INFO: Packet analysis {"connection_id":177658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:30:37] local.INFO: Extracted packet for processing {"connection_id":177658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954952192001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882012093649936384,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30: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-09-08 22:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788886553000,"timestamp_ms":1788886553000,"timestamp_seconds":1788886553,"priority":1,"record_length":96,"hex_timestamp":"000001a081f291a8"} 
[2026-09-08 22:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-08 22:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954952192001,"66":12993,"121":206,"28":31744,"24":0,"16":18869221555437568,"45":1882012093649936384},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954952192001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882012093649936384,"description":"Unknown IO ID 45"} 
[2026-09-08 22:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954952192001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1882012093649936384}} 
[2026-09-08 22:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":177658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:30:37] local.INFO: GPS data processed {"connection_id":177658,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:30:37] local.INFO: Acknowledgment sent {"connection_id":177658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:30:45] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:30:45] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:30:45] local.INFO: IMEI packet received {"connection_id":176200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:30:51] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:30:51] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:30:51] local.INFO: IMEI packet received {"connection_id":176200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":176200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:30:52] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:30:52] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:30:52] local.INFO: Packet analysis {"connection_id":176200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:30:52] local.INFO: Extracted packet for processing {"connection_id":176200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":176200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:30:52] local.INFO: GPS data processed {"connection_id":176200,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:30:52] local.INFO: Acknowledgment sent {"connection_id":176200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:31:04] local.INFO: TCP Data received {"connection_id":175130,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:31:04] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:31:04] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:31:10] local.INFO: TCP Data received {"connection_id":175130,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:31:10] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:31:10] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:31:12] local.INFO: TCP Data received {"connection_id":175130,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f2e3b0012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f2e3b0012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:31:12] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f2e3b0012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:31:12] local.INFO: Packet analysis {"connection_id":175130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:31:12] local.INFO: Extracted packet for processing {"connection_id":175130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f2"} 
[2026-09-08 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954957568001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618673197056,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31: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-09-08 22:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788886574000,"timestamp_ms":1788886574000,"timestamp_seconds":1788886574,"priority":1,"record_length":96,"hex_timestamp":"000001a081f2e3b0"} 
[2026-09-08 22:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 22:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954957568001,"66":12939,"121":206,"28":31744,"24":0,"16":18869221555437568,"45":1881730618673197056},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954957568001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:31:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618673197056,"description":"Unknown IO ID 45"} 
[2026-09-08 22:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954957568001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881730618673197056}} 
[2026-09-08 22:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":175130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:31:12] local.INFO: GPS data processed {"connection_id":175130,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:31:12] local.INFO: Acknowledgment sent {"connection_id":175130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:31:24] local.INFO: TCP Data received {"connection_id":176200,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:31:24] local.INFO: Processing buffer {"connection_id":176200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:31:24] local.INFO: Packet analysis {"connection_id":176200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:31:24] local.INFO: Extracted packet for processing {"connection_id":176200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":176200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:31:24] local.INFO: GPS data processed {"connection_id":176200,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:31:24] local.INFO: Acknowledgment sent {"connection_id":176200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:31:40] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:31:40] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:31:40] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:31:46] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:31:46] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:31:46] local.INFO: IMEI packet received {"connection_id":176201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":176201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:31:48] local.INFO: TCP Data received {"connection_id":175130,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f335b8012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f335b8012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:31:48] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f335b8012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:31:48] local.INFO: Packet analysis {"connection_id":175130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f3"} 
[2026-09-08 22:31:48] local.INFO: Extracted packet for processing {"connection_id":175130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f3"} 
[2026-09-08 22:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954962944001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618673197056,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:48] 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-09-08 22:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788886595000,"timestamp_ms":1788886595000,"timestamp_seconds":1788886595,"priority":1,"record_length":96,"hex_timestamp":"000001a081f335b8"} 
[2026-09-08 22:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:31:48] 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-09-08 22: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-08 22:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954962944001,"66":12885,"121":206,"28":31744,"24":0,"16":18869221555437568,"45":1881730618673197056},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954962944001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618673197056,"description":"Unknown IO ID 45"} 
[2026-09-08 22:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954962944001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881730618673197056}} 
[2026-09-08 22:31:48] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:31:48] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:31:48] local.INFO: Packet analysis {"connection_id":176201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:31:48] local.INFO: Extracted packet for processing {"connection_id":176201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":176201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:31:48] local.INFO: GPS data processed {"connection_id":176201,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:31:48] local.INFO: Acknowledgment sent {"connection_id":176201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":175130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:31:48] local.INFO: GPS data processed {"connection_id":175130,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:31:48] local.INFO: Acknowledgment sent {"connection_id":175130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:32:00] local.INFO: TCP Data received {"connection_id":174855,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:00] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:00] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:32:04] local.INFO: TCP Data received {"connection_id":174855,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:04] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:04] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:32:05] local.INFO: TCP Data received {"connection_id":174855,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f387c0012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f387c0012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:32:05] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f387c0012d1a1d400720fdf0003f00fe21..."} 
[2026-09-08 22:32:05] local.INFO: Packet analysis {"connection_id":174855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f3"} 
[2026-09-08 22:32:05] local.INFO: Extracted packet for processing {"connection_id":174855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f3"} 
[2026-09-08 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954968320001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618673197056,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32: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-09-08 22:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788886616000,"timestamp_ms":1788886616000,"timestamp_seconds":1788886616,"priority":1,"record_length":96,"hex_timestamp":"000001a081f387c0"} 
[2026-09-08 22:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 22:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954968320001,"66":12874,"121":206,"28":31744,"24":0,"16":18869221555437568,"45":1881730618673197056},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954968320001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618673197056,"description":"Unknown IO ID 45"} 
[2026-09-08 22:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954968320001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881730618673197056}} 
[2026-09-08 22:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":174855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:32:05] local.INFO: GPS data processed {"connection_id":174855,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:32:05] local.INFO: Acknowledgment sent {"connection_id":174855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:32:19] local.INFO: TCP Data received {"connection_id":176201,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:32:19] local.INFO: Processing buffer {"connection_id":176201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:32:19] local.INFO: Packet analysis {"connection_id":176201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:32:19] local.INFO: Extracted packet for processing {"connection_id":176201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:32: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-09-08 22:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:32:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":176201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:32:19] local.INFO: GPS data processed {"connection_id":176201,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:32:19] local.INFO: Acknowledgment sent {"connection_id":176201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:32:37] local.INFO: TCP Data received {"connection_id":174855,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f77f60012d1a1d400720fdf0003f00fe27..."} 
[2026-09-08 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f77f60012d1a1d400720fdf0003f00fe27..."} 
[2026-09-08 22:32:37] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f77f60012d1a1d400720fdf0003f00fe27..."} 
[2026-09-08 22:32:37] local.INFO: Packet analysis {"connection_id":174855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f7"} 
[2026-09-08 22:32:37] local.INFO: Extracted packet for processing {"connection_id":174855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f7"} 
[2026-09-08 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955034880001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618673197056,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788886876000,"timestamp_ms":1788886876000,"timestamp_seconds":1788886876,"priority":1,"record_length":96,"hex_timestamp":"000001a081f77f60"} 
[2026-09-08 22:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955034880001,"66":11928,"50":206,"28":31744,"24":0,"16":18869221555437568,"45":1881730618673197056},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-09-08 22:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955034880001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618673197056,"description":"Unknown IO ID 45"} 
[2026-09-08 22:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955034880001,"power":11928,"unknown_50":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881730618673197056}} 
[2026-09-08 22:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":174855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:32:37] local.INFO: GPS data processed {"connection_id":174855,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:32:37] local.INFO: Acknowledgment sent {"connection_id":174855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:32:40] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:32:40] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:32:40] local.INFO: IMEI packet received {"connection_id":174856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":174856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:32:46] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:32:46] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:32:46] local.INFO: IMEI packet received {"connection_id":174856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:32:47] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:32:47] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:32:47] local.INFO: Packet analysis {"connection_id":174856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:32:47] local.INFO: Extracted packet for processing {"connection_id":174856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:32: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-09-08 22:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":174856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:32:47] local.INFO: GPS data processed {"connection_id":174856,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:32:47] local.INFO: Acknowledgment sent {"connection_id":174856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:32:59] local.INFO: TCP Data received {"connection_id":175131,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:59] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:32:59] local.INFO: IMEI packet received {"connection_id":175131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":175131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:33:04] local.INFO: TCP Data received {"connection_id":175131,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:33:04] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:33:04] local.INFO: IMEI packet received {"connection_id":175131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":175131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:33:06] local.INFO: TCP Data received {"connection_id":175131,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f7d168012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f7d168012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:33:06] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f7d168012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:33:06] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f7"} 
[2026-09-08 22:33:06] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f7"} 
[2026-09-08 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955040256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618673197056,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788886897000,"timestamp_ms":1788886897000,"timestamp_seconds":1788886897,"priority":1,"record_length":96,"hex_timestamp":"000001a081f7d168"} 
[2026-09-08 22:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-08 22:33:06] 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-09-08 22:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955040256001,"66":11678,"50":206,"28":31744,"24":0,"16":18869221555437568,"45":1881730618673197056},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-09-08 22:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955040256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:33:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-08 22:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618673197056,"description":"Unknown IO ID 45"} 
[2026-09-08 22:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955040256001,"power":11678,"unknown_50":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881730618673197056}} 
[2026-09-08 22:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:33:06] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:33:06] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:33:18] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:33:18] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:33:18] local.INFO: Packet analysis {"connection_id":174856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:33:18] local.INFO: Extracted packet for processing {"connection_id":174856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":174856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:33:18] local.INFO: GPS data processed {"connection_id":174856,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:33:18] local.INFO: Acknowledgment sent {"connection_id":174856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:33:40] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:33:40] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:33:40] local.INFO: IMEI packet received {"connection_id":177659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":177659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:33:46] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:33:46] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:33:46] local.INFO: IMEI packet received {"connection_id":177659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":177659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:33:47] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:33:47] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:33:47] local.INFO: Packet analysis {"connection_id":177659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:33:47] local.INFO: Extracted packet for processing {"connection_id":177659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:33: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-09-08 22:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":177659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:33:47] local.INFO: GPS data processed {"connection_id":177659,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:33:47] local.INFO: Acknowledgment sent {"connection_id":177659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:34:04] local.INFO: TCP Data received {"connection_id":175131,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081f82370012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f82370012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:34:04] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f82370012d1a1d400720fdf0003f00fe26..."} 
[2026-09-08 22:34:04] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f8"} 
[2026-09-08 22:34:04] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f8"} 
[2026-09-08 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119602672,"longitude_deg":75.6686144,"latitude_deg":11.9602672,"altitude":63,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d1a1d40","hex_latitude":"0720fdf0","is_valid_coordinates":true} 
[2026-09-08 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955045632001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18869221555437568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881730618673197056,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788886918000,"timestamp_ms":1788886918000,"timestamp_seconds":1788886918,"priority":1,"record_length":96,"hex_timestamp":"000001a081f82370"} 
[2026-09-08 22:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-08 22:34:04] 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-09-08 22:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955045632001,"66":11721,"50":206,"28":31744,"24":0,"16":18869221555437568,"45":1881730618673197056},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-09-08 22:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955045632001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:34:04] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-08 22:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18869221555437568,"km_value":18869221555437.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881730618673197056,"description":"Unknown IO ID 45"} 
[2026-09-08 22:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955045632001,"power":11721,"unknown_50":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881730618673197056}} 
[2026-09-08 22:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:34:04] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:34:04] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:34:10] local.INFO: TCP Data received {"connection_id":176205,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:34:10] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:34:10] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:34:15] local.INFO: TCP Data received {"connection_id":176205,"ip":"117.224.11.122","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 22:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 22:34:15] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 22:34:15] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:34:17] local.INFO: TCP Data received {"connection_id":176204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:34:17] local.INFO: Processing buffer {"connection_id":176204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:34:17] local.INFO: IMEI packet received {"connection_id":176204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":176204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:34:19] local.INFO: TCP Data received {"connection_id":177659,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:34:19] local.INFO: Processing buffer {"connection_id":177659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:34:19] local.INFO: Packet analysis {"connection_id":177659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:34:19] local.INFO: Extracted packet for processing {"connection_id":177659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:34: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-09-08 22:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":177659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:34:19] local.INFO: GPS data processed {"connection_id":177659,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:34:19] local.INFO: Acknowledgment sent {"connection_id":177659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:34:41] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:34:41] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:34:41] local.INFO: IMEI packet received {"connection_id":176206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":176206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:34:43] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:34:43] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:34:43] local.INFO: IMEI packet received {"connection_id":174857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":174857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:34:46] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:34:46] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:34:46] local.INFO: IMEI packet received {"connection_id":176206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":176206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:34:47] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:34:47] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081f5f4d8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 22:34:47] local.INFO: Packet analysis {"connection_id":176206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:34:47] local.INFO: Extracted packet for processing {"connection_id":176206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081f5"} 
[2026-09-08 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457954937344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788886775000,"timestamp_ms":1788886775000,"timestamp_seconds":1788886775,"priority":1,"record_length":96,"hex_timestamp":"000001a081f5f4d8"} 
[2026-09-08 22:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:34: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-09-08 22:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457954937344001,"66":25680,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457954937344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457954937344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":176206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:34:47] local.INFO: GPS data processed {"connection_id":176206,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:34:47] local.INFO: Acknowledgment sent {"connection_id":176206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:35:19] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:35:19] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:35:19] local.INFO: Packet analysis {"connection_id":176206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:35:19] local.INFO: Extracted packet for processing {"connection_id":176206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":176206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:35:19] local.INFO: GPS data processed {"connection_id":176206,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:35:19] local.INFO: Acknowledgment sent {"connection_id":176206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:35:41] local.INFO: TCP Data received {"connection_id":177660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:35:41] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:35:41] local.INFO: IMEI packet received {"connection_id":177660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":177660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:35:46] local.INFO: TCP Data received {"connection_id":177660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:35:46] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:35:46] local.INFO: IMEI packet received {"connection_id":177660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":177660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:35:47] local.INFO: TCP Data received {"connection_id":177660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:35:47] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:35:47] local.INFO: Packet analysis {"connection_id":177660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:35:47] local.INFO: Extracted packet for processing {"connection_id":177660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:35: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-09-08 22:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":177660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:35:47] local.INFO: GPS data processed {"connection_id":177660,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:35:47] local.INFO: Acknowledgment sent {"connection_id":177660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:36:19] local.INFO: TCP Data received {"connection_id":177660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:36:19] local.INFO: Processing buffer {"connection_id":177660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:36:19] local.INFO: Packet analysis {"connection_id":177660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:36:19] local.INFO: Extracted packet for processing {"connection_id":177660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:36:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:36: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-09-08 22:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":177660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:36:19] local.INFO: GPS data processed {"connection_id":177660,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:36:19] local.INFO: Acknowledgment sent {"connection_id":177660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:36:41] local.INFO: TCP Data received {"connection_id":174861,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:36:41] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:36:41] local.INFO: IMEI packet received {"connection_id":174861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:36:46] local.INFO: TCP Data received {"connection_id":174861,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:36:46] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:36:46] local.INFO: IMEI packet received {"connection_id":174861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:36:46] local.INFO: TCP Data received {"connection_id":174861,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:36:46] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:36:46] local.INFO: Packet analysis {"connection_id":174861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:36:46] local.INFO: Extracted packet for processing {"connection_id":174861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":174861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:36:46] local.INFO: GPS data processed {"connection_id":174861,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:36:46] local.INFO: Acknowledgment sent {"connection_id":174861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:37:18] local.INFO: TCP Data received {"connection_id":174861,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:37:18] local.INFO: Processing buffer {"connection_id":174861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:37:18] local.INFO: Packet analysis {"connection_id":174861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:37:18] local.INFO: Extracted packet for processing {"connection_id":174861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:37:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:37: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-09-08 22:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":174861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:37:18] local.INFO: GPS data processed {"connection_id":174861,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:37:18] local.INFO: Acknowledgment sent {"connection_id":174861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:37:40] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:37:40] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:37:40] local.INFO: IMEI packet received {"connection_id":174862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":174862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:37:46] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:37:46] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:37:46] local.INFO: IMEI packet received {"connection_id":174862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":174862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:37:47] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:37:47] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:37:47] local.INFO: Packet analysis {"connection_id":174862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:37:47] local.INFO: Extracted packet for processing {"connection_id":174862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:37: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-09-08 22:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":174862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:37:47] local.INFO: GPS data processed {"connection_id":174862,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:37:47] local.INFO: Acknowledgment sent {"connection_id":174862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:38:18] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:38:18] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:38:18] local.INFO: Packet analysis {"connection_id":174862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:38:18] local.INFO: Extracted packet for processing {"connection_id":174862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:38: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-09-08 22:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":174862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:38:18] local.INFO: GPS data processed {"connection_id":174862,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:38:18] local.INFO: Acknowledgment sent {"connection_id":174862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:38:40] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:38:40] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:38:40] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:38:45] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:38:45] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:38:45] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:38:46] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:38:46] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:38:46] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:38:46] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:38:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:38: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-09-08 22:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:38:46] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:38:46] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:39:15] local.INFO: TCP Data received {"connection_id":174865,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:39:15] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:39:15] local.INFO: IMEI packet received {"connection_id":174865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":174865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:39:16] local.INFO: TCP Data received {"connection_id":174865,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081fdefd0012d1abc40071f43c80039008b1f..."} 
[2026-09-08 22:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fdefd0012d1abc40071f43c80039008b1f..."} 
[2026-09-08 22:39:16] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fdefd0012d1abc40071f43c80039008b1f..."} 
[2026-09-08 22:39:16] local.INFO: Packet analysis {"connection_id":174865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fd"} 
[2026-09-08 22:39:16] local.INFO: Extracted packet for processing {"connection_id":174865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fd"} 
[2026-09-08 22:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119489480,"longitude_deg":75.6726848,"latitude_deg":11.948948,"altitude":57,"angle":139,"satellites":31,"speed":17,"hex_longitude":"2d1abc40","hex_latitude":"071f43c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955148032001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18878172267282432,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926133296220424192,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:16] 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-09-08 22:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788887298000,"timestamp_ms":1788887298000,"timestamp_seconds":1788887298,"priority":1,"record_length":96,"hex_timestamp":"000001a081fdefd0"} 
[2026-09-08 22:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-08 22:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955148032001,"66":13656,"121":206,"28":31744,"24":17,"16":18878172267282432,"45":1926133296220424192},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955148032001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:39:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18878172267282432,"km_value":18878172267282.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926133296220424192,"description":"Unknown IO ID 45"} 
[2026-09-08 22:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955148032001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1926133296220424192}} 
[2026-09-08 22:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":174865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:39:16] local.INFO: GPS data processed {"connection_id":174865,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:39:16] local.INFO: Acknowledgment sent {"connection_id":174865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:39:18] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:18] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:18] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:39:18] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:39:18] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:39:18] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:39:46] local.INFO: TCP Data received {"connection_id":174866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:39:46] local.INFO: Processing buffer {"connection_id":174866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:39:46] local.INFO: IMEI packet received {"connection_id":174866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":174866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:39:51] local.INFO: TCP Data received {"connection_id":174866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:39:51] local.INFO: Processing buffer {"connection_id":174866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:39:51] local.INFO: IMEI packet received {"connection_id":174866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":174866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:39:51] local.INFO: TCP Data received {"connection_id":174866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:51] local.INFO: Processing buffer {"connection_id":174866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:51] local.INFO: Packet analysis {"connection_id":174866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:39:51] local.INFO: Extracted packet for processing {"connection_id":174866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:39:51] local.INFO: GPS data processed {"connection_id":174866,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:39:51] local.INFO: Acknowledgment sent {"connection_id":174866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:39:56] local.INFO: TCP Data received {"connection_id":174866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:56] local.INFO: Processing buffer {"connection_id":174866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fa88b8012d34c38006aa42c80005005d27..."} 
[2026-09-08 22:39:56] local.INFO: Packet analysis {"connection_id":174866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:39:56] local.INFO: Extracted packet for processing {"connection_id":174866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fa"} 
[2026-09-08 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955014400001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788887075000,"timestamp_ms":1788887075000,"timestamp_seconds":1788887075,"priority":1,"record_length":96,"hex_timestamp":"000001a081fa88b8"} 
[2026-09-08 22:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-08 22:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955014400001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955014400001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955014400001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":174866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:39:56] local.INFO: GPS data processed {"connection_id":174866,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:39:56] local.INFO: Acknowledgment sent {"connection_id":174866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:40:00] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:00] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:00] local.INFO: IMEI packet received {"connection_id":177663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":177663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:40:01] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:01] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:01] local.INFO: IMEI packet received {"connection_id":177663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":177663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:40:02] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:02] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:02] local.INFO: IMEI packet received {"connection_id":177663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":177663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:40:03] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:03] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:03] local.INFO: IMEI packet received {"connection_id":177663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":177663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:40:06] local.INFO: TCP Data received {"connection_id":175133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:40:06] local.INFO: Processing buffer {"connection_id":175133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:40:06] local.INFO: IMEI packet received {"connection_id":175133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":175133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:40:07] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081fe6cd0012d1afc80071f2d58004900b01f..."} 
[2026-09-08 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081fe6cd0012d1afc80071f2d58004900b01f..."} 
[2026-09-08 22:40:07] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081fe6cd0012d1afc80071f2d58004900b01f..."} 
[2026-09-08 22:40:07] local.INFO: Packet analysis {"connection_id":177663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fe"} 
[2026-09-08 22:40:07] local.INFO: Extracted packet for processing {"connection_id":177663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fe"} 
[2026-09-08 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756743296,"raw_latitude":119483736,"longitude_deg":75.6743296,"latitude_deg":11.9483736,"altitude":73,"angle":176,"satellites":31,"speed":22,"hex_longitude":"2d1afc80","hex_latitude":"071f2d58","is_valid_coordinates":true} 
[2026-09-08 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955155456001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18879155814793216,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944288432217298944,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40: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-09-08 22:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788887330000,"timestamp_ms":1788887330000,"timestamp_seconds":1788887330,"priority":1,"record_length":96,"hex_timestamp":"000001a081fe6cd0"} 
[2026-09-08 22:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-08 22:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955155456001,"66":13472,"121":206,"28":31744,"24":22,"16":18879155814793216,"45":1944288432217298944},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955155456001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:40:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18879155814793216,"km_value":18879155814793.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944288432217298944,"description":"Unknown IO ID 45"} 
[2026-09-08 22:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955155456001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1944288432217298944}} 
[2026-09-08 22:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":177663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:40:07] local.INFO: GPS data processed {"connection_id":177663,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:40:07] local.INFO: Acknowledgment sent {"connection_id":177663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:40:08] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081feb708012d1b0080071f09c8004d00ab26..."} 
[2026-09-08 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081feb708012d1b0080071f09c8004d00ab26..."} 
[2026-09-08 22:40:08] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081feb708012d1b0080071f09c8004d00ab26..."} 
[2026-09-08 22:40:08] local.INFO: Packet analysis {"connection_id":177663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fe"} 
[2026-09-08 22:40:08] local.INFO: Extracted packet for processing {"connection_id":177663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fe"} 
[2026-09-08 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756744320,"raw_latitude":119474632,"longitude_deg":75.674432,"latitude_deg":11.9474632,"altitude":77,"angle":171,"satellites":38,"speed":21,"hex_longitude":"2d1b0080","hex_latitude":"071f09c8","is_valid_coordinates":true} 
[2026-09-08 22:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955156480001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18879602491392000,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944569907193403392,"note":"Value kept but may cause issues"} 
[2026-09-08 22: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-09-08 22:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788887349000,"timestamp_ms":1788887349000,"timestamp_seconds":1788887349,"priority":1,"record_length":96,"hex_timestamp":"000001a081feb708"} 
[2026-09-08 22:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 22:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955156480001,"66":12885,"121":206,"28":31744,"24":21,"16":18879602491392000,"45":1944569907193403392},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955156480001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:40:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18879602491392000,"km_value":18879602491392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944569907193403392,"description":"Unknown IO ID 45"} 
[2026-09-08 22:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955156480001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1944569907193403392}} 
[2026-09-08 22:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":177663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:40:09] local.INFO: GPS data processed {"connection_id":177663,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:40:09] local.INFO: Acknowledgment sent {"connection_id":177663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:40:40] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:40:40] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:40:40] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:40:41] local.INFO: TCP Data received {"connection_id":177663,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081feedb8012d1b0440071eed10004e009b23..."} 
[2026-09-08 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081feedb8012d1b0440071eed10004e009b23..."} 
[2026-09-08 22:40:41] local.INFO: Processing buffer {"connection_id":177663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081feedb8012d1b0440071eed10004e009b23..."} 
[2026-09-08 22:40:41] local.INFO: Packet analysis {"connection_id":177663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081fe"} 
[2026-09-08 22:40:41] local.INFO: Extracted packet for processing {"connection_id":177663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081fe"} 
[2026-09-08 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756745280,"raw_latitude":119467280,"longitude_deg":75.674528,"latitude_deg":11.946728,"altitude":78,"angle":155,"satellites":35,"speed":18,"hex_longitude":"2d1b0440","hex_latitude":"071eed10","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955161344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18879963268644864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945695807097915392,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40: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-09-08 22:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788887363000,"timestamp_ms":1788887363000,"timestamp_seconds":1788887363,"priority":1,"record_length":96,"hex_timestamp":"000001a081feedb8"} 
[2026-09-08 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-09-08 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-08 22:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":177663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":177663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955161344001,"66":13559,"121":206,"28":31744,"24":18,"16":18879963268644864,"45":1945695807097915392},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955161344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:40:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18879963268644864,"km_value":18879963268644.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945695807097915392,"description":"Unknown IO ID 45"} 
[2026-09-08 22:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955161344001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1945695807097915392}} 
[2026-09-08 22:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":177663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:40:41] local.INFO: GPS data processed {"connection_id":177663,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:40:41] local.INFO: Acknowledgment sent {"connection_id":177663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:40:46] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:40:46] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:40:46] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:40:47] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:40:47] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:40:47] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:40:47] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:40: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-09-08 22:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:40:47] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:40:47] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:40:59] local.INFO: TCP Data received {"connection_id":175134,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:59] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:40:59] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:41:05] local.INFO: TCP Data received {"connection_id":175134,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:41:05] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:41:05] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:41:06] local.INFO: TCP Data received {"connection_id":175134,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff3fc0012d1b2d40071ee3c0004800811f..."} 
[2026-09-08 22:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff3fc0012d1b2d40071ee3c0004800811f..."} 
[2026-09-08 22:41:06] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff3fc0012d1b2d40071ee3c0004800811f..."} 
[2026-09-08 22:41:06] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:06] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756755776,"raw_latitude":119464896,"longitude_deg":75.6755776,"latitude_deg":11.9464896,"altitude":72,"angle":129,"satellites":31,"speed":20,"hex_longitude":"2d1b2d40","hex_latitude":"071ee3c0","is_valid_coordinates":true} 
[2026-09-08 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955169280001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18880543089229824,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956673331187619840,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:06] 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-09-08 22:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788887384000,"timestamp_ms":1788887384000,"timestamp_seconds":1788887384,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff3fc0"} 
[2026-09-08 22:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 22:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955169280001,"66":13515,"121":206,"28":31744,"24":20,"16":18880543089229824,"45":1956673331187619840},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955169280001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:41:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18880543089229824,"km_value":18880543089229.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956673331187619840,"description":"Unknown IO ID 45"} 
[2026-09-08 22:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955169280001,"power":13515,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1956673331187619840}} 
[2026-09-08 22:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:41:06] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:41:06] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:41:18] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:41:18] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:41:18] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:18] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:41: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-09-08 22:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:41:18] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:41:18] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:41:40] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:41:40] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:41:40] local.INFO: IMEI packet received {"connection_id":174867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":174867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:41:42] local.INFO: TCP Data received {"connection_id":175134,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff89f8012d1b4980071eccb80047008821..."} 
[2026-09-08 22:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff89f8012d1b4980071eccb80047008821..."} 
[2026-09-08 22:41:42] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff89f8012d1b4980071eccb80047008821..."} 
[2026-09-08 22:41:42] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:42] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756763008,"raw_latitude":119459000,"longitude_deg":75.6763008,"latitude_deg":11.9459,"altitude":71,"angle":136,"satellites":33,"speed":21,"hex_longitude":"2d1b4980","hex_latitude":"071eccb8","is_valid_coordinates":true} 
[2026-09-08 22:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955170304001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18880994060795904,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958291812303224832,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:42] 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-09-08 22:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788887403000,"timestamp_ms":1788887403000,"timestamp_seconds":1788887403,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff89f8"} 
[2026-09-08 22:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 22:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955170304001,"66":13515,"121":206,"28":31744,"24":21,"16":18880994060795904,"45":1958291812303224832},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-08 22:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955170304001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18880994060795904,"km_value":18880994060795.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958291812303224832,"description":"Unknown IO ID 45"} 
[2026-09-08 22:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955170304001,"power":13515,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1958291812303224832}} 
[2026-09-08 22:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:41:42] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:41:42] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:41:46] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:41:46] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:41:46] local.INFO: IMEI packet received {"connection_id":174867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:41:46] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:41:46] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:41:46] local.INFO: Packet analysis {"connection_id":174867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:46] local.INFO: Extracted packet for processing {"connection_id":174867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":174867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:41:46] local.INFO: GPS data processed {"connection_id":174867,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:41:46] local.INFO: Acknowledgment sent {"connection_id":174867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:42:00] local.INFO: TCP Data received {"connection_id":176212,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:00] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:00] local.INFO: IMEI packet received {"connection_id":176212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":176212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:42:00] local.INFO: TCP Data received {"connection_id":176212,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:00] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:00] local.INFO: IMEI packet received {"connection_id":176212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":176212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:42:02] local.INFO: TCP Data received {"connection_id":176212,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:02] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:02] local.INFO: IMEI packet received {"connection_id":176212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":176212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:42:05] local.INFO: TCP Data received {"connection_id":176212,"ip":"117.224.11.122","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:05] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:42:05] local.INFO: IMEI packet received {"connection_id":176212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":176212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:42:06] local.INFO: TCP Data received {"connection_id":176212,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a082009f50012d1b9c40071e7c500066009e21..."} 
[2026-09-08 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082009f50012d1b9c40071e7c500066009e21..."} 
[2026-09-08 22:42:06] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082009f50012d1b9c40071e7c500066009e21..."} 
[2026-09-08 22:42:06] local.INFO: Packet analysis {"connection_id":176212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08200"} 
[2026-09-08 22:42:06] local.INFO: Extracted packet for processing {"connection_id":176212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08200"} 
[2026-09-08 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756784192,"raw_latitude":119438416,"longitude_deg":75.6784192,"latitude_deg":11.9438416,"altitude":102,"angle":158,"satellites":33,"speed":22,"hex_longitude":"2d1b9c40","hex_latitude":"071e7c50","is_valid_coordinates":true} 
[2026-09-08 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955189760001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18882617558433792,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987283734899466240,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788887474000,"timestamp_ms":1788887474000,"timestamp_seconds":1788887474,"priority":1,"record_length":96,"hex_timestamp":"000001a082009f50"} 
[2026-09-08 22:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-08 22:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955189760001,"66":13559,"30":206,"28":31744,"24":22,"16":18882617558433792,"45":1987283734899466240},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,28,24,16,45]} 
[2026-09-08 22:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955189760001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:42:06] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-08 22:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18882617558433792,"km_value":18882617558433.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987283734899466240,"description":"Unknown IO ID 45"} 
[2026-09-08 22:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955189760001,"power":13559,"unknown_30":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1987283734899466240}} 
[2026-09-08 22:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":176212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:42:06] local.INFO: GPS data processed {"connection_id":176212,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:42:06] local.INFO: Acknowledgment sent {"connection_id":176212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:42:18] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:42:18] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:42:18] local.INFO: Packet analysis {"connection_id":174867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:42:18] local.INFO: Extracted packet for processing {"connection_id":174867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":174867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:42:18] local.INFO: GPS data processed {"connection_id":174867,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:42:18] local.INFO: Acknowledgment sent {"connection_id":174867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:42:37] local.INFO: TCP Data received {"connection_id":176212,"ip":"117.224.11.122","data_length":795,"data_hex":"000000000000030f8e0a000001a08200a720012d1b9e80071e78900066009221..."} 
[2026-09-08 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08200a720012d1b9e80071e78900066009221..."} 
[2026-09-08 22:42:37] local.INFO: Processing buffer {"connection_id":176212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08200a720012d1b9e80071e78900066009221..."} 
[2026-09-08 22:42:37] local.INFO: Packet analysis {"connection_id":176212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08200"} 
[2026-09-08 22:42:37] local.INFO: Extracted packet for processing {"connection_id":176212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08200"} 
[2026-09-08 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756784768,"raw_latitude":119437456,"longitude_deg":75.6784768,"latitude_deg":11.9437456,"altitude":102,"angle":146,"satellites":33,"speed":21,"hex_longitude":"2d1b9e80","hex_latitude":"071e7890","is_valid_coordinates":true} 
[2026-09-08 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955193344001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18882669098041344,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989535534711328768,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788887476000,"timestamp_ms":1788887476000,"timestamp_seconds":1788887476,"priority":1,"record_length":96,"hex_timestamp":"000001a08200a720"} 
[2026-09-08 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.11.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955193344001,"66":13580,"30":206,"28":31744,"24":21,"16":18882669098041344,"45":1989535534711328768},"client_ip":"117.224.11.122","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,28,24,16,45]} 
[2026-09-08 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955193344001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:42:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-08 22:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-08 22:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18882669098041344,"km_value":18882669098041.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989535534711328768,"description":"Unknown IO ID 45"} 
[2026-09-08 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955193344001,"power":13580,"unknown_30":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1989535534711328768}} 
[2026-09-08 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":176212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:42:37] local.INFO: GPS data processed {"connection_id":176212,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:42:37] local.INFO: Acknowledgment sent {"connection_id":176212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:42:40] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:42:40] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:42:40] local.INFO: IMEI packet received {"connection_id":177664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":177664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:42:46] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:42:46] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:42:46] local.INFO: IMEI packet received {"connection_id":177664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":177664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:42:46] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:42:46] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:42:46] local.INFO: Packet analysis {"connection_id":177664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:42:46] local.INFO: Extracted packet for processing {"connection_id":177664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":177664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:42:46] local.INFO: GPS data processed {"connection_id":177664,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:42:46] local.INFO: Acknowledgment sent {"connection_id":177664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:43:18] local.INFO: TCP Data received {"connection_id":177664,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:43:18] local.INFO: Processing buffer {"connection_id":177664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:43:18] local.INFO: Packet analysis {"connection_id":177664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:43:18] local.INFO: Extracted packet for processing {"connection_id":177664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:43:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":177664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:43:18] local.INFO: GPS data processed {"connection_id":177664,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:43:18] local.INFO: Acknowledgment sent {"connection_id":177664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:43:40] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:43:40] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:43:40] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:43:46] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:43:46] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:43:46] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:43:47] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:43:47] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:43:47] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:43:47] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:43:47] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:43:47] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:44:19] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:19] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:19] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:44:19] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:44:19] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:44:19] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:44:46] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:44:46] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:44:46] local.INFO: IMEI packet received {"connection_id":177666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":177666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:44:51] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:44:51] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:44:51] local.INFO: IMEI packet received {"connection_id":177666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":177666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:44:52] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:52] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:52] local.INFO: Packet analysis {"connection_id":177666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:44:52] local.INFO: Extracted packet for processing {"connection_id":177666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":177666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":177666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:44:52] local.INFO: GPS data processed {"connection_id":177666,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:44:52] local.INFO: Acknowledgment sent {"connection_id":177666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:44:57] local.INFO: TCP Data received {"connection_id":177666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:57] local.INFO: Processing buffer {"connection_id":177666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a081ff2080012d34c38006aa42c80005005d2b..."} 
[2026-09-08 22:44:57] local.INFO: Packet analysis {"connection_id":177666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:44:57] local.INFO: Extracted packet for processing {"connection_id":177666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a081ff"} 
[2026-09-08 22:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955091200001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-08 22:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-08 22:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788887376000,"timestamp_ms":1788887376000,"timestamp_seconds":1788887376,"priority":1,"record_length":96,"hex_timestamp":"000001a081ff2080"} 
[2026-09-08 22:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":177666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":177666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955091200001,"66":25625,"200":0,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-08 22:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955091200001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955091200001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":177666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:44:57] local.INFO: GPS data processed {"connection_id":177666,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:44:57] local.INFO: Acknowledgment sent {"connection_id":177666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:45:40] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:45:41] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:45:41] local.INFO: IMEI packet received {"connection_id":175136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":175136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:45:43] local.INFO: TCP Data received {"connection_id":176214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:45:43] local.INFO: Processing buffer {"connection_id":176214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:45:43] local.INFO: IMEI packet received {"connection_id":176214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:45:46] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:45:46] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:45:46] local.INFO: IMEI packet received {"connection_id":175136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":175136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:45:46] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:45:46] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:45:46] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:45:46] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:45:46] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:45:46] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:46:16] local.INFO: TCP Data received {"connection_id":174869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:16] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:16] local.INFO: IMEI packet received {"connection_id":174869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":174869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:46:18] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:46:18] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:46:18] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:46:18] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:46: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-09-08 22:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:46:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:46:18] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:46:18] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:46:20] local.INFO: TCP Data received {"connection_id":174869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:20] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:20] local.INFO: IMEI packet received {"connection_id":174869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":174869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:46:25] local.INFO: TCP Data received {"connection_id":174869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:25] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:25] local.INFO: IMEI packet received {"connection_id":174869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":174869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:46:26] local.INFO: TCP Data received {"connection_id":174869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082043160012d1cf780071de658005b00c122..."} 
[2026-09-08 22:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082043160012d1cf780071de658005b00c122..."} 
[2026-09-08 22:46:26] local.INFO: Processing buffer {"connection_id":174869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082043160012d1cf780071de658005b00c122..."} 
[2026-09-08 22:46:26] local.INFO: Packet analysis {"connection_id":174869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08204"} 
[2026-09-08 22:46:26] local.INFO: Extracted packet for processing {"connection_id":174869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08204"} 
[2026-09-08 22:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756873088,"raw_latitude":119400024,"longitude_deg":75.6873088,"latitude_deg":11.9400024,"altitude":91,"angle":193,"satellites":34,"speed":21,"hex_longitude":"2d1cf780","hex_latitude":"071de658","is_valid_coordinates":true} 
[2026-09-08 22:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955249664001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18888969815064576,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2090444313854044160,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788887708000,"timestamp_ms":1788887708000,"timestamp_seconds":1788887708,"priority":1,"record_length":96,"hex_timestamp":"000001a082043160"} 
[2026-09-08 22:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 22:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955249664001,"66":13580,"249":206,"187":32768,"24":21,"16":18888969815064576,"45":2090444313854044160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,187,24,16,45]} 
[2026-09-08 22:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955249664001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:46:26] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-08 22:46:26] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-09-08 22:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18888969815064576,"km_value":18888969815064.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2090444313854044160,"description":"Unknown IO ID 45"} 
[2026-09-08 22:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955249664001,"power":13580,"unknown_249":206,"unknown_187":32768,"ignition":21,"odometer":null,"unknown_45":2090444313854044160}} 
[2026-09-08 22:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":174869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:46:26] local.INFO: GPS data processed {"connection_id":174869,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:46:26] local.INFO: Acknowledgment sent {"connection_id":174869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:46:40] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:46:40] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:46:40] local.INFO: IMEI packet received {"connection_id":177667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":177667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:46:46] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:46:46] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:46:46] local.INFO: IMEI packet received {"connection_id":177667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":177667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:46:47] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:46:47] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:46:47] local.INFO: Packet analysis {"connection_id":177667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:46:47] local.INFO: Extracted packet for processing {"connection_id":177667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":177667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:46:47] local.INFO: GPS data processed {"connection_id":177667,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:46:47] local.INFO: Acknowledgment sent {"connection_id":177667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:46:58] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:58] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:58] local.INFO: IMEI packet received {"connection_id":177668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":177668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:46:59] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:59] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:46:59] local.INFO: IMEI packet received {"connection_id":177668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":177668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:47:04] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:04] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:04] local.INFO: IMEI packet received {"connection_id":177668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":177668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:47:05] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082052778012d1d5640071dad10006a007221..."} 
[2026-09-08 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082052778012d1d5640071dad10006a007221..."} 
[2026-09-08 22:47:05] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082052778012d1d5640071dad10006a007221..."} 
[2026-09-08 22:47:05] local.INFO: Packet analysis {"connection_id":177668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08205"} 
[2026-09-08 22:47:05] local.INFO: Extracted packet for processing {"connection_id":177668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08205"} 
[2026-09-08 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756897344,"raw_latitude":119385360,"longitude_deg":75.6897344,"latitude_deg":11.938536,"altitude":106,"angle":114,"satellites":33,"speed":20,"hex_longitude":"2d1d5640","hex_latitude":"071dad10","is_valid_coordinates":true} 
[2026-09-08 22:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955268096001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18890868190609408,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2110921618404390912,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788887771000,"timestamp_ms":1788887771000,"timestamp_seconds":1788887771,"priority":1,"record_length":96,"hex_timestamp":"000001a082052778"} 
[2026-09-08 22:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-08 22:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955268096001,"66":12374,"109":206,"83":41984,"24":20,"16":18890868190609408,"45":2110921618404390912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 22:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955268096001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18890868190609408,"km_value":18890868190609.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2110921618404390912,"description":"Unknown IO ID 45"} 
[2026-09-08 22:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955268096001,"power":12374,"unknown_109":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2110921618404390912}} 
[2026-09-08 22:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":177668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:47:05] local.INFO: GPS data processed {"connection_id":177668,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:47:05] local.INFO: Acknowledgment sent {"connection_id":177668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:47:18] local.INFO: TCP Data received {"connection_id":177667,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:47:18] local.INFO: Processing buffer {"connection_id":177667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:47:18] local.INFO: Packet analysis {"connection_id":177667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:47:18] local.INFO: Extracted packet for processing {"connection_id":177667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":177667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:47:18] local.INFO: GPS data processed {"connection_id":177667,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:47:18] local.INFO: Acknowledgment sent {"connection_id":177667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:47:36] local.INFO: TCP Data received {"connection_id":177668,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082053330012d1d5ac0071daa68006c007e21..."} 
[2026-09-08 22:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082053330012d1d5ac0071daa68006c007e21..."} 
[2026-09-08 22:47:36] local.INFO: Processing buffer {"connection_id":177668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082053330012d1d5ac0071daa68006c007e21..."} 
[2026-09-08 22:47:36] local.INFO: Packet analysis {"connection_id":177668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08205"} 
[2026-09-08 22:47:36] local.INFO: Extracted packet for processing {"connection_id":177668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08205"} 
[2026-09-08 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756898496,"raw_latitude":119384680,"longitude_deg":75.6898496,"latitude_deg":11.938468,"altitude":108,"angle":126,"satellites":33,"speed":13,"hex_longitude":"2d1d5ac0","hex_latitude":"071daa68","is_valid_coordinates":true} 
[2026-09-08 22:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955269376001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18890932615118848,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2113947474403856384,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788887774000,"timestamp_ms":1788887774000,"timestamp_seconds":1788887774,"priority":1,"record_length":96,"hex_timestamp":"000001a082053330"} 
[2026-09-08 22:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-08 22:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955269376001,"66":12809,"109":206,"83":41984,"24":13,"16":18890932615118848,"45":2113947474403856384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-08 22:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955269376001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18890932615118848,"km_value":18890932615118.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2113947474403856384,"description":"Unknown IO ID 45"} 
[2026-09-08 22:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955269376001,"power":12809,"unknown_109":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2113947474403856384}} 
[2026-09-08 22:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":177668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:47:36] local.INFO: GPS data processed {"connection_id":177668,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:47:36] local.INFO: Acknowledgment sent {"connection_id":177668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:47:40] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:47:40] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:47:40] local.INFO: IMEI packet received {"connection_id":176216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":176216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:47:46] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:47:46] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:47:46] local.INFO: IMEI packet received {"connection_id":176216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":176216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:47:46] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:47:46] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:47:46] local.INFO: Packet analysis {"connection_id":176216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:47:46] local.INFO: Extracted packet for processing {"connection_id":176216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:47: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-09-08 22:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:47:46] local.INFO: GPS data processed {"connection_id":176216,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:47:46] local.INFO: Acknowledgment sent {"connection_id":176216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:47:58] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:58] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:58] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:47:59] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:59] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:47:59] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:48:05] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:05] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:05] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:48:05] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082054aa0012d1d63c0071da5a00072007323..."} 
[2026-09-08 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082054aa0012d1d63c0071da5a00072007323..."} 
[2026-09-08 22:48:05] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082054aa0012d1d63c0071da5a00072007323..."} 
[2026-09-08 22:48:05] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08205"} 
[2026-09-08 22:48:05] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08205"} 
[2026-09-08 22:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756900800,"raw_latitude":119383456,"longitude_deg":75.69008,"latitude_deg":11.9383456,"altitude":114,"angle":115,"satellites":35,"speed":19,"hex_longitude":"2d1d63c0","hex_latitude":"071da5a0","is_valid_coordinates":true} 
[2026-09-08 22:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955270144001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18891052874203136,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115214111798880256,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788887780000,"timestamp_ms":1788887780000,"timestamp_seconds":1788887780,"priority":1,"record_length":96,"hex_timestamp":"000001a082054aa0"} 
[2026-09-08 22:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2847932501,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2181337864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":130,"raw_value":328516487245264256,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2818649372,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540097932381779,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2139051494719129888,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,109,83,24,241,157,16,29,160,39,45,64,173,106,33,10,66,19,128,175,101,225,1,240,181,227,28,130,4,113,205,26,162,255,56,34,239,52,2,67,7,20,164,18],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":996999374,"validated":0}]} 
[2026-09-08 22:48:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7782358836296089600,"timestamp_seconds":7782358836296090.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955270144001,"66":12917,"108":206,"83":41984,"24":19,"16":18891052874203136,"45":2115214111798880256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 22:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955270144001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18891052874203136,"km_value":18891052874203.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115214111798880256,"description":"Unknown IO ID 45"} 
[2026-09-08 22:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955270144001,"power":12917,"unknown_108":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2115214111798880256}} 
[2026-09-08 22:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:48:06] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:48:06] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:48:18] local.INFO: TCP Data received {"connection_id":176216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:48:18] local.INFO: Processing buffer {"connection_id":176216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:48:18] local.INFO: Packet analysis {"connection_id":176216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:48:18] local.INFO: Extracted packet for processing {"connection_id":176216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":176216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:48:18] local.INFO: GPS data processed {"connection_id":176216,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:48:18] local.INFO: Acknowledgment sent {"connection_id":176216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:48:36] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082067f38012d1e2a40071da8080060005c22..."} 
[2026-09-08 22:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082067f38012d1e2a40071da8080060005c22..."} 
[2026-09-08 22:48:36] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082067f38012d1e2a40071da8080060005c22..."} 
[2026-09-08 22:48:36] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08206"} 
[2026-09-08 22:48:36] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08206"} 
[2026-09-08 22:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756951616,"raw_latitude":119384072,"longitude_deg":75.6951616,"latitude_deg":11.9384072,"altitude":96,"angle":92,"satellites":34,"speed":32,"hex_longitude":"2d1e2a40","hex_latitude":"071da808","is_valid_coordinates":true} 
[2026-09-08 22:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955290112001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18893582609940480,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2167498088722556928,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788887859000,"timestamp_ms":1788887859000,"timestamp_seconds":1788887859,"priority":1,"record_length":96,"hex_timestamp":"000001a082067f38"} 
[2026-09-08 22:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 22:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955290112001,"66":13428,"108":206,"83":41984,"24":32,"16":18893582609940480,"45":2167498088722556928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 22:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955290112001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18893582609940480,"km_value":18893582609940.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2167498088722556928,"description":"Unknown IO ID 45"} 
[2026-09-08 22:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955290112001,"power":13428,"unknown_108":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2167498088722556928}} 
[2026-09-08 22:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:48:36] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:48:36] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:48:40] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:48:40] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:48:40] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:48:46] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:48:46] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:48:46] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:48:47] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:48:47] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:48:47] local.INFO: Packet analysis {"connection_id":175137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:48:47] local.INFO: Extracted packet for processing {"connection_id":175137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":175137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:48:47] local.INFO: GPS data processed {"connection_id":175137,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:48:47] local.INFO: Acknowledgment sent {"connection_id":175137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:48:58] local.INFO: TCP Data received {"connection_id":174870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:58] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:58] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:48:59] local.INFO: TCP Data received {"connection_id":174870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:59] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:48:59] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:49:00] local.INFO: TCP Data received {"connection_id":174870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:49:00] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:49:00] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:49:00] local.INFO: TCP Data received {"connection_id":174870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:49:00] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:49:00] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:49:18] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:49:18] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:49:18] local.INFO: Packet analysis {"connection_id":175137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:49:18] local.INFO: Extracted packet for processing {"connection_id":175137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:49: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-09-08 22:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":175137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:49:18] local.INFO: GPS data processed {"connection_id":175137,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:49:18] local.INFO: Acknowledgment sent {"connection_id":175137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:49:46] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:49:46] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:49:46] local.INFO: IMEI packet received {"connection_id":174871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":174871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:49:51] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:49:51] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:49:51] local.INFO: IMEI packet received {"connection_id":174871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":174871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:49:52] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:49:52] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:49:52] local.INFO: Packet analysis {"connection_id":174871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:49:52] local.INFO: Extracted packet for processing {"connection_id":174871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":174871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:49:52] local.INFO: GPS data processed {"connection_id":174871,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:49:52] local.INFO: Acknowledgment sent {"connection_id":174871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:50:00] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:00] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:00] local.INFO: Packet analysis {"connection_id":174871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:50:00] local.INFO: Extracted packet for processing {"connection_id":174871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:50:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":174871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:50:00] local.INFO: GPS data processed {"connection_id":174871,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:50:00] local.INFO: Acknowledgment sent {"connection_id":174871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:50:01] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:01] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08203b848012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:01] local.INFO: Packet analysis {"connection_id":174871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:50:01] local.INFO: Extracted packet for processing {"connection_id":174871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08203"} 
[2026-09-08 22:50:01] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955168256001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788887677000,"timestamp_ms":1788887677000,"timestamp_seconds":1788887677,"priority":1,"record_length":96,"hex_timestamp":"000001a08203b848"} 
[2026-09-08 22:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955168256001,"66":25647,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955168256001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:50:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:50:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955168256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":174871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:50:01] local.INFO: GPS data processed {"connection_id":174871,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:50:01] local.INFO: Acknowledgment sent {"connection_id":174871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:50:41] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:50:41] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:50:41] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:50:46] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:50:46] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:50:46] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:50:47] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:47] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:50:47] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:50:47] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:50:47] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:50:47] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:51:09] local.INFO: TCP Data received {"connection_id":177670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:51:09] local.INFO: Processing buffer {"connection_id":177670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:51:09] local.INFO: IMEI packet received {"connection_id":177670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":177670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:51:18] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:51:18] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:51:18] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:51:18] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:51: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-09-08 22:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:51:18] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:51:18] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:51:40] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:51:40] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:51:40] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:51:46] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:51:46] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:51:46] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:51:47] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:51:47] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:51:47] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:51:47] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:51:47] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:51:47] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:51:49] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:51:49] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:51:49] local.INFO: IMEI packet received {"connection_id":175138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":175138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:52:18] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:52:18] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:52:18] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:52:18] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:52: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-09-08 22:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:52:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:52:18] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:52:18] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:52:40] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:52:40] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:52:40] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:52:46] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:52:46] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:52:46] local.INFO: IMEI packet received {"connection_id":176221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":176221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:52:47] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:52:47] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:52:47] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:52:47] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:52:47] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:52:47] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:53:18] local.INFO: TCP Data received {"connection_id":176221,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:53:18] local.INFO: Processing buffer {"connection_id":176221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:53:18] local.INFO: Packet analysis {"connection_id":176221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:53:18] local.INFO: Extracted packet for processing {"connection_id":176221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":176221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:53:18] local.INFO: GPS data processed {"connection_id":176221,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:53:18] local.INFO: Acknowledgment sent {"connection_id":176221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:53:40] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:53:40] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:53:40] local.INFO: IMEI packet received {"connection_id":177674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":177674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:53:46] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:53:46] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:53:46] local.INFO: IMEI packet received {"connection_id":177674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":177674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:53:47] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:53:47] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:53:47] local.INFO: Packet analysis {"connection_id":177674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:53:47] local.INFO: Extracted packet for processing {"connection_id":177674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":177674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:53:47] local.INFO: GPS data processed {"connection_id":177674,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:53:47] local.INFO: Acknowledgment sent {"connection_id":177674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:54:04] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:54:04] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:54:04] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:54:05] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ab558012d20c840071c7ec0004b009b22..."} 
[2026-09-08 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ab558012d20c840071c7ec0004b009b22..."} 
[2026-09-08 22:54:05] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ab558012d20c840071c7ec0004b009b22..."} 
[2026-09-08 22:54:05] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820a"} 
[2026-09-08 22:54:05] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820a"} 
[2026-09-08 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":757123136,"raw_latitude":119307968,"longitude_deg":75.7123136,"latitude_deg":11.9307968,"altitude":75,"angle":155,"satellites":34,"speed":35,"hex_longitude":"2d20c840","hex_latitude":"071c7ec0","is_valid_coordinates":true} 
[2026-09-08 22:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955361280001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18903907711320064,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2358971441611597824,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888135000,"timestamp_ms":1788888135000,"timestamp_seconds":1788888135,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ab558"} 
[2026-09-08 22:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 22:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955361280001,"66":13091,"57":206,"83":41984,"24":35,"16":18903907711320064,"45":2358971441611597824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 22:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955361280001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:54:05] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 22:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18903907711320064,"km_value":18903907711320.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2358971441611597824,"description":"Unknown IO ID 45"} 
[2026-09-08 22:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955361280001,"power":13091,"unknown_57":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":2358971441611597824}} 
[2026-09-08 22:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:54:05] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:54:05] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:54:18] local.INFO: TCP Data received {"connection_id":177674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:54:18] local.INFO: Processing buffer {"connection_id":177674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:54:18] local.INFO: Packet analysis {"connection_id":177674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:54:18] local.INFO: Extracted packet for processing {"connection_id":177674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":177674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:54:18] local.INFO: GPS data processed {"connection_id":177674,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:54:18] local.INFO: Acknowledgment sent {"connection_id":177674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:54:40] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820be608012d20cec0071bd2380057008521..."} 
[2026-09-08 22:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820be608012d20cec0071bd2380057008521..."} 
[2026-09-08 22:54:40] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820be608012d20cec0071bd2380057008521..."} 
[2026-09-08 22:54:40] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820b"} 
[2026-09-08 22:54:40] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820b"} 
[2026-09-08 22:54:40] local.INFO: GPS Element Parsed {"raw_longitude":757124800,"raw_latitude":119263800,"longitude_deg":75.71248,"latitude_deg":11.92638,"altitude":87,"angle":133,"satellites":33,"speed":22,"hex_longitude":"2d20cec0","hex_latitude":"071bd238","is_valid_coordinates":true} 
[2026-09-08 22:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955382016001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18906093849673728,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363193566250233856,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788888213000,"timestamp_ms":1788888213000,"timestamp_seconds":1788888213,"priority":1,"record_length":96,"hex_timestamp":"000001a0820be608"} 
[2026-09-08 22:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 22:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955382016001,"66":13330,"57":206,"83":41984,"24":22,"16":18906093849673728,"45":2363193566250233856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 22:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955382016001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:54:41] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 22:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18906093849673728,"km_value":18906093849673.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363193566250233856,"description":"Unknown IO ID 45"} 
[2026-09-08 22:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955382016001,"power":13330,"unknown_57":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2363193566250233856}} 
[2026-09-08 22:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:54:41] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:54:41] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:54:46] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:54:46] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:54:46] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:54:51] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:54:51] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:54:51] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:54:51] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:54:51] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082085010012d34c38006aa42c80005005d2d..."} 
[2026-09-08 22:54:51] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:54:51] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08208"} 
[2026-09-08 22:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955245312001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788887978000,"timestamp_ms":1788887978000,"timestamp_seconds":1788887978,"priority":1,"record_length":96,"hex_timestamp":"000001a082085010"} 
[2026-09-08 22:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-08 22:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955245312001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955245312001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955245312001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:54:51] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:54:51] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:55:00] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:00] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:00] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:55:00] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:00] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:00] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:55:03] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:03] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:03] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:55:04] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:04] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:04] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:55:05] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820c18d0012d20e780071bb990005b008c20..."} 
[2026-09-08 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820c18d0012d20e780071bb990005b008c20..."} 
[2026-09-08 22:55:05] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820c18d0012d20e780071bb990005b008c20..."} 
[2026-09-08 22:55:05] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:05] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":757131136,"raw_latitude":119257488,"longitude_deg":75.7131136,"latitude_deg":11.9257488,"altitude":91,"angle":140,"satellites":32,"speed":30,"hex_longitude":"2d20e780","hex_latitude":"071bb990","is_valid_coordinates":true} 
[2026-09-08 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955382528001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18906527641370624,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2364037991180154880,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888226000,"timestamp_ms":1788888226000,"timestamp_seconds":1788888226,"priority":1,"record_length":96,"hex_timestamp":"000001a0820c18d0"} 
[2026-09-08 22:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2181764864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-1438898787609346041,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251819383162167328,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147949578,"corrected_to":0} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3867672660,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1027145934,"corrected_to":0} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4160826656,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57769685261636516,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":28,"raw_value":5992039652120338432,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":29,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":61,"raw_value":4107509718790969344,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,57,83,24,241,157,16,42,160,222,45,192,213,86,33,10,66,214,64,216,206,1,240,203,227,130,27,4,113,205,22,65,104,239,50,2,67,7,38,198,28,29,61,53],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":203,"original":2147949578,"validated":0},{"io_id":205,"original":1027145934,"validated":0}]} 
[2026-09-08 22:55:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269157058081587200,"timestamp_seconds":6269157058081587.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955382528001,"66":13396,"57":206,"83":41984,"24":30,"16":18906527641370624,"45":2364037991180154880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 22:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955382528001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18906527641370624,"km_value":18906527641370.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2364037991180154880,"description":"Unknown IO ID 45"} 
[2026-09-08 22:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955382528001,"power":13396,"unknown_57":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2364037991180154880}} 
[2026-09-08 22:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:55:05] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:55:05] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:55:10] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820c3bf8012d20fb80071ba4900060008120..."} 
[2026-09-08 22:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820c3bf8012d20fb80071ba4900060008120..."} 
[2026-09-08 22:55:10] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820c3bf8012d20fb80071ba4900060008120..."} 
[2026-09-08 22:55:10] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:10] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":757136256,"raw_latitude":119252112,"longitude_deg":75.7136256,"latitude_deg":11.9252112,"altitude":96,"angle":129,"satellites":32,"speed":33,"hex_longitude":"2d20fb80","hex_latitude":"071ba490","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955385856001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18906884123656192,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2371004496852127744,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788888235000,"timestamp_ms":1788888235000,"timestamp_seconds":1788888235,"priority":1,"record_length":96,"hex_timestamp":"000001a0820c3bf8"} 
[2026-09-08 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 22:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955385856001,"66":13515,"57":206,"83":41984,"24":33,"16":18906884123656192,"45":2371004496852127744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955385856001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:55:10] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 22:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18906884123656192,"km_value":18906884123656.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2371004496852127744,"description":"Unknown IO ID 45"} 
[2026-09-08 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955385856001,"power":13515,"unknown_57":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2371004496852127744}} 
[2026-09-08 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:55:10] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:55:10] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:55:23] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:55:23] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:55:23] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:23] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:55:23] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:55:23] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:55:41] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:55:41] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:55:41] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:55:41] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820d1aa0012d219480071b4748007b008220..."} 
[2026-09-08 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820d1aa0012d219480071b4748007b008220..."} 
[2026-09-08 22:55:41] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820d1aa0012d219480071b4748007b008220..."} 
[2026-09-08 22:55:41] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:55:41] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":757175424,"raw_latitude":119228232,"longitude_deg":75.7175424,"latitude_deg":11.9228232,"altitude":123,"angle":130,"satellites":32,"speed":31,"hex_longitude":"2d219480","hex_latitude":"071b4748","is_valid_coordinates":true} 
[2026-09-08 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955400704001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18909156161355776,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2415196068189495296,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788888292000,"timestamp_ms":1788888292000,"timestamp_seconds":1788888292,"priority":1,"record_length":96,"hex_timestamp":"000001a0820d1aa0"} 
[2026-09-08 22:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 22:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955400704001,"66":13417,"132":206,"83":41984,"24":31,"16":18909156161355776,"45":2415196068189495296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-08 22:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955400704001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:55:41] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-08 22:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18909156161355776,"km_value":18909156161355.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2415196068189495296,"description":"Unknown IO ID 45"} 
[2026-09-08 22:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955400704001,"power":13417,"unknown_132":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2415196068189495296}} 
[2026-09-08 22:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:55:41] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:55:41] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:55:46] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:55:46] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:55:46] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:55:46] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:55:46] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:55:46] local.INFO: Packet analysis {"connection_id":175139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:46] local.INFO: Extracted packet for processing {"connection_id":175139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 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-09-08 22:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:55: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-09-08 22:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":175139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:55:46] local.INFO: GPS data processed {"connection_id":175139,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:55:46] local.INFO: Acknowledgment sent {"connection_id":175139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:55:59] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:59] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:55:59] local.INFO: IMEI packet received {"connection_id":174877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":174877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:56:03] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:03] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:03] local.INFO: IMEI packet received {"connection_id":174877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":174877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:56:04] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:04] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:04] local.INFO: IMEI packet received {"connection_id":174877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":174877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:56:05] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820d2270012d219a00071b43a0007c007720..."} 
[2026-09-08 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820d2270012d219a00071b43a0007c007720..."} 
[2026-09-08 22:56:05] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820d2270012d219a00071b43a0007c007720..."} 
[2026-09-08 22:56:05] local.INFO: Packet analysis {"connection_id":174877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:56:05] local.INFO: Extracted packet for processing {"connection_id":174877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":757176832,"raw_latitude":119227296,"longitude_deg":75.7176832,"latitude_deg":11.9227296,"altitude":124,"angle":119,"satellites":32,"speed":31,"hex_longitude":"2d219a00","hex_latitude":"071b43a0","is_valid_coordinates":true} 
[2026-09-08 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955402752001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18909237765734400,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2419699667815581696,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888294000,"timestamp_ms":1788888294000,"timestamp_seconds":1788888294,"priority":1,"record_length":96,"hex_timestamp":"000001a0820d2270"} 
[2026-09-08 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955402752001,"66":13124,"132":206,"83":41984,"24":31,"16":18909237765734400,"45":2419699667815581696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-08 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955402752001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18909237765734400,"km_value":18909237765734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2419699667815581696,"description":"Unknown IO ID 45"} 
[2026-09-08 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955402752001,"power":13124,"unknown_132":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2419699667815581696}} 
[2026-09-08 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":174877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:56:05] local.INFO: GPS data processed {"connection_id":174877,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:56:05] local.INFO: Acknowledgment sent {"connection_id":174877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:56:06] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820d41b0012d21b140071b39b80081006420..."} 
[2026-09-08 22:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820d41b0012d21b140071b39b80081006420..."} 
[2026-09-08 22:56:06] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820d41b0012d21b140071b39b80081006420..."} 
[2026-09-08 22:56:06] local.INFO: Packet analysis {"connection_id":174877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:56:06] local.INFO: Extracted packet for processing {"connection_id":174877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:56:06] local.INFO: GPS Element Parsed {"raw_longitude":757182784,"raw_latitude":119224760,"longitude_deg":75.7182784,"latitude_deg":11.922476,"altitude":129,"angle":100,"satellites":32,"speed":30,"hex_longitude":"2d21b140","hex_latitude":"071b39b8","is_valid_coordinates":true} 
[2026-09-08 22:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955403264001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18909547003379712,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2421247780187250688,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788888302000,"timestamp_ms":1788888302000,"timestamp_seconds":1788888302,"priority":1,"record_length":96,"hex_timestamp":"000001a0820d41b0"} 
[2026-09-08 22:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-08 22:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955403264001,"66":12917,"132":206,"83":41984,"24":30,"16":18909547003379712,"45":2421247780187250688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-08 22:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955403264001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:56:06] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-08 22:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18909547003379712,"km_value":18909547003379.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2421247780187250688,"description":"Unknown IO ID 45"} 
[2026-09-08 22:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955403264001,"power":12917,"unknown_132":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2421247780187250688}} 
[2026-09-08 22:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":174877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:56:06] local.INFO: GPS data processed {"connection_id":174877,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:56:06] local.INFO: Acknowledgment sent {"connection_id":174877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:56:18] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:56:18] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:56:18] local.INFO: Packet analysis {"connection_id":175139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:56:18] local.INFO: Extracted packet for processing {"connection_id":175139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":175139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:56:18] local.INFO: GPS data processed {"connection_id":175139,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:56:18] local.INFO: Acknowledgment sent {"connection_id":175139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:56:39] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820dda08012d221b80071b08280090006825..."} 
[2026-09-08 22:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820dda08012d221b80071b08280090006825..."} 
[2026-09-08 22:56:39] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820dda08012d221b80071b08280090006825..."} 
[2026-09-08 22:56:39] local.INFO: Packet analysis {"connection_id":174877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:56:39] local.INFO: Extracted packet for processing {"connection_id":174877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":757209984,"raw_latitude":119212072,"longitude_deg":75.7209984,"latitude_deg":11.9212072,"altitude":144,"angle":104,"satellites":37,"speed":42,"hex_longitude":"2d221b80","hex_latitude":"071b0828","is_valid_coordinates":true} 
[2026-09-08 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955414528001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18911093191606272,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2454391458691301376,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788888341000,"timestamp_ms":1788888341000,"timestamp_seconds":1788888341,"priority":1,"record_length":96,"hex_timestamp":"000001a0820dda08"} 
[2026-09-08 22:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 22:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955414528001,"66":13428,"55":206,"83":41984,"24":42,"16":18911093191606272,"45":2454391458691301376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 22:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955414528001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:56:39] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 22:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18911093191606272,"km_value":18911093191606.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2454391458691301376,"description":"Unknown IO ID 45"} 
[2026-09-08 22:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955414528001,"power":13428,"unknown_55":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":2454391458691301376}} 
[2026-09-08 22:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":174877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:56:39] local.INFO: GPS data processed {"connection_id":174877,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:56:39] local.INFO: Acknowledgment sent {"connection_id":174877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:56:40] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:56:40] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:56:40] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:56:46] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:56:46] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:56:46] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:56:47] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:56:47] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:56:47] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:56:47] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:56:47] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:56:47] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:56:59] local.INFO: TCP Data received {"connection_id":177676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:59] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:56:59] local.INFO: IMEI packet received {"connection_id":177676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":177676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:57:04] local.INFO: TCP Data received {"connection_id":177676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:57:04] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:57:04] local.INFO: IMEI packet received {"connection_id":177676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":177676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:57:04] local.INFO: TCP Data received {"connection_id":177676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820df560012d223a00071b04280091005a23..."} 
[2026-09-08 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820df560012d223a00071b04280091005a23..."} 
[2026-09-08 22:57:04] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820df560012d223a00071b04280091005a23..."} 
[2026-09-08 22:57:04] local.INFO: Packet analysis {"connection_id":177676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:57:04] local.INFO: Extracted packet for processing {"connection_id":177676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820d"} 
[2026-09-08 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":757217792,"raw_latitude":119211048,"longitude_deg":75.7217792,"latitude_deg":11.9211048,"altitude":145,"angle":90,"satellites":35,"speed":42,"hex_longitude":"2d223a00","hex_latitude":"071b0428","is_valid_coordinates":true} 
[2026-09-08 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955415296001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18911466853761024,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2457698789667383296,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788888348000,"timestamp_ms":1788888348000,"timestamp_seconds":1788888348,"priority":1,"record_length":96,"hex_timestamp":"000001a0820df560"} 
[2026-09-08 22:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-08 22:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":177676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":177676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":177676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955415296001,"66":13330,"55":206,"83":41984,"24":42,"16":18911466853761024,"45":2457698789667383296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 22:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955415296001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:57:04] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 22:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18911466853761024,"km_value":18911466853761.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2457698789667383296,"description":"Unknown IO ID 45"} 
[2026-09-08 22:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955415296001,"power":13330,"unknown_55":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":2457698789667383296}} 
[2026-09-08 22:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":177676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:57:05] local.INFO: GPS data processed {"connection_id":177676,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:57:05] local.INFO: Acknowledgment sent {"connection_id":177676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:57:18] local.INFO: TCP Data received {"connection_id":175141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:57:18] local.INFO: Processing buffer {"connection_id":175141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:57:18] local.INFO: IMEI packet received {"connection_id":175141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":175141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:57:18] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:57:18] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:57:18] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:57:18] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:57: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-09-08 22:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:57:18] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:57:18] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:57:35] local.INFO: TCP Data received {"connection_id":177676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820e14a0012d225e00071b06300090005b1e..."} 
[2026-09-08 22:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820e14a0012d225e00071b06300090005b1e..."} 
[2026-09-08 22:57:35] local.INFO: Processing buffer {"connection_id":177676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820e14a0012d225e00071b06300090005b1e..."} 
[2026-09-08 22:57:35] local.INFO: Packet analysis {"connection_id":177676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820e"} 
[2026-09-08 22:57:35] local.INFO: Extracted packet for processing {"connection_id":177676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820e"} 
[2026-09-08 22:57:35] local.INFO: GPS Element Parsed {"raw_longitude":757227008,"raw_latitude":119211568,"longitude_deg":75.7227008,"latitude_deg":11.9211568,"altitude":144,"angle":91,"satellites":30,"speed":46,"hex_longitude":"2d225e00","hex_latitude":"071b0630","is_valid_coordinates":true} 
[2026-09-08 22:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955417088001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18911904940425216,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2466283776456796160,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788888356000,"timestamp_ms":1788888356000,"timestamp_seconds":1788888356,"priority":1,"record_length":96,"hex_timestamp":"000001a0820e14a0"} 
[2026-09-08 22:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2181923864,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3252106630574849560,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":27,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1027014862,"corrected_to":0} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2281778465,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":123,"raw_value":57769676671701924,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":13,"raw_value":7829509245536059399,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3963394530715113472,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:35] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,55,83,24,241,157,16,47,160,218,45,128,8,144,37,10,66,206,192,12,145,194,1,240,254,227,130,27,4,113,205,29,155,239,31,50,2,67,7,140,30,123,13,61,53],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1027014862,"validated":0}]} 
[2026-09-08 22:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-7998293831836893184,"timestamp_seconds":-7998293831836893.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 22:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":177676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":177676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":177676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955417088001,"66":12667,"55":206,"83":41984,"24":46,"16":18911904940425216,"45":2466283776456796160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,83,24,16,45]} 
[2026-09-08 22:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955417088001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:57:35] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-08 22:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 22:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18911904940425216,"km_value":18911904940425.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2466283776456796160,"description":"Unknown IO ID 45"} 
[2026-09-08 22:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955417088001,"power":12667,"unknown_55":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":2466283776456796160}} 
[2026-09-08 22:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":177676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:57:35] local.INFO: GPS data processed {"connection_id":177676,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:57:35] local.INFO: Acknowledgment sent {"connection_id":177676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:57:40] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:57:40] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:57:40] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:57:45] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:57:45] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:57:45] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:57:46] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:57:47] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:57:47] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:57:47] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:57:47] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:57:47] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:57:49] local.INFO: TCP Data received {"connection_id":177677,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:57:49] local.INFO: Processing buffer {"connection_id":177677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 22:57:49] local.INFO: IMEI packet received {"connection_id":177677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":177677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:57:59] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:57:59] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:57:59] local.INFO: IMEI packet received {"connection_id":177678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":177678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:58:00] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:00] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:00] local.INFO: IMEI packet received {"connection_id":177678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":177678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:58:05] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:05] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:05] local.INFO: IMEI packet received {"connection_id":177678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":177678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:58:05] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820f06d0012d232900071a78400055007423..."} 
[2026-09-08 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820f06d0012d232900071a78400055007423..."} 
[2026-09-08 22:58:05] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820f06d0012d232900071a78400055007423..."} 
[2026-09-08 22:58:05] local.INFO: Packet analysis {"connection_id":177678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820f"} 
[2026-09-08 22:58:05] local.INFO: Extracted packet for processing {"connection_id":177678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820f"} 
[2026-09-08 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":757278976,"raw_latitude":119175232,"longitude_deg":75.7278976,"latitude_deg":11.9175232,"altitude":85,"angle":116,"satellites":35,"speed":35,"hex_longitude":"2d232900","hex_latitude":"071a7840","is_valid_coordinates":true} 
[2026-09-08 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955434496001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18915173410537472,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2531867446021464064,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888418000,"timestamp_ms":1788888418000,"timestamp_seconds":1788888418,"priority":1,"record_length":96,"hex_timestamp":"000001a0820f06d0"} 
[2026-09-08 22:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 22:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955434496001,"66":13417,"137":206,"94":10752,"24":35,"16":18915173410537472,"45":2531867446021464064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 22:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955434496001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:58:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 22:58:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 22:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18915173410537472,"km_value":18915173410537.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2531867446021464064,"description":"Unknown IO ID 45"} 
[2026-09-08 22:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955434496001,"power":13417,"unknown_137":206,"unknown_94":10752,"ignition":35,"odometer":null,"unknown_45":2531867446021464064}} 
[2026-09-08 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":177678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:58:05] local.INFO: GPS data processed {"connection_id":177678,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:58:05] local.INFO: Acknowledgment sent {"connection_id":177678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:58:18] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:58:18] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:58:18] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:58:18] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:58:18] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:58:18] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:58:36] local.INFO: TCP Data received {"connection_id":177678,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820f1670012d233800071a73800053006823..."} 
[2026-09-08 22:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820f1670012d233800071a73800053006823..."} 
[2026-09-08 22:58:36] local.INFO: Processing buffer {"connection_id":177678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820f1670012d233800071a73800053006823..."} 
[2026-09-08 22:58:36] local.INFO: Packet analysis {"connection_id":177678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820f"} 
[2026-09-08 22:58:36] local.INFO: Extracted packet for processing {"connection_id":177678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820f"} 
[2026-09-08 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":757282816,"raw_latitude":119174016,"longitude_deg":75.7282816,"latitude_deg":11.9174016,"altitude":83,"angle":104,"satellites":35,"speed":41,"hex_longitude":"2d233800","hex_latitude":"071a7380","is_valid_coordinates":true} 
[2026-09-08 22:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955435008001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18915366684065792,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2533556295881474048,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788888422000,"timestamp_ms":1788888422000,"timestamp_seconds":1788888422,"priority":1,"record_length":96,"hex_timestamp":"000001a0820f1670"} 
[2026-09-08 22:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 22:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955435008001,"66":13493,"137":206,"94":10752,"24":41,"16":18915366684065792,"45":2533556295881474048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 22:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955435008001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 22:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18915366684065792,"km_value":18915366684065.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2533556295881474048,"description":"Unknown IO ID 45"} 
[2026-09-08 22:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955435008001,"power":13493,"unknown_137":206,"unknown_94":10752,"ignition":41,"odometer":null,"unknown_45":2533556295881474048}} 
[2026-09-08 22:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":177678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:58:36] local.INFO: GPS data processed {"connection_id":177678,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:58:36] local.INFO: Acknowledgment sent {"connection_id":177678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:58:40] local.INFO: TCP Data received {"connection_id":174879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:58:40] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:58:40] local.INFO: IMEI packet received {"connection_id":174879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":174879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:58:46] local.INFO: TCP Data received {"connection_id":174879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:58:46] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:58:46] local.INFO: IMEI packet received {"connection_id":174879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":174879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:58:47] local.INFO: TCP Data received {"connection_id":174879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:58:47] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:58:47] local.INFO: Packet analysis {"connection_id":174879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:58:47] local.INFO: Extracted packet for processing {"connection_id":174879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:58: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-09-08 22:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":174879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:58:47] local.INFO: GPS data processed {"connection_id":174879,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:58:47] local.INFO: Acknowledgment sent {"connection_id":174879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:58:59] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:59] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:58:59] local.INFO: IMEI packet received {"connection_id":174880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":174880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:59:05] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:59:05] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:59:05] local.INFO: IMEI packet received {"connection_id":174880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 22:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":174880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:59:05] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0820f2228012d234400071a6f400052007323..."} 
[2026-09-08 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820f2228012d234400071a6f400052007323..."} 
[2026-09-08 22:59:05] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820f2228012d234400071a6f400052007323..."} 
[2026-09-08 22:59:05] local.INFO: Packet analysis {"connection_id":174880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820f"} 
[2026-09-08 22:59:05] local.INFO: Extracted packet for processing {"connection_id":174880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820f"} 
[2026-09-08 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":757285888,"raw_latitude":119172928,"longitude_deg":75.7285888,"latitude_deg":11.9172928,"altitude":82,"angle":115,"satellites":35,"speed":44,"hex_longitude":"2d234400","hex_latitude":"071a6f40","is_valid_coordinates":true} 
[2026-09-08 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955436032001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18915521302888448,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2537778420531822592,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888425000,"timestamp_ms":1788888425000,"timestamp_seconds":1788888425,"priority":1,"record_length":96,"hex_timestamp":"000001a0820f2228"} 
[2026-09-08 22:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 22:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955436032001,"66":13559,"137":206,"94":10752,"24":44,"16":18915521302888448,"45":2537778420531822592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,94,24,16,45]} 
[2026-09-08 22:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955436032001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 22:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18915521302888448,"km_value":18915521302888.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2537778420531822592,"description":"Unknown IO ID 45"} 
[2026-09-08 22:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955436032001,"power":13559,"unknown_137":206,"unknown_94":10752,"ignition":44,"odometer":null,"unknown_45":2537778420531822592}} 
[2026-09-08 22:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":174880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:59:06] local.INFO: GPS data processed {"connection_id":174880,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:59:06] local.INFO: Acknowledgment sent {"connection_id":174880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:59:19] local.INFO: TCP Data received {"connection_id":174879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:19] local.INFO: Processing buffer {"connection_id":174879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:19] local.INFO: Packet analysis {"connection_id":174879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:59:19] local.INFO: Extracted packet for processing {"connection_id":174879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 22:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 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-09-08 22:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 22:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:59: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-09-08 22:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":174879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:59:19] local.INFO: GPS data processed {"connection_id":174879,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:59:19] local.INFO: Acknowledgment sent {"connection_id":174879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:59:36] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08210c808012d23a5000718f2e0004d008820..."} 
[2026-09-08 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08210c808012d23a5000718f2e0004d008820..."} 
[2026-09-08 22:59:36] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08210c808012d23a5000718f2e0004d008820..."} 
[2026-09-08 22:59:36] local.INFO: Packet analysis {"connection_id":174880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08210"} 
[2026-09-08 22:59:36] local.INFO: Extracted packet for processing {"connection_id":174880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08210"} 
[2026-09-08 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":757310720,"raw_latitude":119075552,"longitude_deg":75.731072,"latitude_deg":11.9075552,"altitude":77,"angle":136,"satellites":32,"speed":30,"hex_longitude":"2d23a500","hex_latitude":"0718f2e0","is_valid_coordinates":true} 
[2026-09-08 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955463936001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18920572184428544,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2567262924317378560,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788888533000,"timestamp_ms":1788888533000,"timestamp_seconds":1788888533,"priority":1,"record_length":96,"hex_timestamp":"000001a08210c808"} 
[2026-09-08 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-08 22:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 22:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955463936001,"66":13015,"139":206,"94":10752,"24":30,"16":18920572184428544,"45":2567262924317378560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955463936001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18920572184428544,"km_value":18920572184428.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2567262924317378560,"description":"Unknown IO ID 45"} 
[2026-09-08 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955463936001,"power":13015,"unknown_139":206,"unknown_94":10752,"ignition":30,"odometer":null,"unknown_45":2567262924317378560}} 
[2026-09-08 22:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":174880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:59:36] local.INFO: GPS data processed {"connection_id":174880,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:59:36] local.INFO: Acknowledgment sent {"connection_id":174880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:59:46] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:59:46] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:59:46] local.INFO: IMEI packet received {"connection_id":176226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 22:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":176226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 22:59:51] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:59:51] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 22:59:51] local.INFO: IMEI packet received {"connection_id":176226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 22:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":176226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 22:59:52] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:52] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:52] local.INFO: Packet analysis {"connection_id":176226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:59:52] local.INFO: Extracted packet for processing {"connection_id":176226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 22:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 22:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":176226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:59:52] local.INFO: GPS data processed {"connection_id":176226,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:59:52] local.INFO: Acknowledgment sent {"connection_id":176226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:59:56] local.INFO: TCP Data received {"connection_id":176226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:56] local.INFO: Processing buffer {"connection_id":176226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0820ce7d8012d34c38006aa42c80005005d2c..."} 
[2026-09-08 22:59:56] local.INFO: Packet analysis {"connection_id":176226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:59:56] local.INFO: Extracted packet for processing {"connection_id":176226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0820c"} 
[2026-09-08 22:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 22: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-09-08 22:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955322368001,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 22:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 22:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788888279000,"timestamp_ms":1788888279000,"timestamp_seconds":1788888279,"priority":1,"record_length":96,"hex_timestamp":"000001a0820ce7d8"} 
[2026-09-08 22:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 22:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 22: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 22:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 22: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-09-08 22:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 22:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 22:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 22:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 22:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 22:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 22:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 22:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955322368001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 22:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 22:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 22:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955322368001,"description":"Unknown IO ID 0"} 
[2026-09-08 22:59:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 22:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 22:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 22:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 22:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955322368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 22:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":176226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 22:59:56] local.INFO: GPS data processed {"connection_id":176226,"processed":1,"errors":0,"total":1} 
[2026-09-08 22:59:56] local.INFO: Acknowledgment sent {"connection_id":176226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 22:59:59] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:59:59] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 22:59:59] local.INFO: IMEI packet received {"connection_id":177679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 22:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":177679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:00:02] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:00:02] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:00:02] local.INFO: IMEI packet received {"connection_id":177679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":177679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:00:04] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:00:04] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:00:04] local.INFO: IMEI packet received {"connection_id":177679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":177679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:00:07] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08210d3c0012d23aa000718ecb8004e00981f..."} 
[2026-09-08 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08210d3c0012d23aa000718ecb8004e00981f..."} 
[2026-09-08 23:00:07] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08210d3c0012d23aa000718ecb8004e00981f..."} 
[2026-09-08 23:00:07] local.INFO: Packet analysis {"connection_id":177679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08210"} 
[2026-09-08 23:00:07] local.INFO: Extracted packet for processing {"connection_id":177679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08210"} 
[2026-09-08 23:00:07] local.INFO: GPS Element Parsed {"raw_longitude":757312000,"raw_latitude":119073976,"longitude_deg":75.7312,"latitude_deg":11.9073976,"altitude":78,"angle":152,"satellites":31,"speed":25,"hex_longitude":"2d23aa00","hex_latitude":"0718ecb8","is_valid_coordinates":true} 
[2026-09-08 23:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955464448001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18920670968676352,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2568459192968077312,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788888536000,"timestamp_ms":1788888536000,"timestamp_seconds":1788888536,"priority":1,"record_length":96,"hex_timestamp":"000001a08210d3c0"} 
[2026-09-08 23:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-08 23:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":177679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955464448001,"66":12841,"139":206,"94":10752,"24":25,"16":18920670968676352,"45":2568459192968077312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 23:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955464448001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:00:07] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 23:00:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18920670968676352,"km_value":18920670968676.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2568459192968077312,"description":"Unknown IO ID 45"} 
[2026-09-08 23:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955464448001,"power":12841,"unknown_139":206,"unknown_94":10752,"ignition":25,"odometer":null,"unknown_45":2568459192968077312}} 
[2026-09-08 23:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":177679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:00:07] local.INFO: GPS data processed {"connection_id":177679,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:00:07] local.INFO: Acknowledgment sent {"connection_id":177679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:00:38] local.INFO: TCP Data received {"connection_id":177679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082119ee0012d236e80071877b8004a00a421..."} 
[2026-09-08 23:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082119ee0012d236e80071877b8004a00a421..."} 
[2026-09-08 23:00:38] local.INFO: Processing buffer {"connection_id":177679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082119ee0012d236e80071877b8004a00a421..."} 
[2026-09-08 23:00:38] local.INFO: Packet analysis {"connection_id":177679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:00:38] local.INFO: Extracted packet for processing {"connection_id":177679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:00:38] local.INFO: GPS Element Parsed {"raw_longitude":757296768,"raw_latitude":119044024,"longitude_deg":75.7296768,"latitude_deg":11.9044024,"altitude":74,"angle":164,"satellites":33,"speed":16,"hex_longitude":"2d236e80","hex_latitude":"071877b8","is_valid_coordinates":true} 
[2026-09-08 23:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955477504001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18922457675071488,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2552766963008864256,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788888588000,"timestamp_ms":1788888588000,"timestamp_seconds":1788888588,"priority":1,"record_length":96,"hex_timestamp":"000001a082119ee0"} 
[2026-09-08 23:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 23:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955477504001,"66":13330,"139":206,"94":10752,"24":16,"16":18922457675071488,"45":2552766963008864256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 23:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955477504001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:00:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 23:00:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18922457675071488,"km_value":18922457675071.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2552766963008864256,"description":"Unknown IO ID 45"} 
[2026-09-08 23:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955477504001,"power":13330,"unknown_139":206,"unknown_94":10752,"ignition":16,"odometer":null,"unknown_45":2552766963008864256}} 
[2026-09-08 23:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":177679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:00:38] local.INFO: GPS data processed {"connection_id":177679,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:00:38] local.INFO: Acknowledgment sent {"connection_id":177679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:00:41] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:00:41] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:00:41] local.INFO: IMEI packet received {"connection_id":174881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":174881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:00:46] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:00:46] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:00:46] local.INFO: IMEI packet received {"connection_id":174881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":174881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:00:48] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:00:48] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:00:48] local.INFO: Packet analysis {"connection_id":174881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:00:48] local.INFO: Extracted packet for processing {"connection_id":174881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":174881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:00:48] local.INFO: GPS data processed {"connection_id":174881,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:00:48] local.INFO: Acknowledgment sent {"connection_id":174881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:01:00] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:00] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:00] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:01:04] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:04] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:04] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:01:04] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:04] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:04] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:01:10] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:10] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:01:10] local.INFO: IMEI packet received {"connection_id":177680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":177680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:01:10] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08211a2c8012d236f0007187658004a009621..."} 
[2026-09-08 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08211a2c8012d236f0007187658004a009621..."} 
[2026-09-08 23:01:10] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08211a2c8012d236f0007187658004a009621..."} 
[2026-09-08 23:01:10] local.INFO: Packet analysis {"connection_id":177680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:10] local.INFO: Extracted packet for processing {"connection_id":177680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:10] local.INFO: GPS Element Parsed {"raw_longitude":757296896,"raw_latitude":119043672,"longitude_deg":75.7296896,"latitude_deg":11.9043672,"altitude":74,"angle":150,"satellites":33,"speed":15,"hex_longitude":"2d236f00","hex_latitude":"07187658","is_valid_coordinates":true} 
[2026-09-08 23:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955478528001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18922479149907968,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2553118806729275392,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788888589000,"timestamp_ms":1788888589000,"timestamp_seconds":1788888589,"priority":1,"record_length":96,"hex_timestamp":"000001a08211a2c8"} 
[2026-09-08 23:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-5721822952898092544,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2182165864,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3252621476894389752,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1804271822,"corrected_to":0} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407147,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57820614983835178,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3285377221549572103,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":29,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":107,"raw_value":-8430511598610671616,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:10] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,139,94,24,241,157,16,57,160,143,45,64,127,75,33,10,66,135,131,76,35,128,1,240,181,227,130,4,113,205,28,69,145,208,34,239,52,2,67,7,86,138,17,29,107,54],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1804271822,"validated":0}]} 
[2026-09-08 23:01:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332442420448591872,"timestamp_seconds":5332442420448592.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 23:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955478528001,"66":13363,"139":206,"94":10752,"24":15,"16":18922479149907968,"45":2553118806729275392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 23:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955478528001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:01:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 23:01:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18922479149907968,"km_value":18922479149907.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2553118806729275392,"description":"Unknown IO ID 45"} 
[2026-09-08 23:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955478528001,"power":13363,"unknown_139":206,"unknown_94":10752,"ignition":15,"odometer":null,"unknown_45":2553118806729275392}} 
[2026-09-08 23:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":177680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:01:10] local.INFO: GPS data processed {"connection_id":177680,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:01:10] local.INFO: Acknowledgment sent {"connection_id":177680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:01:12] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08211b268012d23710007187240004900a31f..."} 
[2026-09-08 23:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08211b268012d23710007187240004900a31f..."} 
[2026-09-08 23:01:12] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08211b268012d23710007187240004900a31f..."} 
[2026-09-08 23:01:12] local.INFO: Packet analysis {"connection_id":177680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:12] local.INFO: Extracted packet for processing {"connection_id":177680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:12] local.INFO: GPS Element Parsed {"raw_longitude":757297408,"raw_latitude":119042624,"longitude_deg":75.7297408,"latitude_deg":11.9042624,"altitude":73,"angle":163,"satellites":31,"speed":10,"hex_longitude":"2d237100","hex_latitude":"07187240","is_valid_coordinates":true} 
[2026-09-08 23:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955478784001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18922534984482816,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2553259544217540608,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788888593000,"timestamp_ms":1788888593000,"timestamp_seconds":1788888593,"priority":1,"record_length":96,"hex_timestamp":"000001a08211b268"} 
[2026-09-08 23:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-08 23:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":177680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":177680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":177680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955478784001,"66":13276,"139":206,"94":10752,"24":10,"16":18922534984482816,"45":2553259544217540608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 23:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955478784001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:01:12] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 23:01:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18922534984482816,"km_value":18922534984482.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2553259544217540608,"description":"Unknown IO ID 45"} 
[2026-09-08 23:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955478784001,"power":13276,"unknown_139":206,"unknown_94":10752,"ignition":10,"odometer":null,"unknown_45":2553259544217540608}} 
[2026-09-08 23:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":177680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:01:12] local.INFO: GPS data processed {"connection_id":177680,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:01:12] local.INFO: Acknowledgment sent {"connection_id":177680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:01:19] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:01:19] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:01:19] local.INFO: Packet analysis {"connection_id":174881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:19] local.INFO: Extracted packet for processing {"connection_id":174881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":174881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:01:19] local.INFO: GPS data processed {"connection_id":174881,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:01:19] local.INFO: Acknowledgment sent {"connection_id":174881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:01:40] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:01:40] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:01:40] local.INFO: IMEI packet received {"connection_id":177681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":177681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:01:43] local.INFO: TCP Data received {"connection_id":177680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821279a0012d23b7c007181a80005a006320..."} 
[2026-09-08 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821279a0012d23b7c007181a80005a006320..."} 
[2026-09-08 23:01:43] local.INFO: Processing buffer {"connection_id":177680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821279a0012d23b7c007181a80005a006320..."} 
[2026-09-08 23:01:43] local.INFO: Packet analysis {"connection_id":177680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:01:43] local.INFO: Extracted packet for processing {"connection_id":177680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:01:43] local.INFO: GPS Element Parsed {"raw_longitude":757315520,"raw_latitude":119020160,"longitude_deg":75.731552,"latitude_deg":11.902016,"altitude":90,"angle":99,"satellites":32,"speed":32,"hex_longitude":"2d23b7c0","hex_latitude":"07181a80","is_valid_coordinates":true} 
[2026-09-08 23:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955492096001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18924167072055296,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2571203573976897536,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788888644000,"timestamp_ms":1788888644000,"timestamp_seconds":1788888644,"priority":1,"record_length":96,"hex_timestamp":"000001a0821279a0"} 
[2026-09-08 23:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 23:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955492096001,"66":13450,"139":206,"94":10752,"24":32,"16":18924167072055296,"45":2571203573976897536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 23:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955492096001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:01:43] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 23:01:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18924167072055296,"km_value":18924167072055.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2571203573976897536,"description":"Unknown IO ID 45"} 
[2026-09-08 23:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955492096001,"power":13450,"unknown_139":206,"unknown_94":10752,"ignition":32,"odometer":null,"unknown_45":2571203573976897536}} 
[2026-09-08 23:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":177680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:01:44] local.INFO: GPS data processed {"connection_id":177680,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:01:44] local.INFO: Acknowledgment sent {"connection_id":177680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:01:46] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:01:46] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:01:46] local.INFO: IMEI packet received {"connection_id":177681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":177681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:01:47] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:01:47] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:01:47] local.INFO: Packet analysis {"connection_id":177681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:47] local.INFO: Extracted packet for processing {"connection_id":177681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":177681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:01:47] local.INFO: GPS data processed {"connection_id":177681,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:01:47] local.INFO: Acknowledgment sent {"connection_id":177681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:02:00] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:00] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:00] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:02:00] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:00] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:00] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:02:05] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:05] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:02:05] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:02:05] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821298e0012d23d400071811e8005c007020..."} 
[2026-09-08 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821298e0012d23d400071811e8005c007020..."} 
[2026-09-08 23:02:05] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821298e0012d23d400071811e8005c007020..."} 
[2026-09-08 23:02:05] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:02:05] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":757322752,"raw_latitude":119017960,"longitude_deg":75.7322752,"latitude_deg":11.901796,"altitude":92,"angle":112,"satellites":32,"speed":35,"hex_longitude":"2d23d400","hex_latitude":"071811e8","is_valid_coordinates":true} 
[2026-09-08 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955492864001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18924527849308160,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2573736848767221760,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888652000,"timestamp_ms":1788888652000,"timestamp_seconds":1788888652,"priority":1,"record_length":96,"hex_timestamp":"000001a0821298e0"} 
[2026-09-08 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955492864001,"66":13493,"139":206,"94":10752,"24":35,"16":18924527849308160,"45":2573736848767221760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-08 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955492864001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18924527849308160,"km_value":18924527849308.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2573736848767221760,"description":"Unknown IO ID 45"} 
[2026-09-08 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955492864001,"power":13493,"unknown_139":206,"unknown_94":10752,"ignition":35,"odometer":null,"unknown_45":2573736848767221760}} 
[2026-09-08 23:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:02:06] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:02:06] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:02:06] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08212b438012d23eb0007180630005d007c24..."} 
[2026-09-08 23:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08212b438012d23eb0007180630005d007c24..."} 
[2026-09-08 23:02:06] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08212b438012d23eb0007180630005d007c24..."} 
[2026-09-08 23:02:06] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:02:06] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":757328640,"raw_latitude":119014960,"longitude_deg":75.732864,"latitude_deg":11.901496,"altitude":93,"angle":124,"satellites":36,"speed":37,"hex_longitude":"2d23eb00","hex_latitude":"07180630","is_valid_coordinates":true} 
[2026-09-08 23:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955494912001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18924841381920768,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2581688516858734592,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788888659000,"timestamp_ms":1788888659000,"timestamp_seconds":1788888659,"priority":1,"record_length":96,"hex_timestamp":"000001a08212b438"} 
[2026-09-08 23:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 23:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955494912001,"66":13352,"142":206,"94":10752,"24":37,"16":18924841381920768,"45":2581688516858734592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 23:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955494912001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18924841381920768,"km_value":18924841381920.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2581688516858734592,"description":"Unknown IO ID 45"} 
[2026-09-08 23:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955494912001,"power":13352,"unknown_142":206,"unknown_94":10752,"ignition":37,"odometer":null,"unknown_45":2581688516858734592}} 
[2026-09-08 23:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:02:06] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:02:06] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:02:19] local.INFO: TCP Data received {"connection_id":177681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:02:19] local.INFO: Processing buffer {"connection_id":177681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:02:19] local.INFO: Packet analysis {"connection_id":177681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:02:19] local.INFO: Extracted packet for processing {"connection_id":177681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":177681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:02:19] local.INFO: GPS data processed {"connection_id":177681,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:02:19] local.INFO: Acknowledgment sent {"connection_id":177681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:02:37] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08212cf90012d23ff400717f8c8005c008921..."} 
[2026-09-08 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08212cf90012d23ff400717f8c8005c008921..."} 
[2026-09-08 23:02:37] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08212cf90012d23ff400717f8c8005c008921..."} 
[2026-09-08 23:02:37] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:02:37] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08212"} 
[2026-09-08 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":757333824,"raw_latitude":119011528,"longitude_deg":75.7333824,"latitude_deg":11.9011528,"altitude":92,"angle":137,"satellites":33,"speed":33,"hex_longitude":"2d23ff40","hex_latitude":"0717f8c8","is_valid_coordinates":true} 
[2026-09-08 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955496704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18925142029631488,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2588162441322311680,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788888666000,"timestamp_ms":1788888666000,"timestamp_seconds":1788888666,"priority":1,"record_length":96,"hex_timestamp":"000001a08212cf90"} 
[2026-09-08 23:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-08 23:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955496704001,"66":13493,"142":206,"94":10752,"24":33,"16":18925142029631488,"45":2588162441322311680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 23:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955496704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:02:37] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 23:02:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18925142029631488,"km_value":18925142029631.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2588162441322311680,"description":"Unknown IO ID 45"} 
[2026-09-08 23:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955496704001,"power":13493,"unknown_142":206,"unknown_94":10752,"ignition":33,"odometer":null,"unknown_45":2588162441322311680}} 
[2026-09-08 23:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:02:37] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:02:37] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:02:40] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:02:40] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:02:40] local.INFO: IMEI packet received {"connection_id":174882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":174882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:02:46] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:02:46] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:02:46] local.INFO: IMEI packet received {"connection_id":174882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":174882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:02:47] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:02:47] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:02:47] local.INFO: Packet analysis {"connection_id":174882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:02:47] local.INFO: Extracted packet for processing {"connection_id":174882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:02: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-09-08 23:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":174882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:02:47] local.INFO: GPS data processed {"connection_id":174882,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:02:47] local.INFO: Acknowledgment sent {"connection_id":174882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:02:53] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:02:53] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:02:53] local.INFO: IMEI packet received {"connection_id":176229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":176229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:03:01] local.INFO: TCP Data received {"connection_id":177682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:03:01] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:03:01] local.INFO: IMEI packet received {"connection_id":177682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":177682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:03:01] local.INFO: TCP Data received {"connection_id":177682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:03:01] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:03:01] local.INFO: IMEI packet received {"connection_id":177682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":177682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:03:02] local.INFO: TCP Data received {"connection_id":177682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08213a668012d24c9400717eed0005000531f..."} 
[2026-09-08 23:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08213a668012d24c9400717eed0005000531f..."} 
[2026-09-08 23:03:02] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08213a668012d24c9400717eed0005000531f..."} 
[2026-09-08 23:03:02] local.INFO: Packet analysis {"connection_id":177682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08213"} 
[2026-09-08 23:03:02] local.INFO: Extracted packet for processing {"connection_id":177682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08213"} 
[2026-09-08 23:03:02] local.INFO: GPS Element Parsed {"raw_longitude":757385536,"raw_latitude":119008976,"longitude_deg":75.7385536,"latitude_deg":11.9008976,"altitude":80,"angle":83,"satellites":31,"speed":46,"hex_longitude":"2d24c940","hex_latitude":"0717eed0","is_valid_coordinates":true} 
[2026-09-08 23:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955510272001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18927731894910976,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2640587155732434944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788888721000,"timestamp_ms":1788888721000,"timestamp_seconds":1788888721,"priority":1,"record_length":96,"hex_timestamp":"000001a08213a668"} 
[2026-09-08 23:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 23:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955510272001,"66":13504,"142":206,"94":10752,"24":46,"16":18927731894910976,"45":2640587155732434944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 23:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955510272001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:03:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 23:03:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18927731894910976,"km_value":18927731894910.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2640587155732434944,"description":"Unknown IO ID 45"} 
[2026-09-08 23:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955510272001,"power":13504,"unknown_142":206,"unknown_94":10752,"ignition":46,"odometer":null,"unknown_45":2640587155732434944}} 
[2026-09-08 23:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":177682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:03:02] local.INFO: GPS data processed {"connection_id":177682,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:03:02] local.INFO: Acknowledgment sent {"connection_id":177682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:03:05] local.INFO: TCP Data received {"connection_id":177682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08213b9f0012d24e0800717f3e8004e004321..."} 
[2026-09-08 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08213b9f0012d24e0800717f3e8004e004321..."} 
[2026-09-08 23:03:05] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08213b9f0012d24e0800717f3e8004e004321..."} 
[2026-09-08 23:03:05] local.INFO: Packet analysis {"connection_id":177682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08213"} 
[2026-09-08 23:03:05] local.INFO: Extracted packet for processing {"connection_id":177682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08213"} 
[2026-09-08 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":757391488,"raw_latitude":119010280,"longitude_deg":75.7391488,"latitude_deg":11.901028,"altitude":78,"angle":67,"satellites":33,"speed":47,"hex_longitude":"2d24e080","hex_latitude":"0717f3e8","is_valid_coordinates":true} 
[2026-09-08 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955512576001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18928019657719808,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2650720254894723072,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888726000,"timestamp_ms":1788888726000,"timestamp_seconds":1788888726,"priority":1,"record_length":96,"hex_timestamp":"000001a08213b9f0"} 
[2026-09-08 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955512576001,"66":13439,"151":206,"94":10752,"24":47,"16":18928019657719808,"45":2650720254894723072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,94,24,16,45]} 
[2026-09-08 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955512576001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:03:05] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-08 23:03:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18928019657719808,"km_value":18928019657719.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2650720254894723072,"description":"Unknown IO ID 45"} 
[2026-09-08 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955512576001,"power":13439,"unknown_151":206,"unknown_94":10752,"ignition":47,"odometer":null,"unknown_45":2650720254894723072}} 
[2026-09-08 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":177682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:03:05] local.INFO: GPS data processed {"connection_id":177682,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:03:05] local.INFO: Acknowledgment sent {"connection_id":177682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:03:18] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:03:18] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:03:18] local.INFO: Packet analysis {"connection_id":174882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:03:18] local.INFO: Extracted packet for processing {"connection_id":174882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":174882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:03:18] local.INFO: GPS data processed {"connection_id":174882,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:03:18] local.INFO: Acknowledgment sent {"connection_id":174882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:03:36] local.INFO: TCP Data received {"connection_id":177682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08213c1c0012d24e8c00717f878004c003722..."} 
[2026-09-08 23:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08213c1c0012d24e8c00717f878004c003722..."} 
[2026-09-08 23:03:36] local.INFO: Processing buffer {"connection_id":177682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08213c1c0012d24e8c00717f878004c003722..."} 
[2026-09-08 23:03:36] local.INFO: Packet analysis {"connection_id":177682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08213"} 
[2026-09-08 23:03:36] local.INFO: Extracted packet for processing {"connection_id":177682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08213"} 
[2026-09-08 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":757393600,"raw_latitude":119011448,"longitude_deg":75.73936,"latitude_deg":11.9011448,"altitude":76,"angle":55,"satellites":34,"speed":46,"hex_longitude":"2d24e8c0","hex_latitude":"0717f878","is_valid_coordinates":true} 
[2026-09-08 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955513856001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18928135621836800,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2657264548103579648,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788888728000,"timestamp_ms":1788888728000,"timestamp_seconds":1788888728,"priority":1,"record_length":96,"hex_timestamp":"000001a08213c1c0"} 
[2026-09-08 23:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 23:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955513856001,"66":12885,"151":206,"94":10752,"24":46,"16":18928135621836800,"45":2657264548103579648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,94,24,16,45]} 
[2026-09-08 23:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955513856001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18928135621836800,"km_value":18928135621836.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2657264548103579648,"description":"Unknown IO ID 45"} 
[2026-09-08 23:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955513856001,"power":12885,"unknown_151":206,"unknown_94":10752,"ignition":46,"odometer":null,"unknown_45":2657264548103579648}} 
[2026-09-08 23:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":177682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:03:36] local.INFO: GPS data processed {"connection_id":177682,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:03:36] local.INFO: Acknowledgment sent {"connection_id":177682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:03:40] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:03:40] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:03:40] local.INFO: IMEI packet received {"connection_id":177683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":177683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:03:45] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:03:45] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:03:45] local.INFO: IMEI packet received {"connection_id":177683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":177683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:03:46] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:03:46] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:03:46] local.INFO: Packet analysis {"connection_id":177683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:03:46] local.INFO: Extracted packet for processing {"connection_id":177683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":177683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:03:46] local.INFO: GPS data processed {"connection_id":177683,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:03:46] local.INFO: Acknowledgment sent {"connection_id":177683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:04:10] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:10] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:10] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:04:12] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:12] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:12] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:04:14] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:14] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:14] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:04:18] local.INFO: TCP Data received {"connection_id":177683,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:18] local.INFO: Processing buffer {"connection_id":177683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:18] local.INFO: Packet analysis {"connection_id":177683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:04:18] local.INFO: Extracted packet for processing {"connection_id":177683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:04: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-09-08 23:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":177683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:04:18] local.INFO: GPS data processed {"connection_id":177683,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:04:18] local.INFO: Acknowledgment sent {"connection_id":177683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:04:19] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:19] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:19] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:04:20] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821509e0012d25d7000718cc980049015f22..."} 
[2026-09-08 23:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821509e0012d25d7000718cc980049015f22..."} 
[2026-09-08 23:04:20] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821509e0012d25d7000718cc980049015f22..."} 
[2026-09-08 23:04:20] local.INFO: Packet analysis {"connection_id":174883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08215"} 
[2026-09-08 23:04:20] local.INFO: Extracted packet for processing {"connection_id":174883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08215"} 
[2026-09-08 23:04:20] local.INFO: GPS Element Parsed {"raw_longitude":757454592,"raw_latitude":119065752,"longitude_deg":75.7454592,"latitude_deg":11.9065752,"altitude":73,"angle":351,"satellites":34,"speed":25,"hex_longitude":"2d25d700","hex_latitude":"0718cc98","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955535104001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18932348984754176,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2727562923550758912,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788888812000,"timestamp_ms":1788888812000,"timestamp_seconds":1788888812,"priority":1,"record_length":96,"hex_timestamp":"000001a0821509e0"} 
[2026-09-08 23:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:04: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-09-08 23: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 23:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955535104001,"66":13450,"56":206,"83":41984,"24":25,"16":18932348984754176,"45":2727562923550758912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,83,24,16,45]} 
[2026-09-08 23:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955535104001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:04:20] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-08 23:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18932348984754176,"km_value":18932348984754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2727562923550758912,"description":"Unknown IO ID 45"} 
[2026-09-08 23:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955535104001,"power":13450,"unknown_56":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2727562923550758912}} 
[2026-09-08 23:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":174883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:04:20] local.INFO: GPS data processed {"connection_id":174883,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:04:20] local.INFO: Acknowledgment sent {"connection_id":174883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:04:45] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:04:45] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:04:45] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:04:51] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:04:51] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:04:51] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:04:52] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:52] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:52] local.INFO: Packet analysis {"connection_id":175145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:04:52] local.INFO: Extracted packet for processing {"connection_id":175145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":175145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:04:52] local.INFO: GPS data processed {"connection_id":175145,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:04:52] local.INFO: Acknowledgment sent {"connection_id":175145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:04:57] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:57] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082117fa0012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:04:57] local.INFO: Packet analysis {"connection_id":175145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:04:57] local.INFO: Extracted packet for processing {"connection_id":175145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08211"} 
[2026-09-08 23:04:57] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955399424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788888580000,"timestamp_ms":1788888580000,"timestamp_seconds":1788888580,"priority":1,"record_length":96,"hex_timestamp":"000001a082117fa0"} 
[2026-09-08 23:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955399424001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955399424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:04:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:04:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955399424001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":175145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:04:57] local.INFO: GPS data processed {"connection_id":175145,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:04:57] local.INFO: Acknowledgment sent {"connection_id":175145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:04:59] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:59] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:04:59] local.INFO: IMEI packet received {"connection_id":177684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":177684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:05:00] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:00] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:00] local.INFO: IMEI packet received {"connection_id":177684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":177684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:05:00] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:00] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:00] local.INFO: IMEI packet received {"connection_id":177684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":177684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:05:01] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:01] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:05:01] local.INFO: IMEI packet received {"connection_id":177684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":177684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:05:02] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082158ac8012d260840071913c8005400201a..."} 
[2026-09-08 23:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082158ac8012d260840071913c8005400201a..."} 
[2026-09-08 23:05:02] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082158ac8012d260840071913c8005400201a..."} 
[2026-09-08 23:05:02] local.INFO: Packet analysis {"connection_id":177684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08215"} 
[2026-09-08 23:05:02] local.INFO: Extracted packet for processing {"connection_id":177684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08215"} 
[2026-09-08 23:05:02] local.INFO: GPS Element Parsed {"raw_longitude":757467200,"raw_latitude":119083976,"longitude_deg":75.74672,"latitude_deg":11.9083976,"altitude":84,"angle":32,"satellites":26,"speed":33,"hex_longitude":"2d260840","hex_latitude":"071913c8","is_valid_coordinates":true} 
[2026-09-08 23:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955541504001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18933564460498944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2738681185133789184,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788888845000,"timestamp_ms":1788888845000,"timestamp_seconds":1788888845,"priority":1,"record_length":96,"hex_timestamp":"000001a082158ac8"} 
[2026-09-08 23:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 23:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":177684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":177684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":177684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955541504001,"66":13102,"142":206,"94":10752,"24":33,"16":18933564460498944,"45":2738681185133789184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 23:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955541504001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:05:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 23:05:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18933564460498944,"km_value":18933564460498.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2738681185133789184,"description":"Unknown IO ID 45"} 
[2026-09-08 23:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955541504001,"power":13102,"unknown_142":206,"unknown_94":10752,"ignition":33,"odometer":null,"unknown_45":2738681185133789184}} 
[2026-09-08 23:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":177684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:05:02] local.INFO: GPS data processed {"connection_id":177684,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:05:02] local.INFO: Acknowledgment sent {"connection_id":177684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:05:05] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082158ac8012d260840071913c8005400201a..."} 
[2026-09-08 23:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082158ac8012d260840071913c8005400201a..."} 
[2026-09-08 23:05:05] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082158ac8012d260840071913c8005400201a..."} 
[2026-09-08 23:05:05] local.INFO: Packet analysis {"connection_id":177684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08215"} 
[2026-09-08 23:05:05] local.INFO: Extracted packet for processing {"connection_id":177684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08215"} 
[2026-09-08 23:05:05] local.INFO: GPS Element Parsed {"raw_longitude":757467200,"raw_latitude":119083976,"longitude_deg":75.74672,"latitude_deg":11.9083976,"altitude":84,"angle":32,"satellites":26,"speed":33,"hex_longitude":"2d260840","hex_latitude":"071913c8","is_valid_coordinates":true} 
[2026-09-08 23:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955544320001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18933564460498944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740510772484622336,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788888845000,"timestamp_ms":1788888845000,"timestamp_seconds":1788888845,"priority":1,"record_length":96,"hex_timestamp":"000001a082158ac8"} 
[2026-09-08 23:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-08 23:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955544320001,"66":13102,"142":206,"94":10752,"24":33,"16":18933564460498944,"45":2740510772484622336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,45]} 
[2026-09-08 23:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955544320001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:05:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-08 23:05:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18933564460498944,"km_value":18933564460498.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2740510772484622336,"description":"Unknown IO ID 45"} 
[2026-09-08 23:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955544320001,"power":13102,"unknown_142":206,"unknown_94":10752,"ignition":33,"odometer":null,"unknown_45":2740510772484622336}} 
[2026-09-08 23:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":177684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:05:05] local.INFO: GPS data processed {"connection_id":177684,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:05:05] local.INFO: Acknowledgment sent {"connection_id":177684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:05:36] local.INFO: TCP Data received {"connection_id":177684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d26750007195e50004f004722..."} 
[2026-09-08 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d26750007195e50004f004722..."} 
[2026-09-08 23:05:36] local.INFO: Processing buffer {"connection_id":177684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d26750007195e50004f004722..."} 
[2026-09-08 23:05:36] local.INFO: Packet analysis {"connection_id":177684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:05:36] local.INFO: Extracted packet for processing {"connection_id":177684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":757495040,"raw_latitude":119103056,"longitude_deg":75.749504,"latitude_deg":11.9103056,"altitude":79,"angle":71,"satellites":34,"speed":49,"hex_longitude":"2d267500","hex_latitude":"07195e50","is_valid_coordinates":true} 
[2026-09-08 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955551488001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18935273857482752,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2761480658253742080,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955551488001,"66":13537,"160":206,"94":10752,"24":49,"16":18935273857482752,"45":2761480658253742080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,94,24,16,45]} 
[2026-09-08 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955551488001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18935273857482752,"km_value":18935273857482.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2761480658253742080,"description":"Unknown IO ID 45"} 
[2026-09-08 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955551488001,"power":13537,"unknown_160":206,"unknown_94":10752,"ignition":49,"odometer":null,"unknown_45":2761480658253742080}} 
[2026-09-08 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":177684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:05:36] local.INFO: GPS data processed {"connection_id":177684,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:05:36] local.INFO: Acknowledgment sent {"connection_id":177684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:05:40] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:05:40] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:05:40] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:05:46] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:05:46] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:05:46] local.INFO: IMEI packet received {"connection_id":176231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":176231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:05:46] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:05:46] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:05:46] local.INFO: Packet analysis {"connection_id":176231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:05:46] local.INFO: Extracted packet for processing {"connection_id":176231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":176231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:05:46] local.INFO: GPS data processed {"connection_id":176231,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:05:46] local.INFO: Acknowledgment sent {"connection_id":176231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:06:00] local.INFO: TCP Data received {"connection_id":174884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:00] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:00] local.INFO: IMEI packet received {"connection_id":174884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":174884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:06:00] local.INFO: TCP Data received {"connection_id":174884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:00] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:00] local.INFO: IMEI packet received {"connection_id":174884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":174884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:06:03] local.INFO: TCP Data received {"connection_id":174884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:03] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:03] local.INFO: IMEI packet received {"connection_id":174884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":174884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:06:03] local.INFO: TCP Data received {"connection_id":174884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082162708012d26880007196240004e005621..."} 
[2026-09-08 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082162708012d26880007196240004e005621..."} 
[2026-09-08 23:06:03] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082162708012d26880007196240004e005621..."} 
[2026-09-08 23:06:03] local.INFO: Packet analysis {"connection_id":174884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:06:03] local.INFO: Extracted packet for processing {"connection_id":174884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":757499904,"raw_latitude":119104064,"longitude_deg":75.7499904,"latitude_deg":11.9104064,"altitude":78,"angle":86,"satellites":33,"speed":46,"hex_longitude":"2d268800","hex_latitude":"07196240","is_valid_coordinates":true} 
[2026-09-08 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18935514375651328,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2771121176206790656,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788888885000,"timestamp_ms":1788888885000,"timestamp_seconds":1788888885,"priority":1,"record_length":96,"hex_timestamp":"000001a082162708"} 
[2026-09-08 23:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:06: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-09-08 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 23:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":13515,"160":206,"94":10752,"24":46,"16":18935514375651328,"45":2771121176206790656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,94,24,16,45]} 
[2026-09-08 23:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:06:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-08 23:06:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18935514375651328,"km_value":18935514375651.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2771121176206790656,"description":"Unknown IO ID 45"} 
[2026-09-08 23:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":13515,"unknown_160":206,"unknown_94":10752,"ignition":46,"odometer":null,"unknown_45":2771121176206790656}} 
[2026-09-08 23:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":174884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:06:03] local.INFO: GPS data processed {"connection_id":174884,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:06:03] local.INFO: Acknowledgment sent {"connection_id":174884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:06:18] local.INFO: TCP Data received {"connection_id":176231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:06:18] local.INFO: Processing buffer {"connection_id":176231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:06:18] local.INFO: Packet analysis {"connection_id":176231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:06:18] local.INFO: Extracted packet for processing {"connection_id":176231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:06: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-09-08 23:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":176231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:06:18] local.INFO: GPS data processed {"connection_id":176231,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:06:18] local.INFO: Acknowledgment sent {"connection_id":176231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:06:35] local.INFO: TCP Data received {"connection_id":174884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082171168012d276900071951180057002720..."} 
[2026-09-08 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082171168012d276900071951180057002720..."} 
[2026-09-08 23:06:35] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082171168012d276900071951180057002720..."} 
[2026-09-08 23:06:35] local.INFO: Packet analysis {"connection_id":174884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08217"} 
[2026-09-08 23:06:35] local.INFO: Extracted packet for processing {"connection_id":174884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08217"} 
[2026-09-08 23:06:35] local.INFO: GPS Element Parsed {"raw_longitude":757557504,"raw_latitude":119099672,"longitude_deg":75.7557504,"latitude_deg":11.9099672,"altitude":87,"angle":39,"satellites":32,"speed":26,"hex_longitude":"2d276900","hex_latitude":"07195118","is_valid_coordinates":true} 
[2026-09-08 23:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955569664001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18938314694328320,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2839308489313949696,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788888945000,"timestamp_ms":1788888945000,"timestamp_seconds":1788888945,"priority":1,"record_length":96,"hex_timestamp":"000001a082171168"} 
[2026-09-08 23:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 23:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955569664001,"66":13515,"160":206,"94":10752,"24":26,"16":18938314694328320,"45":2839308489313949696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,94,24,16,45]} 
[2026-09-08 23:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955569664001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:06:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-08 23:06:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18938314694328320,"km_value":18938314694328.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2839308489313949696,"description":"Unknown IO ID 45"} 
[2026-09-08 23:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955569664001,"power":13515,"unknown_160":206,"unknown_94":10752,"ignition":26,"odometer":null,"unknown_45":2839308489313949696}} 
[2026-09-08 23:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":174884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:06:35] local.INFO: GPS data processed {"connection_id":174884,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:06:35] local.INFO: Acknowledgment sent {"connection_id":174884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:06:40] local.INFO: TCP Data received {"connection_id":175147,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:06:40] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:06:40] local.INFO: IMEI packet received {"connection_id":175147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":175147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:06:46] local.INFO: TCP Data received {"connection_id":175147,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:06:46] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:06:46] local.INFO: IMEI packet received {"connection_id":175147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":175147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:06:48] local.INFO: TCP Data received {"connection_id":175147,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:06:48] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:06:48] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:06:48] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:06:49] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:06:49] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:06:58] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:58] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:58] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:06:59] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:59] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:06:59] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:07:00] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:07:00] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:07:00] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:07:01] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:07:01] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:07:01] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:07:20] local.INFO: TCP Data received {"connection_id":175147,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:07:20] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:07:20] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:07:20] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:07:20] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:07:20] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:07:40] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:07:40] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:07:40] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:07:46] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:07:46] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:07:46] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:07:47] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:07:47] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:07:47] local.INFO: Packet analysis {"connection_id":174885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:07:47] local.INFO: Extracted packet for processing {"connection_id":174885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:07: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-09-08 23:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":174885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:07:47] local.INFO: GPS data processed {"connection_id":174885,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:07:47] local.INFO: Acknowledgment sent {"connection_id":174885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:08:18] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:08:18] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:08:18] local.INFO: Packet analysis {"connection_id":174885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:08:18] local.INFO: Extracted packet for processing {"connection_id":174885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":174885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:08:18] local.INFO: GPS data processed {"connection_id":174885,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:08:18] local.INFO: Acknowledgment sent {"connection_id":174885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:08:25] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:08:25] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:08:25] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:08:40] local.INFO: TCP Data received {"connection_id":177685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:08:40] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:08:40] local.INFO: IMEI packet received {"connection_id":177685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":177685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:08:45] local.INFO: TCP Data received {"connection_id":177685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:08:45] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:08:45] local.INFO: IMEI packet received {"connection_id":177685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":177685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:08:46] local.INFO: TCP Data received {"connection_id":175149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:08:46] local.INFO: Processing buffer {"connection_id":175149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:08:46] local.INFO: IMEI packet received {"connection_id":175149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":175149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:08:47] local.INFO: TCP Data received {"connection_id":177685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:08:47] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:08:47] local.INFO: Packet analysis {"connection_id":177685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:08:47] local.INFO: Extracted packet for processing {"connection_id":177685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":177685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:08:47] local.INFO: GPS data processed {"connection_id":177685,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:08:47] local.INFO: Acknowledgment sent {"connection_id":177685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:09:18] local.INFO: TCP Data received {"connection_id":177685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:09:18] local.INFO: Processing buffer {"connection_id":177685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:09:18] local.INFO: Packet analysis {"connection_id":177685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:09:18] local.INFO: Extracted packet for processing {"connection_id":177685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:09:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":177685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:09:18] local.INFO: GPS data processed {"connection_id":177685,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:09:18] local.INFO: Acknowledgment sent {"connection_id":177685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:09:40] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:09:40] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:09:40] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:09:46] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:09:46] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:09:46] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:09:48] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:09:48] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:09:48] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:09:48] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:09: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-09-08 23:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:09:48] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:09:48] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:10:19] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:10:19] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082161768012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:10:19] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:10:19] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08216"} 
[2026-09-08 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955476480001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788888881000,"timestamp_ms":1788888881000,"timestamp_seconds":1788888881,"priority":1,"record_length":96,"hex_timestamp":"000001a082161768"} 
[2026-09-08 23:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955476480001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955476480001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955476480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:10:19] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:10:19] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:10:41] local.INFO: TCP Data received {"connection_id":177687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:10:41] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:10:41] local.INFO: IMEI packet received {"connection_id":177687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":177687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:10:46] local.INFO: TCP Data received {"connection_id":177687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:10:46] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:10:46] local.INFO: IMEI packet received {"connection_id":177687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":177687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:10:47] local.INFO: TCP Data received {"connection_id":177687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:10:47] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:10:47] local.INFO: Packet analysis {"connection_id":177687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:10:47] local.INFO: Extracted packet for processing {"connection_id":177687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":177687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:10:47] local.INFO: GPS data processed {"connection_id":177687,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:10:47] local.INFO: Acknowledgment sent {"connection_id":177687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:11:19] local.INFO: TCP Data received {"connection_id":177687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:11:19] local.INFO: Processing buffer {"connection_id":177687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:11:19] local.INFO: Packet analysis {"connection_id":177687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:11:19] local.INFO: Extracted packet for processing {"connection_id":177687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":177687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:11:19] local.INFO: GPS data processed {"connection_id":177687,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:11:19] local.INFO: Acknowledgment sent {"connection_id":177687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:11:41] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:11:41] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:11:41] local.INFO: IMEI packet received {"connection_id":174889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":174889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:11:46] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:11:46] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:11:46] local.INFO: IMEI packet received {"connection_id":174889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:11:47] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:11:47] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:11:47] local.INFO: Packet analysis {"connection_id":174889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:11:47] local.INFO: Extracted packet for processing {"connection_id":174889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":174889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:11:47] local.INFO: GPS data processed {"connection_id":174889,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:11:47] local.INFO: Acknowledgment sent {"connection_id":174889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:12:04] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:04] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:04] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:12:04] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821c35d0012d2bdec0071896e0004b004022..."} 
[2026-09-08 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821c35d0012d2bdec0071896e0004b004022..."} 
[2026-09-08 23:12:04] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821c35d0012d2bdec0071896e0004b004022..."} 
[2026-09-08 23:12:04] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821c"} 
[2026-09-08 23:12:04] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821c"} 
[2026-09-08 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":757849792,"raw_latitude":119052000,"longitude_deg":75.7849792,"latitude_deg":11.9052,"altitude":75,"angle":64,"satellites":34,"speed":39,"hex_longitude":"2d2bdec0","hex_latitude":"071896e0","is_valid_coordinates":true} 
[2026-09-08 23:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955655680001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18954429411622912,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3159064062845028352,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788889282000,"timestamp_ms":1788889282000,"timestamp_seconds":1788889282,"priority":1,"record_length":96,"hex_timestamp":"000001a0821c35d0"} 
[2026-09-08 23:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 23:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955655680001,"66":13461,"170":206,"94":10752,"24":39,"16":18954429411622912,"45":3159064062845028352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,94,24,16,45]} 
[2026-09-08 23:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955655680001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:12:04] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-08 23:12:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18954429411622912,"km_value":18954429411622.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3159064062845028352,"description":"Unknown IO ID 45"} 
[2026-09-08 23:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955655680001,"power":13461,"unknown_170":206,"unknown_94":10752,"ignition":39,"odometer":null,"unknown_45":3159064062845028352}} 
[2026-09-08 23:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:12:04] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:12:04] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:12:18] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:12:18] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:12:18] local.INFO: Packet analysis {"connection_id":174889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:12:18] local.INFO: Extracted packet for processing {"connection_id":174889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:12: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-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":174889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:12:18] local.INFO: GPS data processed {"connection_id":174889,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:12:18] local.INFO: Acknowledgment sent {"connection_id":174889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:12:36] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821c3da0012d2be54007189b00004a003421..."} 
[2026-09-08 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821c3da0012d2be54007189b00004a003421..."} 
[2026-09-08 23:12:36] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821c3da0012d2be54007189b00004a003421..."} 
[2026-09-08 23:12:36] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821c"} 
[2026-09-08 23:12:36] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821c"} 
[2026-09-08 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":757851456,"raw_latitude":119053056,"longitude_deg":75.7851456,"latitude_deg":11.9053056,"altitude":74,"angle":52,"satellites":33,"speed":39,"hex_longitude":"2d2be540","hex_latitude":"07189b00","is_valid_coordinates":true} 
[2026-09-08 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955656192001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18954523900903424,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3161175125170511872,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788889284000,"timestamp_ms":1788889284000,"timestamp_seconds":1788889284,"priority":1,"record_length":96,"hex_timestamp":"000001a0821c3da0"} 
[2026-09-08 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-08 23:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955656192001,"66":13276,"170":206,"94":10752,"24":39,"16":18954523900903424,"45":3161175125170511872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,94,24,16,45]} 
[2026-09-08 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955656192001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18954523900903424,"km_value":18954523900903.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3161175125170511872,"description":"Unknown IO ID 45"} 
[2026-09-08 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955656192001,"power":13276,"unknown_170":206,"unknown_94":10752,"ignition":39,"odometer":null,"unknown_45":3161175125170511872}} 
[2026-09-08 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:12:36] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:12:36] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:12:40] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:12:40] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:12:40] local.INFO: IMEI packet received {"connection_id":177688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":177688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:12:46] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:12:46] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:12:46] local.INFO: IMEI packet received {"connection_id":177688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":177688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:12:47] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:12:47] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:12:47] local.INFO: Packet analysis {"connection_id":177688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:12:47] local.INFO: Extracted packet for processing {"connection_id":177688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":177688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:12:47] local.INFO: GPS data processed {"connection_id":177688,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:12:47] local.INFO: Acknowledgment sent {"connection_id":177688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:12:56] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:56] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:56] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:12:58] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:58] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:58] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:12:59] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:59] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:12:59] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:13:05] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:05] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:05] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:13:05] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821cd9e0012d2c6c0007189c58004c005e1f..."} 
[2026-09-08 23:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821cd9e0012d2c6c0007189c58004c005e1f..."} 
[2026-09-08 23:13:05] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821cd9e0012d2c6c0007189c58004c005e1f..."} 
[2026-09-08 23:13:05] local.INFO: Packet analysis {"connection_id":174890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821c"} 
[2026-09-08 23:13:05] local.INFO: Extracted packet for processing {"connection_id":174890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821c"} 
[2026-09-08 23:13:05] local.INFO: GPS Element Parsed {"raw_longitude":757885952,"raw_latitude":119053400,"longitude_deg":75.7885952,"latitude_deg":11.90534,"altitude":76,"angle":94,"satellites":31,"speed":40,"hex_longitude":"2d2c6c00","hex_latitude":"07189c58","is_valid_coordinates":true} 
[2026-09-08 23:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955665664001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18956284837494784,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3195163228608602112,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889324000,"timestamp_ms":1788889324000,"timestamp_seconds":1788889324,"priority":1,"record_length":96,"hex_timestamp":"000001a0821cd9e0"} 
[2026-09-08 23:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 23:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955665664001,"66":13493,"170":206,"94":10752,"24":40,"16":18956284837494784,"45":3195163228608602112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,94,24,16,45]} 
[2026-09-08 23:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955665664001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18956284837494784,"km_value":18956284837494.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3195163228608602112,"description":"Unknown IO ID 45"} 
[2026-09-08 23:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955665664001,"power":13493,"unknown_170":206,"unknown_94":10752,"ignition":40,"odometer":null,"unknown_45":3195163228608602112}} 
[2026-09-08 23:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":174890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:13:05] local.INFO: GPS data processed {"connection_id":174890,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:13:05] local.INFO: Acknowledgment sent {"connection_id":174890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:13:19] local.INFO: TCP Data received {"connection_id":177688,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:13:19] local.INFO: Processing buffer {"connection_id":177688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:13:19] local.INFO: Packet analysis {"connection_id":177688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:13:19] local.INFO: Extracted packet for processing {"connection_id":177688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":177688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:13:19] local.INFO: GPS data processed {"connection_id":177688,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:13:19] local.INFO: Acknowledgment sent {"connection_id":177688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:13:37] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821d7a08012d2cde8007183ef80056007c22..."} 
[2026-09-08 23:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821d7a08012d2cde8007183ef80056007c22..."} 
[2026-09-08 23:13:37] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821d7a08012d2cde8007183ef80056007c22..."} 
[2026-09-08 23:13:37] local.INFO: Packet analysis {"connection_id":174890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821d"} 
[2026-09-08 23:13:37] local.INFO: Extracted packet for processing {"connection_id":174890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821d"} 
[2026-09-08 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":757915264,"raw_latitude":119029496,"longitude_deg":75.7915264,"latitude_deg":11.9029496,"altitude":86,"angle":124,"satellites":34,"speed":45,"hex_longitude":"2d2cde80","hex_latitude":"07183ef8","is_valid_coordinates":true} 
[2026-09-08 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955675904001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958191802974208,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3227321744692852736,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788889365000,"timestamp_ms":1788889365000,"timestamp_seconds":1788889365,"priority":1,"record_length":96,"hex_timestamp":"000001a0821d7a08"} 
[2026-09-08 23:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 23:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955675904001,"66":13515,"221":206,"94":10752,"24":45,"16":18958191802974208,"45":3227321744692852736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955675904001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958191802974208,"km_value":18958191802974.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3227321744692852736,"description":"Unknown IO ID 45"} 
[2026-09-08 23:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955675904001,"power":13515,"unknown_221":206,"unknown_94":10752,"ignition":45,"odometer":null,"unknown_45":3227321744692852736}} 
[2026-09-08 23:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":174890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:13:37] local.INFO: GPS data processed {"connection_id":174890,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:13:37] local.INFO: Acknowledgment sent {"connection_id":174890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:13:40] local.INFO: TCP Data received {"connection_id":177689,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:13:40] local.INFO: Processing buffer {"connection_id":177689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:13:40] local.INFO: IMEI packet received {"connection_id":177689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":177689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:13:46] local.INFO: TCP Data received {"connection_id":177689,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:13:46] local.INFO: Processing buffer {"connection_id":177689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:13:46] local.INFO: IMEI packet received {"connection_id":177689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":177689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:13:47] local.INFO: TCP Data received {"connection_id":177689,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:13:47] local.INFO: Processing buffer {"connection_id":177689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:13:47] local.INFO: Packet analysis {"connection_id":177689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:13:47] local.INFO: Extracted packet for processing {"connection_id":177689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":177689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:13:47] local.INFO: GPS data processed {"connection_id":177689,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:13:47] local.INFO: Acknowledgment sent {"connection_id":177689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:13:58] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:58] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:58] local.INFO: IMEI packet received {"connection_id":177690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":177690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:13:59] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:59] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:13:59] local.INFO: IMEI packet received {"connection_id":177690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":177690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:14:05] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:14:05] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:14:05] local.INFO: IMEI packet received {"connection_id":177690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":177690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:14:05] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821d9948012d2cfd8007182cd00056007123..."} 
[2026-09-08 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821d9948012d2cfd8007182cd00056007123..."} 
[2026-09-08 23:14:05] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821d9948012d2cfd8007182cd00056007123..."} 
[2026-09-08 23:14:05] local.INFO: Packet analysis {"connection_id":177690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821d"} 
[2026-09-08 23:14:05] local.INFO: Extracted packet for processing {"connection_id":177690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821d"} 
[2026-09-08 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":757923200,"raw_latitude":119024848,"longitude_deg":75.79232,"latitude_deg":11.9024848,"altitude":86,"angle":113,"satellites":35,"speed":43,"hex_longitude":"2d2cfd80","hex_latitude":"07182cd0","is_valid_coordinates":true} 
[2026-09-08 23:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955677440001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958629889638400,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3233162350458501120,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889373000,"timestamp_ms":1788889373000,"timestamp_seconds":1788889373,"priority":1,"record_length":96,"hex_timestamp":"000001a0821d9948"} 
[2026-09-08 23:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 23:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955677440001,"66":13559,"221":206,"94":10752,"24":43,"16":18958629889638400,"45":3233162350458501120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955677440001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958629889638400,"km_value":18958629889638.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3233162350458501120,"description":"Unknown IO ID 45"} 
[2026-09-08 23:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955677440001,"power":13559,"unknown_221":206,"unknown_94":10752,"ignition":43,"odometer":null,"unknown_45":3233162350458501120}} 
[2026-09-08 23:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":177690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:14:05] local.INFO: GPS data processed {"connection_id":177690,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:14:05] local.INFO: Acknowledgment sent {"connection_id":177690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:14:09] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:14:09] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:14:09] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:14:18] local.INFO: TCP Data received {"connection_id":177689,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:18] local.INFO: Processing buffer {"connection_id":177689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:18] local.INFO: Packet analysis {"connection_id":177689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:14:18] local.INFO: Extracted packet for processing {"connection_id":177689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:14: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-09-08 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":177689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:14:19] local.INFO: GPS data processed {"connection_id":177689,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:14:19] local.INFO: Acknowledgment sent {"connection_id":177689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:14:36] local.INFO: TCP Data received {"connection_id":177690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821d9948012d2cfd8007182cd00056007123..."} 
[2026-09-08 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821d9948012d2cfd8007182cd00056007123..."} 
[2026-09-08 23:14:36] local.INFO: Processing buffer {"connection_id":177690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821d9948012d2cfd8007182cd00056007123..."} 
[2026-09-08 23:14:36] local.INFO: Packet analysis {"connection_id":177690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821d"} 
[2026-09-08 23:14:36] local.INFO: Extracted packet for processing {"connection_id":177690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821d"} 
[2026-09-08 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":757923200,"raw_latitude":119024848,"longitude_deg":75.79232,"latitude_deg":11.9024848,"altitude":86,"angle":113,"satellites":35,"speed":43,"hex_longitude":"2d2cfd80","hex_latitude":"07182cd0","is_valid_coordinates":true} 
[2026-09-08 23:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955679488001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18958629889638400,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3241888074735341568,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788889373000,"timestamp_ms":1788889373000,"timestamp_seconds":1788889373,"priority":1,"record_length":96,"hex_timestamp":"000001a0821d9948"} 
[2026-09-08 23:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 23:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955679488001,"66":13559,"221":206,"94":10752,"24":43,"16":18958629889638400,"45":3241888074735341568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955679488001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18958629889638400,"km_value":18958629889638.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3241888074735341568,"description":"Unknown IO ID 45"} 
[2026-09-08 23:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955679488001,"power":13559,"unknown_221":206,"unknown_94":10752,"ignition":43,"odometer":null,"unknown_45":3241888074735341568}} 
[2026-09-08 23:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":177690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:14:36] local.INFO: GPS data processed {"connection_id":177690,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:14:36] local.INFO: Acknowledgment sent {"connection_id":177690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:14:44] local.INFO: TCP Data received {"connection_id":176238,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:14:44] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:14:44] local.INFO: IMEI packet received {"connection_id":176238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":176238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:14:46] local.INFO: TCP Data received {"connection_id":177691,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:14:46] local.INFO: Processing buffer {"connection_id":177691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:14:46] local.INFO: IMEI packet received {"connection_id":177691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":177691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:14:51] local.INFO: TCP Data received {"connection_id":177691,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:14:51] local.INFO: Processing buffer {"connection_id":177691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:14:51] local.INFO: IMEI packet received {"connection_id":177691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":177691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:14:51] local.INFO: TCP Data received {"connection_id":177691,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:51] local.INFO: Processing buffer {"connection_id":177691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:51] local.INFO: Packet analysis {"connection_id":177691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:14:51] local.INFO: Extracted packet for processing {"connection_id":177691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":177691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:14:51] local.INFO: GPS data processed {"connection_id":177691,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:14:51] local.INFO: Acknowledgment sent {"connection_id":177691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:14:56] local.INFO: TCP Data received {"connection_id":177691,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:56] local.INFO: Processing buffer {"connection_id":177691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821aaf30012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:14:56] local.INFO: Packet analysis {"connection_id":177691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:14:56] local.INFO: Extracted packet for processing {"connection_id":177691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821a"} 
[2026-09-08 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955553536001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788889182000,"timestamp_ms":1788889182000,"timestamp_seconds":1788889182,"priority":1,"record_length":96,"hex_timestamp":"000001a0821aaf30"} 
[2026-09-08 23:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955553536001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955553536001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:14:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:14:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955553536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":177691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:14:56] local.INFO: GPS data processed {"connection_id":177691,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:14:56] local.INFO: Acknowledgment sent {"connection_id":177691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:14:59] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:14:59] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:14:59] local.INFO: IMEI packet received {"connection_id":175155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":175155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:15:05] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:15:05] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:15:05] local.INFO: IMEI packet received {"connection_id":175155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":175155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:15:05] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821eba58012d2e088007179ad00065006b23..."} 
[2026-09-08 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821eba58012d2e088007179ad00065006b23..."} 
[2026-09-08 23:15:05] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821eba58012d2e088007179ad00065006b23..."} 
[2026-09-08 23:15:05] local.INFO: Packet analysis {"connection_id":175155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821e"} 
[2026-09-08 23:15:05] local.INFO: Extracted packet for processing {"connection_id":175155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821e"} 
[2026-09-08 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":757991552,"raw_latitude":118987472,"longitude_deg":75.7991552,"latitude_deg":11.8987472,"altitude":101,"angle":107,"satellites":35,"speed":40,"hex_longitude":"2d2e0880","hex_latitude":"07179ad0","is_valid_coordinates":true} 
[2026-09-08 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955696128001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18962375101120512,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3307682850532763648,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889447000,"timestamp_ms":1788889447000,"timestamp_seconds":1788889447,"priority":1,"record_length":96,"hex_timestamp":"000001a0821eba58"} 
[2026-09-08 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-08 23:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955696128001,"66":13526,"221":206,"94":10752,"24":40,"16":18962375101120512,"45":3307682850532763648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955696128001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:15:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:15:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18962375101120512,"km_value":18962375101120.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3307682850532763648,"description":"Unknown IO ID 45"} 
[2026-09-08 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955696128001,"power":13526,"unknown_221":206,"unknown_94":10752,"ignition":40,"odometer":null,"unknown_45":3307682850532763648}} 
[2026-09-08 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":175155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:15:05] local.INFO: GPS data processed {"connection_id":175155,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:15:05] local.INFO: Acknowledgment sent {"connection_id":175155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:15:37] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821edd80012d2e2c00071793880067007620..."} 
[2026-09-08 23:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821edd80012d2e2c00071793880067007620..."} 
[2026-09-08 23:15:37] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821edd80012d2e2c00071793880067007620..."} 
[2026-09-08 23:15:37] local.INFO: Packet analysis {"connection_id":175155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821e"} 
[2026-09-08 23:15:37] local.INFO: Extracted packet for processing {"connection_id":175155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821e"} 
[2026-09-08 23:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758000640,"raw_latitude":118985608,"longitude_deg":75.800064,"latitude_deg":11.8985608,"altitude":103,"angle":118,"satellites":32,"speed":37,"hex_longitude":"2d2e2c00","hex_latitude":"07179388","is_valid_coordinates":true} 
[2026-09-08 23:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955698432001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18962817482752000,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3317041893507518464,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788889456000,"timestamp_ms":1788889456000,"timestamp_seconds":1788889456,"priority":1,"record_length":96,"hex_timestamp":"000001a0821edd80"} 
[2026-09-08 23:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-08 23:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955698432001,"66":12961,"221":206,"94":10752,"24":37,"16":18962817482752000,"45":3317041893507518464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955698432001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:15:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:15:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18962817482752000,"km_value":18962817482752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3317041893507518464,"description":"Unknown IO ID 45"} 
[2026-09-08 23:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955698432001,"power":12961,"unknown_221":206,"unknown_94":10752,"ignition":37,"odometer":null,"unknown_45":3317041893507518464}} 
[2026-09-08 23:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":175155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:15:37] local.INFO: GPS data processed {"connection_id":175155,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:15:37] local.INFO: Acknowledgment sent {"connection_id":175155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:15:40] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:15:40] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:15:40] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:15:46] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:15:46] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:15:46] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:15:47] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:15:47] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:15:47] local.INFO: Packet analysis {"connection_id":174891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:15:47] local.INFO: Extracted packet for processing {"connection_id":174891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":174891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:15:47] local.INFO: GPS data processed {"connection_id":174891,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:15:47] local.INFO: Acknowledgment sent {"connection_id":174891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:15:59] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:15:59] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:15:59] local.INFO: IMEI packet received {"connection_id":177694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":177694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:16:04] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:16:04] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:16:04] local.INFO: IMEI packet received {"connection_id":177694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":177694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:16:05] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821fc3f8012d2e518007174130006e00d51f..."} 
[2026-09-08 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821fc3f8012d2e518007174130006e00d51f..."} 
[2026-09-08 23:16:05] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821fc3f8012d2e518007174130006e00d51f..."} 
[2026-09-08 23:16:05] local.INFO: Packet analysis {"connection_id":177694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:05] local.INFO: Extracted packet for processing {"connection_id":177694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758010240,"raw_latitude":118964528,"longitude_deg":75.801024,"latitude_deg":11.8964528,"altitude":110,"angle":213,"satellites":31,"speed":4,"hex_longitude":"2d2e5180","hex_latitude":"07174130","is_valid_coordinates":true} 
[2026-09-08 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955715584001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964084498104320,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3337659935545722880,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889515000,"timestamp_ms":1788889515000,"timestamp_seconds":1788889515,"priority":1,"record_length":96,"hex_timestamp":"000001a0821fc3f8"} 
[2026-09-08 23:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 23:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":177694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":177694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":177694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955715584001,"66":13515,"221":206,"94":10752,"24":4,"16":18964084498104320,"45":3337659935545722880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955715584001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:16:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:16:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964084498104320,"km_value":18964084498104.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3337659935545722880,"description":"Unknown IO ID 45"} 
[2026-09-08 23:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955715584001,"power":13515,"unknown_221":206,"unknown_94":10752,"ignition":4,"odometer":null,"unknown_45":3337659935545722880}} 
[2026-09-08 23:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":177694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:16:05] local.INFO: GPS data processed {"connection_id":177694,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:16:05] local.INFO: Acknowledgment sent {"connection_id":177694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:16:18] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:16:18] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:16:18] local.INFO: Packet analysis {"connection_id":174891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:18] local.INFO: Extracted packet for processing {"connection_id":174891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":174891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:16:18] local.INFO: GPS data processed {"connection_id":174891,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:16:18] local.INFO: Acknowledgment sent {"connection_id":174891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:16:36] local.INFO: TCP Data received {"connection_id":177694,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821fc7e0012d2e5140071740e8006e00e71f..."} 
[2026-09-08 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821fc7e0012d2e5140071740e8006e00e71f..."} 
[2026-09-08 23:16:36] local.INFO: Processing buffer {"connection_id":177694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821fc7e0012d2e5140071740e8006e00e71f..."} 
[2026-09-08 23:16:36] local.INFO: Packet analysis {"connection_id":177694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:36] local.INFO: Extracted packet for processing {"connection_id":177694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758010176,"raw_latitude":118964456,"longitude_deg":75.8010176,"latitude_deg":11.8964456,"altitude":110,"angle":231,"satellites":31,"speed":6,"hex_longitude":"2d2e5140","hex_latitude":"071740e8","is_valid_coordinates":true} 
[2026-09-08 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955715840001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964088793071616,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3337589566801522688,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788889516000,"timestamp_ms":1788889516000,"timestamp_seconds":1788889516,"priority":1,"record_length":96,"hex_timestamp":"000001a0821fc7e0"} 
[2026-09-08 23:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 23:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":177694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":177694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":177694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955715840001,"66":13417,"221":206,"94":10752,"24":6,"16":18964088793071616,"45":3337589566801522688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955715840001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:16:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:16:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964088793071616,"km_value":18964088793071.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3337589566801522688,"description":"Unknown IO ID 45"} 
[2026-09-08 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955715840001,"power":13417,"unknown_221":206,"unknown_94":10752,"ignition":6,"odometer":null,"unknown_45":3337589566801522688}} 
[2026-09-08 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":177694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:16:36] local.INFO: GPS data processed {"connection_id":177694,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:16:36] local.INFO: Acknowledgment sent {"connection_id":177694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:16:40] local.INFO: TCP Data received {"connection_id":174892,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:16:40] local.INFO: Processing buffer {"connection_id":174892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:16:40] local.INFO: IMEI packet received {"connection_id":174892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":174892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:16:46] local.INFO: TCP Data received {"connection_id":174892,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:16:46] local.INFO: Processing buffer {"connection_id":174892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:16:46] local.INFO: IMEI packet received {"connection_id":174892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:16:48] local.INFO: TCP Data received {"connection_id":174892,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:16:48] local.INFO: Processing buffer {"connection_id":174892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:16:48] local.INFO: Packet analysis {"connection_id":174892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:48] local.INFO: Extracted packet for processing {"connection_id":174892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":174892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:16:48] local.INFO: GPS data processed {"connection_id":174892,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:16:48] local.INFO: Acknowledgment sent {"connection_id":174892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:17:05] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:17:05] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:17:05] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:17:10] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:17:10] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:17:10] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:17:10] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0821ff2d8012d2e404007173278006c00db1f..."} 
[2026-09-08 23:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821ff2d8012d2e404007173278006c00db1f..."} 
[2026-09-08 23:17:10] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821ff2d8012d2e404007173278006c00db1f..."} 
[2026-09-08 23:17:10] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:17:10] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758005824,"raw_latitude":118960760,"longitude_deg":75.8005824,"latitude_deg":11.896076,"altitude":108,"angle":219,"satellites":31,"speed":37,"hex_longitude":"2d2e4040","hex_latitude":"07173278","is_valid_coordinates":true} 
[2026-09-08 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-09-08 23:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955716096001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964363670978560,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3337519198057326592,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788889527000,"timestamp_ms":1788889527000,"timestamp_seconds":1788889527,"priority":1,"record_length":96,"hex_timestamp":"000001a0821ff2d8"} 
[2026-09-08 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-09-08 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 23:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 23:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955716096001,"66":13472,"221":206,"94":10752,"24":37,"16":18964363670978560,"45":3337519198057326592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955716096001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:17:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:17:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964363670978560,"km_value":18964363670978.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3337519198057326592,"description":"Unknown IO ID 45"} 
[2026-09-08 23:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955716096001,"power":13472,"unknown_221":206,"unknown_94":10752,"ignition":37,"odometer":null,"unknown_45":3337519198057326592}} 
[2026-09-08 23:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:17:10] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:17:10] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:17:11] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082200a48012d2e304007172280006900e81f..."} 
[2026-09-08 23:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082200a48012d2e304007172280006900e81f..."} 
[2026-09-08 23:17:11] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082200a48012d2e304007172280006900e81f..."} 
[2026-09-08 23:17:11] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:17:11] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758001728,"raw_latitude":118956672,"longitude_deg":75.8001728,"latitude_deg":11.8956672,"altitude":105,"angle":232,"satellites":31,"speed":39,"hex_longitude":"2d2e3040","hex_latitude":"07172280","is_valid_coordinates":true} 
[2026-09-08 23:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955718912001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964642843852800,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3332734123452299264,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788889533000,"timestamp_ms":1788889533000,"timestamp_seconds":1788889533,"priority":1,"record_length":96,"hex_timestamp":"000001a082200a48"} 
[2026-09-08 23:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 23:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955718912001,"66":13450,"221":206,"94":10752,"24":39,"16":18964642843852800,"45":3332734123452299264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955718912001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:17:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964642843852800,"km_value":18964642843852.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3332734123452299264,"description":"Unknown IO ID 45"} 
[2026-09-08 23:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955718912001,"power":13450,"unknown_221":206,"unknown_94":10752,"ignition":39,"odometer":null,"unknown_45":3332734123452299264}} 
[2026-09-08 23:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:17:12] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:17:12] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:17:20] local.INFO: TCP Data received {"connection_id":174892,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:17:20] local.INFO: Processing buffer {"connection_id":174892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:17:20] local.INFO: Packet analysis {"connection_id":174892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:17:20] local.INFO: Extracted packet for processing {"connection_id":174892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:17:20] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:17:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":174892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:17:20] local.INFO: GPS data processed {"connection_id":174892,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:17:20] local.INFO: Acknowledgment sent {"connection_id":174892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:17:40] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:17:40] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:17:40] local.INFO: IMEI packet received {"connection_id":174894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":174894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:17:43] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082201600012d2e25c007171c78006600f51e..."} 
[2026-09-08 23:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082201600012d2e25c007171c78006600f51e..."} 
[2026-09-08 23:17:43] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082201600012d2e25c007171c78006600f51e..."} 
[2026-09-08 23:17:43] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:17:43] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:17:43] local.INFO: GPS Element Parsed {"raw_longitude":757999040,"raw_latitude":118955128,"longitude_deg":75.799904,"latitude_deg":11.8955128,"altitude":102,"angle":245,"satellites":30,"speed":41,"hex_longitude":"2d2e25c0","hex_latitude":"07171c78","is_valid_coordinates":true} 
[2026-09-08 23:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955720448001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964793167708160,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3328230523823882240,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788889536000,"timestamp_ms":1788889536000,"timestamp_seconds":1788889536,"priority":1,"record_length":96,"hex_timestamp":"000001a082201600"} 
[2026-09-08 23:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 23:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955720448001,"66":13450,"221":206,"94":10752,"24":41,"16":18964793167708160,"45":3328230523823882240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955720448001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:17:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964793167708160,"km_value":18964793167708.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3328230523823882240,"description":"Unknown IO ID 45"} 
[2026-09-08 23:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955720448001,"power":13450,"unknown_221":206,"unknown_94":10752,"ignition":41,"odometer":null,"unknown_45":3328230523823882240}} 
[2026-09-08 23:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:17:43] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:17:43] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:17:46] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:17:46] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:17:46] local.INFO: IMEI packet received {"connection_id":174894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":174894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:17:47] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:17:47] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:17:47] local.INFO: Packet analysis {"connection_id":174894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:17:47] local.INFO: Extracted packet for processing {"connection_id":174894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":174894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:17:47] local.INFO: GPS data processed {"connection_id":174894,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:17:47] local.INFO: Acknowledgment sent {"connection_id":174894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:18:00] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:18:00] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:18:00] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:18:05] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:18:05] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:18:05] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:18:05] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0822025a0012d2e1540071717e8006201071e..."} 
[2026-09-08 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822025a0012d2e1540071717e8006201071e..."} 
[2026-09-08 23:18:05] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822025a0012d2e1540071717e8006201071e..."} 
[2026-09-08 23:18:05] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:18:05] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":757994816,"raw_latitude":118953960,"longitude_deg":75.7994816,"latitude_deg":11.895396,"altitude":98,"angle":263,"satellites":30,"speed":42,"hex_longitude":"2d2e1540","hex_latitude":"071717e8","is_valid_coordinates":true} 
[2026-09-08 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955721216001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18964999326138368,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3325275036568025088,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889540000,"timestamp_ms":1788889540000,"timestamp_seconds":1788889540,"priority":1,"record_length":96,"hex_timestamp":"000001a0822025a0"} 
[2026-09-08 23:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 23:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955721216001,"66":12993,"221":206,"94":10752,"24":42,"16":18964999326138368,"45":3325275036568025088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955721216001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18964999326138368,"km_value":18964999326138.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3325275036568025088,"description":"Unknown IO ID 45"} 
[2026-09-08 23:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955721216001,"power":12993,"unknown_221":206,"unknown_94":10752,"ignition":42,"odometer":null,"unknown_45":3325275036568025088}} 
[2026-09-08 23:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:18:05] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:18:05] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:18:10] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0822044e0012d2defc007171918005d010f1f..."} 
[2026-09-08 23:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822044e0012d2defc007171918005d010f1f..."} 
[2026-09-08 23:18:10] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822044e0012d2defc007171918005d010f1f..."} 
[2026-09-08 23:18:10] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:18:10] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:18:10] local.INFO: GPS Element Parsed {"raw_longitude":757985216,"raw_latitude":118954264,"longitude_deg":75.7985216,"latitude_deg":11.8954264,"altitude":93,"angle":271,"satellites":31,"speed":44,"hex_longitude":"2d2defc0","hex_latitude":"07171918","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955722240001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18965454592671744,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3320630699452000256,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788889548000,"timestamp_ms":1788889548000,"timestamp_seconds":1788889548,"priority":1,"record_length":96,"hex_timestamp":"000001a0822044e0"} 
[2026-09-08 23:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-08 23:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955722240001,"66":13080,"221":206,"94":10752,"24":44,"16":18965454592671744,"45":3320630699452000256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955722240001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:18:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18965454592671744,"km_value":18965454592671.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3320630699452000256,"description":"Unknown IO ID 45"} 
[2026-09-08 23:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955722240001,"power":13080,"unknown_221":206,"unknown_94":10752,"ignition":44,"odometer":null,"unknown_45":3320630699452000256}} 
[2026-09-08 23:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:18:10] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:18:10] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:18:19] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:18:19] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:18:19] local.INFO: Packet analysis {"connection_id":174894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:18:19] local.INFO: Extracted packet for processing {"connection_id":174894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 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-09-08 23:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 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-09-08 23:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 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-09-08 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-09-08 23:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":174894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:18:19] local.INFO: GPS data processed {"connection_id":174894,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:18:19] local.INFO: Acknowledgment sent {"connection_id":174894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:18:40] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:18:40] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:18:40] local.INFO: IMEI packet received {"connection_id":176240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":176240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:18:41] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082205098012d2de2c0071717f0005c00ff1e..."} 
[2026-09-08 23:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082205098012d2de2c0071717f0005c00ff1e..."} 
[2026-09-08 23:18:41] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082205098012d2de2c0071717f0005c00ff1e..."} 
[2026-09-08 23:18:41] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:18:41] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08220"} 
[2026-09-08 23:18:41] local.INFO: GPS Element Parsed {"raw_longitude":757981888,"raw_latitude":118953968,"longitude_deg":75.7981888,"latitude_deg":11.8953968,"altitude":92,"angle":255,"satellites":30,"speed":42,"hex_longitude":"2d2de2c0","hex_latitude":"071717f0","is_valid_coordinates":true} 
[2026-09-08 23:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955724288001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18965617801428992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3310075387825428480,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788889551000,"timestamp_ms":1788889551000,"timestamp_seconds":1788889551,"priority":1,"record_length":96,"hex_timestamp":"000001a082205098"} 
[2026-09-08 23:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-08 23:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955724288001,"66":12841,"221":206,"94":10752,"24":42,"16":18965617801428992,"45":3310075387825428480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955724288001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:18:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:18:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18965617801428992,"km_value":18965617801428.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3310075387825428480,"description":"Unknown IO ID 45"} 
[2026-09-08 23:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955724288001,"power":12841,"unknown_221":206,"unknown_94":10752,"ignition":42,"odometer":null,"unknown_45":3310075387825428480}} 
[2026-09-08 23:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:18:41] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:18:41] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:18:46] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:18:46] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:18:46] local.INFO: IMEI packet received {"connection_id":176240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":176240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:18:47] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:18:47] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:18:47] local.INFO: Packet analysis {"connection_id":176240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:18:47] local.INFO: Extracted packet for processing {"connection_id":176240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":176240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:18:47] local.INFO: GPS data processed {"connection_id":176240,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:18:47] local.INFO: Acknowledgment sent {"connection_id":176240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:19:00] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:00] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:00] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:19:05] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:05] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:05] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:19:05] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0822240b0012d2dbe40071704400067004c20..."} 
[2026-09-08 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822240b0012d2dbe40071704400067004c20..."} 
[2026-09-08 23:19:05] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822240b0012d2dbe40071704400067004c20..."} 
[2026-09-08 23:19:05] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08222"} 
[2026-09-08 23:19:05] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08222"} 
[2026-09-08 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":757972544,"raw_latitude":118948928,"longitude_deg":75.7972544,"latitude_deg":11.8948928,"altitude":103,"angle":76,"satellites":32,"speed":1,"hex_longitude":"2d2dbe40","hex_latitude":"07170440","is_valid_coordinates":true} 
[2026-09-08 23:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955757056001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18966180442144768,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3296072007732701184,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889678000,"timestamp_ms":1788889678000,"timestamp_seconds":1788889678,"priority":1,"record_length":96,"hex_timestamp":"000001a0822240b0"} 
[2026-09-08 23:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 23:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955757056001,"66":13450,"221":206,"94":10752,"24":1,"16":18966180442144768,"45":3296072007732701184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955757056001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18966180442144768,"km_value":18966180442144.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3296072007732701184,"description":"Unknown IO ID 45"} 
[2026-09-08 23:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955757056001,"power":13450,"unknown_221":206,"unknown_94":10752,"ignition":1,"odometer":null,"unknown_45":3296072007732701184}} 
[2026-09-08 23:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:19:05] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:19:05] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:19:19] local.INFO: TCP Data received {"connection_id":176240,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:19] local.INFO: Processing buffer {"connection_id":176240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:19] local.INFO: Packet analysis {"connection_id":176240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:19:19] local.INFO: Extracted packet for processing {"connection_id":176240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:19: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-09-08 23:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":176240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:19:19] local.INFO: GPS data processed {"connection_id":176240,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:19:19] local.INFO: Acknowledgment sent {"connection_id":176240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:19:36] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082231f58012d2e4e80071742c80067015e21..."} 
[2026-09-08 23:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082231f58012d2e4e80071742c80067015e21..."} 
[2026-09-08 23:19:36] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082231f58012d2e4e80071742c80067015e21..."} 
[2026-09-08 23:19:36] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:19:36] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758009472,"raw_latitude":118964936,"longitude_deg":75.8009472,"latitude_deg":11.8964936,"altitude":103,"angle":350,"satellites":33,"speed":8,"hex_longitude":"2d2e4e80","hex_latitude":"071742c8","is_valid_coordinates":true} 
[2026-09-08 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955771904001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968220551610368,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3336745141871450112,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788889735000,"timestamp_ms":1788889735000,"timestamp_seconds":1788889735,"priority":1,"record_length":96,"hex_timestamp":"000001a082231f58"} 
[2026-09-08 23:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 23:19: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-09-08 23:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955771904001,"66":12504,"221":206,"94":10752,"24":8,"16":18968220551610368,"45":3336745141871450112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955771904001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968220551610368,"km_value":18968220551610.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3336745141871450112,"description":"Unknown IO ID 45"} 
[2026-09-08 23:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955771904001,"power":12504,"unknown_221":206,"unknown_94":10752,"ignition":8,"odometer":null,"unknown_45":3336745141871450112}} 
[2026-09-08 23:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:19:36] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:19:36] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:19:46] local.INFO: TCP Data received {"connection_id":177696,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:19:46] local.INFO: Processing buffer {"connection_id":177696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:19:46] local.INFO: IMEI packet received {"connection_id":177696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":177696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:19:50] local.INFO: TCP Data received {"connection_id":177696,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:19:50] local.INFO: Processing buffer {"connection_id":177696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:19:50] local.INFO: IMEI packet received {"connection_id":177696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":177696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:19:51] local.INFO: TCP Data received {"connection_id":177696,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:51] local.INFO: Processing buffer {"connection_id":177696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:51] local.INFO: Packet analysis {"connection_id":177696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:19:51] local.INFO: Extracted packet for processing {"connection_id":177696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:19:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":177696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:19:51] local.INFO: GPS data processed {"connection_id":177696,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:19:51] local.INFO: Acknowledgment sent {"connection_id":177696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:19:56] local.INFO: TCP Data received {"connection_id":177696,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:56] local.INFO: Processing buffer {"connection_id":177696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0821f46f8012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:19:56] local.INFO: Packet analysis {"connection_id":177696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:19:56] local.INFO: Extracted packet for processing {"connection_id":177696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0821f"} 
[2026-09-08 23:19:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955630592001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788889483000,"timestamp_ms":1788889483000,"timestamp_seconds":1788889483,"priority":1,"record_length":96,"hex_timestamp":"000001a0821f46f8"} 
[2026-09-08 23:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955630592001,"66":25615,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955630592001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:19:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955630592001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":177696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:19:56] local.INFO: GPS data processed {"connection_id":177696,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:19:56] local.INFO: Acknowledgment sent {"connection_id":177696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:19:56] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:56] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:56] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:19:59] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:59] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:19:59] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:20:04] local.INFO: TCP Data received {"connection_id":177697,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:20:04] local.INFO: Processing buffer {"connection_id":177697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:20:04] local.INFO: IMEI packet received {"connection_id":177697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":177697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:20:05] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:20:05] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:20:05] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:20:05] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082232340012d2e4e00071743800067013f21..."} 
[2026-09-08 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082232340012d2e4e00071743800067013f21..."} 
[2026-09-08 23:20:05] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082232340012d2e4e00071743800067013f21..."} 
[2026-09-08 23:20:05] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:20:05] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758009344,"raw_latitude":118965120,"longitude_deg":75.8009344,"latitude_deg":11.896512,"altitude":103,"angle":319,"satellites":33,"speed":9,"hex_longitude":"2d2e4e00","hex_latitude":"07174380","is_valid_coordinates":true} 
[2026-09-08 23:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955772160001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968233436512256,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3336745141871495168,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889736000,"timestamp_ms":1788889736000,"timestamp_seconds":1788889736,"priority":1,"record_length":96,"hex_timestamp":"000001a082232340"} 
[2026-09-08 23:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 23:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955772160001,"66":12504,"221":206,"94":10752,"24":9,"16":18968233436512256,"45":3336745141871495168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955772160001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968233436512256,"km_value":18968233436512.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3336745141871495168,"description":"Unknown IO ID 45"} 
[2026-09-08 23:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955772160001,"power":12504,"unknown_221":206,"unknown_94":10752,"ignition":9,"odometer":null,"unknown_45":3336745141871495168}} 
[2026-09-08 23:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:20:05] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:20:05] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:20:36] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082232b10012d2e4cc0071744200067011520..."} 
[2026-09-08 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082232b10012d2e4cc0071744200067011520..."} 
[2026-09-08 23:20:36] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082232b10012d2e4cc0071744200067011520..."} 
[2026-09-08 23:20:36] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:20:36] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758009024,"raw_latitude":118965280,"longitude_deg":75.8009024,"latitude_deg":11.896528,"altitude":103,"angle":277,"satellites":32,"speed":5,"hex_longitude":"2d2e4cc0","hex_latitude":"07174420","is_valid_coordinates":true} 
[2026-09-08 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955772416001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968250616381440,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3336604404383186944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788889738000,"timestamp_ms":1788889738000,"timestamp_seconds":1788889738,"priority":1,"record_length":96,"hex_timestamp":"000001a082232b10"} 
[2026-09-08 23:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 23:20: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-09-08 23:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955772416001,"66":12504,"221":206,"94":10752,"24":5,"16":18968250616381440,"45":3336604404383186944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955772416001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:20:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:20:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968250616381440,"km_value":18968250616381.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3336604404383186944,"description":"Unknown IO ID 45"} 
[2026-09-08 23:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955772416001,"power":12504,"unknown_221":206,"unknown_94":10752,"ignition":5,"odometer":null,"unknown_45":3336604404383186944}} 
[2026-09-08 23:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:20:36] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:20:36] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:20:40] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:20:40] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:20:40] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:20:45] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:20:45] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:20:45] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:20:46] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:20:46] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:20:46] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:20:46] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:20:46] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:20:46] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:20:49] local.INFO: TCP Data received {"connection_id":177698,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:20:49] local.INFO: Processing buffer {"connection_id":177698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:20:49] local.INFO: IMEI packet received {"connection_id":177698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":177698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:21:00] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:00] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:00] local.INFO: IMEI packet received {"connection_id":177699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":177699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:21:01] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:01] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:01] local.INFO: IMEI packet received {"connection_id":177699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":177699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:21:05] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:05] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:05] local.INFO: IMEI packet received {"connection_id":177699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":177699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:21:06] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082237930012d2e4b40071745000069011520..."} 
[2026-09-08 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082237930012d2e4b40071745000069011520..."} 
[2026-09-08 23:21:06] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082237930012d2e4b40071745000069011520..."} 
[2026-09-08 23:21:06] local.INFO: Packet analysis {"connection_id":177699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:06] local.INFO: Extracted packet for processing {"connection_id":177699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758008640,"raw_latitude":118965504,"longitude_deg":75.800864,"latitude_deg":11.8965504,"altitude":105,"angle":277,"satellites":32,"speed":0,"hex_longitude":"2d2e4b40","hex_latitude":"07174500","is_valid_coordinates":true} 
[2026-09-08 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955772928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968272091217920,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3336252560662339584,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788889758000,"timestamp_ms":1788889758000,"timestamp_seconds":1788889758,"priority":1,"record_length":96,"hex_timestamp":"000001a082237930"} 
[2026-09-08 23:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-08 23:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955772928001,"66":12254,"221":206,"94":10752,"24":0,"16":18968272091217920,"45":3336252560662339584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955772928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:21:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:21:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968272091217920,"km_value":18968272091217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3336252560662339584,"description":"Unknown IO ID 45"} 
[2026-09-08 23:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955772928001,"power":12254,"unknown_221":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":3336252560662339584}} 
[2026-09-08 23:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":177699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:21:06] local.INFO: GPS data processed {"connection_id":177699,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:21:06] local.INFO: Acknowledgment sent {"connection_id":177699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:21:10] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08223cb38012d2e4b40071745000069011521..."} 
[2026-09-08 23:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223cb38012d2e4b40071745000069011521..."} 
[2026-09-08 23:21:10] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223cb38012d2e4b40071745000069011521..."} 
[2026-09-08 23:21:10] local.INFO: Packet analysis {"connection_id":177699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:10] local.INFO: Extracted packet for processing {"connection_id":177699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758008640,"raw_latitude":118965504,"longitude_deg":75.800864,"latitude_deg":11.8965504,"altitude":105,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d2e4b40","hex_latitude":"07174500","is_valid_coordinates":true} 
[2026-09-08 23:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955778048001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968272091217920,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3335830348197330944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788889779000,"timestamp_ms":1788889779000,"timestamp_seconds":1788889779,"priority":1,"record_length":96,"hex_timestamp":"000001a08223cb38"} 
[2026-09-08 23:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-08 23:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":177699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":177699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":177699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955778048001,"66":12961,"221":206,"94":10752,"24":0,"16":18968272091217920,"45":3335830348197330944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955778048001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968272091217920,"km_value":18968272091217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3335830348197330944,"description":"Unknown IO ID 45"} 
[2026-09-08 23:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955778048001,"power":12961,"unknown_221":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":3335830348197330944}} 
[2026-09-08 23:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":177699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:21:10] local.INFO: GPS data processed {"connection_id":177699,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:21:10] local.INFO: Acknowledgment sent {"connection_id":177699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:21:17] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:21:17] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:21:17] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:17] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23: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-09-08 23:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:21:17] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:21:17] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:21:41] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:21:41] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:21:41] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:21:43] local.INFO: TCP Data received {"connection_id":177699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082241d40012d2e4b40071745000069011523..."} 
[2026-09-08 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082241d40012d2e4b40071745000069011523..."} 
[2026-09-08 23:21:43] local.INFO: Processing buffer {"connection_id":177699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082241d40012d2e4b40071745000069011523..."} 
[2026-09-08 23:21:43] local.INFO: Packet analysis {"connection_id":177699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08224"} 
[2026-09-08 23:21:43] local.INFO: Extracted packet for processing {"connection_id":177699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08224"} 
[2026-09-08 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758008640,"raw_latitude":118965504,"longitude_deg":75.800864,"latitude_deg":11.8965504,"altitude":105,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d2e4b40","hex_latitude":"07174500","is_valid_coordinates":true} 
[2026-09-08 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955783424001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18968272091217920,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3335830348197330944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788889800000,"timestamp_ms":1788889800000,"timestamp_seconds":1788889800,"priority":1,"record_length":96,"hex_timestamp":"000001a082241d40"} 
[2026-09-08 23:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 23:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":177699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":177699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":177699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955783424001,"66":13363,"221":206,"94":10752,"24":0,"16":18968272091217920,"45":3335830348197330944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955783424001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:21:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18968272091217920,"km_value":18968272091217.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3335830348197330944,"description":"Unknown IO ID 45"} 
[2026-09-08 23:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955783424001,"power":13363,"unknown_221":206,"unknown_94":10752,"ignition":0,"odometer":null,"unknown_45":3335830348197330944}} 
[2026-09-08 23:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":177699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:21:43] local.INFO: GPS data processed {"connection_id":177699,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:21:43] local.INFO: Acknowledgment sent {"connection_id":177699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:21:45] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:21:45] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:21:45] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:21:47] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:21:47] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:21:47] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:47] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:21:47] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:21:47] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:21:59] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:59] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:21:59] local.INFO: IMEI packet received {"connection_id":177700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":177700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:22:05] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:22:05] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:22:05] local.INFO: IMEI packet received {"connection_id":177700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":177700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:22:06] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0822507a0012d2ee480071729c00070006822..."} 
[2026-09-08 23:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822507a0012d2ee480071729c00070006822..."} 
[2026-09-08 23:22:06] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822507a0012d2ee480071729c00070006822..."} 
[2026-09-08 23:22:06] local.INFO: Packet analysis {"connection_id":177700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08225"} 
[2026-09-08 23:22:06] local.INFO: Extracted packet for processing {"connection_id":177700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08225"} 
[2026-09-08 23:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758047872,"raw_latitude":118958528,"longitude_deg":75.8047872,"latitude_deg":11.8958528,"altitude":112,"angle":104,"satellites":34,"speed":40,"hex_longitude":"2d2ee480","hex_latitude":"071729c0","is_valid_coordinates":true} 
[2026-09-08 23:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955801856001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18970239186239488,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3368692551726991360,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788889860000,"timestamp_ms":1788889860000,"timestamp_seconds":1788889860,"priority":1,"record_length":96,"hex_timestamp":"000001a0822507a0"} 
[2026-09-08 23:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 23:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":177700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":177700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":177700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955801856001,"66":13472,"220":206,"94":10752,"24":40,"16":18970239186239488,"45":3368692551726991360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 23:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955801856001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:22:06] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 23:22:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18970239186239488,"km_value":18970239186239.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3368692551726991360,"description":"Unknown IO ID 45"} 
[2026-09-08 23:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955801856001,"power":13472,"unknown_220":206,"unknown_94":10752,"ignition":40,"odometer":null,"unknown_45":3368692551726991360}} 
[2026-09-08 23:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":177700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:22:06] local.INFO: GPS data processed {"connection_id":177700,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:22:06] local.INFO: Acknowledgment sent {"connection_id":177700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:22:18] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:22:18] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:22:18] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:22:18] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:22:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:22:18] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:22:18] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:22:38] local.INFO: TCP Data received {"connection_id":177700,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a082251740012d2ef580071727100070005b21..."} 
[2026-09-08 23:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082251740012d2ef580071727100070005b21..."} 
[2026-09-08 23:22:38] local.INFO: Processing buffer {"connection_id":177700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082251740012d2ef580071727100070005b21..."} 
[2026-09-08 23:22:38] local.INFO: Packet analysis {"connection_id":177700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08225"} 
[2026-09-08 23:22:38] local.INFO: Extracted packet for processing {"connection_id":177700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08225"} 
[2026-09-08 23:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758052224,"raw_latitude":118957840,"longitude_deg":75.8052224,"latitude_deg":11.895784,"altitude":112,"angle":91,"satellites":33,"speed":45,"hex_longitude":"2d2ef580","hex_latitude":"07172710","is_valid_coordinates":true} 
[2026-09-08 23:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955804160001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18970449639636992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3378966388376453120,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788889864000,"timestamp_ms":1788889864000,"timestamp_seconds":1788889864,"priority":1,"record_length":96,"hex_timestamp":"000001a082251740"} 
[2026-09-08 23:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 23:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":177700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":177700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":177700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955804160001,"66":13396,"220":206,"94":10752,"24":45,"16":18970449639636992,"45":3378966388376453120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 23:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955804160001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:22:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 23:22:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18970449639636992,"km_value":18970449639636.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3378966388376453120,"description":"Unknown IO ID 45"} 
[2026-09-08 23:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955804160001,"power":13396,"unknown_220":206,"unknown_94":10752,"ignition":45,"odometer":null,"unknown_45":3378966388376453120}} 
[2026-09-08 23:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":177700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:22:38] local.INFO: GPS data processed {"connection_id":177700,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:22:38] local.INFO: Acknowledgment sent {"connection_id":177700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:22:40] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:22:40] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:22:40] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:22:45] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:22:45] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:22:45] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:22:47] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:22:47] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:22:47] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:22:47] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:22:47] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:22:47] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:22:59] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:22:59] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:22:59] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:23:03] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:23:03] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:23:03] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:23:04] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:23:04] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:23:04] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:23:05] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a08225f5e8012d2fccc007173a980073006723..."} 
[2026-09-08 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08225f5e8012d2fccc007173a980073006723..."} 
[2026-09-08 23:23:05] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08225f5e8012d2fccc007173a980073006723..."} 
[2026-09-08 23:23:05] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08225"} 
[2026-09-08 23:23:05] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08225"} 
[2026-09-08 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758107328,"raw_latitude":118962840,"longitude_deg":75.8107328,"latitude_deg":11.896284,"altitude":115,"angle":103,"satellites":35,"speed":38,"hex_longitude":"2d2fccc0","hex_latitude":"07173a98","is_valid_coordinates":true} 
[2026-09-08 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955819520001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18973301497921536,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3443213051811848192,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788889921000,"timestamp_ms":1788889921000,"timestamp_seconds":1788889921,"priority":1,"record_length":96,"hex_timestamp":"000001a08225f5e8"} 
[2026-09-08 23:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-08 23:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955819520001,"66":13396,"206":206,"94":10752,"24":38,"16":18973301497921536,"45":3443213051811848192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-08 23:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955819520001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18973301497921536,"km_value":18973301497921.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3443213051811848192,"description":"Unknown IO ID 45"} 
[2026-09-08 23:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955819520001,"power":13396,"unknown_206":206,"unknown_94":10752,"ignition":38,"odometer":null,"unknown_45":3443213051811848192}} 
[2026-09-08 23:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:23:05] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:23:05] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:23:18] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:23:18] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:23:18] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:23:18] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:23:18] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:23:18] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:23:40] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:23:40] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:23:40] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:23:46] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:23:46] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:23:46] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:23:47] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:23:47] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:23:47] local.INFO: Packet analysis {"connection_id":175161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:23:47] local.INFO: Extracted packet for processing {"connection_id":175161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":175161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:23:47] local.INFO: GPS data processed {"connection_id":175161,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:23:47] local.INFO: Acknowledgment sent {"connection_id":175161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:24:19] local.INFO: TCP Data received {"connection_id":175161,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:19] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:19] local.INFO: Packet analysis {"connection_id":175161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:24:19] local.INFO: Extracted packet for processing {"connection_id":175161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:24: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-09-08 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":175161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:24:19] local.INFO: GPS data processed {"connection_id":175161,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:24:19] local.INFO: Acknowledgment sent {"connection_id":175161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:24:45] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:24:45] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:24:45] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:24:50] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:24:50] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:24:50] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:24:51] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:51] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:51] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:24:51] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:24:51] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:24:51] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:24:56] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:56] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08223dec0012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:24:56] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:24:56] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08223"} 
[2026-09-08 23:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955707648001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788889784000,"timestamp_ms":1788889784000,"timestamp_seconds":1788889784,"priority":1,"record_length":96,"hex_timestamp":"000001a08223dec0"} 
[2026-09-08 23:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-08 23:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955707648001,"66":25625,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955707648001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955707648001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:24:56] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:24:56] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:25:41] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:25:41] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:25:41] local.INFO: IMEI packet received {"connection_id":175162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":175162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:25:45] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:25:45] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:25:45] local.INFO: IMEI packet received {"connection_id":175162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":175162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:25:46] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:25:46] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:25:46] local.INFO: Packet analysis {"connection_id":175162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:25:46] local.INFO: Extracted packet for processing {"connection_id":175162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":175162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:25:46] local.INFO: GPS data processed {"connection_id":175162,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:25:46] local.INFO: Acknowledgment sent {"connection_id":175162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:26:18] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:26:18] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:26:18] local.INFO: Packet analysis {"connection_id":175162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:26:18] local.INFO: Extracted packet for processing {"connection_id":175162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:26: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-09-08 23:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":175162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:26:18] local.INFO: GPS data processed {"connection_id":175162,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:26:18] local.INFO: Acknowledgment sent {"connection_id":175162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:26:19] local.INFO: TCP Data received {"connection_id":177702,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:26:19] local.INFO: Processing buffer {"connection_id":177702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:26:19] local.INFO: IMEI packet received {"connection_id":177702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":177702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:26:41] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:26:41] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:26:41] local.INFO: IMEI packet received {"connection_id":177703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":177703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:26:43] local.INFO: TCP Data received {"connection_id":177704,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:26:43] local.INFO: Processing buffer {"connection_id":177704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:26:43] local.INFO: IMEI packet received {"connection_id":177704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":177704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:26:45] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:26:45] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:26:45] local.INFO: IMEI packet received {"connection_id":177703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":177703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:26:46] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:26:46] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:26:46] local.INFO: Packet analysis {"connection_id":177703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:26:46] local.INFO: Extracted packet for processing {"connection_id":177703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":177703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:26:47] local.INFO: GPS data processed {"connection_id":177703,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:26:47] local.INFO: Acknowledgment sent {"connection_id":177703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:27:18] local.INFO: TCP Data received {"connection_id":177703,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:27:18] local.INFO: Processing buffer {"connection_id":177703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:27:18] local.INFO: Packet analysis {"connection_id":177703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:27:18] local.INFO: Extracted packet for processing {"connection_id":177703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:27: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-09-08 23:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":177703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:27:18] local.INFO: GPS data processed {"connection_id":177703,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:27:18] local.INFO: Acknowledgment sent {"connection_id":177703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:27:40] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:27:40] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:27:40] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:27:46] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:27:46] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:27:46] local.INFO: IMEI packet received {"connection_id":176247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":176247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:27:47] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:27:47] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:27:47] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:27:47] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:27:47] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:27:47] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:27:49] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:49] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:49] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:27:51] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:51] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:51] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:27:52] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:52] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:52] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:27:55] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:55] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:27:55] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:27:56] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822a4760012d2fd64007173080006e012923..."} 
[2026-09-08 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822a4760012d2fd64007173080006e012923..."} 
[2026-09-08 23:27:56] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822a4760012d2fd64007173080006e012923..."} 
[2026-09-08 23:27:56] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822a"} 
[2026-09-08 23:27:56] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822a"} 
[2026-09-08 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":758109760,"raw_latitude":118960256,"longitude_deg":75.810976,"latitude_deg":11.8960256,"altitude":110,"angle":297,"satellites":35,"speed":39,"hex_longitude":"2d2fd640","hex_latitude":"07173080","is_valid_coordinates":true} 
[2026-09-08 23:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18977029529534464,"note":"Value kept but may cause issues"} 
[2026-09-08 23:27:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,220,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-08 23:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788890204000,"timestamp_ms":1788890204000,"timestamp_seconds":1788890204,"priority":1,"record_length":96,"hex_timestamp":"000001a0822a4760"} 
[2026-09-08 23:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-08 23:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12537,"220":206,"94":10752,"24":39,"16":18977029529534464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16]} 
[2026-09-08 23:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-08 23:27:56] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 23:27:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18977029529534464,"km_value":18977029529534.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:27:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12537,"unknown_220":206,"unknown_94":10752,"ignition":39,"odometer":null}} 
[2026-09-08 23:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:27:56] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:27:56] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:28:18] local.INFO: TCP Data received {"connection_id":176247,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:28:18] local.INFO: Processing buffer {"connection_id":176247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:28:18] local.INFO: Packet analysis {"connection_id":176247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:28:18] local.INFO: Extracted packet for processing {"connection_id":176247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:28: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-09-08 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":176247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:28:18] local.INFO: GPS data processed {"connection_id":176247,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:28:18] local.INFO: Acknowledgment sent {"connection_id":176247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:28:27] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822a5ae8012d2fc600071739000073011b24..."} 
[2026-09-08 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822a5ae8012d2fc600071739000073011b24..."} 
[2026-09-08 23:28:27] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822a5ae8012d2fc600071739000073011b24..."} 
[2026-09-08 23:28:27] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822a"} 
[2026-09-08 23:28:27] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822a"} 
[2026-09-08 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758105600,"raw_latitude":118962432,"longitude_deg":75.81056,"latitude_deg":11.8962432,"altitude":115,"angle":283,"satellites":36,"speed":34,"hex_longitude":"2d2fc600","hex_latitude":"07173900","is_valid_coordinates":true} 
[2026-09-08 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955892224001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18977252867833856,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3447012963996696576,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788890209000,"timestamp_ms":1788890209000,"timestamp_seconds":1788890209,"priority":1,"record_length":96,"hex_timestamp":"000001a0822a5ae8"} 
[2026-09-08 23:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:28: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":249,"data_length":795,"current_offset":136} 
[2026-09-08 23:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955892224001,"66":12645,"220":206,"94":10752,"24":34,"16":18977252867833856,"45":3447012963996696576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-08 23:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955892224001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:28:27] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-08 23:28:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18977252867833856,"km_value":18977252867833.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3447012963996696576,"description":"Unknown IO ID 45"} 
[2026-09-08 23:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955892224001,"power":12645,"unknown_220":206,"unknown_94":10752,"ignition":34,"odometer":null,"unknown_45":3447012963996696576}} 
[2026-09-08 23:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:28:28] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:28:28] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:28:40] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:28:40] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:28:40] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:28:45] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:28:45] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:28:45] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:28:47] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:28:47] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:28:47] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:28:47] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:28:47] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:28:47] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:28:58] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822b7bf8012d2eb94007172fe80070010b26..."} 
[2026-09-08 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822b7bf8012d2eb94007172fe80070010b26..."} 
[2026-09-08 23:28:58] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822b7bf8012d2eb94007172fe80070010b26..."} 
[2026-09-08 23:28:58] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822b"} 
[2026-09-08 23:28:58] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822b"} 
[2026-09-08 23:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758036800,"raw_latitude":118960104,"longitude_deg":75.80368,"latitude_deg":11.8960104,"altitude":112,"angle":267,"satellites":38,"speed":40,"hex_longitude":"2d2eb940","hex_latitude":"07172fe8","is_valid_coordinates":true} 
[2026-09-08 23:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955910144001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18980744676245504,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3376503482330292224,"note":"Value kept but may cause issues"} 
[2026-09-08 23:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788890283000,"timestamp_ms":1788890283000,"timestamp_seconds":1788890283,"priority":1,"record_length":96,"hex_timestamp":"000001a0822b7bf8"} 
[2026-09-08 23:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 23:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955910144001,"66":12461,"207":206,"94":10752,"24":40,"16":18980744676245504,"45":3376503482330292224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-08 23:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955910144001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:28:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 23:28:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18980744676245504,"km_value":18980744676245.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3376503482330292224,"description":"Unknown IO ID 45"} 
[2026-09-08 23:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955910144001,"power":12461,"unknown_207":206,"unknown_94":10752,"ignition":40,"odometer":null,"unknown_45":3376503482330292224}} 
[2026-09-08 23:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:28:58] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:28:58] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:29:19] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:29:19] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:29:19] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:29:19] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:29:19] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:29:19] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:29:30] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822b9f20012d2e93c007172ab00070010826..."} 
[2026-09-08 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822b9f20012d2e93c007172ab00070010826..."} 
[2026-09-08 23:29:30] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822b9f20012d2e93c007172ab00070010826..."} 
[2026-09-08 23:29:30] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822b"} 
[2026-09-08 23:29:30] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822b"} 
[2026-09-08 23:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758027200,"raw_latitude":118958768,"longitude_deg":75.80272,"latitude_deg":11.8958768,"altitude":112,"angle":264,"satellites":38,"speed":45,"hex_longitude":"2d2e93c0","hex_latitude":"07172ab0","is_valid_coordinates":true} 
[2026-09-08 23:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955912448001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18981208532713472,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3366792595634120704,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788890292000,"timestamp_ms":1788890292000,"timestamp_seconds":1788890292,"priority":1,"record_length":96,"hex_timestamp":"000001a0822b9f20"} 
[2026-09-08 23:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-08 23:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955912448001,"66":12950,"207":206,"94":10752,"24":45,"16":18981208532713472,"45":3366792595634120704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,94,24,16,45]} 
[2026-09-08 23:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955912448001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:29:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-08 23:29:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18981208532713472,"km_value":18981208532713.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3366792595634120704,"description":"Unknown IO ID 45"} 
[2026-09-08 23:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955912448001,"power":12950,"unknown_207":206,"unknown_94":10752,"ignition":45,"odometer":null,"unknown_45":3366792595634120704}} 
[2026-09-08 23:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:29:30] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:29:30] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:29:40] local.INFO: TCP Data received {"connection_id":174898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:29:40] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:29:40] local.INFO: IMEI packet received {"connection_id":174898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":174898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:29:46] local.INFO: TCP Data received {"connection_id":174898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:29:46] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:29:46] local.INFO: IMEI packet received {"connection_id":174898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:29:46] local.INFO: TCP Data received {"connection_id":174898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:29:46] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:29:46] local.INFO: Packet analysis {"connection_id":174898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:29:46] local.INFO: Extracted packet for processing {"connection_id":174898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":174898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:29:47] local.INFO: GPS data processed {"connection_id":174898,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:29:47] local.INFO: Acknowledgment sent {"connection_id":174898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:30:01] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822c8d68012d2dd7c00717ae80005d012926..."} 
[2026-09-08 23:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822c8d68012d2dd7c00717ae80005d012926..."} 
[2026-09-08 23:30:01] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822c8d68012d2dd7c00717ae80005d012926..."} 
[2026-09-08 23:30:01] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822c"} 
[2026-09-08 23:30:01] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822c"} 
[2026-09-08 23:30:01] local.INFO: GPS Element Parsed {"raw_longitude":757979072,"raw_latitude":118992512,"longitude_deg":75.7979072,"latitude_deg":11.8992512,"altitude":93,"angle":297,"satellites":38,"speed":53,"hex_longitude":"2d2dd7c0","hex_latitude":"0717ae80","is_valid_coordinates":true} 
[2026-09-08 23:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955928320001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18984305204133888,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3313664193787219968,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788890353000,"timestamp_ms":1788890353000,"timestamp_seconds":1788890353,"priority":1,"record_length":96,"hex_timestamp":"000001a0822c8d68"} 
[2026-09-08 23:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955928320001,"66":13493,"221":206,"94":10752,"24":53,"16":18984305204133888,"45":3313664193787219968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955928320001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:30:01] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:30:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18984305204133888,"km_value":18984305204133.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3313664193787219968,"description":"Unknown IO ID 45"} 
[2026-09-08 23:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955928320001,"power":13493,"unknown_221":206,"unknown_94":10752,"ignition":53,"odometer":null,"unknown_45":3313664193787219968}} 
[2026-09-08 23:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:30:01] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:30:01] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:30:18] local.INFO: TCP Data received {"connection_id":174898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:30:18] local.INFO: Processing buffer {"connection_id":174898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082287688012d34c38006aa42c80005005d22..."} 
[2026-09-08 23:30:18] local.INFO: Packet analysis {"connection_id":174898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:30:18] local.INFO: Extracted packet for processing {"connection_id":174898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08228"} 
[2026-09-08 23:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":34,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955784704001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890085000,"timestamp_ms":1788890085000,"timestamp_seconds":1788890085,"priority":1,"record_length":96,"hex_timestamp":"000001a082287688"} 
[2026-09-08 23:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:30: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-09-08 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-08 23:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955784704001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955784704001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955784704001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":174898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:30:18] local.INFO: GPS data processed {"connection_id":174898,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:30:18] local.INFO: Acknowledgment sent {"connection_id":174898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:30:32] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822ca8c0012d2db7800717c2200058013625..."} 
[2026-09-08 23:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822ca8c0012d2db7800717c2200058013625..."} 
[2026-09-08 23:30:32] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822ca8c0012d2db7800717c2200058013625..."} 
[2026-09-08 23:30:32] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822c"} 
[2026-09-08 23:30:32] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822c"} 
[2026-09-08 23:30:32] local.INFO: GPS Element Parsed {"raw_longitude":757970816,"raw_latitude":118997536,"longitude_deg":75.7970816,"latitude_deg":11.8997536,"altitude":88,"angle":310,"satellites":37,"speed":55,"hex_longitude":"2d2db780","hex_latitude":"0717c220","is_valid_coordinates":true} 
[2026-09-08 23:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955930368001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18984769060601856,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3303319988394164224,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788890360000,"timestamp_ms":1788890360000,"timestamp_seconds":1788890360,"priority":1,"record_length":96,"hex_timestamp":"000001a0822ca8c0"} 
[2026-09-08 23:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 23:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955930368001,"66":13374,"221":206,"94":10752,"24":55,"16":18984769060601856,"45":3303319988394164224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955930368001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:30:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:30:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18984769060601856,"km_value":18984769060601.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3303319988394164224,"description":"Unknown IO ID 45"} 
[2026-09-08 23:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955930368001,"power":13374,"unknown_221":206,"unknown_94":10752,"ignition":55,"odometer":null,"unknown_45":3303319988394164224}} 
[2026-09-08 23:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:30:32] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:30:32] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:30:46] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:30:46] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:30:46] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:30:50] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:30:50] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:30:50] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:30:52] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:30:52] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:30:52] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:30:52] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:30:52] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:30:52] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:31:03] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822ca8c0012d2db7800717c2200058013625..."} 
[2026-09-08 23:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822ca8c0012d2db7800717c2200058013625..."} 
[2026-09-08 23:31:03] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822ca8c0012d2db7800717c2200058013625..."} 
[2026-09-08 23:31:03] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822c"} 
[2026-09-08 23:31:03] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822c"} 
[2026-09-08 23:31:03] local.INFO: GPS Element Parsed {"raw_longitude":757970816,"raw_latitude":118997536,"longitude_deg":75.7970816,"latitude_deg":11.8997536,"altitude":88,"angle":310,"satellites":37,"speed":55,"hex_longitude":"2d2db780","hex_latitude":"0717c220","is_valid_coordinates":true} 
[2026-09-08 23:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955932160001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18984769060601856,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3294242420396531712,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788890360000,"timestamp_ms":1788890360000,"timestamp_seconds":1788890360,"priority":1,"record_length":96,"hex_timestamp":"000001a0822ca8c0"} 
[2026-09-08 23:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 23:31: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-09-08 23:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955932160001,"66":13374,"221":206,"94":10752,"24":55,"16":18984769060601856,"45":3294242420396531712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-08 23:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955932160001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:31:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-08 23:31:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18984769060601856,"km_value":18984769060601.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3294242420396531712,"description":"Unknown IO ID 45"} 
[2026-09-08 23:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955932160001,"power":13374,"unknown_221":206,"unknown_94":10752,"ignition":55,"odometer":null,"unknown_45":3294242420396531712}} 
[2026-09-08 23:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:31:03] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:31:03] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:31:23] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:31:23] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:31:23] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:31:23] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:31:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:31:23] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:31:23] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:31:34] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822e0c38012d2c7fc007189098004f012d27..."} 
[2026-09-08 23:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822e0c38012d2c7fc007189098004f012d27..."} 
[2026-09-08 23:31:34] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822e0c38012d2c7fc007189098004f012d27..."} 
[2026-09-08 23:31:34] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:31:34] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":757891008,"raw_latitude":119050392,"longitude_deg":75.7891008,"latitude_deg":11.9050392,"altitude":79,"angle":301,"satellites":39,"speed":24,"hex_longitude":"2d2c7fc0","hex_latitude":"07189098","is_valid_coordinates":true} 
[2026-09-08 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955955200001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18989454869921792,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3207055546373867520,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788890451000,"timestamp_ms":1788890451000,"timestamp_seconds":1788890451,"priority":1,"record_length":96,"hex_timestamp":"000001a0822e0c38"} 
[2026-09-08 23:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:31: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-09-08 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 23:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955955200001,"66":13439,"170":206,"94":10752,"24":24,"16":18989454869921792,"45":3207055546373867520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,94,24,16,45]} 
[2026-09-08 23:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955955200001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:31:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-08 23:31:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18989454869921792,"km_value":18989454869921.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3207055546373867520,"description":"Unknown IO ID 45"} 
[2026-09-08 23:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955955200001,"power":13439,"unknown_170":206,"unknown_94":10752,"ignition":24,"odometer":null,"unknown_45":3207055546373867520}} 
[2026-09-08 23:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:31:34] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:31:34] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:31:40] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:31:40] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:31:40] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:31:45] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:31:45] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:31:45] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:31:46] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:31:46] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:31:46] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:31:46] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:31:46] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:31:46] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:32:06] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822e1020012d2c7dc007189230004f013b27..."} 
[2026-09-08 23:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822e1020012d2c7dc007189230004f013b27..."} 
[2026-09-08 23:32:06] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822e1020012d2c7dc007189230004f013b27..."} 
[2026-09-08 23:32:06] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:32:06] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:32:06] local.INFO: GPS Element Parsed {"raw_longitude":757890496,"raw_latitude":119050800,"longitude_deg":75.7890496,"latitude_deg":11.90508,"altitude":79,"angle":315,"satellites":39,"speed":26,"hex_longitude":"2d2c7dc0","hex_latitude":"07189230","is_valid_coordinates":true} 
[2026-09-08 23:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955955456001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18989484934692864,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3206492596420515840,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788890452000,"timestamp_ms":1788890452000,"timestamp_seconds":1788890452,"priority":1,"record_length":96,"hex_timestamp":"000001a0822e1020"} 
[2026-09-08 23:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-08 23:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955955456001,"66":13493,"170":206,"94":10752,"24":26,"16":18989484934692864,"45":3206492596420515840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,94,24,16,45]} 
[2026-09-08 23:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955955456001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:32:06] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-08 23:32:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18989484934692864,"km_value":18989484934692.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3206492596420515840,"description":"Unknown IO ID 45"} 
[2026-09-08 23:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955955456001,"power":13493,"unknown_170":206,"unknown_94":10752,"ignition":26,"odometer":null,"unknown_45":3206492596420515840}} 
[2026-09-08 23:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:32:06] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:32:06] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:32:08] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:32:09] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:32:09] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:32:18] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:32:18] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:32:18] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:32:18] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:32:18] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:32:18] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:32:31] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:32:31] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:32:31] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:32:36] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:32:36] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:32:36] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:32:37] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822eb818012d2be2c007189a40004c00eb24..."} 
[2026-09-08 23:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822eb818012d2be2c007189a40004c00eb24..."} 
[2026-09-08 23:32:37] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822eb818012d2be2c007189a40004c00eb24..."} 
[2026-09-08 23:32:37] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:32:37] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:32:37] local.INFO: GPS Element Parsed {"raw_longitude":757850816,"raw_latitude":119052864,"longitude_deg":75.7850816,"latitude_deg":11.9052864,"altitude":76,"angle":235,"satellites":36,"speed":40,"hex_longitude":"2d2be2c0","hex_latitude":"07189a40","is_valid_coordinates":true} 
[2026-09-08 23:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955965696001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18991520749191168,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3165045406101202944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788890495000,"timestamp_ms":1788890495000,"timestamp_seconds":1788890495,"priority":1,"record_length":96,"hex_timestamp":"000001a0822eb818"} 
[2026-09-08 23:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-08 23:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955965696001,"66":12722,"146":206,"94":10752,"24":40,"16":18991520749191168,"45":3165045406101202944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,94,24,16,45]} 
[2026-09-08 23:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955965696001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:32:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-08 23:32:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18991520749191168,"km_value":18991520749191.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3165045406101202944,"description":"Unknown IO ID 45"} 
[2026-09-08 23:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955965696001,"power":12722,"unknown_146":206,"unknown_94":10752,"ignition":40,"odometer":null,"unknown_45":3165045406101202944}} 
[2026-09-08 23:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:32:37] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:32:37] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:32:40] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:32:40] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:32:40] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:32:45] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:32:45] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:32:45] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:32:46] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:32:46] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:32:46] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:32:46] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:32:46] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:32:46] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:33:08] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822ebfe8012d2bdb8007189690004c00fb26..."} 
[2026-09-08 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822ebfe8012d2bdb8007189690004c00fb26..."} 
[2026-09-08 23:33:08] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822ebfe8012d2bdb8007189690004c00fb26..."} 
[2026-09-08 23:33:08] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:33:08] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822e"} 
[2026-09-08 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":757848960,"raw_latitude":119051920,"longitude_deg":75.784896,"latitude_deg":11.905192,"altitude":76,"angle":251,"satellites":38,"speed":41,"hex_longitude":"2d2bdb80","hex_latitude":"07189690","is_valid_coordinates":true} 
[2026-09-08 23:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955966720001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18991619533438976,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3162301025077575680,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788890497000,"timestamp_ms":1788890497000,"timestamp_seconds":1788890497,"priority":1,"record_length":96,"hex_timestamp":"000001a0822ebfe8"} 
[2026-09-08 23:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-08 23:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955966720001,"66":13428,"146":206,"94":10752,"24":41,"16":18991619533438976,"45":3162301025077575680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,94,24,16,45]} 
[2026-09-08 23:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955966720001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:33:08] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-08 23:33:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18991619533438976,"km_value":18991619533438.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3162301025077575680,"description":"Unknown IO ID 45"} 
[2026-09-08 23:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955966720001,"power":13428,"unknown_146":206,"unknown_94":10752,"ignition":41,"odometer":null,"unknown_45":3162301025077575680}} 
[2026-09-08 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:33:08] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:33:08] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:33:18] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:33:18] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:33:18] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:33:18] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:33:18] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:33:18] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:33:39] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822ff098012d2aa9400718ba98005a011527..."} 
[2026-09-08 23:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822ff098012d2aa9400718ba98005a011527..."} 
[2026-09-08 23:33:39] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822ff098012d2aa9400718ba98005a011527..."} 
[2026-09-08 23:33:39] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822f"} 
[2026-09-08 23:33:39] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822f"} 
[2026-09-08 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":757770560,"raw_latitude":119061144,"longitude_deg":75.777056,"latitude_deg":11.9061144,"altitude":90,"angle":277,"satellites":39,"speed":35,"hex_longitude":"2d2aa940","hex_latitude":"0718ba98","is_valid_coordinates":true} 
[2026-09-08 23:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955986432001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18995510773809152,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3077084475880591360,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788890575000,"timestamp_ms":1788890575000,"timestamp_seconds":1788890575,"priority":1,"record_length":96,"hex_timestamp":"000001a0822ff098"} 
[2026-09-08 23:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:33: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-09-08 23:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751530874,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2184152864,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1524187162096959498,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959369618,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1704067278,"corrected_to":0} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3494801112998871125,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2147948702,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093716719677858,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,146,94,24,241,157,16,124,160,193,45,188,86,39,10,66,123,185,128,178,1,240,181,227,130,4,113,205,43,135,11,38,239,52,2,67,7,90,42],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1704067278,"validated":0}]} 
[2026-09-08 23:33:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6341354315867029504,"timestamp_seconds":6341354315867030.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 23:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955986432001,"66":13396,"146":206,"94":10752,"24":35,"16":18995510773809152,"45":3077084475880591360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,94,24,16,45]} 
[2026-09-08 23:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955986432001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:33:39] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-08 23:33:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18995510773809152,"km_value":18995510773809.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3077084475880591360,"description":"Unknown IO ID 45"} 
[2026-09-08 23:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955986432001,"power":13396,"unknown_146":206,"unknown_94":10752,"ignition":35,"odometer":null,"unknown_45":3077084475880591360}} 
[2026-09-08 23:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:33:39] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:33:39] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:33:40] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:33:40] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:33:40] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:33:45] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:33:45] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:33:45] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:33:47] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:33:47] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:33:47] local.INFO: Packet analysis {"connection_id":175165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:33:47] local.INFO: Extracted packet for processing {"connection_id":175165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":175165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:33:47] local.INFO: GPS data processed {"connection_id":175165,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:33:47] local.INFO: Acknowledgment sent {"connection_id":175165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:34:09] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0822ff868012d2aa2800718bcb8005b012927..."} 
[2026-09-08 23:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822ff868012d2aa2800718bcb8005b012927..."} 
[2026-09-08 23:34:09] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822ff868012d2aa2800718bcb8005b012927..."} 
[2026-09-08 23:34:09] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822f"} 
[2026-09-08 23:34:09] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822f"} 
[2026-09-08 23:34:09] local.INFO: GPS Element Parsed {"raw_longitude":757768832,"raw_latitude":119061688,"longitude_deg":75.7768832,"latitude_deg":11.9061688,"altitude":91,"angle":297,"satellites":39,"speed":34,"hex_longitude":"2d2aa280","hex_latitude":"0718bcb8","is_valid_coordinates":true} 
[2026-09-08 23:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955987200001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18995596673155072,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3074058619880904704,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788890577000,"timestamp_ms":1788890577000,"timestamp_seconds":1788890577,"priority":1,"record_length":96,"hex_timestamp":"000001a0822ff868"} 
[2026-09-08 23:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:34: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-09-08 23:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-08 23:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955987200001,"66":13559,"146":206,"94":10752,"24":34,"16":18995596673155072,"45":3074058619880904704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,94,24,16,45]} 
[2026-09-08 23:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955987200001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:34:09] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-08 23:34:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18995596673155072,"km_value":18995596673155.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3074058619880904704,"description":"Unknown IO ID 45"} 
[2026-09-08 23:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955987200001,"power":13559,"unknown_146":206,"unknown_94":10752,"ignition":34,"odometer":null,"unknown_45":3074058619880904704}} 
[2026-09-08 23:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:34:10] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:34:10] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:34:18] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:18] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:18] local.INFO: Packet analysis {"connection_id":175165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:34:18] local.INFO: Extracted packet for processing {"connection_id":175165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:34:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":175165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:34:19] local.INFO: GPS data processed {"connection_id":175165,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:34:19] local.INFO: Acknowledgment sent {"connection_id":175165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:34:31] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:31] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:31] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:34:31] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:31] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:31] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:34:36] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:36] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:34:36] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:34:37] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082300038012d2a9d000718c108005c013c27..."} 
[2026-09-08 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082300038012d2a9d000718c108005c013c27..."} 
[2026-09-08 23:34:37] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082300038012d2a9d000718c108005c013c27..."} 
[2026-09-08 23:34:37] local.INFO: Packet analysis {"connection_id":174901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08230"} 
[2026-09-08 23:34:37] local.INFO: Extracted packet for processing {"connection_id":174901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08230"} 
[2026-09-08 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":757767424,"raw_latitude":119062792,"longitude_deg":75.7767424,"latitude_deg":11.9062792,"altitude":92,"angle":316,"satellites":39,"speed":35,"hex_longitude":"2d2a9d00","hex_latitude":"0718c108","is_valid_coordinates":true} 
[2026-09-08 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955987712001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18995682572500992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3072158663788247040,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788890579000,"timestamp_ms":1788890579000,"timestamp_seconds":1788890579,"priority":1,"record_length":96,"hex_timestamp":"000001a082300038"} 
[2026-09-08 23:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 23:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955987712001,"66":13559,"146":206,"94":10752,"24":35,"16":18995682572500992,"45":3072158663788247040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,94,24,16,45]} 
[2026-09-08 23:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955987712001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18995682572500992,"km_value":18995682572500.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3072158663788247040,"description":"Unknown IO ID 45"} 
[2026-09-08 23:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955987712001,"power":13559,"unknown_146":206,"unknown_94":10752,"ignition":35,"odometer":null,"unknown_45":3072158663788247040}} 
[2026-09-08 23:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":174901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:34:37] local.INFO: GPS data processed {"connection_id":174901,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:34:37] local.INFO: Acknowledgment sent {"connection_id":174901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:34:45] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:34:45] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:34:45] local.INFO: IMEI packet received {"connection_id":174902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:34:50] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:34:50] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:34:50] local.INFO: IMEI packet received {"connection_id":174902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":174902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:34:51] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:51] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:51] local.INFO: Packet analysis {"connection_id":174902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:34:51] local.INFO: Extracted packet for processing {"connection_id":174902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":174902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:34:51] local.INFO: GPS data processed {"connection_id":174902,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:34:51] local.INFO: Acknowledgment sent {"connection_id":174902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:34:56] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:56] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0822d0e50012d34c38006aa42c80005005d2a..."} 
[2026-09-08 23:34:56] local.INFO: Packet analysis {"connection_id":174902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:34:56] local.INFO: Extracted packet for processing {"connection_id":174902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0822d"} 
[2026-09-08 23:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955861760001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788890386000,"timestamp_ms":1788890386000,"timestamp_seconds":1788890386,"priority":1,"record_length":96,"hex_timestamp":"000001a0822d0e50"} 
[2026-09-08 23:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:34: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955861760001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955861760001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955861760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":174902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:34:56] local.INFO: GPS data processed {"connection_id":174902,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:34:56] local.INFO: Acknowledgment sent {"connection_id":174902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:35:09] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823130e8012d299200071941380066013326..."} 
[2026-09-08 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823130e8012d299200071941380066013326..."} 
[2026-09-08 23:35:09] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823130e8012d299200071941380066013326..."} 
[2026-09-08 23:35:09] local.INFO: Packet analysis {"connection_id":174901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:09] local.INFO: Extracted packet for processing {"connection_id":174901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":757699072,"raw_latitude":119095608,"longitude_deg":75.7699072,"latitude_deg":11.9095608,"altitude":102,"angle":307,"satellites":38,"speed":45,"hex_longitude":"2d299200","hex_latitude":"07194138","is_valid_coordinates":true} 
[2026-09-08 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956005888001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18999328999735296,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3004604669384955904,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788890657000,"timestamp_ms":1788890657000,"timestamp_seconds":1788890657,"priority":1,"record_length":96,"hex_timestamp":"000001a0823130e8"} 
[2026-09-08 23:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:35: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-09-08 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 23:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956005888001,"66":12961,"145":206,"94":10752,"24":45,"16":18999328999735296,"45":3004604669384955904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,94,24,16,45]} 
[2026-09-08 23:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956005888001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18999328999735296,"km_value":18999328999735.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3004604669384955904,"description":"Unknown IO ID 45"} 
[2026-09-08 23:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956005888001,"power":12961,"unknown_145":206,"unknown_94":10752,"ignition":45,"odometer":null,"unknown_45":3004604669384955904}} 
[2026-09-08 23:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":174901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:35:09] local.INFO: GPS data processed {"connection_id":174901,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:35:09] local.INFO: Acknowledgment sent {"connection_id":174901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:35:35] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:35] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:35] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:35:36] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:36] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:36] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:35:37] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:37] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:35:37] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:35:38] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082315410012d29750007195ac80063014025..."} 
[2026-09-08 23:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082315410012d29750007195ac80063014025..."} 
[2026-09-08 23:35:38] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082315410012d29750007195ac80063014025..."} 
[2026-09-08 23:35:38] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:38] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:38] local.INFO: GPS Element Parsed {"raw_longitude":757691648,"raw_latitude":119102152,"longitude_deg":75.7691648,"latitude_deg":11.9102152,"altitude":99,"angle":320,"satellites":37,"speed":41,"hex_longitude":"2d297500","hex_latitude":"07195ac8","is_valid_coordinates":true} 
[2026-09-08 23:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956008192001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18999805741105152,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2995456732643276800,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788890666000,"timestamp_ms":1788890666000,"timestamp_seconds":1788890666,"priority":1,"record_length":96,"hex_timestamp":"000001a082315410"} 
[2026-09-08 23:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-08 23:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956008192001,"66":13287,"145":206,"94":10752,"24":41,"16":18999805741105152,"45":2995456732643276800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,94,24,16,45]} 
[2026-09-08 23:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956008192001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:35:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 23:35:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18999805741105152,"km_value":18999805741105.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2995456732643276800,"description":"Unknown IO ID 45"} 
[2026-09-08 23:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956008192001,"power":13287,"unknown_145":206,"unknown_94":10752,"ignition":41,"odometer":null,"unknown_45":2995456732643276800}} 
[2026-09-08 23:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:35:38] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:35:38] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:35:40] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082315410012d29750007195ac80063014025..."} 
[2026-09-08 23:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082315410012d29750007195ac80063014025..."} 
[2026-09-08 23:35:40] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082315410012d29750007195ac80063014025..."} 
[2026-09-08 23:35:40] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:40] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:40] local.INFO: GPS Element Parsed {"raw_longitude":757691648,"raw_latitude":119102152,"longitude_deg":75.7691648,"latitude_deg":11.9102152,"altitude":99,"angle":320,"satellites":37,"speed":41,"hex_longitude":"2d297500","hex_latitude":"07195ac8","is_valid_coordinates":true} 
[2026-09-08 23:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956010496001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18999805741105152,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2987293958320343040,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788890666000,"timestamp_ms":1788890666000,"timestamp_seconds":1788890666,"priority":1,"record_length":96,"hex_timestamp":"000001a082315410"} 
[2026-09-08 23:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:35: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-09-08 23: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-08 23:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956010496001,"66":13287,"145":206,"94":10752,"24":41,"16":18999805741105152,"45":2987293958320343040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,94,24,16,45]} 
[2026-09-08 23:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956010496001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:35:40] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-08 23:35:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18999805741105152,"km_value":18999805741105.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2987293958320343040,"description":"Unknown IO ID 45"} 
[2026-09-08 23:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956010496001,"power":13287,"unknown_145":206,"unknown_94":10752,"ignition":41,"odometer":null,"unknown_45":2987293958320343040}} 
[2026-09-08 23:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:35:40] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:35:40] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:35:40] local.INFO: TCP Data received {"connection_id":177707,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:35:40] local.INFO: Processing buffer {"connection_id":177707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:35:40] local.INFO: IMEI packet received {"connection_id":177707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":177707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:35:45] local.INFO: TCP Data received {"connection_id":177707,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:35:45] local.INFO: Processing buffer {"connection_id":177707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:35:45] local.INFO: IMEI packet received {"connection_id":177707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":177707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:35:46] local.INFO: TCP Data received {"connection_id":177707,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:35:46] local.INFO: Processing buffer {"connection_id":177707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:35:46] local.INFO: Packet analysis {"connection_id":177707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:46] local.INFO: Extracted packet for processing {"connection_id":177707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:35: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-09-08 23:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":177707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:35:46] local.INFO: GPS data processed {"connection_id":177707,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:35:46] local.INFO: Acknowledgment sent {"connection_id":177707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:36:11] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082323a88012d28c6c00719e4a00057011725..."} 
[2026-09-08 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082323a88012d28c6c00719e4a00057011725..."} 
[2026-09-08 23:36:11] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082323a88012d28c6c00719e4a00057011725..."} 
[2026-09-08 23:36:11] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08232"} 
[2026-09-08 23:36:11] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08232"} 
[2026-09-08 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":757647040,"raw_latitude":119137440,"longitude_deg":75.764704,"latitude_deg":11.913744,"altitude":87,"angle":279,"satellites":37,"speed":38,"hex_longitude":"2d28c6c0","hex_latitude":"0719e4a0","is_valid_coordinates":true} 
[2026-09-08 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956024576001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19002709138997248,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2942328330799540224,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788890725000,"timestamp_ms":1788890725000,"timestamp_seconds":1788890725,"priority":1,"record_length":96,"hex_timestamp":"000001a082323a88"} 
[2026-09-08 23:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-08 23:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956024576001,"66":13537,"161":206,"94":10752,"24":38,"16":19002709138997248,"45":2942328330799540224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,94,24,16,45]} 
[2026-09-08 23:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956024576001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19002709138997248,"km_value":19002709138997.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2942328330799540224,"description":"Unknown IO ID 45"} 
[2026-09-08 23:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956024576001,"power":13537,"unknown_161":206,"unknown_94":10752,"ignition":38,"odometer":null,"unknown_45":2942328330799540224}} 
[2026-09-08 23:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:36:11] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:36:11] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:36:18] local.INFO: TCP Data received {"connection_id":177707,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:36:18] local.INFO: Processing buffer {"connection_id":177707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:36:18] local.INFO: Packet analysis {"connection_id":177707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:36:18] local.INFO: Extracted packet for processing {"connection_id":177707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":177707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:36:18] local.INFO: GPS data processed {"connection_id":177707,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:36:18] local.INFO: Acknowledgment sent {"connection_id":177707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:36:28] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:28] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:28] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:36:29] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:29] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:29] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:36:31] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:31] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:31] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:36:35] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:35] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:36:35] local.INFO: IMEI packet received {"connection_id":176256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":176256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:36:36] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082324258012d28bf000719e4c80057010927..."} 
[2026-09-08 23:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082324258012d28bf000719e4c80057010927..."} 
[2026-09-08 23:36:36] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082324258012d28bf000719e4c80057010927..."} 
[2026-09-08 23:36:36] local.INFO: Packet analysis {"connection_id":176256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08232"} 
[2026-09-08 23:36:36] local.INFO: Extracted packet for processing {"connection_id":176256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08232"} 
[2026-09-08 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":757645056,"raw_latitude":119137480,"longitude_deg":75.7645056,"latitude_deg":11.913748,"altitude":87,"angle":265,"satellites":39,"speed":40,"hex_longitude":"2d28bf00","hex_latitude":"0719e4c8","is_valid_coordinates":true} 
[2026-09-08 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956025600001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19002799333310464,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2938246943637544960,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788890727000,"timestamp_ms":1788890727000,"timestamp_seconds":1788890727,"priority":1,"record_length":96,"hex_timestamp":"000001a082324258"} 
[2026-09-08 23:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:36: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-09-08 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 23:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956025600001,"66":13461,"161":206,"94":10752,"24":40,"16":19002799333310464,"45":2938246943637544960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,94,24,16,45]} 
[2026-09-08 23:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956025600001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:36:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-08 23:36:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19002799333310464,"km_value":19002799333310.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2938246943637544960,"description":"Unknown IO ID 45"} 
[2026-09-08 23:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956025600001,"power":13461,"unknown_161":206,"unknown_94":10752,"ignition":40,"odometer":null,"unknown_45":2938246943637544960}} 
[2026-09-08 23:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":176256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:36:36] local.INFO: GPS data processed {"connection_id":176256,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:36:36] local.INFO: Acknowledgment sent {"connection_id":176256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:36:40] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:36:40] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:36:40] local.INFO: IMEI packet received {"connection_id":177708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":177708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:36:45] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:36:45] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:36:45] local.INFO: IMEI packet received {"connection_id":177708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":177708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:36:46] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:36:46] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:36:46] local.INFO: Packet analysis {"connection_id":177708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:36:46] local.INFO: Extracted packet for processing {"connection_id":177708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":177708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:36:46] local.INFO: GPS data processed {"connection_id":177708,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:36:46] local.INFO: Acknowledgment sent {"connection_id":177708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:37:07] local.INFO: TCP Data received {"connection_id":176256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082331548012d28034007199ee0006100e226..."} 
[2026-09-08 23:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082331548012d28034007199ee0006100e226..."} 
[2026-09-08 23:37:07] local.INFO: Processing buffer {"connection_id":176256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082331548012d28034007199ee0006100e226..."} 
[2026-09-08 23:37:07] local.INFO: Packet analysis {"connection_id":176256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08233"} 
[2026-09-08 23:37:07] local.INFO: Extracted packet for processing {"connection_id":176256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08233"} 
[2026-09-08 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":757596992,"raw_latitude":119119584,"longitude_deg":75.7596992,"latitude_deg":11.9119584,"altitude":97,"angle":226,"satellites":38,"speed":39,"hex_longitude":"2d280340","hex_latitude":"07199ee0","is_valid_coordinates":true} 
[2026-09-08 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956037632001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19005389198589952,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2890888778802849792,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788890781000,"timestamp_ms":1788890781000,"timestamp_seconds":1788890781,"priority":1,"record_length":96,"hex_timestamp":"000001a082331548"} 
[2026-09-08 23:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:37: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-09-08 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-08 23:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956037632001,"66":13276,"160":206,"94":10752,"24":39,"16":19005389198589952,"45":2890888778802849792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,94,24,16,45]} 
[2026-09-08 23:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956037632001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:37:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-08 23:37:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10752,"description":"Unknown IO ID 94"} 
[2026-09-08 23:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19005389198589952,"km_value":19005389198589.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2890888778802849792,"description":"Unknown IO ID 45"} 
[2026-09-08 23:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956037632001,"power":13276,"unknown_160":206,"unknown_94":10752,"ignition":39,"odometer":null,"unknown_45":2890888778802849792}} 
[2026-09-08 23:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":176256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:37:07] local.INFO: GPS data processed {"connection_id":176256,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:37:07] local.INFO: Acknowledgment sent {"connection_id":176256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:37:19] local.INFO: TCP Data received {"connection_id":177708,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:37:19] local.INFO: Processing buffer {"connection_id":177708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:37:19] local.INFO: Packet analysis {"connection_id":177708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:37:19] local.INFO: Extracted packet for processing {"connection_id":177708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":177708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":177708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:37: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-09-08 23:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":177708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:37:19] local.INFO: GPS data processed {"connection_id":177708,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:37:19] local.INFO: Acknowledgment sent {"connection_id":177708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:37:27] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:27] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:27] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:37:28] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:28] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:28] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:37:31] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:31] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:31] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:37:31] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:31] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:37:31] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:37:40] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:37:40] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:37:40] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:37:43] local.INFO: TCP Data received {"connection_id":177709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:37:43] local.INFO: Processing buffer {"connection_id":177709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:37:43] local.INFO: IMEI packet received {"connection_id":177709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":177709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:37:45] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:37:45] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:37:45] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:37:47] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:37:47] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:37:47] local.INFO: Packet analysis {"connection_id":174905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:37:47] local.INFO: Extracted packet for processing {"connection_id":174905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:37: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-09-08 23:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":174905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:37:47] local.INFO: GPS data processed {"connection_id":174905,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:37:47] local.INFO: Acknowledgment sent {"connection_id":174905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:38:18] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:38:18] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:38:18] local.INFO: Packet analysis {"connection_id":174905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:38:18] local.INFO: Extracted packet for processing {"connection_id":174905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:38:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":174905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:38:18] local.INFO: GPS data processed {"connection_id":174905,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:38:18] local.INFO: Acknowledgment sent {"connection_id":174905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:38:40] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:38:40] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:38:40] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:38:45] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:38:45] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:38:45] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:38:47] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:38:47] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:38:47] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:38:47] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:38:47] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:38:47] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:39:18] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:39:18] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:39:18] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:39:18] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:39:19] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:39:19] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:39:40] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:39:40] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:39:40] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:39:45] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:39:45] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:39:45] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:39:46] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:39:46] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:39:46] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:39:46] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:39: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-09-08 23:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:39:46] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:39:46] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:40:18] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:40:18] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08231a618012d34c38006aa42c80005005d29..."} 
[2026-09-08 23:40:18] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:40:18] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08231"} 
[2026-09-08 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457955938816001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890687000,"timestamp_ms":1788890687000,"timestamp_seconds":1788890687,"priority":1,"record_length":96,"hex_timestamp":"000001a08231a618"} 
[2026-09-08 23:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:40: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-09-08 23:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457955938816001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457955938816001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457955938816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:40:18] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:40:18] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:40:45] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:40:45] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:40:45] local.INFO: IMEI packet received {"connection_id":177712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":177712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:40:50] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:40:50] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:40:50] local.INFO: IMEI packet received {"connection_id":177712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":177712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:40:51] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:40:51] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:40:51] local.INFO: Packet analysis {"connection_id":177712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:40:51] local.INFO: Extracted packet for processing {"connection_id":177712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":177712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":177712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:40:51] local.INFO: GPS data processed {"connection_id":177712,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:40:51] local.INFO: Acknowledgment sent {"connection_id":177712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:40:56] local.INFO: TCP Data received {"connection_id":177712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:40:56] local.INFO: Processing buffer {"connection_id":177712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:40:56] local.INFO: Packet analysis {"connection_id":177712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:40:56] local.INFO: Extracted packet for processing {"connection_id":177712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":177712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":177712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:40:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":177712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:40:56] local.INFO: GPS data processed {"connection_id":177712,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:40:56] local.INFO: Acknowledgment sent {"connection_id":177712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:41:41] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:41:41] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:41:41] local.INFO: IMEI packet received {"connection_id":177714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":177714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:41:45] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:41:45] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:41:45] local.INFO: IMEI packet received {"connection_id":177714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":177714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:41:46] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:41:46] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:41:46] local.INFO: Packet analysis {"connection_id":177714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:41:46] local.INFO: Extracted packet for processing {"connection_id":177714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":177714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:41:46] local.INFO: GPS data processed {"connection_id":177714,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:41:46] local.INFO: Acknowledgment sent {"connection_id":177714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:42:18] local.INFO: TCP Data received {"connection_id":177714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:42:18] local.INFO: Processing buffer {"connection_id":177714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:42:18] local.INFO: Packet analysis {"connection_id":177714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:42:18] local.INFO: Extracted packet for processing {"connection_id":177714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":177714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:42:18] local.INFO: GPS data processed {"connection_id":177714,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:42:18] local.INFO: Acknowledgment sent {"connection_id":177714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:42:40] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:42:40] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:42:40] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:42:45] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:42:45] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:42:45] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:42:47] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:42:47] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:42:47] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:42:47] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:42: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-09-08 23:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:42:47] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:42:47] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:43:05] local.INFO: TCP Data received {"connection_id":177715,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:43:05] local.INFO: Processing buffer {"connection_id":177715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:43:05] local.INFO: IMEI packet received {"connection_id":177715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":177715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:43:06] local.INFO: TCP Data received {"connection_id":177715,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 23:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177715,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 23:43:06] local.INFO: Processing buffer {"connection_id":177715,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-08 23:43:06] local.INFO: IMEI packet received {"connection_id":177715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":177715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:43:19] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:43:19] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:43:19] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:43:19] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:43: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-09-08 23:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:43:19] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:43:19] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:43:40] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:43:40] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:43:40] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:43:45] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:43:45] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:43:45] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:43:46] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:43:46] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:43:46] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:43:46] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:43:46] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:43:46] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:43:54] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:43:54] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:43:54] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:44:17] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:44:17] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:44:17] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:44:17] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:44: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-09-08 23:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:44:17] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:44:17] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:44:40] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:44:40] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:44:40] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:44:45] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:44:45] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:44:45] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:44:47] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:44:47] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:44:47] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:44:47] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:44: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-09-08 23:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:44:47] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:44:47] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:45:19] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:45:19] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082363de0012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:45:19] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:45:19] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08236"} 
[2026-09-08 23:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956015872001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788890988000,"timestamp_ms":1788890988000,"timestamp_seconds":1788890988,"priority":1,"record_length":96,"hex_timestamp":"000001a082363de0"} 
[2026-09-08 23:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:45: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-09-08 23:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956015872001,"66":25604,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956015872001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956015872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:45:19] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:45:19] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:45:45] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:45:45] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:45:45] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:45:50] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:45:50] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:45:50] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:45:51] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:45:51] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:45:51] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:45:51] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:45:51] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:45:51] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:46:22] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:46:22] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:46:22] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:46:22] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23: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-09-08 23:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:46:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:46:22] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:46:22] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:46:40] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:46:40] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:46:40] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:46:45] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:46:45] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:46:45] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:46:46] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:46:46] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:46:46] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:46:46] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:46:46] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:46:46] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:47:18] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:47:18] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:47:18] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:47:18] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:47:18] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:47:18] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:47:40] local.INFO: TCP Data received {"connection_id":174911,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:47:40] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:47:40] local.INFO: IMEI packet received {"connection_id":174911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":174911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:47:45] local.INFO: TCP Data received {"connection_id":174911,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:47:45] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:47:45] local.INFO: IMEI packet received {"connection_id":174911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":174911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:47:46] local.INFO: TCP Data received {"connection_id":174911,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:47:46] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:47:46] local.INFO: Packet analysis {"connection_id":174911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:47:46] local.INFO: Extracted packet for processing {"connection_id":174911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":174911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:47:46] local.INFO: GPS data processed {"connection_id":174911,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:47:46] local.INFO: Acknowledgment sent {"connection_id":174911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:48:07] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:07] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:07] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:48:08] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823d1f98012d20d800071bf9700053012e25..."} 
[2026-09-08 23:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823d1f98012d20d800071bf9700053012e25..."} 
[2026-09-08 23:48:08] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823d1f98012d20d800071bf9700053012e25..."} 
[2026-09-08 23:48:08] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:48:08] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":757127168,"raw_latitude":119273840,"longitude_deg":75.7127168,"latitude_deg":11.927384,"altitude":83,"angle":302,"satellites":37,"speed":39,"hex_longitude":"2d20d800","hex_latitude":"071bf970","is_valid_coordinates":true} 
[2026-09-08 23:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956207104001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19035063127638016,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2371567446809155584,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788891439000,"timestamp_ms":1788891439000,"timestamp_seconds":1788891439,"priority":1,"record_length":96,"hex_timestamp":"000001a0823d1f98"} 
[2026-09-08 23:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-08 23:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956207104001,"66":12809,"57":206,"83":41984,"24":39,"16":19035063127638016,"45":2371567446809155584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 23:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956207104001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:48:08] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 23:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19035063127638016,"km_value":19035063127638.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2371567446809155584,"description":"Unknown IO ID 45"} 
[2026-09-08 23:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956207104001,"power":12809,"unknown_57":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":2371567446809155584}} 
[2026-09-08 23:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:48:08] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:48:08] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:48:18] local.INFO: TCP Data received {"connection_id":174911,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:48:18] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:48:18] local.INFO: Packet analysis {"connection_id":174911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:48:18] local.INFO: Extracted packet for processing {"connection_id":174911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:48: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-09-08 23:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":174911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:48:18] local.INFO: GPS data processed {"connection_id":174911,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:48:18] local.INFO: Acknowledgment sent {"connection_id":174911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:48:33] local.INFO: TCP Data received {"connection_id":177719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:33] local.INFO: Processing buffer {"connection_id":177719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:33] local.INFO: IMEI packet received {"connection_id":177719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":177719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:48:36] local.INFO: TCP Data received {"connection_id":177719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:36] local.INFO: Processing buffer {"connection_id":177719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:36] local.INFO: IMEI packet received {"connection_id":177719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":177719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:48:39] local.INFO: TCP Data received {"connection_id":177719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:39] local.INFO: Processing buffer {"connection_id":177719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:48:39] local.INFO: IMEI packet received {"connection_id":177719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":177719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:48:39] local.INFO: TCP Data received {"connection_id":177719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823d3320012d20cc00071c02080054013927..."} 
[2026-09-08 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823d3320012d20cc00071c02080054013927..."} 
[2026-09-08 23:48:39] local.INFO: Processing buffer {"connection_id":177719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823d3320012d20cc00071c02080054013927..."} 
[2026-09-08 23:48:39] local.INFO: Packet analysis {"connection_id":177719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:48:39] local.INFO: Extracted packet for processing {"connection_id":177719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:48:39] local.INFO: GPS Element Parsed {"raw_longitude":757124096,"raw_latitude":119276040,"longitude_deg":75.7124096,"latitude_deg":11.927604,"altitude":84,"angle":313,"satellites":39,"speed":18,"hex_longitude":"2d20cc00","hex_latitude":"071c0208","is_valid_coordinates":true} 
[2026-09-08 23:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956208384001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19035243516264448,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2366641634717298688,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788891444000,"timestamp_ms":1788891444000,"timestamp_seconds":1788891444,"priority":1,"record_length":96,"hex_timestamp":"000001a0823d3320"} 
[2026-09-08 23:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1945555039191827456,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185008864,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":130,"raw_value":4353828556533501248,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4063756362,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1027014862,"corrected_to":0} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2147949555,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2882529424316616275,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2667970560,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2013179403336486949,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755588419748081,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:39] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,57,83,24,241,157,16,160,12,45,128,240,82,37,10,66,55,244,64,235,79,159,1,178,227,130,27,4,113,205,41,70,72,239,52,2,67,7,71,44,164,172],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1027014862,"validated":0}]} 
[2026-09-08 23:48:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5981112516575952896,"timestamp_seconds":5981112516575953.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 23:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":177719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":177719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":177719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956208384001,"66":13472,"57":206,"83":41984,"24":18,"16":19035243516264448,"45":2366641634717298688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 23:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956208384001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:48:39] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 23:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19035243516264448,"km_value":19035243516264.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2366641634717298688,"description":"Unknown IO ID 45"} 
[2026-09-08 23:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956208384001,"power":13472,"unknown_57":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2366641634717298688}} 
[2026-09-08 23:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":177719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:48:39] local.INFO: GPS data processed {"connection_id":177719,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:48:39] local.INFO: Acknowledgment sent {"connection_id":177719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:48:40] local.INFO: TCP Data received {"connection_id":177719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823d3708012d20cb00071c03700055014526..."} 
[2026-09-08 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823d3708012d20cb00071c03700055014526..."} 
[2026-09-08 23:48:40] local.INFO: Processing buffer {"connection_id":177719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823d3708012d20cb00071c03700055014526..."} 
[2026-09-08 23:48:40] local.INFO: Packet analysis {"connection_id":177719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:48:40] local.INFO: Extracted packet for processing {"connection_id":177719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":757123840,"raw_latitude":119276400,"longitude_deg":75.712384,"latitude_deg":11.92764,"altitude":85,"angle":325,"satellites":38,"speed":16,"hex_longitude":"2d20cb00","hex_latitude":"071c0370","is_valid_coordinates":true} 
[2026-09-08 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956209664001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19035264991100928,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363263934997334016,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788891445000,"timestamp_ms":1788891445000,"timestamp_seconds":1788891445,"priority":1,"record_length":96,"hex_timestamp":"000001a0823d3708"} 
[2026-09-08 23:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-08 23:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":177719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":177719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":177719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956209664001,"66":13472,"57":206,"83":41984,"24":16,"16":19035264991100928,"45":2363263934997334016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 23:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956209664001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:48:40] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 23:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19035264991100928,"km_value":19035264991100.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363263934997334016,"description":"Unknown IO ID 45"} 
[2026-09-08 23:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956209664001,"power":13472,"unknown_57":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2363263934997334016}} 
[2026-09-08 23:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":177719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:48:40] local.INFO: GPS data processed {"connection_id":177719,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:48:40] local.INFO: Acknowledgment sent {"connection_id":177719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:48:40] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:48:40] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:48:40] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:48:45] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:48:45] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:48:45] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:48:46] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:48:46] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:48:46] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:48:46] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:48:46] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:48:46] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:49:11] local.INFO: TCP Data received {"connection_id":177719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823df670012d20ab80071cb0c80049014e27..."} 
[2026-09-08 23:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823df670012d20ab80071cb0c80049014e27..."} 
[2026-09-08 23:49:11] local.INFO: Processing buffer {"connection_id":177719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823df670012d20ab80071cb0c80049014e27..."} 
[2026-09-08 23:49:11] local.INFO: Packet analysis {"connection_id":177719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:49:11] local.INFO: Extracted packet for processing {"connection_id":177719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823d"} 
[2026-09-08 23:49:11] local.INFO: GPS Element Parsed {"raw_longitude":757115776,"raw_latitude":119320776,"longitude_deg":75.7115776,"latitude_deg":11.9320776,"altitude":73,"angle":334,"satellites":39,"speed":38,"hex_longitude":"2d20ab80","hex_latitude":"071cb0c8","is_valid_coordinates":true} 
[2026-09-08 23:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956220160001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19037537028800512,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2358267754170079232,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788891494000,"timestamp_ms":1788891494000,"timestamp_seconds":1788891494,"priority":1,"record_length":96,"hex_timestamp":"000001a0823df670"} 
[2026-09-08 23:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 23:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":177719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":177719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":177719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956220160001,"66":13504,"57":206,"83":41984,"24":38,"16":19037537028800512,"45":2358267754170079232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 23:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956220160001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19037537028800512,"km_value":19037537028800.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2358267754170079232,"description":"Unknown IO ID 45"} 
[2026-09-08 23:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956220160001,"power":13504,"unknown_57":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":2358267754170079232}} 
[2026-09-08 23:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":177719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:49:11] local.INFO: GPS data processed {"connection_id":177719,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:49:11] local.INFO: Acknowledgment sent {"connection_id":177719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:49:12] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:49:12] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:49:12] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:49:18] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:18] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:18] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:49:18] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:49: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-09-08 23:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:49:18] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:49:18] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:49:28] local.INFO: TCP Data received {"connection_id":177720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:28] local.INFO: Processing buffer {"connection_id":177720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:28] local.INFO: IMEI packet received {"connection_id":177720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":177720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:49:31] local.INFO: TCP Data received {"connection_id":177720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:31] local.INFO: Processing buffer {"connection_id":177720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:31] local.INFO: IMEI packet received {"connection_id":177720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":177720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:49:36] local.INFO: TCP Data received {"connection_id":177720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:36] local.INFO: Processing buffer {"connection_id":177720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:49:36] local.INFO: IMEI packet received {"connection_id":177720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":177720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:49:37] local.INFO: TCP Data received {"connection_id":177720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823e11c8012d209b80071cc8f00048014225..."} 
[2026-09-08 23:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823e11c8012d209b80071cc8f00048014225..."} 
[2026-09-08 23:49:37] local.INFO: Processing buffer {"connection_id":177720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823e11c8012d209b80071cc8f00048014225..."} 
[2026-09-08 23:49:37] local.INFO: Packet analysis {"connection_id":177720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823e"} 
[2026-09-08 23:49:37] local.INFO: Extracted packet for processing {"connection_id":177720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823e"} 
[2026-09-08 23:49:37] local.INFO: GPS Element Parsed {"raw_longitude":757111680,"raw_latitude":119326960,"longitude_deg":75.711168,"latitude_deg":11.932696,"altitude":72,"angle":322,"satellites":37,"speed":45,"hex_longitude":"2d209b80","hex_latitude":"071cc8f0","is_valid_coordinates":true} 
[2026-09-08 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956222464001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19037893511086080,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354115998265690112,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788891501000,"timestamp_ms":1788891501000,"timestamp_seconds":1788891501,"priority":1,"record_length":96,"hex_timestamp":"000001a0823e11c8"} 
[2026-09-08 23:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-08 23:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956222464001,"66":13515,"57":206,"83":41984,"24":45,"16":19037893511086080,"45":2354115998265690112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 23:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956222464001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:49:37] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 23:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19037893511086080,"km_value":19037893511086.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354115998265690112,"description":"Unknown IO ID 45"} 
[2026-09-08 23:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956222464001,"power":13515,"unknown_57":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":2354115998265690112}} 
[2026-09-08 23:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":177720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:49:37] local.INFO: GPS data processed {"connection_id":177720,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:49:37] local.INFO: Acknowledgment sent {"connection_id":177720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:49:45] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:49:45] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:49:45] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:49:50] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:49:50] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:49:50] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:49:51] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:51] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:51] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:49:51] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:49:51] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:49:51] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:49:56] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:56] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823ad5a8012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:49:56] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:49:56] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823a"} 
[2026-09-08 23:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956092928001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788891289000,"timestamp_ms":1788891289000,"timestamp_seconds":1788891289,"priority":1,"record_length":96,"hex_timestamp":"000001a0823ad5a8"} 
[2026-09-08 23:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-08 23:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956092928001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956092928001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:49:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956092928001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:49:56] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:49:56] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:50:08] local.INFO: TCP Data received {"connection_id":177720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823e3108012d208400071ce5500044014026..."} 
[2026-09-08 23:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823e3108012d208400071ce5500044014026..."} 
[2026-09-08 23:50:08] local.INFO: Processing buffer {"connection_id":177720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823e3108012d208400071ce5500044014026..."} 
[2026-09-08 23:50:08] local.INFO: Packet analysis {"connection_id":177720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823e"} 
[2026-09-08 23:50:08] local.INFO: Extracted packet for processing {"connection_id":177720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823e"} 
[2026-09-08 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":757105664,"raw_latitude":119334224,"longitude_deg":75.7105664,"latitude_deg":11.9334224,"altitude":68,"angle":320,"satellites":38,"speed":45,"hex_longitude":"2d208400","hex_latitude":"071ce550","is_valid_coordinates":true} 
[2026-09-08 23:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956224256001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19038348777619456,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2349612398639902720,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788891509000,"timestamp_ms":1788891509000,"timestamp_seconds":1788891509,"priority":1,"record_length":96,"hex_timestamp":"000001a0823e3108"} 
[2026-09-08 23:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 23:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956224256001,"66":13493,"57":206,"83":41984,"24":45,"16":19038348777619456,"45":2349612398639902720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-08 23:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956224256001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:50:08] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-08 23:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19038348777619456,"km_value":19038348777619.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2349612398639902720,"description":"Unknown IO ID 45"} 
[2026-09-08 23:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956224256001,"power":13493,"unknown_57":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":2349612398639902720}} 
[2026-09-08 23:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":177720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:50:08] local.INFO: GPS data processed {"connection_id":177720,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:50:08] local.INFO: Acknowledgment sent {"connection_id":177720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:50:31] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:31] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:31] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:50:32] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:32] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:32] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:50:33] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:33] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:50:33] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:50:34] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f1b68012d1fd880071d74580043014c27..."} 
[2026-09-08 23:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f1b68012d1fd880071d74580043014c27..."} 
[2026-09-08 23:50:34] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f1b68012d1fd880071d74580043014c27..."} 
[2026-09-08 23:50:34] local.INFO: Packet analysis {"connection_id":174913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:50:34] local.INFO: Extracted packet for processing {"connection_id":174913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:50:34] local.INFO: GPS Element Parsed {"raw_longitude":757061760,"raw_latitude":119370840,"longitude_deg":75.706176,"latitude_deg":11.937084,"altitude":67,"angle":332,"satellites":39,"speed":33,"hex_longitude":"2d1fd880","hex_latitude":"071d7458","is_valid_coordinates":true} 
[2026-09-08 23:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956238848001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19041381024530432,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2299087640329392128,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788891569000,"timestamp_ms":1788891569000,"timestamp_seconds":1788891569,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f1b68"} 
[2026-09-08 23:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-08 23:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956238848001,"66":13515,"10":206,"83":41984,"24":33,"16":19041381024530432,"45":2299087640329392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-08 23:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956238848001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:50:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 23:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19041381024530432,"km_value":19041381024530.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2299087640329392128,"description":"Unknown IO ID 45"} 
[2026-09-08 23:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956238848001,"power":13515,"unknown_10":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2299087640329392128}} 
[2026-09-08 23:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":174913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:50:34] local.INFO: GPS data processed {"connection_id":174913,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:50:34] local.INFO: Acknowledgment sent {"connection_id":174913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:50:40] local.INFO: TCP Data received {"connection_id":174914,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:50:40] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:50:40] local.INFO: IMEI packet received {"connection_id":174914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":174914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:50:45] local.INFO: TCP Data received {"connection_id":174914,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:50:45] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:50:45] local.INFO: IMEI packet received {"connection_id":174914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":174914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:50:46] local.INFO: TCP Data received {"connection_id":174914,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:50:46] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:50:46] local.INFO: Packet analysis {"connection_id":174914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:50:46] local.INFO: Extracted packet for processing {"connection_id":174914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":174914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:50:46] local.INFO: GPS data processed {"connection_id":174914,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:50:46] local.INFO: Acknowledgment sent {"connection_id":174914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:51:05] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f4660012d1fc5c0071d93000044014525..."} 
[2026-09-08 23:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f4660012d1fc5c0071d93000044014525..."} 
[2026-09-08 23:51:05] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f4660012d1fc5c0071d93000044014525..."} 
[2026-09-08 23:51:05] local.INFO: Packet analysis {"connection_id":174913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:05] local.INFO: Extracted packet for processing {"connection_id":174913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:05] local.INFO: GPS Element Parsed {"raw_longitude":757056960,"raw_latitude":119378688,"longitude_deg":75.705696,"latitude_deg":11.9378688,"altitude":68,"angle":325,"satellites":37,"speed":31,"hex_longitude":"2d1fc5c0","hex_latitude":"071d9300","is_valid_coordinates":true} 
[2026-09-08 23:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956241664001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19041827701129216,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2294724778192558080,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788891580000,"timestamp_ms":1788891580000,"timestamp_seconds":1788891580,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f4660"} 
[2026-09-08 23:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-08 23:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956241664001,"66":13330,"10":206,"83":41984,"24":31,"16":19041827701129216,"45":2294724778192558080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-08 23:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956241664001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:51:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-08 23:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19041827701129216,"km_value":19041827701129.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2294724778192558080,"description":"Unknown IO ID 45"} 
[2026-09-08 23:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956241664001,"power":13330,"unknown_10":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2294724778192558080}} 
[2026-09-08 23:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":174913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:51:05] local.INFO: GPS data processed {"connection_id":174913,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:51:05] local.INFO: Acknowledgment sent {"connection_id":174913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:51:18] local.INFO: TCP Data received {"connection_id":174914,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:51:18] local.INFO: Processing buffer {"connection_id":174914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:51:18] local.INFO: Packet analysis {"connection_id":174914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:18] local.INFO: Extracted packet for processing {"connection_id":174914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:51: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-09-08 23:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:51: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-09-08 23:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":174914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:51:18] local.INFO: GPS data processed {"connection_id":174914,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:51:18] local.INFO: Acknowledgment sent {"connection_id":174914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:51:29] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:29] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:29] local.INFO: IMEI packet received {"connection_id":175179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":175179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:51:32] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:32] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:32] local.INFO: IMEI packet received {"connection_id":175179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":175179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:51:36] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:36] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:51:36] local.INFO: IMEI packet received {"connection_id":175179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":175179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:51:37] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0823fd300012d1f6ec0071db3f0004f011026..."} 
[2026-09-08 23:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823fd300012d1f6ec0071db3f0004f011026..."} 
[2026-09-08 23:51:37] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823fd300012d1f6ec0071db3f0004f011026..."} 
[2026-09-08 23:51:37] local.INFO: Packet analysis {"connection_id":175179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:37] local.INFO: Extracted packet for processing {"connection_id":175179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:37] local.INFO: GPS Element Parsed {"raw_longitude":757034688,"raw_latitude":119387120,"longitude_deg":75.7034688,"latitude_deg":11.938712,"altitude":79,"angle":272,"satellites":38,"speed":23,"hex_longitude":"2d1f6ec0","hex_latitude":"071db3f0","is_valid_coordinates":true} 
[2026-09-08 23:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956250112001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19043056061775872,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2275091898571130880,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788891616000,"timestamp_ms":1788891616000,"timestamp_seconds":1788891616,"priority":1,"record_length":96,"hex_timestamp":"000001a0823fd300"} 
[2026-09-08 23:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-08 23:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956250112001,"66":13559,"12":206,"83":41984,"24":23,"16":19043056061775872,"45":2275091898571130880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-08 23:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956250112001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:51:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-08 23:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19043056061775872,"km_value":19043056061775.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2275091898571130880,"description":"Unknown IO ID 45"} 
[2026-09-08 23:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956250112001,"power":13559,"unknown_12":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2275091898571130880}} 
[2026-09-08 23:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":175179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:51:37] local.INFO: GPS data processed {"connection_id":175179,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:51:37] local.INFO: Acknowledgment sent {"connection_id":175179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:51:40] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:51:40] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:51:40] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:51:45] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:51:45] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:51:45] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:51:46] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:51:46] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:51:46] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:46] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:51:46] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:51:46] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:52:08] local.INFO: TCP Data received {"connection_id":175179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824009b0012d1f4900071db6b00050011925..."} 
[2026-09-08 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824009b0012d1f4900071db6b00050011925..."} 
[2026-09-08 23:52:08] local.INFO: Processing buffer {"connection_id":175179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824009b0012d1f4900071db6b00050011925..."} 
[2026-09-08 23:52:08] local.INFO: Packet analysis {"connection_id":175179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08240"} 
[2026-09-08 23:52:08] local.INFO: Extracted packet for processing {"connection_id":175179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08240"} 
[2026-09-08 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":757025024,"raw_latitude":119387824,"longitude_deg":75.7025024,"latitude_deg":11.9387824,"altitude":80,"angle":281,"satellites":37,"speed":30,"hex_longitude":"2d1f4900","hex_latitude":"071db6b0","is_valid_coordinates":true} 
[2026-09-08 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956253696001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19043519918243840,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2264958799409573888,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788891630000,"timestamp_ms":1788891630000,"timestamp_seconds":1788891630,"priority":1,"record_length":96,"hex_timestamp":"000001a0824009b0"} 
[2026-09-08 23:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-08 23:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956253696001,"66":13526,"108":206,"83":41984,"24":30,"16":19043519918243840,"45":2264958799409573888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 23:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956253696001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:52:08] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 23:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19043519918243840,"km_value":19043519918243.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2264958799409573888,"description":"Unknown IO ID 45"} 
[2026-09-08 23:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956253696001,"power":13526,"unknown_108":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2264958799409573888}} 
[2026-09-08 23:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":175179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:52:08] local.INFO: GPS data processed {"connection_id":175179,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:52:08] local.INFO: Acknowledgment sent {"connection_id":175179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:52:18] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:52:18] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:52:18] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:52:18] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:52: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-09-08 23:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:52: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-09-08 23:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:52:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:52:18] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:52:18] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:52:31] local.INFO: TCP Data received {"connection_id":177722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:52:31] local.INFO: Processing buffer {"connection_id":177722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:52:31] local.INFO: IMEI packet received {"connection_id":177722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":177722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:52:36] local.INFO: TCP Data received {"connection_id":177722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:52:36] local.INFO: Processing buffer {"connection_id":177722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:52:36] local.INFO: IMEI packet received {"connection_id":177722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":177722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:52:37] local.INFO: TCP Data received {"connection_id":177722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824122f0012d1e8080071dab00004f00df26..."} 
[2026-09-08 23:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824122f0012d1e8080071dab00004f00df26..."} 
[2026-09-08 23:52:37] local.INFO: Processing buffer {"connection_id":177722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824122f0012d1e8080071dab00004f00df26..."} 
[2026-09-08 23:52:37] local.INFO: Packet analysis {"connection_id":177722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08241"} 
[2026-09-08 23:52:37] local.INFO: Extracted packet for processing {"connection_id":177722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08241"} 
[2026-09-08 23:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756973696,"raw_latitude":119384832,"longitude_deg":75.6973696,"latitude_deg":11.9384832,"altitude":79,"angle":223,"satellites":38,"speed":23,"hex_longitude":"2d1e8080","hex_latitude":"071dab00","is_valid_coordinates":true} 
[2026-09-08 23:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956274944001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19046053948948480,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2198882548626530304,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788891702000,"timestamp_ms":1788891702000,"timestamp_seconds":1788891702,"priority":1,"record_length":96,"hex_timestamp":"000001a0824122f0"} 
[2026-09-08 23:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-08 23:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":177722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":177722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":177722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956274944001,"66":13319,"108":206,"83":41984,"24":23,"16":19046053948948480,"45":2198882548626530304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 23:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956274944001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:52:37] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 23:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19046053948948480,"km_value":19046053948948.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2198882548626530304,"description":"Unknown IO ID 45"} 
[2026-09-08 23:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956274944001,"power":13319,"unknown_108":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2198882548626530304}} 
[2026-09-08 23:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":177722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:52:37] local.INFO: GPS data processed {"connection_id":177722,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:52:37] local.INFO: Acknowledgment sent {"connection_id":177722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:52:40] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:52:40] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:52:40] local.INFO: IMEI packet received {"connection_id":177723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":177723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:52:45] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:52:45] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:52:45] local.INFO: IMEI packet received {"connection_id":177723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":177723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:52:47] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:52:47] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:52:47] local.INFO: Packet analysis {"connection_id":177723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:52:47] local.INFO: Extracted packet for processing {"connection_id":177723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":177723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":177723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:52:47] local.INFO: GPS data processed {"connection_id":177723,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:52:47] local.INFO: Acknowledgment sent {"connection_id":177723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:53:08] local.INFO: TCP Data received {"connection_id":177722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0824126d8012d1e7ec0071da9a8004f00ef26..."} 
[2026-09-08 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0824126d8012d1e7ec0071da9a8004f00ef26..."} 
[2026-09-08 23:53:08] local.INFO: Processing buffer {"connection_id":177722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0824126d8012d1e7ec0071da9a8004f00ef26..."} 
[2026-09-08 23:53:08] local.INFO: Packet analysis {"connection_id":177722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08241"} 
[2026-09-08 23:53:08] local.INFO: Extracted packet for processing {"connection_id":177722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08241"} 
[2026-09-08 23:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756973248,"raw_latitude":119384488,"longitude_deg":75.6973248,"latitude_deg":11.9384488,"altitude":79,"angle":239,"satellites":38,"speed":23,"hex_longitude":"2d1e7ec0","hex_latitude":"071da9a8","is_valid_coordinates":true} 
[2026-09-08 23:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956275712001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19046079718752256,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197897386207674368,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788891703000,"timestamp_ms":1788891703000,"timestamp_seconds":1788891703,"priority":1,"record_length":96,"hex_timestamp":"000001a0824126d8"} 
[2026-09-08 23:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185287864,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4942700256013572352,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3221691830,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024891,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2854027264,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57767705281713060,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-5645260839607042041,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,108,83,24,241,157,16,170,160,23,45,176,79,38,10,66,15,180,11,192,1,240,227,130,29,4,113,205,7,137,144,239,52,2,67,76,187,64],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":996933838,"validated":0}]} 
[2026-09-08 23:53:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692795283299565568,"timestamp_seconds":5692795283299566.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 23:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":177722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":177722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":177722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956275712001,"66":13319,"108":206,"83":41984,"24":23,"16":19046079718752256,"45":2197897386207674368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 23:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956275712001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:53:08] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 23:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19046079718752256,"km_value":19046079718752.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2197897386207674368,"description":"Unknown IO ID 45"} 
[2026-09-08 23:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956275712001,"power":13319,"unknown_108":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2197897386207674368}} 
[2026-09-08 23:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":177722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:53:08] local.INFO: GPS data processed {"connection_id":177722,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:53:08] local.INFO: Acknowledgment sent {"connection_id":177722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:53:18] local.INFO: TCP Data received {"connection_id":177723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:53:18] local.INFO: Processing buffer {"connection_id":177723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:53:18] local.INFO: Packet analysis {"connection_id":177723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:53:18] local.INFO: Extracted packet for processing {"connection_id":177723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:53: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-09-08 23:53: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":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:53: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-09-08 23:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":177723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:53:18] local.INFO: GPS data processed {"connection_id":177723,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:53:18] local.INFO: Acknowledgment sent {"connection_id":177723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:53:31] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:53:31] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:53:31] local.INFO: IMEI packet received {"connection_id":175180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":175180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:53:35] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:53:35] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:53:35] local.INFO: IMEI packet received {"connection_id":175180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":175180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:53:36] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082412ac0012d1e7cc0071da8e0004f010026..."} 
[2026-09-08 23:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082412ac0012d1e7cc0071da8e0004f010026..."} 
[2026-09-08 23:53:36] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082412ac0012d1e7cc0071da8e0004f010026..."} 
[2026-09-08 23:53:36] local.INFO: Packet analysis {"connection_id":175180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08241"} 
[2026-09-08 23:53:36] local.INFO: Extracted packet for processing {"connection_id":175180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08241"} 
[2026-09-08 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756972736,"raw_latitude":119384288,"longitude_deg":75.6972736,"latitude_deg":11.9384288,"altitude":79,"angle":256,"satellites":38,"speed":23,"hex_longitude":"2d1e7cc0","hex_latitude":"071da8e0","is_valid_coordinates":true} 
[2026-09-08 23:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956275968001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19046105488556032,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197404804998342656,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788891704000,"timestamp_ms":1788891704000,"timestamp_seconds":1788891704,"priority":1,"record_length":96,"hex_timestamp":"000001a082412ac0"} 
[2026-09-08 23:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2185299864,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-4839117473174706944,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3221691830,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024891,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2854027264,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57767705281713060,"corrected_to":0} 
[2026-09-08 23:53:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-2830511072502530041,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,108,83,24,241,157,16,170,160,34,45,128,171,79,38,10,66,23,176,15,1,240,192,227,130,29,4,113,205,22,7,137,144,239,52,2,67,247,64],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":996933838,"validated":0},{"io_id":247,"original":57767705281713060,"validated":0}]} 
[2026-09-08 23:53:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692812875485609984,"timestamp_seconds":5692812875485610.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-08 23:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956275968001,"66":13493,"108":206,"83":41984,"24":23,"16":19046105488556032,"45":2197404804998342656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 23:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956275968001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:53:36] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 23:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19046105488556032,"km_value":19046105488556.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2197404804998342656,"description":"Unknown IO ID 45"} 
[2026-09-08 23:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956275968001,"power":13493,"unknown_108":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2197404804998342656}} 
[2026-09-08 23:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":175180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:53:36] local.INFO: GPS data processed {"connection_id":175180,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:53:36] local.INFO: Acknowledgment sent {"connection_id":175180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:53:40] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:53:40] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:53:40] local.INFO: IMEI packet received {"connection_id":177725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":177725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:53:45] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:53:45] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:53:45] local.INFO: IMEI packet received {"connection_id":177725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":177725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:53:46] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:53:46] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:53:46] local.INFO: Packet analysis {"connection_id":177725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:53:46] local.INFO: Extracted packet for processing {"connection_id":177725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":177725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":177725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:53:46] local.INFO: GPS data processed {"connection_id":177725,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:53:46] local.INFO: Acknowledgment sent {"connection_id":177725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:54:07] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a082429608012d1d7880071d9a10006e012826..."} 
[2026-09-08 23:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082429608012d1d7880071d9a10006e012826..."} 
[2026-09-08 23:54:07] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082429608012d1d7880071d9a10006e012826..."} 
[2026-09-08 23:54:07] local.INFO: Packet analysis {"connection_id":175180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08242"} 
[2026-09-08 23:54:07] local.INFO: Extracted packet for processing {"connection_id":175180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08242"} 
[2026-09-08 23:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756906112,"raw_latitude":119380496,"longitude_deg":75.6906112,"latitude_deg":11.9380496,"altitude":110,"angle":296,"satellites":38,"speed":27,"hex_longitude":"2d1d7880","hex_latitude":"071d9a10","is_valid_coordinates":true} 
[2026-09-08 23:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956296960001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19049356778799104,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133932197748668416,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788891797000,"timestamp_ms":1788891797000,"timestamp_seconds":1788891797,"priority":1,"record_length":96,"hex_timestamp":"000001a082429608"} 
[2026-09-08 23:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-08 23:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956296960001,"66":12613,"108":206,"83":41984,"24":27,"16":19049356778799104,"45":2133932197748668416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-08 23:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956296960001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:54:07] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-08 23:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19049356778799104,"km_value":19049356778799.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133932197748668416,"description":"Unknown IO ID 45"} 
[2026-09-08 23:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956296960001,"power":12613,"unknown_108":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2133932197748668416}} 
[2026-09-08 23:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":175180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:54:07] local.INFO: GPS data processed {"connection_id":175180,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:54:07] local.INFO: Acknowledgment sent {"connection_id":175180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:54:18] local.INFO: TCP Data received {"connection_id":177725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:18] local.INFO: Processing buffer {"connection_id":177725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:18] local.INFO: Packet analysis {"connection_id":177725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:54:18] local.INFO: Extracted packet for processing {"connection_id":177725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:54: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-09-08 23:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":177725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":177725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:54: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-09-08 23:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":177725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:54:18] local.INFO: GPS data processed {"connection_id":177725,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:54:18] local.INFO: Acknowledgment sent {"connection_id":177725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:54:31] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:31] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:31] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:54:31] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:31] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:31] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:54:33] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:33] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:33] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:54:34] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:34] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:54:34] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-08 23:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:54:45] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:54:45] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:54:45] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:54:50] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:54:50] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:54:50] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:54:51] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:51] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:51] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:54:51] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:54:51] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:54:51] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:54:56] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:56] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0823f6d70012d34c38006aa42c80005005d24..."} 
[2026-09-08 23:54:56] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:54:56] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0823f"} 
[2026-09-08 23:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956169984001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788891590000,"timestamp_ms":1788891590000,"timestamp_seconds":1788891590,"priority":1,"record_length":96,"hex_timestamp":"000001a0823f6d70"} 
[2026-09-08 23:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-08 23:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956169984001,"66":25495,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956169984001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:54:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956169984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:54:56] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:54:56] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:55:40] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:55:40] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:55:40] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:55:45] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:55:45] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:55:45] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:55:46] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:55:46] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:55:47] local.INFO: Packet analysis {"connection_id":175181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:55:47] local.INFO: Extracted packet for processing {"connection_id":175181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":175181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:55:47] local.INFO: GPS data processed {"connection_id":175181,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:55:47] local.INFO: Acknowledgment sent {"connection_id":175181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:55:53] local.INFO: TCP Data received {"connection_id":177726,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":177726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:55:53] local.INFO: Processing buffer {"connection_id":177726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-08 23:55:53] local.INFO: IMEI packet received {"connection_id":177726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-08 23:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":177726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:56:18] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:56:18] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:56:18] local.INFO: Packet analysis {"connection_id":175181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:56:18] local.INFO: Extracted packet for processing {"connection_id":175181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:56: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-09-08 23:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:56: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-09-08 23:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":175181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:56:18] local.INFO: GPS data processed {"connection_id":175181,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:56:18] local.INFO: Acknowledgment sent {"connection_id":175181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:56:41] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:56:41] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:56:41] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:56:45] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:56:45] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:56:45] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:56:46] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:56:46] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:56:46] local.INFO: Packet analysis {"connection_id":176265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:56:46] local.INFO: Extracted packet for processing {"connection_id":176265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":176265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:56:46] local.INFO: GPS data processed {"connection_id":176265,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:56:46] local.INFO: Acknowledgment sent {"connection_id":176265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:57:18] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:57:18] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:57:18] local.INFO: Packet analysis {"connection_id":176265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:57:18] local.INFO: Extracted packet for processing {"connection_id":176265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:57: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-09-08 23:57: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":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:57: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-09-08 23:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":176265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:57:18] local.INFO: GPS data processed {"connection_id":176265,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:57:18] local.INFO: Acknowledgment sent {"connection_id":176265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:57:40] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:57:40] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:57:40] local.INFO: IMEI packet received {"connection_id":176267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:57:45] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:57:45] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:57:45] local.INFO: IMEI packet received {"connection_id":176267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:57:46] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:57:46] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:57:46] local.INFO: Packet analysis {"connection_id":176267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:57:46] local.INFO: Extracted packet for processing {"connection_id":176267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":176267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:57:46] local.INFO: GPS data processed {"connection_id":176267,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:57:46] local.INFO: Acknowledgment sent {"connection_id":176267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:58:17] local.INFO: TCP Data received {"connection_id":176267,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:58:17] local.INFO: Processing buffer {"connection_id":176267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:58:17] local.INFO: Packet analysis {"connection_id":176267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:58:17] local.INFO: Extracted packet for processing {"connection_id":176267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:58: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-09-08 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:58: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-09-08 23:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":176267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:58:17] local.INFO: GPS data processed {"connection_id":176267,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:58:17] local.INFO: Acknowledgment sent {"connection_id":176267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:58:40] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:58:40] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:58:40] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:58:45] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:58:45] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:58:45] local.INFO: IMEI packet received {"connection_id":176269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":176269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:58:46] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:58:46] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:58:46] local.INFO: Packet analysis {"connection_id":176269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:58:46] local.INFO: Extracted packet for processing {"connection_id":176269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":176269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:58:46] local.INFO: GPS data processed {"connection_id":176269,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:58:46] local.INFO: Acknowledgment sent {"connection_id":176269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:59:18] local.INFO: TCP Data received {"connection_id":176269,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:18] local.INFO: Processing buffer {"connection_id":176269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:18] local.INFO: Packet analysis {"connection_id":176269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:59:18] local.INFO: Extracted packet for processing {"connection_id":176269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:59: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-09-08 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:59: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-09-08 23:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":176269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:59:18] local.INFO: GPS data processed {"connection_id":176269,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:59:18] local.INFO: Acknowledgment sent {"connection_id":176269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:59:36] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:59:36] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-08 23:59:36] local.INFO: IMEI packet received {"connection_id":175182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-08 23:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":175182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:59:36] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a08247b688012d1b2640071eeaf00042013a24..."} 
[2026-09-08 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a08247b688012d1b2640071eeaf00042013a24..."} 
[2026-09-08 23:59:36] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a08247b688012d1b2640071eeaf00042013a24..."} 
[2026-09-08 23:59:36] local.INFO: Packet analysis {"connection_id":175182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08247"} 
[2026-09-08 23:59:36] local.INFO: Extracted packet for processing {"connection_id":175182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08247"} 
[2026-09-08 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756753984,"raw_latitude":119466736,"longitude_deg":75.6753984,"latitude_deg":11.9466736,"altitude":66,"angle":314,"satellites":36,"speed":21,"hex_longitude":"2d1b2640","hex_latitude":"071eeaf0","is_valid_coordinates":true} 
[2026-09-08 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956385280001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19060356190044160,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957447387373197312,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788892133000,"timestamp_ms":1788892133000,"timestamp_seconds":1788892133,"priority":1,"record_length":96,"hex_timestamp":"000001a08247b688"} 
[2026-09-08 23:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-08 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-08 23:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-08 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-08 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-08 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956385280001,"66":13450,"101":206,"83":41984,"24":21,"16":19060356190044160,"45":1957447387373197312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-08 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-08 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956385280001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-08 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19060356190044160,"km_value":19060356190044.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957447387373197312,"description":"Unknown IO ID 45"} 
[2026-09-08 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956385280001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1957447387373197312}} 
[2026-09-08 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":175182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:59:36] local.INFO: GPS data processed {"connection_id":175182,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:59:36] local.INFO: Acknowledgment sent {"connection_id":175182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:59:45] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:59:45] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:59:45] local.INFO: IMEI packet received {"connection_id":174920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-08 23:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-08 23:59:50] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:59:50] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-08 23:59:50] local.INFO: IMEI packet received {"connection_id":174920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-08 23:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":174920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-08 23:59:52] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:52] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:52] local.INFO: Packet analysis {"connection_id":174920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:59:52] local.INFO: Extracted packet for processing {"connection_id":174920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-08 23:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:59: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-09-08 23:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-08 23:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":174920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:59:52] local.INFO: GPS data processed {"connection_id":174920,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:59:52] local.INFO: Acknowledgment sent {"connection_id":174920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-08 23:59:56] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:56] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a082440538012d34c38006aa42c80005005d28..."} 
[2026-09-08 23:59:56] local.INFO: Packet analysis {"connection_id":174920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:59:56] local.INFO: Extracted packet for processing {"connection_id":174920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a08244"} 
[2026-09-08 23:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821512,"longitude_deg":75.843264,"latitude_deg":11.1821512,"altitude":5,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa42c8","is_valid_coordinates":true} 
[2026-09-08 23: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-09-08 23:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457956247040001,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":403110460578070528,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545492992,"note":"Value kept but may cause issues"} 
[2026-09-08 23:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-08 23:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788891891000,"timestamp_ms":1788891891000,"timestamp_seconds":1788891891,"priority":1,"record_length":96,"hex_timestamp":"000001a082440538"} 
[2026-09-08 23:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-08 23:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-08 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-08 23:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-08 23: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-09-08 23:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-08 23:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-08 23:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-08 23:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-08 23:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-08 23:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-08 23:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-08 23:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457956247040001,"66":25549,"97":206,"81":23296,"24":0,"16":403110460578070528,"45":3802023276545492992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-08 23:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-08 23:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-08 23:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457956247040001,"description":"Unknown IO ID 0"} 
[2026-09-08 23:59:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-08 23:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-08 23:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":403110460578070528,"km_value":403110460578070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-08 23:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545492992,"description":"Unknown IO ID 45"} 
[2026-09-08 23:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457956247040001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802023276545492992}} 
[2026-09-08 23:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":174920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-08 23:59:56] local.INFO: GPS data processed {"connection_id":174920,"processed":1,"errors":0,"total":1} 
[2026-09-08 23:59:56] local.INFO: Acknowledgment sent {"connection_id":174920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
